Class SchemaWriteResponse

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

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class SchemaWriteResponse extends Object
SchemaWriteResponse is the response message for the Write method in the Schema service. It returns the version of the written schema.
  • Field Details

  • Constructor Details

    • SchemaWriteResponse

      public SchemaWriteResponse()
  • Method Details

    • schemaVersion

      public SchemaWriteResponse schemaVersion(String schemaVersion)
    • getSchemaVersion

      @Nullable public String getSchemaVersion()
      schema_version is the string that identifies the version of the written schema.
      Returns:
      schemaVersion
    • setSchemaVersion

      public void setSchemaVersion(String schemaVersion)
    • equals

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