Class SchemaWriteBody

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

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class SchemaWriteBody extends Object
SchemaWriteRequest is the request message for the Write method in the Schema service. It contains tenant_id and the schema to be written.
  • Field Details

  • Constructor Details

    • SchemaWriteBody

      public SchemaWriteBody()
  • Method Details

    • schema

      public SchemaWriteBody schema(String schema)
    • getSchema

      @Nullable public String getSchema()
      schema is the string representation of the schema to be written.
      Returns:
      schema
    • setSchema

      public void setSchema(String schema)
    • equals

      public boolean equals(Object o)
      Return true if this Schema.WriteBody 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