-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ExtendedCosmosDBSqlUserDefinedFunctionResourceInfo.cs
53 lines (46 loc) · 2.84 KB
/
ExtendedCosmosDBSqlUserDefinedFunctionResourceInfo.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
namespace Azure.ResourceManager.CosmosDB.Models
{
/// <summary> The ExtendedCosmosDBSqlUserDefinedFunctionResourceInfo. </summary>
public partial class ExtendedCosmosDBSqlUserDefinedFunctionResourceInfo : CosmosDBSqlUserDefinedFunctionResourceInfo
{
/// <summary> Initializes a new instance of <see cref="ExtendedCosmosDBSqlUserDefinedFunctionResourceInfo"/>. </summary>
/// <param name="functionName"> Name of the Cosmos DB SQL userDefinedFunction. </param>
/// <exception cref="ArgumentNullException"> <paramref name="functionName"/> is null. </exception>
public ExtendedCosmosDBSqlUserDefinedFunctionResourceInfo(string functionName) : base(functionName)
{
Argument.AssertNotNull(functionName, nameof(functionName));
}
/// <summary> Initializes a new instance of <see cref="ExtendedCosmosDBSqlUserDefinedFunctionResourceInfo"/>. </summary>
/// <param name="functionName"> Name of the Cosmos DB SQL userDefinedFunction. </param>
/// <param name="body"> Body of the User Defined Function. </param>
/// <param name="serializedAdditionalRawData"> Keeps track of any properties unknown to the library. </param>
/// <param name="rid"> A system generated property. A unique identifier. </param>
/// <param name="timestamp"> A system generated property that denotes the last updated timestamp of the resource. </param>
/// <param name="etag"> A system generated property representing the resource etag required for optimistic concurrency control. </param>
internal ExtendedCosmosDBSqlUserDefinedFunctionResourceInfo(string functionName, string body, IDictionary<string, BinaryData> serializedAdditionalRawData, string rid, float? timestamp, ETag? etag) : base(functionName, body, serializedAdditionalRawData)
{
Rid = rid;
Timestamp = timestamp;
ETag = etag;
}
/// <summary> Initializes a new instance of <see cref="ExtendedCosmosDBSqlUserDefinedFunctionResourceInfo"/> for deserialization. </summary>
internal ExtendedCosmosDBSqlUserDefinedFunctionResourceInfo()
{
}
/// <summary> A system generated property. A unique identifier. </summary>
[WirePath("_rid")]
public string Rid { get; }
/// <summary> A system generated property that denotes the last updated timestamp of the resource. </summary>
[WirePath("_ts")]
public float? Timestamp { get; }
/// <summary> A system generated property representing the resource etag required for optimistic concurrency control. </summary>
[WirePath("_etag")]
public ETag? ETag { get; }
}
}