Name | Type | Description | Notes |
---|---|---|---|
Capability | []string | List of the required capabilities options: [read, update, delete] | |
Comment | Pointer to string | Deprecated - use description | [optional] |
Description | Pointer to string | Description of the object | [optional] |
Json | Pointer to bool | Set output format to JSON | [optional] |
Name | string | Item type | |
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 NewRequestAccess(capability []string, name string, ) *RequestAccess
NewRequestAccess instantiates a new RequestAccess 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 NewRequestAccessWithDefaults() *RequestAccess
NewRequestAccessWithDefaults instantiates a new RequestAccess 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 *RequestAccess) GetCapability() []string
GetCapability returns the Capability field if non-nil, zero value otherwise.
func (o *RequestAccess) GetCapabilityOk() (*[]string, bool)
GetCapabilityOk returns a tuple with the Capability field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RequestAccess) SetCapability(v []string)
SetCapability sets Capability field to given value.
func (o *RequestAccess) GetComment() string
GetComment returns the Comment field if non-nil, zero value otherwise.
func (o *RequestAccess) 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 *RequestAccess) SetComment(v string)
SetComment sets Comment field to given value.
func (o *RequestAccess) HasComment() bool
HasComment returns a boolean if a field has been set.
func (o *RequestAccess) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *RequestAccess) 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 *RequestAccess) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *RequestAccess) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *RequestAccess) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *RequestAccess) 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 *RequestAccess) SetJson(v bool)
SetJson sets Json field to given value.
func (o *RequestAccess) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *RequestAccess) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *RequestAccess) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RequestAccess) SetName(v string)
SetName sets Name field to given value.
func (o *RequestAccess) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *RequestAccess) 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 *RequestAccess) SetToken(v string)
SetToken sets Token field to given value.
func (o *RequestAccess) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *RequestAccess) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *RequestAccess) 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 *RequestAccess) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *RequestAccess) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.