Package model
Class DeviceLinks
java.lang.Object
model.DeviceLinks
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class DeviceLinks
extends Object
For your convenience, every response includes several URLs which link to resources relevant to the request. You can use these `_links` to make your follow-up requests and quickly access relevant IDs.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorizations(ApplicationLinksApplicationProfile authorizations) booleanstatic DeviceLinksCreate an instance of DeviceLinks given an JSON stringGet authorizationsGet merchantgetSelf()Get selfGet transfersinthashCode()merchant(DeviceLinksMerchant merchant) self(ApplicationLinksSelf self) voidsetAuthorizations(ApplicationLinksApplicationProfile authorizations) voidsetMerchant(DeviceLinksMerchant merchant) voidsetSelf(ApplicationLinksSelf self) voidsetTransfers(ApplicationLinksApplicationProfile transfers) toJson()Convert an instance of DeviceLinks to an JSON stringtoString()transfers(ApplicationLinksApplicationProfile transfers) static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_AUTHORIZATIONS
- See Also:
-
SERIALIZED_NAME_MERCHANT
- See Also:
-
SERIALIZED_NAME_SELF
- See Also:
-
SERIALIZED_NAME_TRANSFERS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
DeviceLinks
public DeviceLinks()
-
-
Method Details
-
authorizations
-
getAuthorizations
Get authorizations- Returns:
- authorizations
-
setAuthorizations
-
merchant
-
getMerchant
Get merchant- Returns:
- merchant
-
setMerchant
-
self
-
getSelf
Get self- Returns:
- self
-
setSelf
-
transfers
-
getTransfers
Get transfers- Returns:
- transfers
-
setTransfers
-
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 DeviceLinks
-
fromJson
Create an instance of DeviceLinks given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DeviceLinks
- Throws:
IOException- if the JSON string is invalid with respect to DeviceLinks
-
toJson
Convert an instance of DeviceLinks to an JSON string- Returns:
- JSON string
-