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).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumGets or Sets directionstatic enumGets or Sets sensitivitystatic enumGets or Sets status -
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 Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationId(UUID applicationId) businessPurpose(String businessPurpose) counterparty(String counterparty) counterpartyTypeCode(String counterpartyTypeCode) counterpartyTypeDisplayName(String counterpartyTypeDisplayName) counterpartyTypeId(UUID counterpartyTypeId) createdAt(OffsetDateTime createdAt) description(String description) direction(ExchangeContextResponse.DirectionEnum direction) displayName(String displayName) booleanstatic ExchangeContextResponseCreate an instance of ExchangeContextResponse given an JSON stringGet applicationIdGet businessPurposeGet counterpartyCode of the counterparty type catalog row referenced by counterpartyTypeId.displayName of the counterparty type catalog row. null when no type is set.FK to the counterparty type catalog. null when no type is set.Get createdAtGet descriptionGet directionThe wire value ofdirection: what the server sent, verbatim.Get displayNamegetId()Get idgetName()Get nameGet sensitivityThe wire value ofsensitivity: what the server sent, verbatim.Get statusThe wire value ofstatus: what the server sent, verbatim.Get tenantIdGet updatedAtinthashCode()sensitivity(ExchangeContextResponse.SensitivityEnum sensitivity) voidsetApplicationId(UUID applicationId) voidsetBusinessPurpose(String businessPurpose) voidsetCounterparty(String counterparty) voidsetCounterpartyTypeCode(String counterpartyTypeCode) voidsetCounterpartyTypeDisplayName(String counterpartyTypeDisplayName) voidsetCounterpartyTypeId(UUID counterpartyTypeId) voidsetCreatedAt(OffsetDateTime createdAt) voidsetDescription(String description) voidvoidsetDisplayName(String displayName) voidvoidvoidsetSensitivity(ExchangeContextResponse.SensitivityEnum sensitivity) voidvoidsetTenantId(UUID tenantId) voidsetUpdatedAt(OffsetDateTime updatedAt) toJson()Convert an instance of ExchangeContextResponse to an JSON stringtoString()updatedAt(OffsetDateTime updatedAt) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundstatic voidvalidateJsonElementAsCandidate(com.google.gson.JsonElement jsonElement) Validates the JSON Element as a candidate of a oneOf schema: the checks ofvalidateJsonElement(JsonElement), and the element carries no member this model does not declare.
-
Field Details
-
SERIALIZED_NAME_APPLICATION_ID
- See Also:
-
SERIALIZED_NAME_BUSINESS_PURPOSE
- See Also:
-
SERIALIZED_NAME_COUNTERPARTY
- See Also:
-
SERIALIZED_NAME_COUNTERPARTY_TYPE_CODE
- See Also:
-
SERIALIZED_NAME_COUNTERPARTY_TYPE_DISPLAY_NAME
- See Also:
-
SERIALIZED_NAME_COUNTERPARTY_TYPE_ID
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_DIRECTION
- See Also:
-
SERIALIZED_NAME_DISPLAY_NAME
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_SENSITIVITY
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_TENANT_ID
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ExchangeContextResponse
public ExchangeContextResponse()
-
-
Method Details
-
getDirectionAsString
The wire value ofdirection: 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()readsUNKNOWN_DEFAULT_OPEN_API; writing this model sends that wire value back, never the sentinel. - For an absent member,
null.
- Returns:
- the wire value, or
nullwhen the member is absent
-
getSensitivityAsString
The wire value ofsensitivity: 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()readsUNKNOWN_DEFAULT_OPEN_API; writing this model sends that wire value back, never the sentinel. - For an absent member,
null.
- Returns:
- the wire value, or
nullwhen the member is absent
-
getStatusAsString
The wire value ofstatus: 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()readsUNKNOWN_DEFAULT_OPEN_API; writing this model sends that wire value back, never the sentinel. - For an absent member,
null.
- Returns:
- the wire value, or
nullwhen the member is absent
-
applicationId
-
getApplicationId
Get applicationId- Returns:
- applicationId
-
setApplicationId
-
businessPurpose
-
getBusinessPurpose
Get businessPurpose- Returns:
- businessPurpose
-
setBusinessPurpose
-
counterparty
-
getCounterparty
Get counterparty- Returns:
- counterparty
-
setCounterparty
-
counterpartyTypeCode
-
getCounterpartyTypeCode
Code of the counterparty type catalog row referenced by counterpartyTypeId. Eager-loaded server-side; null when no type is set.- Returns:
- counterpartyTypeCode
-
setCounterpartyTypeCode
-
counterpartyTypeDisplayName
public ExchangeContextResponse counterpartyTypeDisplayName(@Nullable String counterpartyTypeDisplayName) -
getCounterpartyTypeDisplayName
displayName of the counterparty type catalog row. null when no type is set.- Returns:
- counterpartyTypeDisplayName
-
setCounterpartyTypeDisplayName
-
counterpartyTypeId
-
getCounterpartyTypeId
FK to the counterparty type catalog. null when no type is set.- Returns:
- counterpartyTypeId
-
setCounterpartyTypeId
-
createdAt
-
getCreatedAt
Get createdAt- Returns:
- createdAt
-
setCreatedAt
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
direction
-
getDirection
Get direction- Returns:
- direction
-
setDirection
-
displayName
-
getDisplayName
Get displayName- Returns:
- displayName
-
setDisplayName
-
id
-
getId
Get id- Returns:
- id
-
setId
-
name
-
getName
Get name- Returns:
- name
-
setName
-
sensitivity
public ExchangeContextResponse sensitivity(@Nonnull ExchangeContextResponse.SensitivityEnum sensitivity) -
getSensitivity
Get sensitivity- Returns:
- sensitivity
-
setSensitivity
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
tenantId
-
getTenantId
Get tenantId- Returns:
- tenantId
-
setTenantId
-
updatedAt
-
getUpdatedAt
Get updatedAt- Returns:
- updatedAt
-
setUpdatedAt
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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 ofvalidateJsonElement(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
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
Convert an instance of ExchangeContextResponse to an JSON string- Returns:
- JSON string
-