Class AdminConfigurationsEventMaxOptionsTradingLevel
java.lang.Object
markets.alpaca.client.openapi.broker.model.AdminConfigurationsEventMaxOptionsTradingLevel
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.25.0")
public class AdminConfigurationsEventMaxOptionsTradingLevel
extends Object
implements Serializable
Max options trading level was changed by admin to this value. It can be 0, 1, 2, or 3.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of AdminConfigurationsEventMaxOptionsTradingLevel given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getFrom()Old value of max options trading levelgetTo()New value of max options trading levelinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidtoJson()Convert an instance of AdminConfigurationsEventMaxOptionsTradingLevel to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_FROM
- See Also:
-
SERIALIZED_NAME_TO
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AdminConfigurationsEventMaxOptionsTradingLevel
public AdminConfigurationsEventMaxOptionsTradingLevel()
-
-
Method Details
-
from
-
getFrom
Old value of max options trading level- Returns:
- from
-
setFrom
-
to
-
getTo
New value of max options trading level- Returns:
- to
-
setTo
-
putAdditionalProperty
public AdminConfigurationsEventMaxOptionsTradingLevel putAdditionalProperty(String key, Object value) 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 AdminConfigurationsEventMaxOptionsTradingLevel 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 AdminConfigurationsEventMaxOptionsTradingLevel
-
fromJson
public static AdminConfigurationsEventMaxOptionsTradingLevel fromJson(String jsonString) throws IOException Create an instance of AdminConfigurationsEventMaxOptionsTradingLevel given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AdminConfigurationsEventMaxOptionsTradingLevel
- Throws:
IOException- if the JSON string is invalid with respect to AdminConfigurationsEventMaxOptionsTradingLevel
-
toJson
Convert an instance of AdminConfigurationsEventMaxOptionsTradingLevel to an JSON string- Returns:
- JSON string
-