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. The name and the tenant are immutable. Status changes use the dedicated suspend / resume / close operations to keep the lifecycle 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) description(String description) displayName(String displayName) booleanstatic UpdateExchangeContextRequestCreate an instance of UpdateExchangeContextRequest given an JSON stringGet businessPurposeGet descriptionGet displayNameFree-text name of the regulatory regime, at most 120 characters.Get sensitivityThe wire value ofsensitivity: what the server sent, verbatim.inthashCode()regulatoryRegime(String regulatoryRegime) sensitivity(UpdateExchangeContextRequest.SensitivityEnum sensitivity) voidsetBusinessPurpose(String businessPurpose) voidsetDescription(String description) voidsetDisplayName(String displayName) voidsetRegulatoryRegime(String regulatoryRegime) 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_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_DISPLAY_NAME
- See Also:
-
SERIALIZED_NAME_REGULATORY_REGIME
- 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
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
displayName
-
getDisplayName
Get displayName- Returns:
- displayName
-
setDisplayName
-
regulatoryRegime
-
getRegulatoryRegime
Free-text name of the regulatory regime, at most 120 characters. Tri-state: omit = unchanged, null = clear, text = set.- Returns:
- regulatoryRegime
-
setRegulatoryRegime
-
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
-