Package com.adobe.aco.model
Class FeedPricesDelete
- java.lang.Object
-
- com.adobe.aco.model.FeedPricesDelete
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class FeedPricesDelete extends ObjectDelete product price information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFeedPricesDelete.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_PRICE_BOOK_IDstatic StringSERIALIZED_NAME_SKU
-
Constructor Summary
Constructors Constructor Description FeedPricesDelete()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static FeedPricesDeletefromJson(String jsonString)Create an instance of FeedPricesDelete given an JSON stringStringgetPriceBookId()Price book idStringgetSku()Product SKUinthashCode()FeedPricesDeletepriceBookId(String priceBookId)voidsetPriceBookId(String priceBookId)voidsetSku(String sku)FeedPricesDeletesku(String sku)StringtoJson()Convert an instance of FeedPricesDelete 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_PRICE_BOOK_ID
public static final String SERIALIZED_NAME_PRICE_BOOK_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
sku
public FeedPricesDelete sku(String sku)
-
getSku
@Nonnull public String getSku()
Product SKU- Returns:
- sku
-
setSku
public void setSku(String sku)
-
priceBookId
public FeedPricesDelete priceBookId(String priceBookId)
-
getPriceBookId
@Nonnull public String getPriceBookId()
Price book id- Returns:
- priceBookId
-
setPriceBookId
public void setPriceBookId(String priceBookId)
-
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 FeedPricesDelete
-
fromJson
public static FeedPricesDelete fromJson(String jsonString) throws IOException
Create an instance of FeedPricesDelete given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FeedPricesDelete
- Throws:
IOException- if the JSON string is invalid with respect to FeedPricesDelete
-
toJson
public String toJson()
Convert an instance of FeedPricesDelete to an JSON string- Returns:
- JSON string
-
-