Class Schema
The table schema information as a JSON object.
Inherited Members
Namespace: Oci.NosqlService.Models
Assembly: OCI.DotNetSDK.Nosql.dll
Syntax
public class SchemaProperties
Columns
Declaration
[Required(ErrorMessage = "Columns is required.")]
[JsonProperty(PropertyName = "columns")]
public List<Column> Columns { get; set; }Property Value
| Type | Description | 
|---|---|
| List<Column> | The columns of a table. | 
Remarks
Required
Identity
Declaration
[JsonProperty(PropertyName = "identity")]
public Identity Identity { get; set; }Property Value
| Type | Description | 
|---|---|
| Identity | 
PrimaryKey
Declaration
[Required(ErrorMessage = "PrimaryKey is required.")]
[JsonProperty(PropertyName = "primaryKey")]
public List<string> PrimaryKey { get; set; }Property Value
| Type | Description | 
|---|---|
| List<string> | A list of column names that make up a key. | 
Remarks
Required
ShardKey
Declaration
[Required(ErrorMessage = "ShardKey is required.")]
[JsonProperty(PropertyName = "shardKey")]
public List<string> ShardKey { get; set; }Property Value
| Type | Description | 
|---|---|
| List<string> | A list of column names that make up a key. | 
Remarks
Required
Ttl
Declaration
[Required(ErrorMessage = "Ttl is required.")]
[JsonProperty(PropertyName = "ttl")]
public int? Ttl { get; set; }Property Value
| Type | Description | 
|---|---|
| int? | The default Time-to-Live for the table, in days. | 
Remarks
Required