Package model
Class DeviceLinks
- java.lang.Object
-
- model.DeviceLinks
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") 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 Modifier and Type Class Description static classDeviceLinks.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_AUTHORIZATIONSstatic StringSERIALIZED_NAME_MERCHANTstatic StringSERIALIZED_NAME_SELFstatic StringSERIALIZED_NAME_TRANSFERS
-
Constructor Summary
Constructors Constructor Description DeviceLinks()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_AUTHORIZATIONS
public static final String SERIALIZED_NAME_AUTHORIZATIONS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MERCHANT
public static final String SERIALIZED_NAME_MERCHANT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SELF
public static final String SERIALIZED_NAME_SELF
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TRANSFERS
public static final String SERIALIZED_NAME_TRANSFERS
- See Also:
- Constant Field Values
-
-
Method Detail
-
authorizations
public DeviceLinks authorizations(ApplicationLinksApplicationProfile authorizations)
-
getAuthorizations
@Nullable public ApplicationLinksApplicationProfile getAuthorizations()
Get authorizations- Returns:
- authorizations
-
setAuthorizations
public void setAuthorizations(ApplicationLinksApplicationProfile authorizations)
-
merchant
public DeviceLinks merchant(DeviceLinksMerchant merchant)
-
getMerchant
@Nullable public DeviceLinksMerchant getMerchant()
Get merchant- Returns:
- merchant
-
setMerchant
public void setMerchant(DeviceLinksMerchant merchant)
-
self
public DeviceLinks self(ApplicationLinksSelf self)
-
getSelf
@Nullable public ApplicationLinksSelf getSelf()
Get self- Returns:
- self
-
setSelf
public void setSelf(ApplicationLinksSelf self)
-
transfers
public DeviceLinks transfers(ApplicationLinksApplicationProfile transfers)
-
getTransfers
@Nullable public ApplicationLinksApplicationProfile getTransfers()
Get transfers- Returns:
- transfers
-
setTransfers
public void setTransfers(ApplicationLinksApplicationProfile transfers)
-
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 DeviceLinks
-
fromJson
public static DeviceLinks fromJson(String jsonString) throws IOException
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
public String toJson()
Convert an instance of DeviceLinks to an JSON string- Returns:
- JSON string
-
-