ListBucketResultV2

Properties

NameTypeDescriptionNotes

Name

string

The bucket name.

Prefix

string

Object key prefix that identifies one or more objects to which this rule applies. Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests.

MaxKeys

int32

The maximum number of keys returned in the response. By default the operation returns up to 1000 key names. The response might contain fewer keys but will never contain more.

[default to 1000]

IsTruncated

bool

A flag that indicates whether IONOS S3 Object Storage returned all of the results that satisfied the search criteria. If your results were truncated, you can make a follow-up paginated request using the NextKeyMarker and NextVersionIdMarker response parameters as a starting place in another request to return the rest of the results.

KeyCount

int32

Contents

Metadata about each object returned.

Delimiter

Pointer to string

[optional]

CommonPrefixes

Pointer to []CommonPrefix

All of the keys rolled up into a common prefix count as a single return when calculating the number of returns.

[optional]

EncodingType

Pointer to EncodingType

[optional]

ContinuationToken

Pointer to string

If ContinuationToken was sent with the request, it is included in the response.

[optional]

NextContinuationToken

Pointer to string

`NextContinuationToken` is sent when `isTruncated` is true, which means there are more keys in the bucket that can be listed. The next list requests to IONOS S3 Object Storage can be continued with this `NextContinuationToken`. `NextContinuationToken` is obfuscated and is not a real key.

[optional]

StartAfter

Pointer to string

If StartAfter was sent with the request, it is included in the response.

[optional]

Methods

NewListBucketResultV2

func NewListBucketResultV2(name string, prefix string, maxKeys int32, isTruncated bool, keyCount int32, contents []Object, ) *ListBucketResultV2

NewListBucketResultV2 instantiates a new ListBucketResultV2 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

NewListBucketResultV2WithDefaults

func NewListBucketResultV2WithDefaults() *ListBucketResultV2

NewListBucketResultV2WithDefaults instantiates a new ListBucketResultV2 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

GetName

func (o *ListBucketResultV2) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *ListBucketResultV2) GetNameOk() (*string, bool)

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

SetName

func (o *ListBucketResultV2) SetName(v string)

SetName sets Name field to given value.

GetPrefix

func (o *ListBucketResultV2) GetPrefix() string

GetPrefix returns the Prefix field if non-nil, zero value otherwise.

GetPrefixOk

func (o *ListBucketResultV2) GetPrefixOk() (*string, bool)

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

SetPrefix

func (o *ListBucketResultV2) SetPrefix(v string)

SetPrefix sets Prefix field to given value.

GetMaxKeys

func (o *ListBucketResultV2) GetMaxKeys() int32

GetMaxKeys returns the MaxKeys field if non-nil, zero value otherwise.

GetMaxKeysOk

func (o *ListBucketResultV2) GetMaxKeysOk() (*int32, bool)

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

SetMaxKeys

func (o *ListBucketResultV2) SetMaxKeys(v int32)

SetMaxKeys sets MaxKeys field to given value.

GetIsTruncated

func (o *ListBucketResultV2) GetIsTruncated() bool

GetIsTruncated returns the IsTruncated field if non-nil, zero value otherwise.

GetIsTruncatedOk

func (o *ListBucketResultV2) GetIsTruncatedOk() (*bool, bool)

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

SetIsTruncated

func (o *ListBucketResultV2) SetIsTruncated(v bool)

SetIsTruncated sets IsTruncated field to given value.

GetKeyCount

func (o *ListBucketResultV2) GetKeyCount() int32

GetKeyCount returns the KeyCount field if non-nil, zero value otherwise.

GetKeyCountOk

func (o *ListBucketResultV2) GetKeyCountOk() (*int32, bool)

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

SetKeyCount

func (o *ListBucketResultV2) SetKeyCount(v int32)

SetKeyCount sets KeyCount field to given value.

GetContents

func (o *ListBucketResultV2) GetContents() []Object

