GetBucketCorsOutput
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewGetBucketCorsOutput() *GetBucketCorsOutput
NewGetBucketCorsOutput instantiates a new GetBucketCorsOutput 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 NewGetBucketCorsOutputWithDefaults() *GetBucketCorsOutput
NewGetBucketCorsOutputWithDefaults instantiates a new GetBucketCorsOutput 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 *GetBucketCorsOutput) GetCORSRules() []CORSRule
GetCORSRules returns the CORSRules field if non-nil, zero value otherwise.
func (o *GetBucketCorsOutput) GetCORSRulesOk() (*[]CORSRule, bool)
GetCORSRulesOk returns a tuple with the CORSRules field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetBucketCorsOutput) SetCORSRules(v []CORSRule)
SetCORSRules sets CORSRules field to given value.
func (o *GetBucketCorsOutput) HasCORSRules() bool
HasCORSRules returns a boolean if a field has been set.
CORSRules
Pointer to []CORSRule
A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration.
[optional]