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 Details

  • Constructor Details

  • Method Details

    • blobName

      public IdentitySchema blobName​(String blobName)
    • getBlobName

      @Nonnull public String 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

      public void setBlobName​(String blobName)
    • blobUrl

      public IdentitySchema blobUrl​(String blobUrl)
    • getBlobUrl

      @Nonnull public String getBlobUrl()
      The publicly accessible url of the schema
      Returns:
      blobUrl
    • setBlobUrl

      public void setBlobUrl​(String blobUrl)
    • contentHash

      public IdentitySchema contentHash​(String contentHash)
    • getContentHash

      @Nullable public String getContentHash()
      The Content Hash Contains a hash of the schema's content.
      Returns:
      contentHash
    • setContentHash

      public void setContentHash​(String contentHash)
    • getCreatedAt

      @Nonnull public OffsetDateTime getCreatedAt()
      The Schema's Creation Date
      Returns:
      createdAt
    • id

      public IdentitySchema id​(UUID id)
    • getId

      @Nonnull public UUID getId()
      Get id
      Returns:
      id
    • setId

      public void setId​(UUID id)
    • name

      public IdentitySchema name​(String name)
    • getName

      @Nonnull public String getName()
      The schema name This is set by the user and is for them to easily recognise their schema
      Returns:
      name
    • setName

      public void setName​(String name)
    • schema

      public IdentitySchema schema​(Object schema)
    • getSchema

      @Nullable public Object getSchema()
      The actual Identity JSON Schema
      Returns:
      schema
    • setSchema

      public void setSchema​(Object schema)
    • getUpdatedAt

      @Nonnull public OffsetDateTime getUpdatedAt()
      Last Time Schema was Updated
      Returns:
      updatedAt
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object