ListBucketResultV2
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
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
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
func (o *ListBucketResultV2) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *ListBucketResultV2) SetName(v string)
SetName sets Name field to given value.
func (o *ListBucketResultV2) GetPrefix() string
GetPrefix returns the Prefix field if non-nil, zero value otherwise.
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.
func (o *ListBucketResultV2) SetPrefix(v string)
SetPrefix sets Prefix field to given value.
func (o *ListBucketResultV2) GetMaxKeys() int32
GetMaxKeys returns the MaxKeys field if non-nil, zero value otherwise.
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.
func (o *ListBucketResultV2) SetMaxKeys(v int32)
SetMaxKeys sets MaxKeys field to given value.
func (o *ListBucketResultV2) GetIsTruncated() bool
GetIsTruncated returns the IsTruncated field if non-nil, zero value otherwise.
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.
func (o *ListBucketResultV2) SetIsTruncated(v bool)
SetIsTruncated sets IsTruncated field to given value.
func (o *ListBucketResultV2) GetKeyCount() int32
GetKeyCount returns the KeyCount field if non-nil, zero value otherwise.
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.
func (o *ListBucketResultV2) SetKeyCount(v int32)
SetKeyCount sets KeyCount field to given value.
func (o *ListBucketResultV2) GetContents() []Object
GetContents returns the Contents field if non-nil, zero value otherwise.
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.
func (o *ListBucketResultV2) SetContents(v []Object)
SetContents sets Contents field to given value.
func (o *ListBucketResultV2) GetDelimiter() string
GetDelimiter returns the Delimiter field if non-nil, zero value otherwise.
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.
func (o *ListBucketResultV2) SetDelimiter(v string)
SetDelimiter sets Delimiter field to given value.
func (o *ListBucketResultV2) HasDelimiter() bool
HasDelimiter returns a boolean if a field has been set.
func (o *ListBucketResultV2) GetCommonPrefixes() []CommonPrefix
GetCommonPrefixes returns the CommonPrefixes field if non-nil, zero value otherwise.
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.
func (o *ListBucketResultV2) SetCommonPrefixes(v []CommonPrefix)
SetCommonPrefixes sets CommonPrefixes field to given value.
func (o *ListBucketResultV2) HasCommonPrefixes() bool
HasCommonPrefixes returns a boolean if a field has been set.
func (o *ListBucketResultV2) GetEncodingType() EncodingType
GetEncodingType returns the EncodingType field if non-nil, zero value otherwise.
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.
func (o *ListBucketResultV2) SetEncodingType(v EncodingType)
SetEncodingType sets EncodingType field to given value.
func (o *ListBucketResultV2) HasEncodingType() bool
HasEncodingType returns a boolean if a field has been set.
func (o *ListBucketResultV2) GetContinuationToken() string
GetContinuationToken returns the ContinuationToken field if non-nil, zero value otherwise.
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.
func (o *ListBucketResultV2) SetContinuationToken(v string)
SetContinuationToken sets ContinuationToken field to given value.
func (o *ListBucketResultV2) HasContinuationToken() bool
HasContinuationToken returns a boolean if a field has been set.
func (o *ListBucketResultV2) GetNextContinuationToken() string
GetNextContinuationToken returns the NextContinuationToken field if non-nil, zero value otherwise.
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.
func (o *ListBucketResultV2) SetNextContinuationToken(v string)
SetNextContinuationToken sets NextContinuationToken field to given value.
func (o *ListBucketResultV2) HasNextContinuationToken() bool
HasNextContinuationToken returns a boolean if a field has been set.
func (o *ListBucketResultV2) GetStartAfter() string
GetStartAfter returns the StartAfter field if non-nil, zero value otherwise.
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.
func (o *ListBucketResultV2) SetStartAfter(v string)
SetStartAfter sets StartAfter field to given value.
func (o *ListBucketResultV2) HasStartAfter() bool
HasStartAfter returns a boolean if a field has been set.
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]