Class ProductMetaAttribute


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.4.0")
    public class ProductMetaAttribute
    extends Object
    Meta attributes that are specified in <meta> tags.
    • Constructor Detail

      • ProductMetaAttribute

        public ProductMetaAttribute()
    • Method Detail

      • getTitle

        @Nullable
        public String getTitle()
        A meta title
        Returns:
        title
      • setTitle

        public void setTitle​(String title)
      • getKeywords

        @Nullable
        public List<String> getKeywords()
        A meta keywords
        Returns:
        keywords
      • setKeywords

        public void setKeywords​(List<String> keywords)
      • getDescription

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

        public void setDescription​(String description)
      • hashCode

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

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates the JSON Element and throws an exception if issues found
        Parameters:
        jsonElement - JSON Element
        Throws:
        IOException - if the JSON Element is invalid with respect to ProductMetaAttribute
      • fromJson

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

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