Class AdminActionEventGeneral
java.lang.Object
markets.alpaca.client.openapi.broker.model.AdminActionEventGeneral
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.28.0")
public class AdminActionEventGeneral
extends Object
implements Serializable
Represents general fields for all AdminAction type
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionat(OffsetDateTime at) belongsTo(AdminActionBelongsTo belongsTo) Deprecated.belongsToIdReference(String belongsToIdReference) belongsToKind(AdminActionBelongsToKind belongsToKind) category(AdminActionCategory category) correspondent(String correspondent) createdBy(AdminActionCreatedBy createdBy) Deprecated.createdByIdReference(String createdByIdReference) createdByKind(AdminActionCreatedByKind createdByKind) booleanstatic AdminActionEventGeneralCreate an instance of AdminActionEventGeneral given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getAt()Timestamp of eventDeprecated.The ID of the entity that this event belongs toGet belongsToKindGet categoryRelated correspondentDeprecated.The ID of the entity that created this eventGet createdByKindLexically 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) Deprecated.voidsetBelongsToIdReference(String belongsToIdReference) voidsetBelongsToKind(AdminActionBelongsToKind belongsToKind) voidsetCategory(AdminActionCategory category) voidsetCorrespondent(String correspondent) voidsetCreatedBy(AdminActionCreatedBy createdBy) Deprecated.voidsetCreatedByIdReference(String createdByIdReference) voidsetCreatedByKind(AdminActionCreatedByKind createdByKind) voidsetEventId(String eventId) voidvoidsetReplacesEventId(String replacesEventId) voidsetType(AdminActionType type) voidsetVisibility(AdminActionVisibility visibility) toJson()Convert an instance of AdminActionEventGeneral 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_BELONGS_TO_ID_REFERENCE
- See Also:
-
SERIALIZED_NAME_BELONGS_TO_KIND
- See Also:
-
SERIALIZED_NAME_CATEGORY
- See Also:
-
SERIALIZED_NAME_CORRESPONDENT
- See Also:
-
SERIALIZED_NAME_CREATED_BY
- See Also:
-
SERIALIZED_NAME_CREATED_BY_ID_REFERENCE
- See Also:
-
SERIALIZED_NAME_CREATED_BY_KIND
- 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:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AdminActionEventGeneral
public AdminActionEventGeneral()
-
-
Method Details
-
at
-
getAt
Timestamp of event- Returns:
- at
-
setAt
-
belongsTo
Deprecated. -
getBelongsTo
Deprecated.**Deprecation notice:** Never sent by the stream. Use belongs_to_kind and belongs_to_id_reference instead. Since: 2026-09-30 Sunset: 2027-01-13- Returns:
- belongsTo
-
setBelongsTo
Deprecated. -
belongsToIdReference
-
getBelongsToIdReference
The ID of the entity that this event belongs to- Returns:
- belongsToIdReference
-
setBelongsToIdReference
-
belongsToKind
-
getBelongsToKind
Get belongsToKind- Returns:
- belongsToKind
-
setBelongsToKind
-
category
-
getCategory
Get category- Returns:
- category
-
setCategory
-
correspondent
-
getCorrespondent
Related correspondent- Returns:
- correspondent
-
setCorrespondent
-
createdBy
Deprecated. -
getCreatedBy
Deprecated.**Deprecation notice:** Never sent by the stream. Use created_by_kind and created_by_id_reference instead. Since: 2026-09-30 Sunset: 2027-01-13- Returns:
- createdBy
-
setCreatedBy
Deprecated. -
createdByIdReference
-
getCreatedByIdReference
The ID of the entity that created this event- Returns:
- createdByIdReference
-
setCreatedByIdReference
-
createdByKind
-
getCreatedByKind
Get createdByKind- Returns:
- createdByKind
-
setCreatedByKind
-
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
-
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 AdminActionEventGeneral 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 AdminActionEventGeneral
-
fromJson
Create an instance of AdminActionEventGeneral given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AdminActionEventGeneral
- Throws:
IOException- if the JSON string is invalid with respect to AdminActionEventGeneral
-
toJson
Convert an instance of AdminActionEventGeneral to an JSON string- Returns:
- JSON string
-