Package com.adobe.aco.model
Class ProductMetaAttribute
- java.lang.Object
-
- com.adobe.aco.model.ProductMetaAttribute
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class ProductMetaAttribute extends ObjectMeta attributes that are specified in <meta> tags.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProductMetaAttribute.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DESCRIPTIONstatic StringSERIALIZED_NAME_KEYWORDSstatic StringSERIALIZED_NAME_TITLE
-
Constructor Summary
Constructors Constructor Description ProductMetaAttribute()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ProductMetaAttributeaddKeywordsItem(String keywordsItem)ProductMetaAttributedescription(String description)booleanequals(Object o)static ProductMetaAttributefromJson(String jsonString)Create an instance of ProductMetaAttribute given an JSON stringStringgetDescription()A meta descriptionList<String>getKeywords()A meta keywordsStringgetTitle()A meta titleinthashCode()ProductMetaAttributekeywords(List<String> keywords)voidsetDescription(String description)voidsetKeywords(List<String> keywords)voidsetTitle(String title)ProductMetaAttributetitle(String title)StringtoJson()Convert an instance of ProductMetaAttribute to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_TITLE
public static final String SERIALIZED_NAME_TITLE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_KEYWORDS
public static final String SERIALIZED_NAME_KEYWORDS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_DESCRIPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
title
public ProductMetaAttribute title(String title)
-
getTitle
@Nullable public String getTitle()
A meta title- Returns:
- title
-
setTitle
public void setTitle(String title)
-
keywords
public ProductMetaAttribute keywords(List<String> keywords)
-
addKeywordsItem
public ProductMetaAttribute addKeywordsItem(String keywordsItem)
-
description
public ProductMetaAttribute description(String description)
-
getDescription
@Nullable public String getDescription()
A meta description- Returns:
- description
-
setDescription
public void setDescription(String description)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates 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
-
-