Name | Type | Description | Notes |
---|---|---|---|
Label | string | A name for the access key to be created. | |
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] |
func NewAccessKeyCreateRequest(label string, ) *AccessKeyCreateRequest
NewAccessKeyCreateRequest instantiates a new AccessKeyCreateRequest 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 NewAccessKeyCreateRequestWithDefaults() *AccessKeyCreateRequest
NewAccessKeyCreateRequestWithDefaults instantiates a new AccessKeyCreateRequest 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 *AccessKeyCreateRequest) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (o *AccessKeyCreateRequest) 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 *AccessKeyCreateRequest) SetLabel(v string)
SetLabel sets Label field to given value.
func (o *AccessKeyCreateRequest) GetCorsHeaders() []string
GetCorsHeaders returns the CorsHeaders field if non-nil, zero value otherwise.
func (o *AccessKeyCreateRequest) 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 *AccessKeyCreateRequest) SetCorsHeaders(v []string)
SetCorsHeaders sets CorsHeaders field to given value.
func (o *AccessKeyCreateRequest) HasCorsHeaders() bool
HasCorsHeaders returns a boolean if a field has been set.