Package com.adobe.aco.model
Class ProcessFeedResponse
- java.lang.Object
-
- com.adobe.aco.model.ProcessFeedResponse
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class ProcessFeedResponse extends ObjectProcessFeedResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProcessFeedResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ACCEPTED_COUNTstatic StringSERIALIZED_NAME_STATUS
-
Constructor Summary
Constructors Constructor Description ProcessFeedResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ProcessFeedResponseacceptedCount(Integer acceptedCount)booleanequals(Object o)static ProcessFeedResponsefromJson(String jsonString)Create an instance of ProcessFeedResponse given an JSON stringIntegergetAcceptedCount()The number of received and accepted items.StringgetStatus()Request status.inthashCode()voidsetAcceptedCount(Integer acceptedCount)voidsetStatus(String status)ProcessFeedResponsestatus(String status)StringtoJson()Convert an instance of ProcessFeedResponse 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_ACCEPTED_COUNT
public static final String SERIALIZED_NAME_ACCEPTED_COUNT
- See Also:
- Constant Field Values
-
-
Method Detail
-
status
public ProcessFeedResponse status(String status)
-
getStatus
@Nullable public String getStatus()
Request status.- Returns:
- status
-
setStatus
public void setStatus(String status)
-
acceptedCount
public ProcessFeedResponse acceptedCount(Integer acceptedCount)
-
getAcceptedCount
@Nullable public Integer getAcceptedCount()
The number of received and accepted items.- Returns:
- acceptedCount
-
setAcceptedCount
public void setAcceptedCount(Integer acceptedCount)
-
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 ProcessFeedResponse
-
fromJson
public static ProcessFeedResponse fromJson(String jsonString) throws IOException
Create an instance of ProcessFeedResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ProcessFeedResponse
- Throws:
IOException- if the JSON string is invalid with respect to ProcessFeedResponse
-
toJson
public String toJson()
Convert an instance of ProcessFeedResponse to an JSON string- Returns:
- JSON string
-
-