Class TravelRuleRequiredField
java.lang.Object
markets.alpaca.client.openapi.broker.model.TravelRuleRequiredField
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.25.0")
public class TravelRuleRequiredField
extends Object
implements Serializable
Request field required to complete a travel rule action.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumGets or Sets valueType -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddOptionsItem(TravelRuleFieldOption optionsItem) description(String description) booleanstatic TravelRuleRequiredFieldCreate an instance of TravelRuleRequiredField given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get descriptiongetField()Get fieldList of valid choices for 'enum' types.Get valueTypeinthashCode()options(List<TravelRuleFieldOption> options) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDescription(String description) voidvoidsetOptions(List<TravelRuleFieldOption> options) voidtoJson()Convert an instance of TravelRuleRequiredField to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundvalueType(TravelRuleRequiredField.ValueTypeEnum valueType)
-
Field Details
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_FIELD
- See Also:
-
SERIALIZED_NAME_OPTIONS
- See Also:
-
SERIALIZED_NAME_VALUE_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TravelRuleRequiredField
public TravelRuleRequiredField()
-
-
Method Details
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
field
-
getField
Get field- Returns:
- field
-
setField
-
options
-
addOptionsItem
-
getOptions
List of valid choices for 'enum' types. Null for simple strings or booleans.- Returns:
- options
-
setOptions
-
valueType
-
getValueType
Get valueType- Returns:
- valueType
-
setValueType
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the TravelRuleRequiredField instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
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 TravelRuleRequiredField
-
fromJson
Create an instance of TravelRuleRequiredField given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TravelRuleRequiredField
- Throws:
IOException- if the JSON string is invalid with respect to TravelRuleRequiredField
-
toJson
Convert an instance of TravelRuleRequiredField to an JSON string- Returns:
- JSON string
-