Name | Type | Description | Notes |
---|---|---|---|
Id | string | Identifier of the access key. | |
Label | string | The name of the access key. | |
CorsHeaders | Pointer to []string | An array of domains for which the access key is valid. Whether Sumo Logic accepts or rejects an API request depends on whether it contains an ORIGIN header and the entries in the allowlist. Sumo Logic will reject: 1. Requests with an ORIGIN header but the allowlist is empty. 2. Requests with an ORIGIN header that don't match any entry in the allowlist. | [optional] |
Disabled | bool | Indicates whether the access key is disabled or not. | |
CreatedAt | time.Time | Creation timestamp in UTC in RFC3339 format. | |
CreatedBy | string | Identifier of the user who created the access key. | |
ModifiedAt | time.Time | Last modification timestamp in UTC. |
func NewAccessKeyPublic(id string, label string, disabled bool, createdAt time.Time, createdBy string, modifiedAt time.Time, ) *AccessKeyPublic
NewAccessKeyPublic instantiates a new AccessKeyPublic 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 NewAccessKeyPublicWithDefaults() *AccessKeyPublic
NewAccessKeyPublicWithDefaults instantiates a new AccessKeyPublic 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 *AccessKeyPublic) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *AccessKeyPublic) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AccessKeyPublic) SetId(v string)
SetId sets Id field to given value.
func (o *AccessKeyPublic) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (o *AccessKeyPublic) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AccessKeyPublic) SetLabel(v string)
SetLabel sets Label field to given value.
func (o *AccessKeyPublic) GetCorsHeaders() []string
GetCorsHeaders returns the CorsHeaders field if non-nil, zero value otherwise.
func (o *AccessKeyPublic) GetCorsHeadersOk() (*[]string, bool)
GetCorsHeadersOk returns a tuple with the CorsHeaders field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AccessKeyPublic) SetCorsHeaders(v []string)
SetCorsHeaders sets CorsHeaders field to given value.
func (o *AccessKeyPublic) HasCorsHeaders() bool
HasCorsHeaders returns a boolean if a field has been set.
func (o *AccessKeyPublic) GetDisabled() bool
GetDisabled returns the Disabled field if non-nil, zero value otherwise.
func (o *AccessKeyPublic) GetDisabledOk() (*bool, bool)
GetDisabledOk returns a tuple with the Disabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AccessKeyPublic) SetDisabled(v bool)
SetDisabled sets Disabled field to given value.
func (o *AccessKeyPublic) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *AccessKeyPublic) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AccessKeyPublic) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *AccessKeyPublic) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.
func (o *AccessKeyPublic) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AccessKeyPublic) SetCreatedBy(v string)
SetCreatedBy sets CreatedBy field to given value.
func (o *AccessKeyPublic) GetModifiedAt() time.Time
GetModifiedAt returns the ModifiedAt field if non-nil, zero value otherwise.
func (o *AccessKeyPublic) GetModifiedAtOk() (*time.Time, bool)
GetModifiedAtOk returns a tuple with the ModifiedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AccessKeyPublic) SetModifiedAt(v time.Time)
SetModifiedAt sets ModifiedAt field to given value.