Class V1Operation

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

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class V1Operation extends Object
Operation is a message representing a series of operations that can be performed. It includes fields for writing and deleting relationships and attributes.
  • Field Details

  • Constructor Details

    • V1Operation

      public V1Operation()
  • Method Details

    • relationshipsWrite

      public V1Operation relationshipsWrite(List<String> relationshipsWrite)
    • addRelationshipsWriteItem

      public V1Operation addRelationshipsWriteItem(String relationshipsWriteItem)
    • getRelationshipsWrite

      @Nullable public List<String> getRelationshipsWrite()
      'relationships_write' is a repeated string field for storing relationship keys that are to be written or created.
      Returns:
      relationshipsWrite
    • setRelationshipsWrite

      public void setRelationshipsWrite(List<String> relationshipsWrite)
    • relationshipsDelete

      public V1Operation relationshipsDelete(List<String> relationshipsDelete)
    • addRelationshipsDeleteItem

      public V1Operation addRelationshipsDeleteItem(String relationshipsDeleteItem)
    • getRelationshipsDelete

      @Nullable public List<String> getRelationshipsDelete()
      'relationships_delete' is a repeated string field for storing relationship keys that are to be deleted or removed.
      Returns:
      relationshipsDelete
    • setRelationshipsDelete

      public void setRelationshipsDelete(List<String> relationshipsDelete)
    • attributesWrite

      public V1Operation attributesWrite(List<String> attributesWrite)
    • addAttributesWriteItem

      public V1Operation addAttributesWriteItem(String attributesWriteItem)
    • getAttributesWrite

      @Nullable public List<String> getAttributesWrite()
      'attributes_write' is a repeated string field for storing attribute keys that are to be written or created.
      Returns:
      attributesWrite
    • setAttributesWrite

      public void setAttributesWrite(List<String> attributesWrite)
    • attributesDelete

      public V1Operation attributesDelete(List<String> attributesDelete)
    • addAttributesDeleteItem

      public V1Operation addAttributesDeleteItem(String attributesDeleteItem)
    • getAttributesDelete

      @Nullable public List<String> getAttributesDelete()
      'attributes_delete' is a repeated string field for storing attribute keys that are to be deleted or removed.
      Returns:
      attributesDelete
    • setAttributesDelete

      public void setAttributesDelete(List<String> attributesDelete)
    • equals

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