Skip to content

Commit

Permalink
Generated from c8e62738154e96d63e12ee809d6c946bcc0c5383
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Automation committed Sep 27, 2020
1 parent e4229fb commit a54d779
Show file tree
Hide file tree
Showing 90 changed files with 4,398 additions and 2,025 deletions.
4 changes: 2 additions & 2 deletions sdk/cosmos/mgmt-v2019_08_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.2.0</version>
<relativePath>../../parents/azure-arm-parent</relativePath>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-cosmosdb</artifactId>
<version>1.0.0-beta</version>
Expand Down
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;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,6 @@
* Type representing CassandraKeyspaceGetResults.
*/
public interface CassandraKeyspaceGetResults extends HasInner<CassandraKeyspaceGetResultsInner>, Indexable, Refreshable<CassandraKeyspaceGetResults>, Updatable<CassandraKeyspaceGetResults.Update>, HasManager<CosmosDBManager> {
/**
* @return the _etag value.
*/
String _etag();

/**
* @return the _rid value.
*/
String _rid();

/**
* @return the _ts value.
*/
Object _ts();

/**
* @return the cassandraKeyspaceGetResultsId value.
*/
String cassandraKeyspaceGetResultsId();

/**
* @return the id value.
*/
Expand All @@ -58,6 +38,11 @@ public interface CassandraKeyspaceGetResults extends HasInner<CassandraKeyspaceG
*/
String name();

/**
* @return the resource value.
*/
CassandraKeyspaceGetPropertiesResource resource();

/**
* @return the tags value.
*/
Expand Down
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;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -23,31 +23,6 @@
* Type representing CassandraTableGetResults.
*/
public interface CassandraTableGetResults extends HasInner<CassandraTableGetResultsInner>, Indexable, Refreshable<CassandraTableGetResults>, Updatable<CassandraTableGetResults.Update>, HasManager<CosmosDBManager> {
/**
* @return the _etag value.
*/
String _etag();

/**
* @return the _rid value.
*/
String _rid();

/**
* @return the _ts value.
*/
Object _ts();

/**
* @return the cassandraTableGetResultsId value.
*/
String cassandraTableGetResultsId();

/**
* @return the defaultTtl value.
*/
Integer defaultTtl();

/**
* @return the id value.
*/
Expand All @@ -64,9 +39,9 @@ public interface CassandraTableGetResults extends HasInner<CassandraTableGetResu
String name();

/**
* @return the schema value.
* @return the resource value.
*/
CassandraSchema schema();
CassandraTableGetPropertiesResource resource();

/**
* @return the tags value.
Expand Down
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;
}

}
Loading

0 comments on commit a54d779

Please sign in to comment.