Class MapType

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

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class MapType extends Object
Map type with parameterized key and value types, e.g. `map<string, int>`.
  • Field Details

  • Constructor Details

    • MapType

      public MapType()
  • Method Details

    • keyType

      public MapType keyType(V1alpha1Type keyType)
    • getKeyType

      @Nullable public V1alpha1Type getKeyType()
      Get keyType
      Returns:
      keyType
    • setKeyType

      public void setKeyType(V1alpha1Type keyType)
    • valueType

      public MapType valueType(V1alpha1Type valueType)
    • getValueType

      @Nullable public V1alpha1Type getValueType()
      Get valueType
      Returns:
      valueType
    • setValueType

      public void setValueType(V1alpha1Type valueType)
    • equals

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