Class BundleWriteBody

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

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class BundleWriteBody extends Object
BundleWriteRequest is used to request the writing of a bundle. It contains the tenant_id to identify the tenant and the Bundles object.
  • Field Details

  • Constructor Details

    • BundleWriteBody

      public BundleWriteBody()
  • Method Details

    • bundles

      public BundleWriteBody bundles(List<DataBundle> bundles)
    • addBundlesItem

      public BundleWriteBody addBundlesItem(DataBundle bundlesItem)
    • getBundles

      @Nullable public List<DataBundle> getBundles()
      Contains the bundle data to be written.
      Returns:
      bundles
    • setBundles

      public void setBundles(List<DataBundle> bundles)
    • equals

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