forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from c8e62738154e96d63e12ee809d6c946bcc0c5383
- Loading branch information
SDK Automation
committed
Sep 27, 2020
1 parent
e4229fb
commit a54d779
Showing
90 changed files
with
4,398 additions
and
2,025 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
90 changes: 90 additions & 0 deletions
90
...crosoft/azure/management/cosmosdb/v2019_08_01/CassandraKeyspaceGetPropertiesResource.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.cosmosdb.v2019_08_01; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* The CassandraKeyspaceGetPropertiesResource model. | ||
*/ | ||
public class CassandraKeyspaceGetPropertiesResource { | ||
/** | ||
* Name of the Cosmos DB Cassandra keyspace. | ||
*/ | ||
@JsonProperty(value = "id", required = true) | ||
private String id; | ||
|
||
/** | ||
* A system generated property. A unique identifier. | ||
*/ | ||
@JsonProperty(value = "_rid", access = JsonProperty.Access.WRITE_ONLY) | ||
private String _rid; | ||
|
||
/** | ||
* A system generated property that denotes the last updated timestamp of | ||
* the resource. | ||
*/ | ||
@JsonProperty(value = "_ts", access = JsonProperty.Access.WRITE_ONLY) | ||
private Object _ts; | ||
|
||
/** | ||
* A system generated property representing the resource etag required for | ||
* optimistic concurrency control. | ||
*/ | ||
@JsonProperty(value = "_etag", access = JsonProperty.Access.WRITE_ONLY) | ||
private String _etag; | ||
|
||
/** | ||
* Get name of the Cosmos DB Cassandra keyspace. | ||
* | ||
* @return the id value | ||
*/ | ||
public String id() { | ||
return this.id; | ||
} | ||
|
||
/** | ||
* Set name of the Cosmos DB Cassandra keyspace. | ||
* | ||
* @param id the id value to set | ||
* @return the CassandraKeyspaceGetPropertiesResource object itself. | ||
*/ | ||
public CassandraKeyspaceGetPropertiesResource withId(String id) { | ||
this.id = id; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get a system generated property. A unique identifier. | ||
* | ||
* @return the _rid value | ||
*/ | ||
public String _rid() { | ||
return this._rid; | ||
} | ||
|
||
/** | ||
* Get a system generated property that denotes the last updated timestamp of the resource. | ||
* | ||
* @return the _ts value | ||
*/ | ||
public Object _ts() { | ||
return this._ts; | ||
} | ||
|
||
/** | ||
* Get a system generated property representing the resource etag required for optimistic concurrency control. | ||
* | ||
* @return the _etag value | ||
*/ | ||
public String _etag() { | ||
return this._etag; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
142 changes: 142 additions & 0 deletions
142
.../microsoft/azure/management/cosmosdb/v2019_08_01/CassandraTableGetPropertiesResource.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,142 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.cosmosdb.v2019_08_01; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* The CassandraTableGetPropertiesResource model. | ||
*/ | ||
public class CassandraTableGetPropertiesResource { | ||
/** | ||
* Name of the Cosmos DB Cassandra table. | ||
*/ | ||
@JsonProperty(value = "id", required = true) | ||
private String id; | ||
|
||
/** | ||
* Time to live of the Cosmos DB Cassandra table. | ||
*/ | ||
@JsonProperty(value = "defaultTtl") | ||
private Integer defaultTtl; | ||
|
||
/** | ||
* Schema of the Cosmos DB Cassandra table. | ||
*/ | ||
@JsonProperty(value = "schema") | ||
private CassandraSchema schema; | ||
|
||
/** | ||
* A system generated property. A unique identifier. | ||
*/ | ||
@JsonProperty(value = "_rid", access = JsonProperty.Access.WRITE_ONLY) | ||
private String _rid; | ||
|
||
/** | ||
* A system generated property that denotes the last updated timestamp of | ||
* the resource. | ||
*/ | ||
@JsonProperty(value = "_ts", access = JsonProperty.Access.WRITE_ONLY) | ||
private Object _ts; | ||
|
||
/** | ||
* A system generated property representing the resource etag required for | ||
* optimistic concurrency control. | ||
*/ | ||
@JsonProperty(value = "_etag", access = JsonProperty.Access.WRITE_ONLY) | ||
private String _etag; | ||
|
||
/** | ||
* Get name of the Cosmos DB Cassandra table. | ||
* | ||
* @return the id value | ||
*/ | ||
public String id() { | ||
return this.id; | ||
} | ||
|
||
/** | ||
* Set name of the Cosmos DB Cassandra table. | ||
* | ||
* @param id the id value to set | ||
* @return the CassandraTableGetPropertiesResource object itself. | ||
*/ | ||
public CassandraTableGetPropertiesResource withId(String id) { | ||
this.id = id; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get time to live of the Cosmos DB Cassandra table. | ||
* | ||
* @return the defaultTtl value | ||
*/ | ||
public Integer defaultTtl() { | ||
return this.defaultTtl; | ||
} | ||
|
||
/** | ||
* Set time to live of the Cosmos DB Cassandra table. | ||
* | ||
* @param defaultTtl the defaultTtl value to set | ||
* @return the CassandraTableGetPropertiesResource object itself. | ||
*/ | ||
public CassandraTableGetPropertiesResource withDefaultTtl(Integer defaultTtl) { | ||
this.defaultTtl = defaultTtl; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get schema of the Cosmos DB Cassandra table. | ||
* | ||
* @return the schema value | ||
*/ | ||
public CassandraSchema schema() { | ||
return this.schema; | ||
} | ||
|
||
/** | ||
* Set schema of the Cosmos DB Cassandra table. | ||
* | ||
* @param schema the schema value to set | ||
* @return the CassandraTableGetPropertiesResource object itself. | ||
*/ | ||
public CassandraTableGetPropertiesResource withSchema(CassandraSchema schema) { | ||
this.schema = schema; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get a system generated property. A unique identifier. | ||
* | ||
* @return the _rid value | ||
*/ | ||
public String _rid() { | ||
return this._rid; | ||
} | ||
|
||
/** | ||
* Get a system generated property that denotes the last updated timestamp of the resource. | ||
* | ||
* @return the _ts value | ||
*/ | ||
public Object _ts() { | ||
return this._ts; | ||
} | ||
|
||
/** | ||
* Get a system generated property representing the resource etag required for optimistic concurrency control. | ||
* | ||
* @return the _etag value | ||
*/ | ||
public String _etag() { | ||
return this._etag; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 71 additions & 0 deletions
71
...8_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/CompositePath.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.cosmosdb.v2019_08_01; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* The CompositePath model. | ||
*/ | ||
public class CompositePath { | ||
/** | ||
* The path for which the indexing behavior applies to. Index paths | ||
* typically start with root and end with wildcard (/path/*). | ||
*/ | ||
@JsonProperty(value = "path") | ||
private String path; | ||
|
||
/** | ||
* Sort order for composite paths. Possible values include: 'Ascending', | ||
* 'Descending'. | ||
*/ | ||
@JsonProperty(value = "order") | ||
private CompositePathSortOrder order; | ||
|
||
/** | ||
* Get the path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*). | ||
* | ||
* @return the path value | ||
*/ | ||
public String path() { | ||
return this.path; | ||
} | ||
|
||
/** | ||
* Set the path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*). | ||
* | ||
* @param path the path value to set | ||
* @return the CompositePath object itself. | ||
*/ | ||
public CompositePath withPath(String path) { | ||
this.path = path; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get sort order for composite paths. Possible values include: 'Ascending', 'Descending'. | ||
* | ||
* @return the order value | ||
*/ | ||
public CompositePathSortOrder order() { | ||
return this.order; | ||
} | ||
|
||
/** | ||
* Set sort order for composite paths. Possible values include: 'Ascending', 'Descending'. | ||
* | ||
* @param order the order value to set | ||
* @return the CompositePath object itself. | ||
*/ | ||
public CompositePath withOrder(CompositePathSortOrder order) { | ||
this.order = order; | ||
return this; | ||
} | ||
|
||
} |
Oops, something went wrong.