Package com.adobe.aco.model
Class Model400ProcessFeedResponse
- java.lang.Object
-
- com.adobe.aco.model.Model400ProcessFeedResponse
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class Model400ProcessFeedResponse extends ObjectModel400ProcessFeedResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModel400ProcessFeedResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ERRORSstatic StringSERIALIZED_NAME_MESSAGEstatic StringSERIALIZED_NAME_STATUS
-
Constructor Summary
Constructors Constructor Description Model400ProcessFeedResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Model400ProcessFeedResponseaddErrorsItem(FeedItemFailedValidationResult errorsItem)booleanequals(Object o)Model400ProcessFeedResponseerrors(List<FeedItemFailedValidationResult> errors)static Model400ProcessFeedResponsefromJson(String jsonString)Create an instance of Model400ProcessFeedResponse given an JSON stringList<FeedItemFailedValidationResult>getErrors()List of items that did not pass validation.StringgetMessage()Error summary.StringgetStatus()Request status.inthashCode()Model400ProcessFeedResponsemessage(String message)voidsetErrors(List<FeedItemFailedValidationResult> errors)voidsetMessage(String message)voidsetStatus(String status)Model400ProcessFeedResponsestatus(String status)StringtoJson()Convert an instance of Model400ProcessFeedResponse 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_STATUS
public static final String SERIALIZED_NAME_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MESSAGE
public static final String SERIALIZED_NAME_MESSAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ERRORS
public static final String SERIALIZED_NAME_ERRORS
- See Also:
- Constant Field Values
-
-
Method Detail
-
status
public Model400ProcessFeedResponse status(String status)
-
getStatus
@Nullable public String getStatus()
Request status.- Returns:
- status
-
setStatus
public void setStatus(String status)
-
message
public Model400ProcessFeedResponse message(String message)
-
getMessage
@Nullable public String getMessage()
Error summary.- Returns:
- message
-
setMessage
public void setMessage(String message)
-
errors
public Model400ProcessFeedResponse errors(List<FeedItemFailedValidationResult> errors)
-
addErrorsItem
public Model400ProcessFeedResponse addErrorsItem(FeedItemFailedValidationResult errorsItem)
-
getErrors
@Nullable public List<FeedItemFailedValidationResult> getErrors()
List of items that did not pass validation. Fix the payload for invalid items before resubmitting the request.- Returns:
- errors
-
setErrors
public void setErrors(List<FeedItemFailedValidationResult> errors)
-
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 Model400ProcessFeedResponse
-
fromJson
public static Model400ProcessFeedResponse fromJson(String jsonString) throws IOException
Create an instance of Model400ProcessFeedResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Model400ProcessFeedResponse
- Throws:
IOException- if the JSON string is invalid with respect to Model400ProcessFeedResponse
-
toJson
public String toJson()
Convert an instance of Model400ProcessFeedResponse to an JSON string- Returns:
- JSON string
-
-