garage-admin-sdk-golang/docs/UpdateBucketRequestWebsiteAccess.md
2022-11-13 14:22:00 +01:00

3.4 KiB

UpdateBucketRequestWebsiteAccess

Properties

Name Type Description Notes
Enabled Pointer to bool [optional]
IndexDocument Pointer to string [optional]
ErrorDocument Pointer to string [optional]

Methods

NewUpdateBucketRequestWebsiteAccess

func NewUpdateBucketRequestWebsiteAccess() *UpdateBucketRequestWebsiteAccess

NewUpdateBucketRequestWebsiteAccess instantiates a new UpdateBucketRequestWebsiteAccess 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

NewUpdateBucketRequestWebsiteAccessWithDefaults

func NewUpdateBucketRequestWebsiteAccessWithDefaults() *UpdateBucketRequestWebsiteAccess

NewUpdateBucketRequestWebsiteAccessWithDefaults instantiates a new UpdateBucketRequestWebsiteAccess 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

GetEnabled

func (o *UpdateBucketRequestWebsiteAccess) GetEnabled() bool

GetEnabled returns the Enabled field if non-nil, zero value otherwise.

GetEnabledOk

func (o *UpdateBucketRequestWebsiteAccess) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEnabled

func (o *UpdateBucketRequestWebsiteAccess) SetEnabled(v bool)

SetEnabled sets Enabled field to given value.

HasEnabled

func (o *UpdateBucketRequestWebsiteAccess) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

GetIndexDocument

func (o *UpdateBucketRequestWebsiteAccess) GetIndexDocument() string

GetIndexDocument returns the IndexDocument field if non-nil, zero value otherwise.

GetIndexDocumentOk

func (o *UpdateBucketRequestWebsiteAccess) GetIndexDocumentOk() (*string, bool)

GetIndexDocumentOk returns a tuple with the IndexDocument field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetIndexDocument

func (o *UpdateBucketRequestWebsiteAccess) SetIndexDocument(v string)

SetIndexDocument sets IndexDocument field to given value.

HasIndexDocument

func (o *UpdateBucketRequestWebsiteAccess) HasIndexDocument() bool

HasIndexDocument returns a boolean if a field has been set.

GetErrorDocument

func (o *UpdateBucketRequestWebsiteAccess) GetErrorDocument() string

GetErrorDocument returns the ErrorDocument field if non-nil, zero value otherwise.

GetErrorDocumentOk

func (o *UpdateBucketRequestWebsiteAccess) GetErrorDocumentOk() (*string, bool)

GetErrorDocumentOk returns a tuple with the ErrorDocument field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetErrorDocument

func (o *UpdateBucketRequestWebsiteAccess) SetErrorDocument(v string)

SetErrorDocument sets ErrorDocument field to given value.

HasErrorDocument

func (o *UpdateBucketRequestWebsiteAccess) HasErrorDocument() bool

HasErrorDocument returns a boolean if a field has been set.

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