Package sh.ory.model
Class IdentitySchema
java.lang.Object
sh.ory.model.IdentitySchema
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-04-19T11:31:27.587817519Z[Etc/UTC]") public class IdentitySchema extends Object
Together the name and identity uuid are a unique index constraint. This prevents a user from having schemas with the same name. This also allows schemas to have the same name across the system.
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_BLOB_NAMEstatic StringSERIALIZED_NAME_BLOB_URLstatic StringSERIALIZED_NAME_CONTENT_HASHstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_SCHEMAstatic StringSERIALIZED_NAME_UPDATED_AT -
Constructor Summary
Constructors Constructor Description IdentitySchema()IdentitySchema(OffsetDateTime createdAt, OffsetDateTime updatedAt) -
Method Summary
Modifier and Type Method Description IdentitySchemablobName(String blobName)IdentitySchemablobUrl(String blobUrl)IdentitySchemacontentHash(String contentHash)booleanequals(Object o)StringgetBlobName()The gcs file name This is a randomly generated name which is used to uniquely identify the file on the blob storageStringgetBlobUrl()The publicly accessible url of the schemaStringgetContentHash()The Content Hash Contains a hash of the schema's content.OffsetDateTimegetCreatedAt()The Schema's Creation DateUUIDgetId()Get idStringgetName()The schema name This is set by the user and is for them to easily recognise their schemaObjectgetSchema()The actual Identity JSON SchemaOffsetDateTimegetUpdatedAt()Last Time Schema was UpdatedinthashCode()IdentitySchemaid(UUID id)IdentitySchemaname(String name)IdentitySchemaschema(Object schema)voidsetBlobName(String blobName)voidsetBlobUrl(String blobUrl)voidsetContentHash(String contentHash)voidsetId(UUID id)voidsetName(String name)voidsetSchema(Object schema)StringtoString()
-
Field Details
-
SERIALIZED_NAME_BLOB_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BLOB_URL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONTENT_HASH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SCHEMA
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
- Constant Field Values
-
-
Constructor Details
-
IdentitySchema
public IdentitySchema() -
IdentitySchema
-
-
Method Details
-
blobName
-
getBlobName
The gcs file name This is a randomly generated name which is used to uniquely identify the file on the blob storage- Returns:
- blobName
-
setBlobName
-
blobUrl
-
getBlobUrl
The publicly accessible url of the schema- Returns:
- blobUrl
-
setBlobUrl
-
contentHash
-
getContentHash
The Content Hash Contains a hash of the schema's content.- Returns:
- contentHash
-
setContentHash
-
getCreatedAt
The Schema's Creation Date- Returns:
- createdAt
-
id
-
getId
Get id- Returns:
- id
-
setId
-
name
-
getName
The schema name This is set by the user and is for them to easily recognise their schema- Returns:
- name
-
setName
-
schema
-
getSchema
The actual Identity JSON Schema- Returns:
- schema
-
setSchema
-
getUpdatedAt
Last Time Schema was Updated- Returns:
- updatedAt
-
equals
-
hashCode
public int hashCode() -
toString
-