Package model
Class InstrumentUpdate
- java.lang.Object
-
- model.InstrumentUpdate
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class InstrumentUpdate extends Object
InstrumentUpdate
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInstrumentUpdate.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_IDEMPOTENCY_IDstatic StringSERIALIZED_NAME_LINKSstatic StringSERIALIZED_NAME_MERCHANTstatic StringSERIALIZED_NAME_STATEstatic StringSERIALIZED_NAME_UPDATED_AT
-
Constructor Summary
Constructors Constructor Description InstrumentUpdate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstrumentUpdatecreatedAt(OffsetDateTime createdAt)booleanequals(Object o)static InstrumentUpdatefromJson(String jsonString)Create an instance of InstrumentUpdate given an JSON stringOffsetDateTimegetCreatedAt()Timestamp of when the object was created.StringgetId()The ID of the `instrument_updates` resource.StringgetIdempotencyId()A randomly generated value that will be associated with this `instrument_update` resource.InstrumentUpdateLinksgetLinks()Get linksStringgetMerchant()The `Merchant` ID associated with the `instrument_updates`.StringgetState()The status of the `instrument_updates` resource and update request.OffsetDateTimegetUpdatedAt()Timestamp of when the object was last updated.inthashCode()InstrumentUpdateid(String id)InstrumentUpdateidempotencyId(String idempotencyId)InstrumentUpdatelinks(InstrumentUpdateLinks links)InstrumentUpdatemerchant(String merchant)voidsetCreatedAt(OffsetDateTime createdAt)voidsetId(String id)voidsetIdempotencyId(String idempotencyId)voidsetLinks(InstrumentUpdateLinks links)voidsetMerchant(String merchant)voidsetState(String state)voidsetUpdatedAt(OffsetDateTime updatedAt)InstrumentUpdatestate(String state)StringtoJson()Convert an instance of InstrumentUpdate to an JSON stringStringtoString()InstrumentUpdateupdatedAt(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_IDEMPOTENCY_ID
public static final String SERIALIZED_NAME_IDEMPOTENCY_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MERCHANT
public static final String SERIALIZED_NAME_MERCHANT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATE
public static final String SERIALIZED_NAME_STATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINKS
public static final String SERIALIZED_NAME_LINKS
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public InstrumentUpdate id(String id)
-
setId
public void setId(String id)
-
createdAt
public InstrumentUpdate 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 InstrumentUpdate updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
Timestamp of when the object was last updated.- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
idempotencyId
public InstrumentUpdate idempotencyId(String idempotencyId)
-
getIdempotencyId
@Nullable public String getIdempotencyId()
A randomly generated value that will be associated with this `instrument_update` resource.- Returns:
- idempotencyId
-
setIdempotencyId
public void setIdempotencyId(String idempotencyId)
-
merchant
public InstrumentUpdate merchant(String merchant)
-
getMerchant
@Nullable public String getMerchant()
The `Merchant` ID associated with the `instrument_updates`.- Returns:
- merchant
-
setMerchant
public void setMerchant(String merchant)
-
state
public InstrumentUpdate state(String state)
-
getState
@Nullable public String getState()
The status of the `instrument_updates` resource and update request.- Returns:
- state
-
setState
public void setState(String state)
-
links
public InstrumentUpdate links(InstrumentUpdateLinks links)
-
getLinks
@Nullable public InstrumentUpdateLinks getLinks()
Get links- Returns:
- links
-
setLinks
public void setLinks(InstrumentUpdateLinks 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 InstrumentUpdate
-
fromJson
public static InstrumentUpdate fromJson(String jsonString) throws IOException
Create an instance of InstrumentUpdate given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of InstrumentUpdate
- Throws:
IOException- if the JSON string is invalid with respect to InstrumentUpdate
-
toJson
public String toJson()
Convert an instance of InstrumentUpdate to an JSON string- Returns:
- JSON string
-
-