Package model

Class CreateUserRequest


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class CreateUserRequest
    extends Object
    • Constructor Detail

      • CreateUserRequest

        public CreateUserRequest()
    • Method Detail

      • getEnabled

        @Nullable
        public Boolean getEnabled()
        Details if the `user` is enabled and active. Set to **false** to disable the `user`.
        Returns:
        enabled
      • setEnabled

        public void setEnabled​(Boolean enabled)
      • getTags

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

        public int hashCode()
        Overrides:
        hashCode 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 CreateUserRequest
      • fromJson

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

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