Package model
Class CreateProcessorRequest
- java.lang.Object
-
- model.CreateProcessorRequest
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class CreateProcessorRequest extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateProcessorRequest.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CONFIGstatic StringSERIALIZED_NAME_TAGSstatic StringSERIALIZED_NAME_TYPE
-
Constructor Summary
Constructors Constructor Description CreateProcessorRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateProcessorRequestconfig(CreateProcessorRequestConfig config)booleanequals(Object o)static CreateProcessorRequestfromJson(String jsonString)Create an instance of CreateProcessorRequest given an JSON stringCreateProcessorRequestConfiggetConfig()Get configMap<String,String>getTags()Key value pair for annotating custom meta data (e.g.StringgetType()The type of processor.inthashCode()CreateProcessorRequestputTagsItem(String key, String tagsItem)voidsetConfig(CreateProcessorRequestConfig config)voidsetTags(Map<String,String> tags)voidsetType(String type)CreateProcessorRequesttags(Map<String,String> tags)StringtoJson()Convert an instance of CreateProcessorRequest to an JSON stringStringtoString()CreateProcessorRequesttype(String type)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_CONFIG
public static final String SERIALIZED_NAME_CONFIG
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAGS
public static final String SERIALIZED_NAME_TAGS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
config
public CreateProcessorRequest config(CreateProcessorRequestConfig config)
-
getConfig
@Nullable public CreateProcessorRequestConfig getConfig()
Get config- Returns:
- config
-
setConfig
public void setConfig(CreateProcessorRequestConfig config)
-
tags
public CreateProcessorRequest tags(Map<String,String> tags)
-
putTagsItem
public CreateProcessorRequest putTagsItem(String key, String tagsItem)
-
getTags
@Nullable public Map<String,String> getTags()
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
type
public CreateProcessorRequest type(String type)
-
getType
@Nonnull public String getType()
The type of processor. Use **DUMMY_V1** for sandbox.- Returns:
- type
-
setType
public void setType(String type)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to CreateProcessorRequest
-
fromJson
public static CreateProcessorRequest fromJson(String jsonString) throws IOException
Create an instance of CreateProcessorRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateProcessorRequest
- Throws:
IOException- if the JSON string is invalid with respect to CreateProcessorRequest
-
toJson
public String toJson()
Convert an instance of CreateProcessorRequest to an JSON string- Returns:
- JSON string
-
-