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.
  • Field Details

  • Constructor Details

    • Device

      public Device()
  • Method Details

    • tags

      public Device tags(Map<String,String> tags)
    • putTagsItem

      public Device putTagsItem(String key, String tagsItem)
    • getTags

      @Nullable public Map<String,String> getTags()
      Key value pair for annotating custom meta data (e.g. order numbers).
      Returns:
      tags
    • setTags

      public void setTags(Map<String,String> tags)
    • description

      public Device description(String description)
    • getDescription

      @Nullable public String getDescription()
      Additional information about device (e.g. self serving terminal).
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • id

      public Device id(String id)
    • getId

      @Nullable public String getId()
      The ID of the resource.
      Returns:
      id
    • setId

      public void setId(String id)
    • createdAt

      public Device 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 Device updatedAt(OffsetDateTime updatedAt)
    • getUpdatedAt

      @Nullable public OffsetDateTime getUpdatedAt()
      Timestamp of when the object was last updated.
      Returns:
      updatedAt
    • setUpdatedAt

      public void setUpdatedAt(OffsetDateTime updatedAt)
    • configurationDetails

      public Device configurationDetails(DeviceConfigDetails configurationDetails)
    • getConfigurationDetails

      @Nullable public DeviceConfigDetails getConfigurationDetails()
      Get configurationDetails
      Returns:
      configurationDetails
    • setConfigurationDetails

      public void setConfigurationDetails(DeviceConfigDetails configurationDetails)
    • connection

      public Device connection(String connection)
    • getConnection

      @Nullable public String getConnection()
      Details if the `Device` is connected and online.
      Returns:
      connection
    • setConnection

      public void setConnection(String connection)
    • enabled

      public Device enabled(Boolean enabled)
    • getEnabled

      @Nullable public Boolean getEnabled()
      Details if the `Device` resource is enabled. Set to **false** to disable the `Device`.
      Returns:
      enabled
    • setEnabled

      public void setEnabled(Boolean enabled)
    • idleMessage

      public Device idleMessage(String idleMessage)
    • getIdleMessage

      @Nullable public String getIdleMessage()
      ID of `Device`.
      Returns:
      idleMessage
    • setIdleMessage

      public void setIdleMessage(String idleMessage)
    • inputDetails

      public Device inputDetails(InputDetails inputDetails)
    • getInputDetails

      @Nullable public InputDetails getInputDetails()
      Get inputDetails
      Returns:
      inputDetails
    • setInputDetails

      public void setInputDetails(InputDetails inputDetails)
    • merchant

      public Device merchant(String merchant)
    • getMerchant

      @Nullable public String getMerchant()
      ID of the `Merchant` resource.
      Returns:
      merchant
    • setMerchant

      public void setMerchant(String merchant)
    • model

      public Device model(String model)
    • getModel

      @Nullable public String 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

      public void setModel(String model)
    • name

      public Device name(String name)
    • getName

      @Nullable public String getName()
      Name of the `Device`.
      Returns:
      name
    • setName

      public void setName(String name)
    • serialNumber

      public Device serialNumber(String serialNumber)
    • getSerialNumber

      @Nullable public String getSerialNumber()
      Serial number of the device.
      Returns:
      serialNumber
    • setSerialNumber

      public void setSerialNumber(String serialNumber)
    • links

      public Device links(DeviceLinks links)
    • getLinks

      @Nullable public DeviceLinks getLinks()
      Get links
      Returns:
      links
    • setLinks

      public void setLinks(DeviceLinks links)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonObject

      public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
      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

      public static Device fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of Device to an JSON string
      Returns:
      JSON string