-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ExtendedCassandraTableResourceInfo.cs
55 lines (48 loc) · 2.92 KB
/
ExtendedCassandraTableResourceInfo.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
54
55
// 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 ExtendedCassandraTableResourceInfo. </summary>
public partial class ExtendedCassandraTableResourceInfo : CassandraTableResourceInfo
{
/// <summary> Initializes a new instance of <see cref="ExtendedCassandraTableResourceInfo"/>. </summary>
/// <param name="tableName"> Name of the Cosmos DB Cassandra table. </param>
/// <exception cref="ArgumentNullException"> <paramref name="tableName"/> is null. </exception>
public ExtendedCassandraTableResourceInfo(string tableName) : base(tableName)
{
Argument.AssertNotNull(tableName, nameof(tableName));
}
/// <summary> Initializes a new instance of <see cref="ExtendedCassandraTableResourceInfo"/>. </summary>
/// <param name="tableName"> Name of the Cosmos DB Cassandra table. </param>
/// <param name="defaultTtl"> Time to live of the Cosmos DB Cassandra table. </param>
/// <param name="schema"> Schema of the Cosmos DB Cassandra table. </param>
/// <param name="analyticalStorageTtl"> Analytical TTL. </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 ExtendedCassandraTableResourceInfo(string tableName, int? defaultTtl, CassandraSchema schema, int? analyticalStorageTtl, IDictionary<string, BinaryData> serializedAdditionalRawData, string rid, float? timestamp, ETag? etag) : base(tableName, defaultTtl, schema, analyticalStorageTtl, serializedAdditionalRawData)
{
Rid = rid;
Timestamp = timestamp;
ETag = etag;
}
/// <summary> Initializes a new instance of <see cref="ExtendedCassandraTableResourceInfo"/> for deserialization. </summary>
internal ExtendedCassandraTableResourceInfo()
{
}
/// <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; }
}
}