Package model
Class Processor
- java.lang.Object
-
- model.Processor
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class Processor extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProcessor.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_APPLICATIONstatic StringSERIALIZED_NAME_APPLICATION_CONFIGstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_DEFAULT_MERCHANT_PROFILEstatic StringSERIALIZED_NAME_ENABLEDstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_LINKSstatic StringSERIALIZED_NAME_PROCESSORstatic StringSERIALIZED_NAME_SYSTEM_CONFIGstatic StringSERIALIZED_NAME_UPDATED_AT
-
Constructor Summary
Constructors Constructor Description Processor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Processorapplication(String application)ProcessorapplicationConfig(ProcessorApplicationConfig applicationConfig)ProcessorcreatedAt(OffsetDateTime createdAt)ProcessordefaultMerchantProfile(String defaultMerchantProfile)Processorenabled(Boolean enabled)booleanequals(Object o)static ProcessorfromJson(String jsonString)Create an instance of Processor given an JSON stringStringgetApplication()The ID of the `Application` resource.ProcessorApplicationConfiggetApplicationConfig()Get applicationConfigOffsetDateTimegetCreatedAt()Timestamp of when the object was created.StringgetDefaultMerchantProfile()The ID of the resource.BooleangetEnabled()Details if the `Processor` resource is enabled.StringgetId()ID of the `Processor` resource.ProcessorLinksgetLinks()Get linksStringgetProcessor()The name of the processor.ProcessorSystemConfiggetSystemConfig()Get systemConfigOffsetDateTimegetUpdatedAt()Timestamp of when the object was last updated.inthashCode()Processorid(String id)Processorlinks(ProcessorLinks links)Processorprocessor(String processor)voidsetApplication(String application)voidsetApplicationConfig(ProcessorApplicationConfig applicationConfig)voidsetCreatedAt(OffsetDateTime createdAt)voidsetDefaultMerchantProfile(String defaultMerchantProfile)voidsetEnabled(Boolean enabled)voidsetId(String id)voidsetLinks(ProcessorLinks links)voidsetProcessor(String processor)voidsetSystemConfig(ProcessorSystemConfig systemConfig)voidsetUpdatedAt(OffsetDateTime updatedAt)ProcessorsystemConfig(ProcessorSystemConfig systemConfig)StringtoJson()Convert an instance of Processor to an JSON stringStringtoString()ProcessorupdatedAt(OffsetDateTime updatedAt)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_CREATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UPDATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_APPLICATION
public static final String SERIALIZED_NAME_APPLICATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_APPLICATION_CONFIG
public static final String SERIALIZED_NAME_APPLICATION_CONFIG
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DEFAULT_MERCHANT_PROFILE
public static final String SERIALIZED_NAME_DEFAULT_MERCHANT_PROFILE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ENABLED
public static final String SERIALIZED_NAME_ENABLED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESSOR
public static final String SERIALIZED_NAME_PROCESSOR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SYSTEM_CONFIG
public static final String SERIALIZED_NAME_SYSTEM_CONFIG
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINKS
public static final String SERIALIZED_NAME_LINKS
- See Also:
- Constant Field Values
-
-
Method Detail
-
setId
public void setId(String id)
-
createdAt
public Processor createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
Timestamp of when the object was created.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
updatedAt
public Processor updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
Timestamp of when the object was last updated.- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
getApplication
@Nullable public String getApplication()
The ID of the `Application` resource.- Returns:
- application
-
setApplication
public void setApplication(String application)
-
applicationConfig
public Processor applicationConfig(ProcessorApplicationConfig applicationConfig)
-
getApplicationConfig
@Nullable public ProcessorApplicationConfig getApplicationConfig()
Get applicationConfig- Returns:
- applicationConfig
-
setApplicationConfig
public void setApplicationConfig(ProcessorApplicationConfig applicationConfig)
-
getDefaultMerchantProfile
@Nullable public String getDefaultMerchantProfile()
The ID of the resource.- Returns:
- defaultMerchantProfile
-
setDefaultMerchantProfile
public void setDefaultMerchantProfile(String defaultMerchantProfile)
-
getEnabled
@Nullable public Boolean getEnabled()
Details if the `Processor` resource is enabled. Set to **false** to disable the `Processor`.- Returns:
- enabled
-
setEnabled
public void setEnabled(Boolean enabled)
-
setProcessor
public void setProcessor(String processor)
-
systemConfig
public Processor systemConfig(ProcessorSystemConfig systemConfig)
-
getSystemConfig
@Nullable public ProcessorSystemConfig getSystemConfig()
Get systemConfig- Returns:
- systemConfig
-
setSystemConfig
public void setSystemConfig(ProcessorSystemConfig systemConfig)
-
links
public Processor links(ProcessorLinks links)
-
getLinks
@Nullable public ProcessorLinks getLinks()
Get links- Returns:
- links
-
setLinks
public void setLinks(ProcessorLinks links)
-
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 Processor
-
fromJson
public static Processor fromJson(String jsonString) throws IOException
Create an instance of Processor given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Processor
- Throws:
IOException- if the JSON string is invalid with respect to Processor
-
toJson
public String toJson()
Convert an instance of Processor to an JSON string- Returns:
- JSON string
-
-