Package com.adobe.aco.model
Class FeedCategoryDelete
- java.lang.Object
-
- com.adobe.aco.model.FeedCategoryDelete
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class FeedCategoryDelete extends ObjectDelete category information for removing categories from the catalog.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFeedCategoryDelete.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_SLUGstatic StringSERIALIZED_NAME_SOURCE
-
Constructor Summary
Constructors Constructor Description FeedCategoryDelete()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static FeedCategoryDeletefromJson(String jsonString)Create an instance of FeedCategoryDelete given an JSON stringStringgetSlug()Category slug using hierarchical format with forward slashes to represent parent-child relationships.SourcegetSource()Get sourceinthashCode()voidsetSlug(String slug)voidsetSource(Source source)FeedCategoryDeleteslug(String slug)FeedCategoryDeletesource(Source source)StringtoJson()Convert an instance of FeedCategoryDelete 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_SLUG
public static final String SERIALIZED_NAME_SLUG
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SOURCE
public static final String SERIALIZED_NAME_SOURCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
slug
public FeedCategoryDelete slug(String slug)
-
getSlug
@Nonnull public String getSlug()
Category slug using hierarchical format with forward slashes to represent parent-child relationships. Must use only lowercase letters, numbers, and hyphens. Examples: 'men', 'men/clothing', 'men/clothing/pants'- Returns:
- slug
-
setSlug
public void setSlug(String slug)
-
source
public FeedCategoryDelete source(Source source)
-
getSource
@Nonnull public Source getSource()
Get source- Returns:
- source
-
setSource
public void setSource(Source source)
-
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 FeedCategoryDelete
-
fromJson
public static FeedCategoryDelete fromJson(String jsonString) throws IOException
Create an instance of FeedCategoryDelete given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FeedCategoryDelete
- Throws:
IOException- if the JSON string is invalid with respect to FeedCategoryDelete
-
toJson
public String toJson()
Convert an instance of FeedCategoryDelete to an JSON string- Returns:
- JSON string
-
-