Class SchemaReadBody

java.lang.Object
co.permify.sdk.model.SchemaReadBody

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class SchemaReadBody extends Object
SchemaReadRequest is the request message for the Read method in the Schema service. It contains tenant_id and metadata about the schema to be read.
  • Field Details

  • Constructor Details

    • SchemaReadBody

      public SchemaReadBody()
  • Method Details

    • metadata

      public SchemaReadBody metadata(SchemaReadRequestMetadata metadata)
    • getMetadata

      @Nullable public SchemaReadRequestMetadata getMetadata()
      Get metadata
      Returns:
      metadata
    • setMetadata

      public void setMetadata(SchemaReadRequestMetadata metadata)
    • equals

      public boolean equals(Object o)
      Return true if this Schema.ReadBody object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string