Class ContextAnnotationEntityFields


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

      • ContextAnnotationEntityFields

        public ContextAnnotationEntityFields()
    • Method Detail

      • getDescription

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

        public void setDescription​(String description)
      • getId

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

        public void setId​(String id)
      • getName

        @Nullable
        public String getName()
        Name of the context annotation entity.
        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 ContextAnnotationEntityFields
      • fromJson

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

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