garage-admin-sdk-golang/docs/BucketInfoWebsiteConfig.md

2.5 KiB

BucketInfoWebsiteConfig

Properties

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

Methods

NewBucketInfoWebsiteConfig

func NewBucketInfoWebsiteConfig() *BucketInfoWebsiteConfig

NewBucketInfoWebsiteConfig instantiates a new BucketInfoWebsiteConfig 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

NewBucketInfoWebsiteConfigWithDefaults

func NewBucketInfoWebsiteConfigWithDefaults() *BucketInfoWebsiteConfig

NewBucketInfoWebsiteConfigWithDefaults instantiates a new BucketInfoWebsiteConfig 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

GetIndexDocument

func (o *BucketInfoWebsiteConfig) GetIndexDocument() string

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

GetIndexDocumentOk

func (o *BucketInfoWebsiteConfig) 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 *BucketInfoWebsiteConfig) SetIndexDocument(v string)

SetIndexDocument sets IndexDocument field to given value.

HasIndexDocument

func (o *BucketInfoWebsiteConfig) HasIndexDocument() bool

HasIndexDocument returns a boolean if a field has been set.

GetErrorDocument

func (o *BucketInfoWebsiteConfig) GetErrorDocument() string

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

GetErrorDocumentOk

func (o *BucketInfoWebsiteConfig) 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 *BucketInfoWebsiteConfig) SetErrorDocument(v string)

SetErrorDocument sets ErrorDocument field to given value.

HasErrorDocument

func (o *BucketInfoWebsiteConfig) HasErrorDocument() bool

HasErrorDocument returns a boolean if a field has been set.

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