Skip to content

Latest commit

 

History

History
77 lines (42 loc) · 2.64 KB

AccessKeyCreateRequest.md

File metadata and controls

77 lines (42 loc) · 2.64 KB

AccessKeyCreateRequest

Properties

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]

Methods

NewAccessKeyCreateRequest

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

NewAccessKeyCreateRequestWithDefaults

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

GetLabel

func (o *AccessKeyCreateRequest) GetLabel() string

GetLabel returns the Label field if non-nil, zero value otherwise.

GetLabelOk

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.

SetLabel

func (o *AccessKeyCreateRequest) SetLabel(v string)

SetLabel sets Label field to given value.

GetCorsHeaders

func (o *AccessKeyCreateRequest) GetCorsHeaders() []string

GetCorsHeaders returns the CorsHeaders field if non-nil, zero value otherwise.

GetCorsHeadersOk

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.

SetCorsHeaders

func (o *AccessKeyCreateRequest) SetCorsHeaders(v []string)

SetCorsHeaders sets CorsHeaders field to given value.

HasCorsHeaders

func (o *AccessKeyCreateRequest) HasCorsHeaders() bool

HasCorsHeaders returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]