Name | Type | Description | Notes |
---|---|---|---|
Name | Pointer to string | name of the token | [optional] |
Role | Pointer to string | [optional] | |
Services | Pointer to []string | List of service ids to limit the token | [optional] |
Scope | Pointer to string | [optional] [default to "global"] | |
ExpiresAt | Pointer to NullableTime | A UTC timestamp of when the token will expire. | [optional] |
TLSAccess | Pointer to bool | Indicates whether TLS access is enabled for the token. | [optional] |
func NewAutomationTokenCreateRequestAttributes() *AutomationTokenCreateRequestAttributes
NewAutomationTokenCreateRequestAttributes instantiates a new AutomationTokenCreateRequestAttributes 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 NewAutomationTokenCreateRequestAttributesWithDefaults() *AutomationTokenCreateRequestAttributes
NewAutomationTokenCreateRequestAttributesWithDefaults instantiates a new AutomationTokenCreateRequestAttributes 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 *AutomationTokenCreateRequestAttributes) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *AutomationTokenCreateRequestAttributes) 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 *AutomationTokenCreateRequestAttributes) SetName(v string)
SetName sets Name field to given value.
func (o *AutomationTokenCreateRequestAttributes) HasName() bool
HasName returns a boolean if a field has been set.
func (o *AutomationTokenCreateRequestAttributes) GetRole() string
GetRole returns the Role field if non-nil, zero value otherwise.
func (o *AutomationTokenCreateRequestAttributes) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutomationTokenCreateRequestAttributes) SetRole(v string)
SetRole sets Role field to given value.
func (o *AutomationTokenCreateRequestAttributes) HasRole() bool
HasRole returns a boolean if a field has been set.
func (o *AutomationTokenCreateRequestAttributes) GetServices() []string
GetServices returns the Services field if non-nil, zero value otherwise.
func (o *AutomationTokenCreateRequestAttributes) GetServicesOk() (*[]string, bool)
GetServicesOk returns a tuple with the Services field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutomationTokenCreateRequestAttributes) SetServices(v []string)
SetServices sets Services field to given value.
func (o *AutomationTokenCreateRequestAttributes) HasServices() bool
HasServices returns a boolean if a field has been set.
func (o *AutomationTokenCreateRequestAttributes) GetScope() string
GetScope returns the Scope field if non-nil, zero value otherwise.
func (o *AutomationTokenCreateRequestAttributes) GetScopeOk() (*string, bool)
GetScopeOk returns a tuple with the Scope field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutomationTokenCreateRequestAttributes) SetScope(v string)
SetScope sets Scope field to given value.
func (o *AutomationTokenCreateRequestAttributes) HasScope() bool
HasScope returns a boolean if a field has been set.
func (o *AutomationTokenCreateRequestAttributes) GetExpiresAt() time.Time
GetExpiresAt returns the ExpiresAt field if non-nil, zero value otherwise.
func (o *AutomationTokenCreateRequestAttributes) GetExpiresAtOk() (*time.Time, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutomationTokenCreateRequestAttributes) SetExpiresAt(v time.Time)
SetExpiresAt sets ExpiresAt field to given value.
func (o *AutomationTokenCreateRequestAttributes) HasExpiresAt() bool
HasExpiresAt returns a boolean if a field has been set.
func (o *AutomationTokenCreateRequestAttributes) SetExpiresAtNil(b bool)
SetExpiresAtNil sets the value for ExpiresAt to be an explicit nil
func (o *AutomationTokenCreateRequestAttributes) UnsetExpiresAt()
UnsetExpiresAt ensures that no value is present for ExpiresAt, not even an explicit nil
func (o *AutomationTokenCreateRequestAttributes) GetTLSAccess() bool
GetTLSAccess returns the TLSAccess field if non-nil, zero value otherwise.
func (o *AutomationTokenCreateRequestAttributes) GetTLSAccessOk() (*bool, bool)
GetTLSAccessOk returns a tuple with the TLSAccess field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutomationTokenCreateRequestAttributes) SetTLSAccess(v bool)
SetTLSAccess sets TLSAccess field to given value.
func (o *AutomationTokenCreateRequestAttributes) HasTLSAccess() bool
HasTLSAccess returns a boolean if a field has been set.