Package model

Class Identity

java.lang.Object
model.Identity

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]") public class Identity extends Object
  • Field Details

  • Constructor Details

    • Identity

      public Identity()
  • Method Details

    • id

      public Identity id(String id)
    • getId

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

      public void setId(String id)
    • application

      public Identity application(String application)
    • getApplication

      @Nullable public String getApplication()
      ID of the `Application` associated with the `Identity`.
      Returns:
      application
    • setApplication

      public void setApplication(String application)
    • entity

      public Identity entity(IdentityEntity entity)
    • getEntity

      @Nullable public IdentityEntity getEntity()
      Get entity
      Returns:
      entity
    • setEntity

      public void setEntity(IdentityEntity entity)
    • tags

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

      public Identity 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)
    • createdAt

      public Identity createdAt(String createdAt)
    • getCreatedAt

      @Nullable public String getCreatedAt()
      Timestamp of when the `Identity` was created
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(String createdAt)
    • updatedAt

      public Identity updatedAt(String updatedAt)
    • getUpdatedAt

      @Nullable public String getUpdatedAt()
      Timestamp of when the `Identity` was last updated.
      Returns:
      updatedAt
    • setUpdatedAt

      public void setUpdatedAt(String updatedAt)
    • additionalUnderwritingData

      public Identity additionalUnderwritingData(IdentityAdditionalUnderwritingData additionalUnderwritingData)
    • getAdditionalUnderwritingData

      @Nullable public IdentityAdditionalUnderwritingData getAdditionalUnderwritingData()
      Get additionalUnderwritingData
      Returns:
      additionalUnderwritingData
    • setAdditionalUnderwritingData

      public void setAdditionalUnderwritingData(IdentityAdditionalUnderwritingData additionalUnderwritingData)
    • links

      public Identity links(IdentityLinks links)
    • getLinks

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

      public void setLinks(IdentityLinks 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 Identity
    • fromJson

      public static Identity fromJson(String jsonString) throws IOException
      Create an instance of Identity given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of Identity
      Throws:
      IOException - if the JSON string is invalid with respect to Identity
    • toJson

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