Package com.adobe.aco.model
Class FeedMetadataDelete
- java.lang.Object
-
- com.adobe.aco.model.FeedMetadataDelete
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class FeedMetadataDelete extends ObjectDelete metadata information for a product attribute.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFeedMetadataDelete.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CODEstatic StringSERIALIZED_NAME_SOURCE
-
Constructor Summary
Constructors Constructor Description FeedMetadataDelete()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FeedMetadataDeletecode(String code)booleanequals(Object o)static FeedMetadataDeletefromJson(String jsonString)Create an instance of FeedMetadataDelete given an JSON stringStringgetCode()Attribute codeSourcegetSource()Get sourceinthashCode()voidsetCode(String code)voidsetSource(Source source)FeedMetadataDeletesource(Source source)StringtoJson()Convert an instance of FeedMetadataDelete 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_CODE
public static final String SERIALIZED_NAME_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SOURCE
public static final String SERIALIZED_NAME_SOURCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
code
public FeedMetadataDelete code(String code)
-
getCode
@Nonnull public String getCode()
Attribute code- Returns:
- code
-
setCode
public void setCode(String code)
-
source
public FeedMetadataDelete 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 FeedMetadataDelete
-
fromJson
public static FeedMetadataDelete fromJson(String jsonString) throws IOException
Create an instance of FeedMetadataDelete given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FeedMetadataDelete
- Throws:
IOException- if the JSON string is invalid with respect to FeedMetadataDelete
-
toJson
public String toJson()
Convert an instance of FeedMetadataDelete to an JSON string- Returns:
- JSON string
-
-