Package com.adobe.aco.model
Class FeedProductDelete
- java.lang.Object
-
- com.adobe.aco.model.FeedProductDelete
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class FeedProductDelete extends ObjectFeedProductDelete
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFeedProductDelete.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_SKUstatic StringSERIALIZED_NAME_SOURCE
-
Constructor Summary
Constructors Constructor Description FeedProductDelete()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static FeedProductDeletefromJson(String jsonString)Create an instance of FeedProductDelete given an JSON stringStringgetSku()Product unique identifierSourcegetSource()Get sourceinthashCode()voidsetSku(String sku)voidsetSource(Source source)FeedProductDeletesku(String sku)FeedProductDeletesource(Source source)StringtoJson()Convert an instance of FeedProductDelete 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_SKU
public static final String SERIALIZED_NAME_SKU
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SOURCE
public static final String SERIALIZED_NAME_SOURCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
sku
public FeedProductDelete sku(String sku)
-
getSku
@Nonnull public String getSku()
Product unique identifier- Returns:
- sku
-
setSku
public void setSku(String sku)
-
source
public FeedProductDelete 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 FeedProductDelete
-
fromJson
public static FeedProductDelete fromJson(String jsonString) throws IOException
Create an instance of FeedProductDelete given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FeedProductDelete
- Throws:
IOException- if the JSON string is invalid with respect to FeedProductDelete
-
toJson
public String toJson()
Convert an instance of FeedProductDelete to an JSON string- Returns:
- JSON string
-
-