Class AdminActionLegacyNote
java.lang.Object
markets.alpaca.client.openapi.broker.model.AdminActionLegacyNote
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class AdminActionLegacyNote
extends Object
implements Serializable
Represents structure of a LegacyNote type AdminAction
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionat(OffsetDateTime at) belongsTo(AdminActionBelongsTo belongsTo) category(AdminActionCategory category) correspondent(String correspondent) createdBy(AdminActionCreatedBy createdBy) booleanstatic AdminActionLegacyNoteCreate an instance of AdminActionLegacyNote given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getAt()Timestamp of eventGet belongsToGet categoryVariable schema type which depends on the typeRelated correspondentGet createdByLexically sortable, monotonically increasing character arraygetNote()Free text form description of the admin actionId of the replaced event (optional)getType()Get typeGet visibilityinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.replacesEventId(String replacesEventId) voidsetAt(OffsetDateTime at) voidsetBelongsTo(AdminActionBelongsTo belongsTo) voidsetCategory(AdminActionCategory category) voidsetContext(Object context) voidsetCorrespondent(String correspondent) voidsetCreatedBy(AdminActionCreatedBy createdBy) voidsetEventId(String eventId) voidvoidsetReplacesEventId(String replacesEventId) voidsetType(AdminActionType type) voidsetVisibility(AdminActionVisibility visibility) toJson()Convert an instance of AdminActionLegacyNote to an JSON stringtoString()type(AdminActionType type) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundvisibility(AdminActionVisibility visibility)
-
Field Details
-
SERIALIZED_NAME_AT
- See Also:
-
SERIALIZED_NAME_BELONGS_TO
- See Also:
-
SERIALIZED_NAME_CATEGORY
- See Also:
-
SERIALIZED_NAME_CORRESPONDENT
- See Also:
-
SERIALIZED_NAME_CREATED_BY
- See Also:
-
SERIALIZED_NAME_EVENT_ID
- See Also:
-
SERIALIZED_NAME_NOTE
- See Also:
-
SERIALIZED_NAME_REPLACES_EVENT_ID
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_VISIBILITY
- See Also:
-
SERIALIZED_NAME_CONTEXT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AdminActionLegacyNote
public AdminActionLegacyNote()
-
-
Method Details
-
at
-
getAt
Timestamp of event- Returns:
- at
-
setAt
-
belongsTo
-
getBelongsTo
Get belongsTo- Returns:
- belongsTo
-
setBelongsTo
-
category
-
getCategory
Get category- Returns:
- category
-
setCategory
-
correspondent
-
getCorrespondent
Related correspondent- Returns:
- correspondent
-
setCorrespondent
-
createdBy
-
getCreatedBy
Get createdBy- Returns:
- createdBy
-
setCreatedBy
-
eventId
-
getEventId
Lexically sortable, monotonically increasing character array- Returns:
- eventId
-
setEventId
-
note
-
getNote
Free text form description of the admin action- Returns:
- note
-
setNote
-
replacesEventId
-
getReplacesEventId
Id of the replaced event (optional)- Returns:
- replacesEventId
-
setReplacesEventId
-
type
-
getType
Get type- Returns:
- type
-
setType
-
visibility
-
getVisibility
Get visibility- Returns:
- visibility
-
setVisibility
-
context
-
getContext
Variable schema type which depends on the type- Returns:
- context
-
setContext
-
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 AdminActionLegacyNote 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 AdminActionLegacyNote
-
fromJson
Create an instance of AdminActionLegacyNote given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AdminActionLegacyNote
- Throws:
IOException- if the JSON string is invalid with respect to AdminActionLegacyNote
-
toJson
Convert an instance of AdminActionLegacyNote to an JSON string- Returns:
- JSON string
-