GetContents returns the Contents field if non-nil, zero value otherwise.

GetContentsOk

func (o *ListBucketResultV2) GetContentsOk() (*[]Object, bool)

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

SetContents

func (o *ListBucketResultV2) SetContents(v []Object)

SetContents sets Contents field to given value.

GetDelimiter

func (o *ListBucketResultV2) GetDelimiter() string

GetDelimiter returns the Delimiter field if non-nil, zero value otherwise.

GetDelimiterOk

func (o *ListBucketResultV2) GetDelimiterOk() (*string, bool)

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

SetDelimiter

func (o *ListBucketResultV2) SetDelimiter(v string)

SetDelimiter sets Delimiter field to given value.

HasDelimiter

func (o *ListBucketResultV2) HasDelimiter() bool

HasDelimiter returns a boolean if a field has been set.

GetCommonPrefixes

func (o *ListBucketResultV2) GetCommonPrefixes() []CommonPrefix

GetCommonPrefixes returns the CommonPrefixes field if non-nil, zero value otherwise.

GetCommonPrefixesOk

func (o *ListBucketResultV2) GetCommonPrefixesOk() (*[]CommonPrefix, bool)

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

SetCommonPrefixes

func (o *ListBucketResultV2) SetCommonPrefixes(v []CommonPrefix)

SetCommonPrefixes sets CommonPrefixes field to given value.

HasCommonPrefixes

func (o *ListBucketResultV2) HasCommonPrefixes() bool

HasCommonPrefixes returns a boolean if a field has been set.

GetEncodingType

func (o *ListBucketResultV2) GetEncodingType() EncodingType

GetEncodingType returns the EncodingType field if non-nil, zero value otherwise.

GetEncodingTypeOk

func (o *ListBucketResultV2) GetEncodingTypeOk() (*EncodingType, bool)

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

SetEncodingType

func (o *ListBucketResultV2) SetEncodingType(v EncodingType)

SetEncodingType sets EncodingType field to given value.

HasEncodingType

func (o *ListBucketResultV2) HasEncodingType() bool

HasEncodingType returns a boolean if a field has been set.

GetContinuationToken

func (o *ListBucketResultV2) GetContinuationToken() string

GetContinuationToken returns the ContinuationToken field if non-nil, zero value otherwise.

GetContinuationTokenOk

func (o *ListBucketResultV2) GetContinuationTokenOk() (*string, bool)

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

SetContinuationToken

func (o *ListBucketResultV2) SetContinuationToken(v string)

SetContinuationToken sets ContinuationToken field to given value.

HasContinuationToken

func (o *ListBucketResultV2) HasContinuationToken() bool

HasContinuationToken returns a boolean if a field has been set.

GetNextContinuationToken

func (o *ListBucketResultV2) GetNextContinuationToken() string

GetNextContinuationToken returns the NextContinuationToken field if non-nil, zero value otherwise.

GetNextContinuationTokenOk

func (o *ListBucketResultV2) GetNextContinuationTokenOk() (*string, bool)

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

SetNextContinuationToken

func (o *ListBucketResultV2) SetNextContinuationToken(v string)

SetNextContinuationToken sets NextContinuationToken field to given value.

HasNextContinuationToken

func (o *ListBucketResultV2) HasNextContinuationToken() bool

HasNextContinuationToken returns a boolean if a field has been set.

GetStartAfter

func (o *ListBucketResultV2) GetStartAfter() string

GetStartAfter returns the StartAfter field if non-nil, zero value otherwise.

GetStartAfterOk

func (o *ListBucketResultV2) GetStartAfterOk() (*string, bool)

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

SetStartAfter

func (o *ListBucketResultV2) SetStartAfter(v string)

SetStartAfter sets StartAfter field to given value.

HasStartAfter

func (o *ListBucketResultV2) HasStartAfter() bool

HasStartAfter returns a boolean if a field has been set.

Last updated