Class ExchangeContextResponse

java.lang.Object
co.ankatech.keymanagement.client.keymanagement.model.ExchangeContextResponse

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.23.0") public class ExchangeContextResponse extends Object
Governed interaction scenario between a tenant Application and a counterparty. Capability Grants reference Exchange Contexts to achieve multi-party isolation (e.g. VISA vs AMEX embossing under one Card Issuance app).
  • Field Details

  • Constructor Details

    • ExchangeContextResponse

      public ExchangeContextResponse()
  • Method Details

    • getDirectionAsString

      public String getDirectionAsString()
      The wire value of direction: what the server sent, verbatim.
      • For a value this release declares, the same wire value the enum names.
      • For a value it does not declare (one a later server added), the server's wire value verbatim, while getDirection() reads UNKNOWN_DEFAULT_OPEN_API; writing this model sends that wire value back, never the sentinel.
      • For an absent member, null.
      Returns:
      the wire value, or null when the member is absent
    • getSensitivityAsString

      public String getSensitivityAsString()
      The wire value of sensitivity: what the server sent, verbatim.
      • For a value this release declares, the same wire value the enum names.
      • For a value it does not declare (one a later server added), the server's wire value verbatim, while getSensitivity() reads UNKNOWN_DEFAULT_OPEN_API; writing this model sends that wire value back, never the sentinel.
      • For an absent member, null.
      Returns:
      the wire value, or null when the member is absent
    • getStatusAsString

      public String getStatusAsString()
      The wire value of status: what the server sent, verbatim.
      • For a value this release declares, the same wire value the enum names.
      • For a value it does not declare (one a later server added), the server's wire value verbatim, while getStatus() reads UNKNOWN_DEFAULT_OPEN_API; writing this model sends that wire value back, never the sentinel.
      • For an absent member, null.
      Returns:
      the wire value, or null when the member is absent
    • applicationId

      public ExchangeContextResponse applicationId(@Nonnull UUID applicationId)
    • getApplicationId

      @Nonnull public UUID getApplicationId()
      Get applicationId
      Returns:
      applicationId
    • setApplicationId

      public void setApplicationId(@Nonnull UUID applicationId)
    • businessPurpose

      public ExchangeContextResponse businessPurpose(@Nullable String businessPurpose)
    • getBusinessPurpose

      @Nullable public String getBusinessPurpose()
      Get businessPurpose
      Returns:
      businessPurpose
    • setBusinessPurpose

      public void setBusinessPurpose(@Nullable String businessPurpose)
    • counterparty

      public ExchangeContextResponse counterparty(@Nullable String counterparty)
    • getCounterparty

      @Nullable public String getCounterparty()
      Get counterparty
      Returns:
      counterparty
    • setCounterparty

      public void setCounterparty(@Nullable String counterparty)
    • counterpartyTypeCode

      public ExchangeContextResponse counterpartyTypeCode(@Nullable String counterpartyTypeCode)
    • getCounterpartyTypeCode

      @Nullable public String getCounterpartyTypeCode()
      Code of the counterparty type catalog row referenced by counterpartyTypeId. Eager-loaded server-side; null when no type is set.
      Returns:
      counterpartyTypeCode
    • setCounterpartyTypeCode

      public void setCounterpartyTypeCode(@Nullable String counterpartyTypeCode)
    • counterpartyTypeDisplayName

      public ExchangeContextResponse counterpartyTypeDisplayName(@Nullable String counterpartyTypeDisplayName)
    • getCounterpartyTypeDisplayName

      @Nullable public String getCounterpartyTypeDisplayName()
      displayName of the counterparty type catalog row. null when no type is set.
      Returns:
      counterpartyTypeDisplayName
    • setCounterpartyTypeDisplayName

      public void setCounterpartyTypeDisplayName(@Nullable String counterpartyTypeDisplayName)
    • counterpartyTypeId

      public ExchangeContextResponse counterpartyTypeId(@Nullable UUID counterpartyTypeId)
    • getCounterpartyTypeId

      @Nullable public UUID getCounterpartyTypeId()
      FK to the counterparty type catalog. null when no type is set.
      Returns:
      counterpartyTypeId
    • setCounterpartyTypeId

      public void setCounterpartyTypeId(@Nullable UUID counterpartyTypeId)
    • createdAt

      public ExchangeContextResponse createdAt(@Nullable OffsetDateTime createdAt)
    • getCreatedAt

      @Nullable public OffsetDateTime getCreatedAt()
      Get createdAt
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(@Nullable OffsetDateTime createdAt)
    • description

      public ExchangeContextResponse description(@Nullable String description)
    • getDescription

      @Nullable public String getDescription()
      Get description
      Returns:
      description
    • setDescription

      public void setDescription(@Nullable String description)
    • direction

      public ExchangeContextResponse direction(@Nonnull ExchangeContextResponse.DirectionEnum direction)
    • getDirection

      @Nonnull public ExchangeContextResponse.DirectionEnum getDirection()
      Get direction
      Returns:
      direction
    • setDirection

      public void setDirection(@Nonnull ExchangeContextResponse.DirectionEnum direction)
    • displayName

      public ExchangeContextResponse displayName(@Nullable String displayName)
    • getDisplayName

      @Nullable public String getDisplayName()
      Get displayName
      Returns:
      displayName
    • setDisplayName

      public void setDisplayName(@Nullable String displayName)
    • id

      public ExchangeContextResponse id(@Nonnull UUID id)
    • getId

      @Nonnull public UUID getId()
      Get id
      Returns:
      id
    • setId

      public void setId(@Nonnull UUID id)
    • name

      public ExchangeContextResponse name(@Nonnull String name)
    • getName

      @Nonnull public String getName()
      Get name
      Returns:
      name
    • setName

      public void setName(@Nonnull String name)
    • sensitivity

      public ExchangeContextResponse sensitivity(@Nonnull ExchangeContextResponse.SensitivityEnum sensitivity)
    • getSensitivity

      @Nonnull public ExchangeContextResponse.SensitivityEnum getSensitivity()
      Get sensitivity
      Returns:
      sensitivity
    • setSensitivity

      public void setSensitivity(@Nonnull ExchangeContextResponse.SensitivityEnum sensitivity)
    • status

    • getStatus

      @Nonnull public ExchangeContextResponse.StatusEnum getStatus()
      Get status
      Returns:
      status
    • setStatus

      public void setStatus(@Nonnull ExchangeContextResponse.StatusEnum status)
    • tenantId

      public ExchangeContextResponse tenantId(@Nonnull UUID tenantId)
    • getTenantId

      @Nonnull public UUID getTenantId()
      Get tenantId
      Returns:
      tenantId
    • setTenantId

      public void setTenantId(@Nonnull UUID tenantId)
    • updatedAt

      public ExchangeContextResponse updatedAt(@Nullable OffsetDateTime updatedAt)
    • getUpdatedAt

      @Nullable public OffsetDateTime getUpdatedAt()
      Get updatedAt
      Returns:
      updatedAt
    • setUpdatedAt

      public void setUpdatedAt(@Nullable OffsetDateTime updatedAt)
    • 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
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to ExchangeContextResponse
    • validateJsonElementAsCandidate

      public static void validateJsonElementAsCandidate(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element as a candidate of a oneOf schema: the checks of validateJsonElement(JsonElement), and the element carries no member this model does not declare. A oneOf schema without a discriminator tells its candidates apart by their member sets, so a candidate is matched on its closed member set.
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is not a ExchangeContextResponse
    • fromJson

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

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