Package model
Class Device
java.lang.Object
model.Device
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class Device
extends Object
`Device` resource.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfigurationDetails(DeviceConfigDetails configurationDetails) connection(String connection) createdAt(OffsetDateTime createdAt) description(String description) booleanstatic DeviceCreate an instance of Device given an JSON stringGet configurationDetailsDetails if the `Device` is connected and online.Timestamp of when the object was created.Additional information about device (e.g.Details if the `Device` resource is enabled.getId()The ID of the resource.ID of `Device`.Get inputDetailsgetLinks()Get linksID of the `Merchant` resource.getModel()Please select one of the following values which will let Finix know the type of device being used:<ul><li>BBPOS<li>MX915<li>MX925<li>IPP320<li>IPP350<li>ISC250<li>ISC480<li>ISMP4<li>LANE\\_3000<li><li>ANDROIDgetName()Name of the `Device`.Serial number of the device.getTags()Key value pair for annotating custom meta data (e.g.Timestamp of when the object was last updated.inthashCode()idleMessage(String idleMessage) inputDetails(InputDetails inputDetails) links(DeviceLinks links) putTagsItem(String key, String tagsItem) serialNumber(String serialNumber) voidsetConfigurationDetails(DeviceConfigDetails configurationDetails) voidsetConnection(String connection) voidsetCreatedAt(OffsetDateTime createdAt) voidsetDescription(String description) voidsetEnabled(Boolean enabled) voidvoidsetIdleMessage(String idleMessage) voidsetInputDetails(InputDetails inputDetails) voidsetLinks(DeviceLinks links) voidsetMerchant(String merchant) voidvoidvoidsetSerialNumber(String serialNumber) voidvoidsetUpdatedAt(OffsetDateTime updatedAt) toJson()Convert an instance of Device to an JSON stringtoString()updatedAt(OffsetDateTime updatedAt) static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_TAGS
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_CONFIGURATION_DETAILS
- See Also:
-
SERIALIZED_NAME_CONNECTION
- See Also:
-
SERIALIZED_NAME_ENABLED
- See Also:
-
SERIALIZED_NAME_IDLE_MESSAGE
- See Also:
-
SERIALIZED_NAME_INPUT_DETAILS
- See Also:
-
SERIALIZED_NAME_MERCHANT
- See Also:
-
SERIALIZED_NAME_MODEL
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_SERIAL_NUMBER
- See Also:
-
SERIALIZED_NAME_LINKS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Device
public Device()
-
-
Method Details
-
tags
-
putTagsItem
-
getTags
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
setTags
-
description
-
getDescription
Additional information about device (e.g. self serving terminal).- Returns:
- description
-
setDescription
-
id
-
getId
The ID of the resource.- Returns:
- id
-
setId
-
createdAt
-
getCreatedAt
Timestamp of when the object was created.- Returns:
- createdAt
-
setCreatedAt
-
updatedAt
-
getUpdatedAt
Timestamp of when the object was last updated.- Returns:
- updatedAt
-
setUpdatedAt
-
configurationDetails
-
getConfigurationDetails
Get configurationDetails- Returns:
- configurationDetails
-
setConfigurationDetails
-
connection
-
getConnection
Details if the `Device` is connected and online.- Returns:
- connection
-
setConnection
-
enabled
-
getEnabled
Details if the `Device` resource is enabled. Set to **false** to disable the `Device`.- Returns:
- enabled
-
setEnabled
-
idleMessage
-
getIdleMessage
ID of `Device`.- Returns:
- idleMessage
-
setIdleMessage
-
inputDetails
-
getInputDetails
Get inputDetails- Returns:
- inputDetails
-
setInputDetails
-
merchant
-
getMerchant
ID of the `Merchant` resource.- Returns:
- merchant
-
setMerchant
-
model
-
getModel
Please select one of the following values which will let Finix know the type of device being used:<ul><li>BBPOS<li>MX915<li>MX925<li>IPP320<li>IPP350<li>ISC250<li>ISC480<li>ISMP4<li>LANE\\_3000<li><li>ANDROID- Returns:
- model
-
setModel
-
name
-
getName
Name of the `Device`.- Returns:
- name
-
setName
-
serialNumber
-
getSerialNumber
Serial number of the device.- Returns:
- serialNumber
-
setSerialNumber
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
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 Device
-
fromJson
Create an instance of Device given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Device
- Throws:
IOException- if the JSON string is invalid with respect to Device
-
toJson
Convert an instance of Device to an JSON string- Returns:
- JSON string
-