io.github.thunderz99.cosmos.dto.CosmosContainerResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-cosmos Show documentation
Show all versions of java-cosmos Show documentation
A lightweight Azure CosmosDB client for Java
package io.github.thunderz99.cosmos.dto;
public class CosmosContainerResponse extends RecordData {
public String name;
UniqueKeyPolicy uniqueKeyPolicy = new UniqueKeyPolicy();
public CosmosContainerResponse() {
}
public CosmosContainerResponse(String name) {
this.name = name;
}
public CosmosContainerResponse(String name, UniqueKeyPolicy policy) {
this.name = name;
this.uniqueKeyPolicy = policy;
}
/**
* Get the uniqueKeyPolicy associated with this container / collection
*
* @return uniqueKeyPolicy
*/
public UniqueKeyPolicy getUniqueKeyPolicy() {
return uniqueKeyPolicy;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy