Class UpdateExchangeContextRequest
java.lang.Object
co.ankatech.keymanagement.client.keymanagement.model.UpdateExchangeContextRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class UpdateExchangeContextRequest
extends Object
PATCH-style update. Immutable surface: name, direction (set only at creation), applicationId, tenantId. Status changes use dedicated suspend / resume / close endpoints to keep the state machine auditable.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumGets or Sets sensitivity -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbusinessPurpose(String businessPurpose) counterparty(String counterparty) counterpartyTypeId(UUID counterpartyTypeId) description(String description) displayName(String displayName) booleanstatic UpdateExchangeContextRequestCreate an instance of UpdateExchangeContextRequest given an JSON stringGet businessPurposeGet counterpartyCounterparty type id (FK to the catalog).Get descriptionGet displayNameGet sensitivityThe wire value ofsensitivity: what the server sent, verbatim.inthashCode()sensitivity(UpdateExchangeContextRequest.SensitivityEnum sensitivity) voidsetBusinessPurpose(String businessPurpose) voidsetCounterparty(String counterparty) voidsetCounterpartyTypeId(UUID counterpartyTypeId) voidsetDescription(String description) voidsetDisplayName(String displayName) voidtoJson()Convert an instance of UpdateExchangeContextRequest to an JSON stringtoString()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_BUSINESS_PURPOSE
- See Also:
-
SERIALIZED_NAME_COUNTERPARTY
- See Also:
-
SERIALIZED_NAME_COUNTERPARTY_TYPE_ID
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_DISPLAY_NAME
- See Also:
-
SERIALIZED_NAME_SENSITIVITY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
UpdateExchangeContextRequest
public UpdateExchangeContextRequest()
-
-
Method Details
-
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
-
businessPurpose
-
getBusinessPurpose
Get businessPurpose- Returns:
- businessPurpose
-
setBusinessPurpose
-
counterparty
-
getCounterparty
Get counterparty- Returns:
- counterparty
-
setCounterparty
-
counterpartyTypeId
-
getCounterpartyTypeId
Counterparty type id (FK to the catalog). Tri-state: omit = unchanged, null = clear, UUID = set. Cross-tenant references return 403.- Returns:
- counterpartyTypeId
-
setCounterpartyTypeId
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
displayName
-
getDisplayName
Get displayName- Returns:
- displayName
-
setDisplayName
-
sensitivity
public UpdateExchangeContextRequest sensitivity(@Nullable UpdateExchangeContextRequest.SensitivityEnum sensitivity) -
getSensitivity
Get sensitivity- Returns:
- sensitivity
-
setSensitivity
-
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 UpdateExchangeContextRequest
-
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 UpdateExchangeContextRequest
-
fromJson
Create an instance of UpdateExchangeContextRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateExchangeContextRequest
- Throws:
IOException- if the JSON string is invalid with respect to UpdateExchangeContextRequest
-
toJson
Convert an instance of UpdateExchangeContextRequest to an JSON string- Returns:
- JSON string
-