Name | Type | Description | Notes |
---|---|---|---|
Capabilities | Pointer to []string | List of the required capabilities options: [read, update, delete,sra_transparently_connect]. Relevant only for request-access event types | [optional] |
Comment | Pointer to string | Deprecated - use description | [optional] |
Description | Pointer to string | Description of the object | [optional] |
EventSource | Pointer to string | [optional] | |
EventType | string | ||
ItemName | string | EventItemName Event item name | |
ItemType | string | EventItemType Event item type | |
Json | Pointer to bool | Set output format to JSON | [optional] [default to false] |
RequestAccessTtl | Pointer to int64 | For how long to grant the requested access, in minutes | [optional] |
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 NewCreateUserEvent(eventType string, itemName string, itemType string, ) *CreateUserEvent
NewCreateUserEvent instantiates a new CreateUserEvent 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 NewCreateUserEventWithDefaults() *CreateUserEvent
NewCreateUserEventWithDefaults instantiates a new CreateUserEvent 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 *CreateUserEvent) GetCapabilities() []string
GetCapabilities returns the Capabilities field if non-nil, zero value otherwise.
func (o *CreateUserEvent) GetCapabilitiesOk() (*[]string, bool)
GetCapabilitiesOk returns a tuple with the Capabilities field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateUserEvent) SetCapabilities(v []string)
SetCapabilities sets Capabilities field to given value.
func (o *CreateUserEvent) HasCapabilities() bool
HasCapabilities returns a boolean if a field has been set.
func (o *CreateUserEvent) GetComment() string
GetComment returns the Comment field if non-nil, zero value otherwise.
func (o *CreateUserEvent) GetCommentOk() (*string, bool)
GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateUserEvent) SetComment(v string)
SetComment sets Comment field to given value.
func (o *CreateUserEvent) HasComment() bool
HasComment returns a boolean if a field has been set.
func (o *CreateUserEvent) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *CreateUserEvent) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateUserEvent) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *CreateUserEvent) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *CreateUserEvent) GetEventSource() string
GetEventSource returns the EventSource field if non-nil, zero value otherwise.
func (o *CreateUserEvent) GetEventSourceOk() (*string, bool)
GetEventSourceOk returns a tuple with the EventSource field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateUserEvent) SetEventSource(v string)
SetEventSource sets EventSource field to given value.
func (o *CreateUserEvent) HasEventSource() bool
HasEventSource returns a boolean if a field has been set.
func (o *CreateUserEvent) GetEventType() string
GetEventType returns the EventType field if non-nil, zero value otherwise.
func (o *CreateUserEvent) GetEventTypeOk() (*string, bool)
GetEventTypeOk returns a tuple with the EventType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateUserEvent) SetEventType(v string)
SetEventType sets EventType field to given value.
func (o *CreateUserEvent) GetItemName() string
GetItemName returns the ItemName field if non-nil, zero value otherwise.
func (o *CreateUserEvent) GetItemNameOk() (*string, bool)
GetItemNameOk returns a tuple with the ItemName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateUserEvent) SetItemName(v string)
SetItemName sets ItemName field to given value.
func (o *CreateUserEvent) GetItemType() string
GetItemType returns the ItemType field if non-nil, zero value otherwise.
func (o *CreateUserEvent) GetItemTypeOk() (*string, bool)
GetItemTypeOk returns a tuple with the ItemType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateUserEvent) SetItemType(v string)
SetItemType sets ItemType field to given value.
func (o *CreateUserEvent) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *CreateUserEvent) 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 *CreateUserEvent) SetJson(v bool)
SetJson sets Json field to given value.
func (o *CreateUserEvent) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *CreateUserEvent) GetRequestAccessTtl() int64
GetRequestAccessTtl returns the RequestAccessTtl field if non-nil, zero value otherwise.
func (o *CreateUserEvent) GetRequestAccessTtlOk() (*int64, bool)
GetRequestAccessTtlOk returns a tuple with the RequestAccessTtl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateUserEvent) SetRequestAccessTtl(v int64)
SetRequestAccessTtl sets RequestAccessTtl field to given value.
func (o *CreateUserEvent) HasRequestAccessTtl() bool
HasRequestAccessTtl returns a boolean if a field has been set.
func (o *CreateUserEvent) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *CreateUserEvent) 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 *CreateUserEvent) SetToken(v string)
SetToken sets Token field to given value.
func (o *CreateUserEvent) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *CreateUserEvent) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *CreateUserEvent) 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 *CreateUserEvent) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *CreateUserEvent) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.