Class ContextAnnotationDomainFields


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class ContextAnnotationDomainFields
    extends Object
    Represents the data for the context annotation domain.
    • Constructor Detail

      • ContextAnnotationDomainFields

        public ContextAnnotationDomainFields()
    • Method Detail

      • getDescription

        @Nullable
        public String getDescription()
        Description of the context annotation domain.
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
      • getId

        @Nonnull
        public String getId()
        The unique id for a context annotation domain.
        Returns:
        id
      • setId

        public void setId​(String id)
      • getName

        @Nullable
        public String getName()
        Name of the context annotation domain.
        Returns:
        name
      • setName

        public void setName​(String name)
      • 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 ContextAnnotationDomainFields
      • fromJson

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

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