Package model

Class UpdateUserRequest

java.lang.Object
model.UpdateUserRequest

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]") public class UpdateUserRequest extends Object
UpdateUserRequest
  • Field Details

  • Constructor Details

    • UpdateUserRequest

      public UpdateUserRequest()
  • Method Details

    • tags

      public UpdateUserRequest tags(Map<String,String> tags)
    • putTagsItem

      public UpdateUserRequest putTagsItem(String key, String tagsItem)
    • getTags

      @Nullable public Map<String,String> getTags()
      Key value pair for annotating custom meta data (e.g. order numbers).
      Returns:
      tags
    • setTags

      public void setTags(Map<String,String> tags)
    • enabled

      public UpdateUserRequest enabled(Boolean enabled)
    • getEnabled

      @Nullable public Boolean getEnabled()
      Get enabled
      Returns:
      enabled
    • setEnabled

      public void setEnabled(Boolean enabled)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonObject

      public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
      Validates the JSON Object and throws an exception if issues found
      Parameters:
      jsonObj - JSON Object
      Throws:
      IOException - if the JSON Object is invalid with respect to UpdateUserRequest
    • fromJson

      public static UpdateUserRequest fromJson(String jsonString) throws IOException
      Create an instance of UpdateUserRequest given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of UpdateUserRequest
      Throws:
      IOException - if the JSON string is invalid with respect to UpdateUserRequest
    • toJson

      public String toJson()
      Convert an instance of UpdateUserRequest to an JSON string
      Returns:
      JSON string