Package model
Class CreateInstrumentUpdateRequest
java.lang.Object
model.CreateInstrumentUpdateRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class CreateInstrumentUpdateRequest
extends Object
CreateInstrumentUpdateRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of CreateInstrumentUpdateRequest given an JSON stringgetFile()The binary contents of the file.A JSON string of your request.inthashCode()voidvoidsetRequest(String request) toJson()Convert an instance of CreateInstrumentUpdateRequest to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_FILE
- See Also:
-
SERIALIZED_NAME_REQUEST
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreateInstrumentUpdateRequest
public CreateInstrumentUpdateRequest()
-
-
Method Details
-
_file
-
getFile
The binary contents of the file.- Returns:
- _file
-
setFile
-
request
-
getRequest
A JSON string of your request. The JSON object needs to contain the following two fields: - `merchant`: ID of the `Merchant` object that you want to associate with the Account Updater batch for your own accounting purposes. You can only associate one `Merchant` to each - `idemopotency_id`: A randomly generated value that will be associated with this `instrument_update` resource.- Returns:
- request
-
setRequest
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates 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 CreateInstrumentUpdateRequest
-
fromJson
Create an instance of CreateInstrumentUpdateRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateInstrumentUpdateRequest
- Throws:
IOException- if the JSON string is invalid with respect to CreateInstrumentUpdateRequest
-
toJson
Convert an instance of CreateInstrumentUpdateRequest to an JSON string- Returns:
- JSON string
-