Class ListCreateRequest


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

      • ListCreateRequest

        public ListCreateRequest()
    • Method Detail

      • getDescription

        @Nullable
        public String getDescription()
        Get description
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
      • setName

        public void setName​(String name)
      • getPrivate

        @Nullable
        public Boolean getPrivate()
        Get _private
        Returns:
        _private
      • setPrivate

        public void setPrivate​(Boolean _private)
      • 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 ListCreateRequest
      • fromJson

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

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