Name | Type | Description | Notes |
---|---|---|---|
Action | string | The Event Action [approve/deny] | |
EventId | int64 | The Event ID | |
Json | Pointer to bool | Set output format to JSON | [optional] [default to false] |
Token | Pointer to string | Authentication token (see `/auth` and `/configure`) | [optional] |
UidToken | Pointer to string | The universal identity token, Required only for universal_identity authentication | [optional] |
func NewEventAction(action string, eventId int64, ) *EventAction
NewEventAction instantiates a new EventAction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEventActionWithDefaults() *EventAction
NewEventActionWithDefaults instantiates a new EventAction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *EventAction) GetAction() string
GetAction returns the Action field if non-nil, zero value otherwise.
func (o *EventAction) GetActionOk() (*string, bool)
GetActionOk returns a tuple with the Action field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventAction) SetAction(v string)
SetAction sets Action field to given value.
func (o *EventAction) GetEventId() int64
GetEventId returns the EventId field if non-nil, zero value otherwise.
func (o *EventAction) GetEventIdOk() (*int64, bool)
GetEventIdOk returns a tuple with the EventId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventAction) SetEventId(v int64)
SetEventId sets EventId field to given value.
func (o *EventAction) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *EventAction) GetJsonOk() (*bool, bool)
GetJsonOk returns a tuple with the Json field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventAction) SetJson(v bool)
SetJson sets Json field to given value.
func (o *EventAction) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *EventAction) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *EventAction) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventAction) SetToken(v string)
SetToken sets Token field to given value.
func (o *EventAction) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *EventAction) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *EventAction) GetUidTokenOk() (*string, bool)
GetUidTokenOk returns a tuple with the UidToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventAction) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *EventAction) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.