GetBucketCorsOutput

Properties

Name
Type
Description
Notes

CORSRules

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]

Methods

NewGetBucketCorsOutput

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

NewGetBucketCorsOutputWithDefaults

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

GetCORSRules

func (o *GetBucketCorsOutput) GetCORSRules() []CORSRule

GetCORSRules returns the CORSRules field if non-nil, zero value otherwise.

GetCORSRulesOk

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.

SetCORSRules

func (o *GetBucketCorsOutput) SetCORSRules(v []CORSRule)

SetCORSRules sets CORSRules field to given value.

HasCORSRules

func (o *GetBucketCorsOutput) HasCORSRules() bool

HasCORSRules returns a boolean if a field has been set.

Last updated