ionoscloud

package module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2024 License: Apache-2.0 Imports: 22 Imported by: 2

README

Go API client for ionoscloud

Overview

The IONOS S3 Object Storage API for contract-owned buckets is a REST-based API that allows developers and applications to interact directly with IONOS' scalable storage solution, leveraging the S3 protocol for object storage operations. Its design ensures seamless compatibility with existing tools and libraries tailored for S3 systems.

API References
User documentation

IONOS S3 Object Storage User Guide

Endpoints for contract-owned buckets

Location Region Name Bucket Type Endpoint
Berlin, Germany eu-central-3 Contract-owned https://s3.eu-central-3.ionoscloud.com

Changelog

  • 30.05.2024 Initial version

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import ionoscloud "github.com/ionos-cloud/sdk-go-s3"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), ionoscloud.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), ionoscloud.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

Documentation for API Endpoints

All URIs are relative to https://s3.eu-central-3.ionoscloud.com

Class Method HTTP request Description
BucketsApi CreateBucket Put /{Bucket} CreateBucket
BucketsApi DeleteBucket Delete /{Bucket} DeleteBucket
BucketsApi GetBucketLocation Get /{Bucket}?location GetBucketLocation
BucketsApi HeadBucket Head /{Bucket} HeadBucket
BucketsApi ListBuckets Get / ListBuckets
CORSApi DeleteBucketCors Delete /{Bucket}?cors DeleteBucketCors
CORSApi GetBucketCors Get /{Bucket}?cors GetBucketCors
CORSApi PutBucketCors Put /{Bucket}?cors PutBucketCors
EncryptionApi DeleteBucketEncryption Delete /{Bucket}?encryption DeleteBucketEncryption
EncryptionApi GetBucketEncryption Get /{Bucket}?encryption GetBucketEncryption
EncryptionApi PutBucketEncryption Put /{Bucket}?encryption PutBucketEncryption
LifecycleApi DeleteBucketLifecycle Delete /{Bucket}?lifecycle DeleteBucketLifecycle
LifecycleApi GetBucketLifecycle Get /{Bucket}?lifecycle GetBucketLifecycle
LifecycleApi PutBucketLifecycle Put /{Bucket}?lifecycle PutBucketLifecycle
ObjectLockApi GetObjectLegalHold Get /{Bucket}/{Key}?legal-hold GetObjectLegalHold
ObjectLockApi GetObjectLockConfiguration Get /{Bucket}?object-lock GetObjectLockConfiguration
ObjectLockApi GetObjectRetention Get /{Bucket}/{Key}?retention GetObjectRetention
ObjectLockApi PutObjectLegalHold Put /{Bucket}/{Key}?legal-hold PutObjectLegalHold
ObjectLockApi PutObjectLockConfiguration Put /{Bucket}?object-lock PutObjectLockConfiguration
ObjectLockApi PutObjectRetention Put /{Bucket}/{Key}?retention PutObjectRetention
ObjectsApi CopyObject Put /{Bucket}/{Key}?x-amz-copy-source CopyObject
ObjectsApi DeleteObject Delete /{Bucket}/{Key} DeleteObject
ObjectsApi DeleteObjects Post /{Bucket}?delete DeleteObjects
ObjectsApi GetObject Get /{Bucket}/{Key} GetObject
ObjectsApi HeadObject Head /{Bucket}/{Key} HeadObject
ObjectsApi ListObjects Get /{Bucket} ListObjects
ObjectsApi ListObjectsV2 Get /{Bucket}?list-type=2 ListObjectsV2
ObjectsApi OPTIONSObject Options /{Bucket} OPTIONSObject
ObjectsApi POSTObject Post /{Bucket}/{Key} POSTObject
ObjectsApi PutObject Put /{Bucket}/{Key} PutObject
PolicyApi DeleteBucketPolicy Delete /{Bucket}?policy DeleteBucketPolicy
PolicyApi GetBucketPolicy Get /{Bucket}?policy GetBucketPolicy
PolicyApi GetBucketPolicyStatus Get /{Bucket}?policyStatus GetBucketPolicyStatus
PolicyApi PutBucketPolicy Put /{Bucket}?policy PutBucketPolicy
PublicAccessBlockApi DeletePublicAccessBlock Delete /{Bucket}?publicAccessBlock DeletePublicAccessBlock
PublicAccessBlockApi GetPublicAccessBlock Get /{Bucket}?publicAccessBlock GetPublicAccessBlock
PublicAccessBlockApi PutPublicAccessBlock Put /{Bucket}?publicAccessBlock PutPublicAccessBlock
ReplicationApi GetBucketReplication Get /{Bucket}?replication GetBucketReplication
TaggingApi DeleteBucketTagging Delete /{Bucket}?tagging DeleteBucketTagging
TaggingApi DeleteObjectTagging Delete /{Bucket}/{Key}?tagging DeleteObjectTagging
TaggingApi GetBucketTagging Get /{Bucket}?tagging GetBucketTagging
TaggingApi GetObjectTagging Get /{Bucket}/{Key}?tagging GetObjectTagging
TaggingApi PutBucketTagging Put /{Bucket}?tagging PutBucketTagging
TaggingApi PutObjectTagging Put /{Bucket}/{Key}?tagging PutObjectTagging
UploadsApi AbortMultipartUpload Delete /{Bucket}/{Key}?uploadId AbortMultipartUpload
UploadsApi CompleteMultipartUpload Post /{Bucket}/{Key}?uploadId CompleteMultipartUpload
UploadsApi CreateMultipartUpload Post /{Bucket}/{Key}?uploads CreateMultipartUpload
UploadsApi ListMultipartUploads Get /{Bucket}?uploads ListMultipartUploads
UploadsApi ListParts Get /{Bucket}/{Key}?uploadId ListParts
UploadsApi UploadPart Put /{Bucket}/{Key}?uploadId UploadPart
UploadsApi UploadPartCopy Put /{Bucket}/{Key}?x-amz-copy-source&partNumber&uploadId UploadPartCopy
VersioningApi GetBucketVersioning Get /{Bucket}?versioning GetBucketVersioning
VersioningApi PutBucketVersioning Put /{Bucket}?versioning PutBucketVersioning
VersionsApi ListObjectVersions Get /{Bucket}?versions ListObjectVersions
WebsiteApi DeleteBucketWebsite Delete /{Bucket}?website DeleteBucketWebsite
WebsiteApi GetBucketWebsite Get /{Bucket}?website GetBucketWebsite
WebsiteApi PutBucketWebsite Put /{Bucket}?website PutBucketWebsite

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

hmac
  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: Authorization and passed in as the auth context for each request.

Example

auth := context.WithValue(
		context.Background(),
		sw.ContextAPIKeys,
		map[string]sw.APIKey{
			"Authorization": {Key: "API_KEY_STRING"},
		},
	)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

support@cloud.ionos.com

Documentation

Index

Constants

View Source
const (
	IonosLogLevelEnvVar = "IONOS_LOG_LEVEL"
)

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var LogLevelMap = map[string]LogLevel{
	"off":   Off,
	"debug": Debug,
	"trace": Trace,
}

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func IsZero

func IsZero(v interface{}) bool

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

func Strlen

func Strlen(s string) int

Types

type APIClient

type APIClient struct {
	BucketsApi *BucketsApiService

	CORSApi *CORSApiService

	EncryptionApi *EncryptionApiService

	LifecycleApi *LifecycleApiService

	ObjectLockApi *ObjectLockApiService

	ObjectsApi *ObjectsApiService

	PolicyApi *PolicyApiService

	PublicAccessBlockApi *PublicAccessBlockApiService

	ReplicationApi *ReplicationApiService

	TaggingApi *TaggingApiService

	UploadsApi *UploadsApiService

	VersioningApi *VersioningApiService

	VersionsApi *VersionsApiService

	WebsiteApi *WebsiteApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the IONOS S3 Object Storage API for contract-owned buckets API v2.0.2

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// RequestTime is the time duration from the moment the APIClient sends
	// the HTTP request to the moment it receives an HTTP response.
	RequestTime time.Duration `json:"duration,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

func (*APIResponse) HttpNotFound

func (resp *APIResponse) HttpNotFound() bool

HttpNotFound - returns true if a 404 status code was returned returns false for nil APIResponse values

func (*APIResponse) LogInfo

func (resp *APIResponse) LogInfo()

LogInfo - logs APIResponse values like RequestTime, Operation and StatusCode does not print anything for nil APIResponse values

type AbortIncompleteMultipartUpload added in v1.1.0

type AbortIncompleteMultipartUpload struct {
	XMLName xml.Name `xml:"AbortIncompleteMultipartUpload"`
	// Specifies the number of days after which IONOS S3 Object Storage aborts an incomplete multipart upload.
	DaysAfterInitiation *int32 `json:"DaysAfterInitiation,omitempty" xml:"DaysAfterInitiation"`
}

AbortIncompleteMultipartUpload Specifies the days since the initiation of an incomplete multipart upload that IONOS S3 Object Storage will wait before permanently removing all parts of the upload.

func NewAbortIncompleteMultipartUpload added in v1.1.0

func NewAbortIncompleteMultipartUpload() *AbortIncompleteMultipartUpload

NewAbortIncompleteMultipartUpload instantiates a new AbortIncompleteMultipartUpload 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 NewAbortIncompleteMultipartUploadWithDefaults added in v1.1.0

func NewAbortIncompleteMultipartUploadWithDefaults() *AbortIncompleteMultipartUpload

NewAbortIncompleteMultipartUploadWithDefaults instantiates a new AbortIncompleteMultipartUpload 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 (*AbortIncompleteMultipartUpload) GetDaysAfterInitiation added in v1.1.0

func (o *AbortIncompleteMultipartUpload) GetDaysAfterInitiation() *int32

GetDaysAfterInitiation returns the DaysAfterInitiation field value If the value is explicit nil, the zero value for int32 will be returned

func (*AbortIncompleteMultipartUpload) GetDaysAfterInitiationOk added in v1.1.0

func (o *AbortIncompleteMultipartUpload) GetDaysAfterInitiationOk() (*int32, bool)

GetDaysAfterInitiationOk returns a tuple with the DaysAfterInitiation field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AbortIncompleteMultipartUpload) HasDaysAfterInitiation added in v1.1.0

func (o *AbortIncompleteMultipartUpload) HasDaysAfterInitiation() bool

HasDaysAfterInitiation returns a boolean if a field has been set.

func (AbortIncompleteMultipartUpload) MarshalJSON added in v1.1.0

func (o AbortIncompleteMultipartUpload) MarshalJSON() ([]byte, error)

func (*AbortIncompleteMultipartUpload) SetDaysAfterInitiation added in v1.1.0

func (o *AbortIncompleteMultipartUpload) SetDaysAfterInitiation(v int32)

SetDaysAfterInitiation sets field value

type ApiAbortMultipartUploadRequest added in v1.1.0

type ApiAbortMultipartUploadRequest struct {
	ApiService *UploadsApiService
	// contains filtered or unexported fields
}

func (ApiAbortMultipartUploadRequest) Execute added in v1.1.0

func (r ApiAbortMultipartUploadRequest) Execute() (map[string]interface{}, *APIResponse, error)

func (ApiAbortMultipartUploadRequest) UploadId added in v1.1.0

Upload ID that identifies the multipart upload.

type ApiCompleteMultipartUploadRequest added in v1.1.0

type ApiCompleteMultipartUploadRequest struct {
	ApiService *UploadsApiService
	// contains filtered or unexported fields
}

func (ApiCompleteMultipartUploadRequest) Example added in v1.1.0

func (ApiCompleteMultipartUploadRequest) Execute added in v1.1.0

func (ApiCompleteMultipartUploadRequest) UploadId added in v1.1.0

ID for the initiated multipart upload.

type ApiCopyObjectRequest

type ApiCopyObjectRequest struct {
	ApiService *ObjectsApiService
	// contains filtered or unexported fields
}

func (ApiCopyObjectRequest) CacheControl

func (r ApiCopyObjectRequest) CacheControl(cacheControl string) ApiCopyObjectRequest

Specifies caching behavior along the request/reply chain.

func (ApiCopyObjectRequest) ContentDisposition

func (r ApiCopyObjectRequest) ContentDisposition(contentDisposition string) ApiCopyObjectRequest

Specifies presentational information for the object.

func (ApiCopyObjectRequest) ContentEncoding

func (r ApiCopyObjectRequest) ContentEncoding(contentEncoding string) ApiCopyObjectRequest

Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.

func (ApiCopyObjectRequest) ContentLanguage

func (r ApiCopyObjectRequest) ContentLanguage(contentLanguage string) ApiCopyObjectRequest

The language the content is in.

func (ApiCopyObjectRequest) ContentType

func (r ApiCopyObjectRequest) ContentType(contentType string) ApiCopyObjectRequest

A standard MIME type describing the format of the object data.

func (ApiCopyObjectRequest) CopyObjectRequest

func (r ApiCopyObjectRequest) CopyObjectRequest(copyObjectRequest CopyObjectRequest) ApiCopyObjectRequest

func (ApiCopyObjectRequest) Execute

func (ApiCopyObjectRequest) Expires

The date and time at which the object is no longer cacheable.

func (ApiCopyObjectRequest) XAmzCopySource

func (r ApiCopyObjectRequest) XAmzCopySource(xAmzCopySource string) ApiCopyObjectRequest

<p>Specifies the source object for the copy operation.

func (ApiCopyObjectRequest) XAmzCopySourceIfMatch

func (r ApiCopyObjectRequest) XAmzCopySourceIfMatch(xAmzCopySourceIfMatch string) ApiCopyObjectRequest

Copies the object if its entity tag (ETag) matches the specified tag.

func (ApiCopyObjectRequest) XAmzCopySourceIfModifiedSince

func (r ApiCopyObjectRequest) XAmzCopySourceIfModifiedSince(xAmzCopySourceIfModifiedSince time.Time) ApiCopyObjectRequest

Copies the object if it has been modified since the specified time.

func (ApiCopyObjectRequest) XAmzCopySourceIfNoneMatch

func (r ApiCopyObjectRequest) XAmzCopySourceIfNoneMatch(xAmzCopySourceIfNoneMatch string) ApiCopyObjectRequest

Copies the object if its entity tag (ETag) is different than the specified ETag.

func (ApiCopyObjectRequest) XAmzCopySourceIfUnmodifiedSince

func (r ApiCopyObjectRequest) XAmzCopySourceIfUnmodifiedSince(xAmzCopySourceIfUnmodifiedSince time.Time) ApiCopyObjectRequest

Copies the object if it hasn't been modified since the specified time.

func (ApiCopyObjectRequest) XAmzCopySourceServerSideEncryptionCustomerAlgorithm

func (r ApiCopyObjectRequest) XAmzCopySourceServerSideEncryptionCustomerAlgorithm(xAmzCopySourceServerSideEncryptionCustomerAlgorithm string) ApiCopyObjectRequest

Specifies the algorithm to use when decrypting the source object (AES256).

func (ApiCopyObjectRequest) XAmzCopySourceServerSideEncryptionCustomerKey

func (r ApiCopyObjectRequest) XAmzCopySourceServerSideEncryptionCustomerKey(xAmzCopySourceServerSideEncryptionCustomerKey string) ApiCopyObjectRequest

Specifies the customer-provided encryption key for IONOS S3 Object Storage to use to decrypt the source object. The encryption key provided in this header must be one that was used when the source object was created.

func (ApiCopyObjectRequest) XAmzCopySourceServerSideEncryptionCustomerKeyMD5

func (r ApiCopyObjectRequest) XAmzCopySourceServerSideEncryptionCustomerKeyMD5(xAmzCopySourceServerSideEncryptionCustomerKeyMD5 string) ApiCopyObjectRequest

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. IONOS S3 Object Storage uses this header for a message integrity check to ensure that the encryption key was transmitted without error.

func (ApiCopyObjectRequest) XAmzMeta added in v1.1.0

func (r ApiCopyObjectRequest) XAmzMeta(xAmzMeta map[string]string) ApiCopyObjectRequest

A map of metadata to store with the object in S3.

func (ApiCopyObjectRequest) XAmzMetadataDirective

func (r ApiCopyObjectRequest) XAmzMetadataDirective(xAmzMetadataDirective string) ApiCopyObjectRequest

Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request.

func (ApiCopyObjectRequest) XAmzObjectLockLegalHold

func (r ApiCopyObjectRequest) XAmzObjectLockLegalHold(xAmzObjectLockLegalHold string) ApiCopyObjectRequest

Specifies whether you want to apply a Legal Hold to the copied object.

func (ApiCopyObjectRequest) XAmzObjectLockMode

func (r ApiCopyObjectRequest) XAmzObjectLockMode(xAmzObjectLockMode string) ApiCopyObjectRequest

The Object Lock mode that you want to apply to the copied object.

func (ApiCopyObjectRequest) XAmzObjectLockRetainUntilDate

func (r ApiCopyObjectRequest) XAmzObjectLockRetainUntilDate(xAmzObjectLockRetainUntilDate time.Time) ApiCopyObjectRequest

The date and time when you want the copied object's Object Lock to expire.

func (ApiCopyObjectRequest) XAmzServerSideEncryption

func (r ApiCopyObjectRequest) XAmzServerSideEncryption(xAmzServerSideEncryption string) ApiCopyObjectRequest

The server-side encryption algorithm used when storing this object in IONOS S3 Object Storage (AES256).

func (ApiCopyObjectRequest) XAmzServerSideEncryptionCustomerAlgorithm

func (r ApiCopyObjectRequest) XAmzServerSideEncryptionCustomerAlgorithm(xAmzServerSideEncryptionCustomerAlgorithm string) ApiCopyObjectRequest

Specifies the algorithm to use to when encrypting the object (AES256).

func (ApiCopyObjectRequest) XAmzServerSideEncryptionCustomerKey

func (r ApiCopyObjectRequest) XAmzServerSideEncryptionCustomerKey(xAmzServerSideEncryptionCustomerKey string) ApiCopyObjectRequest

Specifies the customer-provided encryption key for IONOS S3 Object Storage to use in encrypting data. This value is used to store the object and then it is discarded; IONOS S3 Object Storage does not store the encryption key. The key must be appropriate for use with the algorithm specified in the `x-amz-server-side-encryption-customer-algorithm` header.

func (ApiCopyObjectRequest) XAmzServerSideEncryptionCustomerKeyMD5

func (r ApiCopyObjectRequest) XAmzServerSideEncryptionCustomerKeyMD5(xAmzServerSideEncryptionCustomerKeyMD5 string) ApiCopyObjectRequest

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. IONOS S3 Object Storage uses this header for a message integrity check to ensure that the encryption key was transmitted without error.

func (ApiCopyObjectRequest) XAmzStorageClass

func (r ApiCopyObjectRequest) XAmzStorageClass(xAmzStorageClass string) ApiCopyObjectRequest

IONOS S3 Object Storage uses the STANDARD Storage Class to store newly created objects. The STANDARD storage class provides high durability and high availability.

func (ApiCopyObjectRequest) XAmzTagging

func (r ApiCopyObjectRequest) XAmzTagging(xAmzTagging string) ApiCopyObjectRequest

The tag-set for the object destination object this value must be used in conjunction with the `TaggingDirective`. The tag-set must be encoded as URL Query parameters.

func (ApiCopyObjectRequest) XAmzTaggingDirective

func (r ApiCopyObjectRequest) XAmzTaggingDirective(xAmzTaggingDirective string) ApiCopyObjectRequest

Specifies whether the object tag-set are copied from the source object or replaced with tag-set provided in the request.

func (ApiCopyObjectRequest) XAmzWebsiteRedirectLocation

func (r ApiCopyObjectRequest) XAmzWebsiteRedirectLocation(xAmzWebsiteRedirectLocation string) ApiCopyObjectRequest

If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. IONOS S3 Object Storage stores the value of this header in the object metadata.

type ApiCreateBucketRequest

type ApiCreateBucketRequest struct {
	ApiService *BucketsApiService
	// contains filtered or unexported fields
}

func (ApiCreateBucketRequest) CreateBucketConfiguration

func (r ApiCreateBucketRequest) CreateBucketConfiguration(createBucketConfiguration CreateBucketConfiguration) ApiCreateBucketRequest

func (ApiCreateBucketRequest) Execute

func (r ApiCreateBucketRequest) Execute() (*APIResponse, error)

func (ApiCreateBucketRequest) XAmzBucketObjectLockEnabled

func (r ApiCreateBucketRequest) XAmzBucketObjectLockEnabled(xAmzBucketObjectLockEnabled bool) ApiCreateBucketRequest

Specifies whether you want S3 Object Lock enabled for the new bucket. After bucket creation, you must apply the [Object Lock configuration](#tag/Object-Lock/operation/PutObjectLockConfiguration).

type ApiCreateMultipartUploadRequest added in v1.1.0

type ApiCreateMultipartUploadRequest struct {
	ApiService *UploadsApiService
	// contains filtered or unexported fields
}

func (ApiCreateMultipartUploadRequest) CacheControl added in v1.1.0

Specifies caching behavior along the request/reply chain.

func (ApiCreateMultipartUploadRequest) ContentDisposition added in v1.1.0

func (r ApiCreateMultipartUploadRequest) ContentDisposition(contentDisposition string) ApiCreateMultipartUploadRequest

Specifies presentational information for the object.

func (ApiCreateMultipartUploadRequest) ContentEncoding added in v1.1.0

func (r ApiCreateMultipartUploadRequest) ContentEncoding(contentEncoding string) ApiCreateMultipartUploadRequest

Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.

func (ApiCreateMultipartUploadRequest) ContentType added in v1.1.0

A standard MIME type describing the format of the object data.

func (ApiCreateMultipartUploadRequest) Execute added in v1.1.0

func (ApiCreateMultipartUploadRequest) Expires added in v1.1.0

The date and time at which the object is no longer cacheable.

func (ApiCreateMultipartUploadRequest) Uploads added in v1.1.0

func (ApiCreateMultipartUploadRequest) XAmzMeta added in v1.1.0

A map of metadata to store with the object in S3.

func (ApiCreateMultipartUploadRequest) XAmzObjectLockLegalHold added in v1.1.0

func (r ApiCreateMultipartUploadRequest) XAmzObjectLockLegalHold(xAmzObjectLockLegalHold string) ApiCreateMultipartUploadRequest

Specifies whether you want to apply a Legal Hold to the uploaded object.

func (ApiCreateMultipartUploadRequest) XAmzObjectLockMode added in v1.1.0

func (r ApiCreateMultipartUploadRequest) XAmzObjectLockMode(xAmzObjectLockMode string) ApiCreateMultipartUploadRequest

Specifies the Object Lock mode that you want to apply to the uploaded object.

func (ApiCreateMultipartUploadRequest) XAmzObjectLockRetainUntilDate added in v1.1.0

func (r ApiCreateMultipartUploadRequest) XAmzObjectLockRetainUntilDate(xAmzObjectLockRetainUntilDate time.Time) ApiCreateMultipartUploadRequest

Specifies the date and time when you want the Object Lock to expire.

func (ApiCreateMultipartUploadRequest) XAmzServerSideEncryption added in v1.1.0

func (r ApiCreateMultipartUploadRequest) XAmzServerSideEncryption(xAmzServerSideEncryption string) ApiCreateMultipartUploadRequest

The server-side encryption algorithm used when storing this object in IONOS S3 Object Storage (AES256).

func (ApiCreateMultipartUploadRequest) XAmzServerSideEncryptionCustomerAlgorithm added in v1.1.0

func (r ApiCreateMultipartUploadRequest) XAmzServerSideEncryptionCustomerAlgorithm(xAmzServerSideEncryptionCustomerAlgorithm string) ApiCreateMultipartUploadRequest

Specifies the algorithm to use to when encrypting the object (AES256).

func (ApiCreateMultipartUploadRequest) XAmzServerSideEncryptionCustomerKey added in v1.1.0

func (r ApiCreateMultipartUploadRequest) XAmzServerSideEncryptionCustomerKey(xAmzServerSideEncryptionCustomerKey string) ApiCreateMultipartUploadRequest

Specifies the customer-provided encryption key for IONOS S3 Object Storage to use in encrypting data. This value is used to store the object and then it is discarded; IONOS S3 Object Storage does not store the encryption key. The key must be appropriate for use with the algorithm specified in the `x-amz-server-side-encryption-customer-algorithm` header.

func (ApiCreateMultipartUploadRequest) XAmzServerSideEncryptionCustomerKeyMD5 added in v1.1.0

func (r ApiCreateMultipartUploadRequest) XAmzServerSideEncryptionCustomerKeyMD5(xAmzServerSideEncryptionCustomerKeyMD5 string) ApiCreateMultipartUploadRequest

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. IONOS S3 Object Storage uses this header for a message integrity check to ensure that the encryption key was transmitted without error.

func (ApiCreateMultipartUploadRequest) XAmzStorageClass added in v1.1.0

func (r ApiCreateMultipartUploadRequest) XAmzStorageClass(xAmzStorageClass string) ApiCreateMultipartUploadRequest

IONOS S3 Object Storage uses the STANDARD Storage Class to store newly created objects. The STANDARD storage class provides high durability and high availability.

func (ApiCreateMultipartUploadRequest) XAmzWebsiteRedirectLocation added in v1.1.0

func (r ApiCreateMultipartUploadRequest) XAmzWebsiteRedirectLocation(xAmzWebsiteRedirectLocation string) ApiCreateMultipartUploadRequest

If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. IONOS S3 Object Storage stores the value of this header in the object metadata.

type ApiDeleteBucketCorsRequest added in v1.1.0

type ApiDeleteBucketCorsRequest struct {
	ApiService *CORSApiService
	// contains filtered or unexported fields
}

func (ApiDeleteBucketCorsRequest) Execute added in v1.1.0

type ApiDeleteBucketEncryptionRequest added in v1.1.0

type ApiDeleteBucketEncryptionRequest struct {
	ApiService *EncryptionApiService
	// contains filtered or unexported fields
}

func (ApiDeleteBucketEncryptionRequest) Execute added in v1.1.0

type ApiDeleteBucketLifecycleRequest added in v1.1.0

type ApiDeleteBucketLifecycleRequest struct {
	ApiService *LifecycleApiService
	// contains filtered or unexported fields
}

func (ApiDeleteBucketLifecycleRequest) Execute added in v1.1.0

type ApiDeleteBucketPolicyRequest

type ApiDeleteBucketPolicyRequest struct {
	ApiService *PolicyApiService
	// contains filtered or unexported fields
}

func (ApiDeleteBucketPolicyRequest) Execute

type ApiDeleteBucketRequest

type ApiDeleteBucketRequest struct {
	ApiService *BucketsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteBucketRequest) Execute

func (r ApiDeleteBucketRequest) Execute() (*APIResponse, error)

type ApiDeleteBucketTaggingRequest

type ApiDeleteBucketTaggingRequest struct {
	ApiService *TaggingApiService
	// contains filtered or unexported fields
}

func (ApiDeleteBucketTaggingRequest) Execute

type ApiDeleteBucketWebsiteRequest added in v1.1.0

type ApiDeleteBucketWebsiteRequest struct {
	ApiService *WebsiteApiService
	// contains filtered or unexported fields
}

func (ApiDeleteBucketWebsiteRequest) Execute added in v1.1.0

type ApiDeleteObjectRequest

type ApiDeleteObjectRequest struct {
	ApiService *ObjectsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteObjectRequest) Execute

func (r ApiDeleteObjectRequest) Execute() (map[string]interface{}, *APIResponse, error)

func (ApiDeleteObjectRequest) VersionId

func (r ApiDeleteObjectRequest) VersionId(versionId string) ApiDeleteObjectRequest

VersionId used to reference a specific version of the object.

func (ApiDeleteObjectRequest) XAmzBypassGovernanceRetention

func (r ApiDeleteObjectRequest) XAmzBypassGovernanceRetention(xAmzBypassGovernanceRetention bool) ApiDeleteObjectRequest

Indicates whether S3 Object Lock should bypass Governance-mode restrictions to process this operation. To use this header, you must have the `PutBucketPublicAccessBlock` permission.

func (ApiDeleteObjectRequest) XAmzMfa

The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device. Required to permanently delete a versioned object if versioning is configured with MFA Delete enabled.

type ApiDeleteObjectTaggingRequest

type ApiDeleteObjectTaggingRequest struct {
	ApiService *TaggingApiService
	// contains filtered or unexported fields
}

func (ApiDeleteObjectTaggingRequest) Execute

func (r ApiDeleteObjectTaggingRequest) Execute() (map[string]interface{}, *APIResponse, error)

func (ApiDeleteObjectTaggingRequest) VersionId

The versionId of the object that the tag-set will be removed from.

type ApiDeleteObjectsRequest

type ApiDeleteObjectsRequest struct {
	ApiService *ObjectsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteObjectsRequest) DeleteObjectsRequest

func (r ApiDeleteObjectsRequest) DeleteObjectsRequest(deleteObjectsRequest DeleteObjectsRequest) ApiDeleteObjectsRequest

func (ApiDeleteObjectsRequest) Execute

func (ApiDeleteObjectsRequest) XAmzBypassGovernanceRetention

func (r ApiDeleteObjectsRequest) XAmzBypassGovernanceRetention(xAmzBypassGovernanceRetention bool) ApiDeleteObjectsRequest

Specifies whether you want to delete this object even if it has a Governance-type Object Lock in place. To use this header, you must have the `PutBucketPublicAccessBlock` permission.

func (ApiDeleteObjectsRequest) XAmzMfa

The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device. Required to permanently delete a versioned object if versioning is configured with MFA Delete enabled.

type ApiDeletePublicAccessBlockRequest

type ApiDeletePublicAccessBlockRequest struct {
	ApiService *PublicAccessBlockApiService
	// contains filtered or unexported fields
}

func (ApiDeletePublicAccessBlockRequest) Execute

type ApiGetBucketCorsRequest added in v1.1.0

type ApiGetBucketCorsRequest struct {
	ApiService *CORSApiService
	// contains filtered or unexported fields
}

func (ApiGetBucketCorsRequest) Execute added in v1.1.0

type ApiGetBucketEncryptionRequest added in v1.1.0

type ApiGetBucketEncryptionRequest struct {
	ApiService *EncryptionApiService
	// contains filtered or unexported fields
}

func (ApiGetBucketEncryptionRequest) Execute added in v1.1.0

type ApiGetBucketLifecycleRequest added in v1.1.0

type ApiGetBucketLifecycleRequest struct {
	ApiService *LifecycleApiService
	// contains filtered or unexported fields
}

func (ApiGetBucketLifecycleRequest) Execute added in v1.1.0

type ApiGetBucketLocationRequest

type ApiGetBucketLocationRequest struct {
	ApiService *BucketsApiService
	// contains filtered or unexported fields
}

func (ApiGetBucketLocationRequest) Execute

type ApiGetBucketPolicyRequest

type ApiGetBucketPolicyRequest struct {
	ApiService *PolicyApiService
	// contains filtered or unexported fields
}

func (ApiGetBucketPolicyRequest) Execute

type ApiGetBucketPolicyStatusRequest

type ApiGetBucketPolicyStatusRequest struct {
	ApiService *PolicyApiService
	// contains filtered or unexported fields
}

func (ApiGetBucketPolicyStatusRequest) Execute

type ApiGetBucketReplicationRequest added in v1.1.0

type ApiGetBucketReplicationRequest struct {
	ApiService *ReplicationApiService
	// contains filtered or unexported fields
}

func (ApiGetBucketReplicationRequest) Execute added in v1.1.0

func (ApiGetBucketReplicationRequest) Replication added in v1.1.0

type ApiGetBucketTaggingRequest

type ApiGetBucketTaggingRequest struct {
	ApiService *TaggingApiService
	// contains filtered or unexported fields
}

func (ApiGetBucketTaggingRequest) Execute

type ApiGetBucketVersioningRequest added in v1.1.0

type ApiGetBucketVersioningRequest struct {
	ApiService *VersioningApiService
	// contains filtered or unexported fields
}

func (ApiGetBucketVersioningRequest) Execute added in v1.1.0

type ApiGetBucketWebsiteRequest added in v1.1.0

type ApiGetBucketWebsiteRequest struct {
	ApiService *WebsiteApiService
	// contains filtered or unexported fields
}

func (ApiGetBucketWebsiteRequest) Execute added in v1.1.0

type ApiGetObjectLegalHoldRequest added in v1.1.0

type ApiGetObjectLegalHoldRequest struct {
	ApiService *ObjectLockApiService
	// contains filtered or unexported fields
}

func (ApiGetObjectLegalHoldRequest) Execute added in v1.1.0

func (ApiGetObjectLegalHoldRequest) VersionId added in v1.1.0

The version ID of the object whose Legal Hold status you want to retrieve.

type ApiGetObjectLockConfigurationRequest added in v1.1.0

type ApiGetObjectLockConfigurationRequest struct {
	ApiService *ObjectLockApiService
	// contains filtered or unexported fields
}

func (ApiGetObjectLockConfigurationRequest) Execute added in v1.1.0

type ApiGetObjectRequest

type ApiGetObjectRequest struct {
	ApiService *ObjectsApiService
	// contains filtered or unexported fields
}

func (ApiGetObjectRequest) Execute

func (r ApiGetObjectRequest) Execute() (*os.File, *APIResponse, error)

func (ApiGetObjectRequest) IfMatch

func (r ApiGetObjectRequest) IfMatch(ifMatch string) ApiGetObjectRequest

Return the object only if its entity tag (ETag) is the same as the one specified, otherwise return a 412 (precondition failed).

func (ApiGetObjectRequest) IfModifiedSince

func (r ApiGetObjectRequest) IfModifiedSince(ifModifiedSince time.Time) ApiGetObjectRequest

Return the object only if it has been modified since the specified time, otherwise return a 304 (not modified).

func (ApiGetObjectRequest) IfNoneMatch

func (r ApiGetObjectRequest) IfNoneMatch(ifNoneMatch string) ApiGetObjectRequest

Return the object only if its entity tag (ETag) is different from the one specified, otherwise return a 304 (not modified).

func (ApiGetObjectRequest) IfUnmodifiedSince

func (r ApiGetObjectRequest) IfUnmodifiedSince(ifUnmodifiedSince time.Time) ApiGetObjectRequest

Return the object only if it has not been modified since the specified time, otherwise return a 412 (precondition failed).

func (ApiGetObjectRequest) PartNumber

func (r ApiGetObjectRequest) PartNumber(partNumber int32) ApiGetObjectRequest

Part number of the object being read. This is a positive integer between 1 and 10,000. Effectively performs a 'ranged' GET request for the part specified. Useful for downloading just a part of an object.

func (ApiGetObjectRequest) Range_

<p>Downloads the specified range bytes of an object. For more information about the HTTP Range header, see <a href=\"https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35\">Range</a>.</p> <note> <p>IONOS S3 Object Storage doesn't support retrieving multiple ranges of data per `GET` request.</p> </note>

func (ApiGetObjectRequest) ResponseCacheControl

func (r ApiGetObjectRequest) ResponseCacheControl(responseCacheControl string) ApiGetObjectRequest

Sets the `Cache-Control` header of the response.

func (ApiGetObjectRequest) ResponseContentDisposition

func (r ApiGetObjectRequest) ResponseContentDisposition(responseContentDisposition string) ApiGetObjectRequest

Sets the `Content-Disposition` header of the response

func (ApiGetObjectRequest) ResponseContentEncoding

func (r ApiGetObjectRequest) ResponseContentEncoding(responseContentEncoding string) ApiGetObjectRequest

Sets the `Content-Encoding` header of the response.

func (ApiGetObjectRequest) ResponseContentLanguage

func (r ApiGetObjectRequest) ResponseContentLanguage(responseContentLanguage string) ApiGetObjectRequest

Sets the `Content-Language` header of the response.

func (ApiGetObjectRequest) ResponseContentType

func (r ApiGetObjectRequest) ResponseContentType(responseContentType string) ApiGetObjectRequest

Sets the `Content-Type` header of the response.

func (ApiGetObjectRequest) ResponseExpires

func (r ApiGetObjectRequest) ResponseExpires(responseExpires time.Time) ApiGetObjectRequest

Sets the `Expires` header of the response.

func (ApiGetObjectRequest) VersionId

func (r ApiGetObjectRequest) VersionId(versionId string) ApiGetObjectRequest

VersionId used to reference a specific version of the object.

func (ApiGetObjectRequest) XAmzServerSideEncryptionCustomerAlgorithm

func (r ApiGetObjectRequest) XAmzServerSideEncryptionCustomerAlgorithm(xAmzServerSideEncryptionCustomerAlgorithm string) ApiGetObjectRequest

Specifies the algorithm to use to when decrypting the object (AES256).

func (ApiGetObjectRequest) XAmzServerSideEncryptionCustomerKey

func (r ApiGetObjectRequest) XAmzServerSideEncryptionCustomerKey(xAmzServerSideEncryptionCustomerKey string) ApiGetObjectRequest

Specifies the customer-provided encryption key for IONOS S3 Object Storage used to encrypt the data. This value is used to decrypt the object when recovering it and must match the one used when storing the data. The key must be appropriate for use with the algorithm specified in the `x-amz-server-side-encryption-customer-algorithm` header.

func (ApiGetObjectRequest) XAmzServerSideEncryptionCustomerKeyMD5

func (r ApiGetObjectRequest) XAmzServerSideEncryptionCustomerKeyMD5(xAmzServerSideEncryptionCustomerKeyMD5 string) ApiGetObjectRequest

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. IONOS S3 Object Storage uses this header for a message integrity check to ensure that the encryption key was transmitted without error.

type ApiGetObjectRetentionRequest added in v1.1.0

type ApiGetObjectRetentionRequest struct {
	ApiService *ObjectLockApiService
	// contains filtered or unexported fields
}

func (ApiGetObjectRetentionRequest) Execute added in v1.1.0

func (ApiGetObjectRetentionRequest) VersionId added in v1.1.0

The version ID of the object whose retention settings you want to retrieve.

type ApiGetObjectTaggingRequest

type ApiGetObjectTaggingRequest struct {
	ApiService *TaggingApiService
	// contains filtered or unexported fields
}

func (ApiGetObjectTaggingRequest) Execute

func (ApiGetObjectTaggingRequest) VersionId

The versionId of the object for which to get the tagging information.

type ApiGetPublicAccessBlockRequest

type ApiGetPublicAccessBlockRequest struct {
	ApiService *PublicAccessBlockApiService
	// contains filtered or unexported fields
}

func (ApiGetPublicAccessBlockRequest) Execute

type ApiHeadBucketRequest

type ApiHeadBucketRequest struct {
	ApiService *BucketsApiService
	// contains filtered or unexported fields
}

func (ApiHeadBucketRequest) Execute

func (r ApiHeadBucketRequest) Execute() (*APIResponse, error)

type ApiHeadObjectRequest

type ApiHeadObjectRequest struct {
	ApiService *ObjectsApiService
	// contains filtered or unexported fields
}

func (ApiHeadObjectRequest) Execute

func (ApiHeadObjectRequest) IfMatch

Return the object only if its entity tag (ETag) is the same as the one specified, otherwise return a 412 (precondition failed).

func (ApiHeadObjectRequest) IfModifiedSince

func (r ApiHeadObjectRequest) IfModifiedSince(ifModifiedSince time.Time) ApiHeadObjectRequest

Return the object only if it has been modified since the specified time, otherwise return a 304 (not modified).

func (ApiHeadObjectRequest) IfNoneMatch

func (r ApiHeadObjectRequest) IfNoneMatch(ifNoneMatch string) ApiHeadObjectRequest

Return the object only if its entity tag (ETag) is different from the one specified, otherwise return a 304 (not modified).

func (ApiHeadObjectRequest) IfUnmodifiedSince

func (r ApiHeadObjectRequest) IfUnmodifiedSince(ifUnmodifiedSince time.Time) ApiHeadObjectRequest

Return the object only if it has not been modified since the specified time, otherwise return a 412 (precondition failed).

func (ApiHeadObjectRequest) PartNumber

func (r ApiHeadObjectRequest) PartNumber(partNumber int32) ApiHeadObjectRequest

Part number of the object being read. This is a positive integer between 1 and 10,000. Effectively performs a 'ranged' HEAD request for the part specified. Useful querying about the size of the part and the number of parts in this object.

func (ApiHeadObjectRequest) Range_

<p>Downloads the specified range bytes of an object. For more information about the HTTP Range header, see <a href=\"https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35\">Range</a>.</p> <note> <p>IONOS S3 Object Storage doesn't support retrieving multiple ranges of data per `GET` request.</p> </note>

func (ApiHeadObjectRequest) VersionId

func (r ApiHeadObjectRequest) VersionId(versionId string) ApiHeadObjectRequest

VersionId used to reference a specific version of the object.

func (ApiHeadObjectRequest) XAmzServerSideEncryptionCustomerAlgorithm

func (r ApiHeadObjectRequest) XAmzServerSideEncryptionCustomerAlgorithm(xAmzServerSideEncryptionCustomerAlgorithm string) ApiHeadObjectRequest

Specifies the algorithm to use to when encrypting the object (AES256).

func (ApiHeadObjectRequest) XAmzServerSideEncryptionCustomerKey

func (r ApiHeadObjectRequest) XAmzServerSideEncryptionCustomerKey(xAmzServerSideEncryptionCustomerKey string) ApiHeadObjectRequest

Specifies the customer-provided encryption key for IONOS S3 Object Storage to use in encrypting data. This value is used to store the object and then it is discarded; IONOS S3 Object Storage does not store the encryption key. The key must be appropriate for use with the algorithm specified in the `x-amz-server-side-encryption-customer-algorithm` header.

func (ApiHeadObjectRequest) XAmzServerSideEncryptionCustomerKeyMD5

func (r ApiHeadObjectRequest) XAmzServerSideEncryptionCustomerKeyMD5(xAmzServerSideEncryptionCustomerKeyMD5 string) ApiHeadObjectRequest

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. IONOS S3 Object Storage uses this header for a message integrity check to ensure that the encryption key was transmitted without error.

type ApiListBucketsRequest

type ApiListBucketsRequest struct {
	ApiService *BucketsApiService
	// contains filtered or unexported fields
}

func (ApiListBucketsRequest) Execute

type ApiListMultipartUploadsRequest added in v1.1.0

type ApiListMultipartUploadsRequest struct {
	ApiService *UploadsApiService
	// contains filtered or unexported fields
}

func (ApiListMultipartUploadsRequest) Delimiter added in v1.1.0

<p>Character you use to group keys.</p> <p>All keys that contain the same string between the prefix, if specified, and the first occurrence of the delimiter after the prefix are grouped under a single result element, `CommonPrefixes`. If you don't specify the prefix parameter, then the substring starts at the beginning of the key. The keys that are grouped under `CommonPrefixes` result element are not returned elsewhere in the response.</p>

func (ApiListMultipartUploadsRequest) EncodingType added in v1.1.0

func (ApiListMultipartUploadsRequest) Execute added in v1.1.0

func (ApiListMultipartUploadsRequest) KeyMarker added in v1.1.0

<p>Together with upload-id-marker, this parameter specifies the multipart upload after which listing should begin.</p> <p>If `upload-id-marker` is not specified, only the keys lexicographically greater than the specified `key-marker` will be included in the list.</p> <p>If `upload-id-marker` is specified, any multipart uploads for a key equal to the `key-marker` might also be included, provided those multipart uploads have upload IDs lexicographically greater than the specified `upload-id-marker`.</p>

func (ApiListMultipartUploadsRequest) KeyMarker2 added in v1.1.0

Pagination token

func (ApiListMultipartUploadsRequest) MaxUploads added in v1.1.0

Sets the maximum number of multipart uploads, from 1 to 1,000, to return in the response body. 1,000 is the maximum number of uploads that can be returned in a response.

func (ApiListMultipartUploadsRequest) MaxUploads2 added in v1.1.0

Pagination limit

func (ApiListMultipartUploadsRequest) Prefix added in v1.1.0

Lists in-progress uploads only for those keys that begin with the specified prefix. You can use prefixes to separate a bucket into different grouping of keys. (You can think of using prefix to make groups in the same way you'd use a folder in a file system.)

func (ApiListMultipartUploadsRequest) UploadIdMarker added in v1.1.0

func (r ApiListMultipartUploadsRequest) UploadIdMarker(uploadIdMarker string) ApiListMultipartUploadsRequest

Together with key-marker, specifies the multipart upload after which listing should begin. If key-marker is not specified, the upload-id-marker parameter is ignored. Otherwise, any multipart uploads for a key equal to the key-marker might be included in the list only if they have an upload ID lexicographically greater than the specified `upload-id-marker`.

func (ApiListMultipartUploadsRequest) UploadIdMarker2 added in v1.1.0

func (r ApiListMultipartUploadsRequest) UploadIdMarker2(uploadIdMarker2 string) ApiListMultipartUploadsRequest

Pagination token

func (ApiListMultipartUploadsRequest) Uploads added in v1.1.0

type ApiListObjectVersionsRequest added in v1.1.0

type ApiListObjectVersionsRequest struct {
	ApiService *VersionsApiService
	// contains filtered or unexported fields
}

func (ApiListObjectVersionsRequest) Delimiter added in v1.1.0

A delimiter is a character that you specify to group keys. All keys that contain the same string between the `prefix` and the first occurrence of the delimiter are grouped under a single result element in CommonPrefixes. These groups are counted as one result against the max-keys limitation. These keys are not returned elsewhere in the response.

func (ApiListObjectVersionsRequest) EncodingType added in v1.1.0

func (ApiListObjectVersionsRequest) Execute added in v1.1.0

func (ApiListObjectVersionsRequest) KeyMarker added in v1.1.0

Specifies the key to start with when listing objects in a bucket.

func (ApiListObjectVersionsRequest) KeyMarker2 added in v1.1.0

Pagination token

func (ApiListObjectVersionsRequest) MaxKeys added in v1.1.0

Sets the maximum number of keys returned in the response. By default the operation returns up to 1,000 key names. The response might contain fewer keys but will never contain more. If additional keys satisfy the search criteria, but were not returned because max-keys was exceeded, the response contains <isTruncated>true</isTruncated>. To return the additional keys, see key-marker and version-id-marker.

func (ApiListObjectVersionsRequest) MaxKeys2 added in v1.1.0

Pagination limit

func (ApiListObjectVersionsRequest) Prefix added in v1.1.0

Use this parameter to select only those keys that begin with the specified prefix. You can use prefixes to separate a bucket into different groupings of keys. (You can think of using prefix to make groups in the same way you'd use a folder in a file system.) You can use prefix with delimiter to roll up numerous objects into a single result under CommonPrefixes.

func (ApiListObjectVersionsRequest) VersionIdMarker added in v1.1.0

func (r ApiListObjectVersionsRequest) VersionIdMarker(versionIdMarker string) ApiListObjectVersionsRequest

Specifies the object version you want to start listing from.

func (ApiListObjectVersionsRequest) VersionIdMarker2 added in v1.1.0

func (r ApiListObjectVersionsRequest) VersionIdMarker2(versionIdMarker2 string) ApiListObjectVersionsRequest

Pagination token

type ApiListObjectsRequest

type ApiListObjectsRequest struct {
	ApiService *ObjectsApiService
	// contains filtered or unexported fields
}

func (ApiListObjectsRequest) Delimiter

func (r ApiListObjectsRequest) Delimiter(delimiter string) ApiListObjectsRequest

A delimiter is a character you use to group keys.

func (ApiListObjectsRequest) EncodingType

func (r ApiListObjectsRequest) EncodingType(encodingType string) ApiListObjectsRequest

func (ApiListObjectsRequest) Execute

func (ApiListObjectsRequest) Marker

Marker is where you want IONOS S3 Object Storage to start listing from. IONOS S3 Object Storage starts listing after this specified key. Marker can be any key in the bucket.

func (ApiListObjectsRequest) Marker2

Pagination token

func (ApiListObjectsRequest) MaxKeys

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

func (ApiListObjectsRequest) MaxKeys2

func (r ApiListObjectsRequest) MaxKeys2(maxKeys2 string) ApiListObjectsRequest

Pagination limit

func (ApiListObjectsRequest) Prefix

Limits the response to keys that begin with the specified prefix.

func (ApiListObjectsRequest) XAmzRequestPayer

func (r ApiListObjectsRequest) XAmzRequestPayer(xAmzRequestPayer string) ApiListObjectsRequest

Confirms that the requester knows that she or he will be charged for the list objects request. Bucket owners need not specify this parameter in their requests.

type ApiListObjectsV2Request

type ApiListObjectsV2Request struct {
	ApiService *ObjectsApiService
	// contains filtered or unexported fields
}

func (ApiListObjectsV2Request) ContinuationToken

func (r ApiListObjectsV2Request) ContinuationToken(continuationToken string) ApiListObjectsV2Request

ContinuationToken indicates IONOS S3 Object Storage that the list is being continued on this bucket with a token. ContinuationToken is obfuscated and is not a real key.

func (ApiListObjectsV2Request) Delimiter

A delimiter is a character you use to group keys.

func (ApiListObjectsV2Request) EncodingType

func (r ApiListObjectsV2Request) EncodingType(encodingType string) ApiListObjectsV2Request

Encoding type used by IONOS S3 Object Storage to encode object keys in the response.

func (ApiListObjectsV2Request) Execute

func (ApiListObjectsV2Request) FetchOwner

func (r ApiListObjectsV2Request) FetchOwner(fetchOwner bool) ApiListObjectsV2Request

The owner field is not present in listV2 by default, if you want to return owner field with each key in the result then set the fetch owner field to true.

func (ApiListObjectsV2Request) MaxKeys

Sets 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.

func (ApiListObjectsV2Request) Prefix

Limits the response to keys that begin with the specified prefix.

func (ApiListObjectsV2Request) StartAfter

func (r ApiListObjectsV2Request) StartAfter(startAfter string) ApiListObjectsV2Request

StartAfter is where you want to start listing from. IONOS S3 Object Storage starts listing after this specified key. StartAfter can be any key in the bucket.

type ApiListPartsRequest added in v1.1.0

type ApiListPartsRequest struct {
	ApiService *UploadsApiService
	// contains filtered or unexported fields
}

func (ApiListPartsRequest) Execute added in v1.1.0

func (ApiListPartsRequest) MaxParts added in v1.1.0

func (r ApiListPartsRequest) MaxParts(maxParts int32) ApiListPartsRequest

Sets the maximum number of parts to return.

func (ApiListPartsRequest) PartNumberMarker added in v1.1.0

func (r ApiListPartsRequest) PartNumberMarker(partNumberMarker int32) ApiListPartsRequest

Specifies the part after which listing should begin. Only parts with higher part numbers will be listed.

func (ApiListPartsRequest) PartNumberMarker2 added in v1.1.0

func (r ApiListPartsRequest) PartNumberMarker2(partNumberMarker2 string) ApiListPartsRequest

Pagination token

func (ApiListPartsRequest) UploadId added in v1.1.0

func (r ApiListPartsRequest) UploadId(uploadId string) ApiListPartsRequest

Upload ID identifying the multipart upload whose parts are being listed.

type ApiOPTIONSObjectRequest

type ApiOPTIONSObjectRequest struct {
	ApiService *ObjectsApiService
	// contains filtered or unexported fields
}

func (ApiOPTIONSObjectRequest) AccessControlRequestHeaders

func (r ApiOPTIONSObjectRequest) AccessControlRequestHeaders(accessControlRequestHeaders string) ApiOPTIONSObjectRequest

<p> A comma-delimited list of HTTP headers that will be sent in the actual request. </p> <p> For example, to put an object with server-side encryption, this preflight request will determine if it can include the `x-amz-server-side-encryption` header with the request. </p>

func (ApiOPTIONSObjectRequest) AccessControlRequestMethod

func (r ApiOPTIONSObjectRequest) AccessControlRequestMethod(accessControlRequestMethod string) ApiOPTIONSObjectRequest

Identifies what HTTP method will be used in the actual request.

func (ApiOPTIONSObjectRequest) Execute

func (r ApiOPTIONSObjectRequest) Execute() (*APIResponse, error)

func (ApiOPTIONSObjectRequest) Origin

<p>Identifies the origin of the cross-origin request to the IONOS S3 Object Storage. </p>

type ApiPOSTObjectRequest

type ApiPOSTObjectRequest struct {
	ApiService *ObjectsApiService
	// contains filtered or unexported fields
}

func (ApiPOSTObjectRequest) CacheControl

func (r ApiPOSTObjectRequest) CacheControl(cacheControl string) ApiPOSTObjectRequest

Can be used to specify caching behavior along the request/reply chain. For more information, see <a href=\"http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9\">Cache-Control</a>.

func (ApiPOSTObjectRequest) ContentDisposition

func (r ApiPOSTObjectRequest) ContentDisposition(contentDisposition string) ApiPOSTObjectRequest

Specifies presentational information for the object. For more information, see <a href=\"http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1\">Content-Disposition</a>.

func (ApiPOSTObjectRequest) ContentEncoding

func (r ApiPOSTObjectRequest) ContentEncoding(contentEncoding string) ApiPOSTObjectRequest

Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. For more information, see <a href=\"http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11\">Content-Encoding</a>.

func (ApiPOSTObjectRequest) ContentLanguage

func (r ApiPOSTObjectRequest) ContentLanguage(contentLanguage string) ApiPOSTObjectRequest

The language the content is in.

func (ApiPOSTObjectRequest) ContentLength

func (r ApiPOSTObjectRequest) ContentLength(contentLength int32) ApiPOSTObjectRequest

Size of the body in bytes. This parameter is useful when the size of the body cannot be determined automatically. For more information, see <a href=\"http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13\">Content-Length</a>.

func (ApiPOSTObjectRequest) ContentMD5

func (r ApiPOSTObjectRequest) ContentMD5(contentMD5 string) ApiPOSTObjectRequest

func (ApiPOSTObjectRequest) ContentType

func (r ApiPOSTObjectRequest) ContentType(contentType string) ApiPOSTObjectRequest

A standard MIME type describing the format of the contents. For more information, see <a href=\"http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17\">Content-Type</a>.

func (ApiPOSTObjectRequest) Execute

func (r ApiPOSTObjectRequest) Execute() (map[string]interface{}, *APIResponse, error)

func (ApiPOSTObjectRequest) Expires

The date and time at which the object is no longer cacheable. For more information, see <a href=\"http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21\">Expires</a>.

func (ApiPOSTObjectRequest) POSTObjectRequest

func (r ApiPOSTObjectRequest) POSTObjectRequest(pOSTObjectRequest POSTObjectRequest) ApiPOSTObjectRequest

func (ApiPOSTObjectRequest) XAmzObjectLockLegalHold

func (r ApiPOSTObjectRequest) XAmzObjectLockLegalHold(xAmzObjectLockLegalHold string) ApiPOSTObjectRequest

Specifies whether a legal hold will be applied to this object.

func (ApiPOSTObjectRequest) XAmzObjectLockMode

func (r ApiPOSTObjectRequest) XAmzObjectLockMode(xAmzObjectLockMode string) ApiPOSTObjectRequest

The Object Lock mode that you want to apply to this object.

func (ApiPOSTObjectRequest) XAmzObjectLockRetainUntilDate

func (r ApiPOSTObjectRequest) XAmzObjectLockRetainUntilDate(xAmzObjectLockRetainUntilDate time.Time) ApiPOSTObjectRequest

The date and time when you want this object's Object Lock to expire. Must be formatted as a timestamp parameter.

func (ApiPOSTObjectRequest) XAmzRequestPayer

func (r ApiPOSTObjectRequest) XAmzRequestPayer(xAmzRequestPayer string) ApiPOSTObjectRequest

func (ApiPOSTObjectRequest) XAmzServerSideEncryption

func (r ApiPOSTObjectRequest) XAmzServerSideEncryption(xAmzServerSideEncryption string) ApiPOSTObjectRequest

The server-side encryption algorithm used when storing this object in IONOS S3 Object Storage (AES256).

func (ApiPOSTObjectRequest) XAmzServerSideEncryptionBucketKeyEnabled

func (r ApiPOSTObjectRequest) XAmzServerSideEncryptionBucketKeyEnabled(xAmzServerSideEncryptionBucketKeyEnabled bool) ApiPOSTObjectRequest

<p>Specifies whether IONOS S3 Object Storage should use an S3 Bucket Key for object encryption with server-side encryption. Setting this header to `true` causes IONOS S3 Object Storage to use an S3 Bucket Key for object encryption.</p> <p>Specifying this header with a PUT operation doesn’t affect bucket-level settings for S3 Bucket Key.</p>

func (ApiPOSTObjectRequest) XAmzServerSideEncryptionContext

func (r ApiPOSTObjectRequest) XAmzServerSideEncryptionContext(xAmzServerSideEncryptionContext string) ApiPOSTObjectRequest

Specifies the IONOS S3 Object Storage Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.

func (ApiPOSTObjectRequest) XAmzServerSideEncryptionCustomerAlgorithm

func (r ApiPOSTObjectRequest) XAmzServerSideEncryptionCustomerAlgorithm(xAmzServerSideEncryptionCustomerAlgorithm string) ApiPOSTObjectRequest

Specifies the algorithm to use to when encrypting the object (AES256).

func (ApiPOSTObjectRequest) XAmzServerSideEncryptionCustomerKey

func (r ApiPOSTObjectRequest) XAmzServerSideEncryptionCustomerKey(xAmzServerSideEncryptionCustomerKey string) ApiPOSTObjectRequest

Specifies the customer-provided encryption key for IONOS S3 Object Storage to use in encrypting data. This value is used to store the object and then it is discarded; IONOS S3 Object Storage does not store the encryption key. The key must be appropriate for use with the algorithm specified in the `x-amz-server-side-encryption-customer-algorithm` header.

func (ApiPOSTObjectRequest) XAmzServerSideEncryptionCustomerKeyMD5

func (r ApiPOSTObjectRequest) XAmzServerSideEncryptionCustomerKeyMD5(xAmzServerSideEncryptionCustomerKeyMD5 string) ApiPOSTObjectRequest

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. IONOS S3 Object Storage uses this header for a message integrity check to ensure that the encryption key was transmitted without error.

func (ApiPOSTObjectRequest) XAmzStorageClass

func (r ApiPOSTObjectRequest) XAmzStorageClass(xAmzStorageClass string) ApiPOSTObjectRequest

IONOS S3 Object Storage uses the STANDARD Storage Class to store newly created objects. The STANDARD storage class provides high durability and high availability.

func (ApiPOSTObjectRequest) XAmzTagging

func (r ApiPOSTObjectRequest) XAmzTagging(xAmzTagging string) ApiPOSTObjectRequest

The tag-set for the object. The tag-set must be encoded as URL Query parameters. (For example, \"Key1=Value1\")

func (ApiPOSTObjectRequest) XAmzWebsiteRedirectLocation

func (r ApiPOSTObjectRequest) XAmzWebsiteRedirectLocation(xAmzWebsiteRedirectLocation string) ApiPOSTObjectRequest

<p>If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. IONOS S3 Object Storage stores the value of this header in the object metadata.</p> <p>In the following example, the request header sets the redirect to an object (anotherPage.html) in the same bucket:</p> <p> `x-amz-website-redirect-location: /anotherPage.html` </p> <p>In the following example, the request header sets the object redirect to another website:</p> <p> `x-amz-website-redirect-location: http://www.example.com/` </p>

type ApiPutBucketCorsRequest added in v1.1.0

type ApiPutBucketCorsRequest struct {
	ApiService *CORSApiService
	// contains filtered or unexported fields
}

func (ApiPutBucketCorsRequest) ContentMD5 added in v1.1.0

func (r ApiPutBucketCorsRequest) ContentMD5(contentMD5 string) ApiPutBucketCorsRequest

func (ApiPutBucketCorsRequest) Execute added in v1.1.0

func (r ApiPutBucketCorsRequest) Execute() (*APIResponse, error)

func (ApiPutBucketCorsRequest) PutBucketCorsRequest added in v1.1.0

func (r ApiPutBucketCorsRequest) PutBucketCorsRequest(putBucketCorsRequest PutBucketCorsRequest) ApiPutBucketCorsRequest

type ApiPutBucketEncryptionRequest added in v1.1.0

type ApiPutBucketEncryptionRequest struct {
	ApiService *EncryptionApiService
	// contains filtered or unexported fields
}

func (ApiPutBucketEncryptionRequest) Execute added in v1.1.0

func (ApiPutBucketEncryptionRequest) PutBucketEncryptionRequest added in v1.1.0

func (r ApiPutBucketEncryptionRequest) PutBucketEncryptionRequest(putBucketEncryptionRequest PutBucketEncryptionRequest) ApiPutBucketEncryptionRequest

type ApiPutBucketLifecycleRequest added in v1.1.0

type ApiPutBucketLifecycleRequest struct {
	ApiService *LifecycleApiService
	// contains filtered or unexported fields
}

func (ApiPutBucketLifecycleRequest) ContentMD5 added in v1.1.0

func (ApiPutBucketLifecycleRequest) Execute added in v1.1.0

func (ApiPutBucketLifecycleRequest) PutBucketLifecycleRequest added in v1.1.0

func (r ApiPutBucketLifecycleRequest) PutBucketLifecycleRequest(putBucketLifecycleRequest PutBucketLifecycleRequest) ApiPutBucketLifecycleRequest

type ApiPutBucketPolicyRequest

type ApiPutBucketPolicyRequest struct {
	ApiService *PolicyApiService
	// contains filtered or unexported fields
}

func (ApiPutBucketPolicyRequest) BucketPolicy

func (ApiPutBucketPolicyRequest) ContentMD5

func (ApiPutBucketPolicyRequest) Execute

type ApiPutBucketTaggingRequest

type ApiPutBucketTaggingRequest struct {
	ApiService *TaggingApiService
	// contains filtered or unexported fields
}

func (ApiPutBucketTaggingRequest) ContentMD5

func (ApiPutBucketTaggingRequest) Execute

func (ApiPutBucketTaggingRequest) PutBucketTaggingRequest

func (r ApiPutBucketTaggingRequest) PutBucketTaggingRequest(putBucketTaggingRequest PutBucketTaggingRequest) ApiPutBucketTaggingRequest

type ApiPutBucketVersioningRequest added in v1.1.0

type ApiPutBucketVersioningRequest struct {
	ApiService *VersioningApiService
	// contains filtered or unexported fields
}

func (ApiPutBucketVersioningRequest) ContentMD5 added in v1.1.0

func (ApiPutBucketVersioningRequest) Execute added in v1.1.0

func (ApiPutBucketVersioningRequest) PutBucketVersioningRequest added in v1.1.0

func (r ApiPutBucketVersioningRequest) PutBucketVersioningRequest(putBucketVersioningRequest PutBucketVersioningRequest) ApiPutBucketVersioningRequest

type ApiPutBucketWebsiteRequest added in v1.1.0

type ApiPutBucketWebsiteRequest struct {
	ApiService *WebsiteApiService
	// contains filtered or unexported fields
}

func (ApiPutBucketWebsiteRequest) ContentMD5 added in v1.1.0

func (ApiPutBucketWebsiteRequest) Execute added in v1.1.0

func (ApiPutBucketWebsiteRequest) PutBucketWebsiteRequest added in v1.1.0

func (r ApiPutBucketWebsiteRequest) PutBucketWebsiteRequest(putBucketWebsiteRequest PutBucketWebsiteRequest) ApiPutBucketWebsiteRequest

type ApiPutObjectLegalHoldRequest added in v1.1.0

type ApiPutObjectLegalHoldRequest struct {
	ApiService *ObjectLockApiService
	// contains filtered or unexported fields
}

func (ApiPutObjectLegalHoldRequest) ContentMD5 added in v1.1.0

func (ApiPutObjectLegalHoldRequest) Execute added in v1.1.0

func (ApiPutObjectLegalHoldRequest) ObjectLegalHoldConfiguration added in v1.1.0

func (r ApiPutObjectLegalHoldRequest) ObjectLegalHoldConfiguration(objectLegalHoldConfiguration ObjectLegalHoldConfiguration) ApiPutObjectLegalHoldRequest

func (ApiPutObjectLegalHoldRequest) VersionId added in v1.1.0

The version ID of the object on which you want to place a Legal Hold.

type ApiPutObjectLockConfigurationRequest added in v1.1.0

type ApiPutObjectLockConfigurationRequest struct {
	ApiService *ObjectLockApiService
	// contains filtered or unexported fields
}

func (ApiPutObjectLockConfigurationRequest) ContentMD5 added in v1.1.0

func (ApiPutObjectLockConfigurationRequest) Execute added in v1.1.0

func (ApiPutObjectLockConfigurationRequest) PutObjectLockConfigurationRequest added in v1.1.0

func (r ApiPutObjectLockConfigurationRequest) PutObjectLockConfigurationRequest(putObjectLockConfigurationRequest PutObjectLockConfigurationRequest) ApiPutObjectLockConfigurationRequest

type ApiPutObjectRequest

type ApiPutObjectRequest struct {
	ApiService *ObjectsApiService
	// contains filtered or unexported fields
}

func (ApiPutObjectRequest) Body

func (ApiPutObjectRequest) CacheControl

func (r ApiPutObjectRequest) CacheControl(cacheControl string) ApiPutObjectRequest

Can be used to specify caching behavior along the request/reply chain. For more information, see <a href=\"http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9\">Cache-Control</a>.

func (ApiPutObjectRequest) ContentDisposition

func (r ApiPutObjectRequest) ContentDisposition(contentDisposition string) ApiPutObjectRequest

Specifies presentational information for the object. For more information, see <a href=\"http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1\">Content-Disposition</a>.

func (ApiPutObjectRequest) ContentEncoding

func (r ApiPutObjectRequest) ContentEncoding(contentEncoding string) ApiPutObjectRequest

Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. For more information, see <a href=\"http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11\">Content-Encoding</a>.

func (ApiPutObjectRequest) ContentLanguage

func (r ApiPutObjectRequest) ContentLanguage(contentLanguage string) ApiPutObjectRequest

The language the content is in.

func (ApiPutObjectRequest) ContentLength

func (r ApiPutObjectRequest) ContentLength(contentLength int32) ApiPutObjectRequest

Size of the body in bytes. This parameter is useful when the size of the body cannot be determined automatically. For more information, see <a href=\"http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13\">Content-Length</a>.

func (ApiPutObjectRequest) ContentMD5

func (r ApiPutObjectRequest) ContentMD5(contentMD5 string) ApiPutObjectRequest

func (ApiPutObjectRequest) ContentType

func (r ApiPutObjectRequest) ContentType(contentType string) ApiPutObjectRequest

A standard MIME type describing the format of the contents. For more information, see <a href=\"http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17\">Content-Type</a>.

func (ApiPutObjectRequest) Execute

func (r ApiPutObjectRequest) Execute() (*APIResponse, error)

func (ApiPutObjectRequest) Expires

func (r ApiPutObjectRequest) Expires(expires time.Time) ApiPutObjectRequest

The date and time at which the object is no longer cacheable. For more information, see <a href=\"http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21\">Expires</a>.

func (ApiPutObjectRequest) XAmzMeta

func (r ApiPutObjectRequest) XAmzMeta(xAmzMeta map[string]string) ApiPutObjectRequest

A map of metadata to store with the object in S3.

func (ApiPutObjectRequest) XAmzObjectLockLegalHold

func (r ApiPutObjectRequest) XAmzObjectLockLegalHold(xAmzObjectLockLegalHold string) ApiPutObjectRequest

Specifies whether a legal hold will be applied to this object.

func (ApiPutObjectRequest) XAmzObjectLockMode

func (r ApiPutObjectRequest) XAmzObjectLockMode(xAmzObjectLockMode string) ApiPutObjectRequest

The Object Lock mode that you want to apply to this object.

func (ApiPutObjectRequest) XAmzObjectLockRetainUntilDate

func (r ApiPutObjectRequest) XAmzObjectLockRetainUntilDate(xAmzObjectLockRetainUntilDate time.Time) ApiPutObjectRequest

The date and time when you want this object's Object Lock to expire. Must be formatted as a timestamp parameter.

func (ApiPutObjectRequest) XAmzRequestPayer

func (r ApiPutObjectRequest) XAmzRequestPayer(xAmzRequestPayer string) ApiPutObjectRequest

func (ApiPutObjectRequest) XAmzServerSideEncryption

func (r ApiPutObjectRequest) XAmzServerSideEncryption(xAmzServerSideEncryption string) ApiPutObjectRequest

The server-side encryption algorithm used when storing this object in IONOS S3 Object Storage (AES256).

func (ApiPutObjectRequest) XAmzServerSideEncryptionContext

func (r ApiPutObjectRequest) XAmzServerSideEncryptionContext(xAmzServerSideEncryptionContext string) ApiPutObjectRequest

Specifies the IONOS S3 Object Storage Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.

func (ApiPutObjectRequest) XAmzServerSideEncryptionCustomerAlgorithm

func (r ApiPutObjectRequest) XAmzServerSideEncryptionCustomerAlgorithm(xAmzServerSideEncryptionCustomerAlgorithm string) ApiPutObjectRequest

Specifies the algorithm to use to when encrypting the object. The valid option is `AES256`.

func (ApiPutObjectRequest) XAmzServerSideEncryptionCustomerKey

func (r ApiPutObjectRequest) XAmzServerSideEncryptionCustomerKey(xAmzServerSideEncryptionCustomerKey string) ApiPutObjectRequest

Specifies the 256-bit, base64-encoded encryption key to use to encrypt and decrypt your data. For example, `4ZRNYBCCvL0YZeqo3f2+9qDyIfnLdbg5S99R2XWr0aw=`.

func (ApiPutObjectRequest) XAmzServerSideEncryptionCustomerKeyMD5

func (r ApiPutObjectRequest) XAmzServerSideEncryptionCustomerKeyMD5(xAmzServerSideEncryptionCustomerKeyMD5 string) ApiPutObjectRequest

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. IONOS S3 Object Storage uses this header for a message integrity check to ensure that the encryption key was transmitted without error. For example, `bPU7G1zD2MlOi5gqnkRqZg==`.

func (ApiPutObjectRequest) XAmzStorageClass

func (r ApiPutObjectRequest) XAmzStorageClass(xAmzStorageClass string) ApiPutObjectRequest

The valid value is `STANDARD`.

func (ApiPutObjectRequest) XAmzTagging

func (r ApiPutObjectRequest) XAmzTagging(xAmzTagging string) ApiPutObjectRequest

The tag-set for the object. The tag-set must be encoded as URL Query parameters. (For example, \"Key1=Value1\")

func (ApiPutObjectRequest) XAmzWebsiteRedirectLocation

func (r ApiPutObjectRequest) XAmzWebsiteRedirectLocation(xAmzWebsiteRedirectLocation string) ApiPutObjectRequest

<p>If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. IONOS S3 Object Storage stores the value of this header in the object metadata.</p> <p>In the following example, the request header sets the redirect to an object (anotherPage.html) in the same bucket:</p> <p> `x-amz-website-redirect-location: /anotherPage.html` </p> <p>In the following example, the request header sets the object redirect to another website:</p> <p> `x-amz-website-redirect-location: http://www.example.com/` </p>

type ApiPutObjectRetentionRequest added in v1.1.0

type ApiPutObjectRetentionRequest struct {
	ApiService *ObjectLockApiService
	// contains filtered or unexported fields
}

func (ApiPutObjectRetentionRequest) ContentMD5 added in v1.1.0

func (ApiPutObjectRetentionRequest) Execute added in v1.1.0

func (ApiPutObjectRetentionRequest) PutObjectRetentionRequest added in v1.1.0

func (r ApiPutObjectRetentionRequest) PutObjectRetentionRequest(putObjectRetentionRequest PutObjectRetentionRequest) ApiPutObjectRetentionRequest

func (ApiPutObjectRetentionRequest) VersionId added in v1.1.0

The version ID of the object to which you want to apply the Object Retention configuration.

func (ApiPutObjectRetentionRequest) XAmzBypassGovernanceRetention added in v1.1.0

func (r ApiPutObjectRetentionRequest) XAmzBypassGovernanceRetention(xAmzBypassGovernanceRetention bool) ApiPutObjectRetentionRequest

Indicates whether this operation should bypass Governance mode's restrictions.

type ApiPutObjectTaggingRequest

type ApiPutObjectTaggingRequest struct {
	ApiService *TaggingApiService
	// contains filtered or unexported fields
}

func (ApiPutObjectTaggingRequest) ContentMD5

func (ApiPutObjectTaggingRequest) Execute

func (r ApiPutObjectTaggingRequest) Execute() (map[string]interface{}, *APIResponse, error)

func (ApiPutObjectTaggingRequest) PutObjectTaggingRequest

func (r ApiPutObjectTaggingRequest) PutObjectTaggingRequest(putObjectTaggingRequest PutObjectTaggingRequest) ApiPutObjectTaggingRequest

func (ApiPutObjectTaggingRequest) VersionId

The versionId of the object that the tag-set will be added to.

type ApiPutPublicAccessBlockRequest

type ApiPutPublicAccessBlockRequest struct {
	ApiService *PublicAccessBlockApiService
	// contains filtered or unexported fields
}

func (ApiPutPublicAccessBlockRequest) BlockPublicAccessPayload

func (r ApiPutPublicAccessBlockRequest) BlockPublicAccessPayload(blockPublicAccessPayload BlockPublicAccessPayload) ApiPutPublicAccessBlockRequest

func (ApiPutPublicAccessBlockRequest) ContentMD5

func (ApiPutPublicAccessBlockRequest) Execute

type ApiUploadPartCopyRequest added in v1.1.0

type ApiUploadPartCopyRequest struct {
	ApiService *UploadsApiService
	// contains filtered or unexported fields
}

func (ApiUploadPartCopyRequest) Execute added in v1.1.0

func (ApiUploadPartCopyRequest) PartNumber added in v1.1.0

func (r ApiUploadPartCopyRequest) PartNumber(partNumber int32) ApiUploadPartCopyRequest

Part number of part being copied. This is a positive integer between 1 and 10,000.

func (ApiUploadPartCopyRequest) UploadId added in v1.1.0

Upload ID identifying the multipart upload whose part is being copied.

func (ApiUploadPartCopyRequest) XAmzCopySource added in v1.1.0

func (r ApiUploadPartCopyRequest) XAmzCopySource(xAmzCopySource string) ApiUploadPartCopyRequest

<p>Specifies the source object for the copy operation. </p>

func (ApiUploadPartCopyRequest) XAmzCopySourceIfMatch added in v1.1.0

func (r ApiUploadPartCopyRequest) XAmzCopySourceIfMatch(xAmzCopySourceIfMatch string) ApiUploadPartCopyRequest

Copies the object if its entity tag (ETag) matches the specified tag.

func (ApiUploadPartCopyRequest) XAmzCopySourceIfModifiedSince added in v1.1.0

func (r ApiUploadPartCopyRequest) XAmzCopySourceIfModifiedSince(xAmzCopySourceIfModifiedSince time.Time) ApiUploadPartCopyRequest

Copies the object if it has been modified since the specified time.

func (ApiUploadPartCopyRequest) XAmzCopySourceIfNoneMatch added in v1.1.0

func (r ApiUploadPartCopyRequest) XAmzCopySourceIfNoneMatch(xAmzCopySourceIfNoneMatch string) ApiUploadPartCopyRequest

Copies the object if its entity tag (ETag) is different than the specified ETag.

func (ApiUploadPartCopyRequest) XAmzCopySourceIfUnmodifiedSince added in v1.1.0

func (r ApiUploadPartCopyRequest) XAmzCopySourceIfUnmodifiedSince(xAmzCopySourceIfUnmodifiedSince time.Time) ApiUploadPartCopyRequest

Copies the object if it hasn't been modified since the specified time.

func (ApiUploadPartCopyRequest) XAmzCopySourceRange added in v1.1.0

func (r ApiUploadPartCopyRequest) XAmzCopySourceRange(xAmzCopySourceRange string) ApiUploadPartCopyRequest

The range of bytes to copy from the source object. The range value must use the form bytes=first-last, where the first and last are the zero-based byte offsets to copy. For example, bytes=0-9 indicates that you want to copy the first 10 bytes of the source. You can copy a range only if the source object is greater than 5 MB.

func (ApiUploadPartCopyRequest) XAmzServerSideEncryptionCustomerAlgorithm added in v1.1.0

func (r ApiUploadPartCopyRequest) XAmzServerSideEncryptionCustomerAlgorithm(xAmzServerSideEncryptionCustomerAlgorithm string) ApiUploadPartCopyRequest

Specifies the algorithm to use to when encrypting the object (AES256).

type ApiUploadPartRequest added in v1.1.0

type ApiUploadPartRequest struct {
	ApiService *UploadsApiService
	// contains filtered or unexported fields
}

func (ApiUploadPartRequest) ContentLength added in v1.1.0

func (r ApiUploadPartRequest) ContentLength(contentLength int32) ApiUploadPartRequest

Size of the body in bytes. This parameter is useful when the size of the body cannot be determined automatically.

func (ApiUploadPartRequest) ContentMD5 added in v1.1.0

func (r ApiUploadPartRequest) ContentMD5(contentMD5 string) ApiUploadPartRequest

func (ApiUploadPartRequest) Execute added in v1.1.0

func (r ApiUploadPartRequest) Execute() (map[string]interface{}, *APIResponse, error)

func (ApiUploadPartRequest) PartNumber added in v1.1.0

func (r ApiUploadPartRequest) PartNumber(partNumber int32) ApiUploadPartRequest

Part number of part being uploaded. This is a positive integer between 1 and 10,000.

func (ApiUploadPartRequest) UploadId added in v1.1.0

func (r ApiUploadPartRequest) UploadId(uploadId string) ApiUploadPartRequest

Upload ID identifying the multipart upload whose part is being uploaded.

func (ApiUploadPartRequest) UploadPartRequest added in v1.1.0

func (r ApiUploadPartRequest) UploadPartRequest(uploadPartRequest UploadPartRequest) ApiUploadPartRequest

func (ApiUploadPartRequest) XAmzServerSideEncryptionCustomerAlgorithm added in v1.1.0

func (r ApiUploadPartRequest) XAmzServerSideEncryptionCustomerAlgorithm(xAmzServerSideEncryptionCustomerAlgorithm string) ApiUploadPartRequest

Specifies the algorithm to use to when encrypting the object (AES256).

func (ApiUploadPartRequest) XAmzServerSideEncryptionCustomerKey added in v1.1.0

func (r ApiUploadPartRequest) XAmzServerSideEncryptionCustomerKey(xAmzServerSideEncryptionCustomerKey string) ApiUploadPartRequest

Specifies the customer-provided encryption key for IONOS S3 Object Storage to use in encrypting data. This value is used to store the object and then it is discarded; IONOS S3 Object Storage does not store the encryption key. The key must be appropriate for use with the algorithm specified in the `x-amz-server-side-encryption-customer-algorithm header`. This must be the same encryption key specified in the initiate multipart upload request.

func (ApiUploadPartRequest) XAmzServerSideEncryptionCustomerKeyMD5 added in v1.1.0

func (r ApiUploadPartRequest) XAmzServerSideEncryptionCustomerKeyMD5(xAmzServerSideEncryptionCustomerKeyMD5 string) ApiUploadPartRequest

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. IONOS S3 Object Storage uses this header for a message integrity check to ensure that the encryption key was transmitted without error.

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type BlockPublicAccessOutput

type BlockPublicAccessOutput struct {
	XMLName xml.Name `xml:"BlockPublicAccessBlockConfiguration"`
	// Indicates that access to the bucket via Access Control Lists (ACLs) that grant public access is blocked. In other words, ACLs that allow public access are not permitted.
	BlockPublicAcls *bool `json:"BlockPublicAcls,omitempty" xml:"BlockPublicAcls"`
	// Instructs the system to ignore any ACLs that grant public access. Even if ACLs are set to allow public access, they will be disregarded.
	IgnorePublicAcls *bool `json:"IgnorePublicAcls,omitempty" xml:"IgnorePublicAcls"`
	// Blocks public access to the bucket via bucket policies. Bucket policies that grant public access will not be allowed.
	BlockPublicPolicy *bool `json:"BlockPublicPolicy,omitempty" xml:"BlockPublicPolicy"`
	// Restricts access to buckets that have public policies. Buckets with policies that grant public access will have their access restricted.
	RestrictPublicBuckets *bool `json:"RestrictPublicBuckets,omitempty" xml:"RestrictPublicBuckets"`
}

BlockPublicAccessOutput struct for BlockPublicAccessOutput

func NewBlockPublicAccessOutput

func NewBlockPublicAccessOutput() *BlockPublicAccessOutput

NewBlockPublicAccessOutput instantiates a new BlockPublicAccessOutput 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 NewBlockPublicAccessOutputWithDefaults

func NewBlockPublicAccessOutputWithDefaults() *BlockPublicAccessOutput

NewBlockPublicAccessOutputWithDefaults instantiates a new BlockPublicAccessOutput 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 (*BlockPublicAccessOutput) GetBlockPublicAcls

func (o *BlockPublicAccessOutput) GetBlockPublicAcls() *bool

GetBlockPublicAcls returns the BlockPublicAcls field value If the value is explicit nil, the zero value for bool will be returned

func (*BlockPublicAccessOutput) GetBlockPublicAclsOk

func (o *BlockPublicAccessOutput) GetBlockPublicAclsOk() (*bool, bool)

GetBlockPublicAclsOk returns a tuple with the BlockPublicAcls field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BlockPublicAccessOutput) GetBlockPublicPolicy

func (o *BlockPublicAccessOutput) GetBlockPublicPolicy() *bool

GetBlockPublicPolicy returns the BlockPublicPolicy field value If the value is explicit nil, the zero value for bool will be returned

func (*BlockPublicAccessOutput) GetBlockPublicPolicyOk

func (o *BlockPublicAccessOutput) GetBlockPublicPolicyOk() (*bool, bool)

GetBlockPublicPolicyOk returns a tuple with the BlockPublicPolicy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BlockPublicAccessOutput) GetIgnorePublicAcls

func (o *BlockPublicAccessOutput) GetIgnorePublicAcls() *bool

GetIgnorePublicAcls returns the IgnorePublicAcls field value If the value is explicit nil, the zero value for bool will be returned

func (*BlockPublicAccessOutput) GetIgnorePublicAclsOk

func (o *BlockPublicAccessOutput) GetIgnorePublicAclsOk() (*bool, bool)

GetIgnorePublicAclsOk returns a tuple with the IgnorePublicAcls field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BlockPublicAccessOutput) GetRestrictPublicBuckets

func (o *BlockPublicAccessOutput) GetRestrictPublicBuckets() *bool

GetRestrictPublicBuckets returns the RestrictPublicBuckets field value If the value is explicit nil, the zero value for bool will be returned

func (*BlockPublicAccessOutput) GetRestrictPublicBucketsOk

func (o *BlockPublicAccessOutput) GetRestrictPublicBucketsOk() (*bool, bool)

GetRestrictPublicBucketsOk returns a tuple with the RestrictPublicBuckets field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BlockPublicAccessOutput) HasBlockPublicAcls

func (o *BlockPublicAccessOutput) HasBlockPublicAcls() bool

HasBlockPublicAcls returns a boolean if a field has been set.

func (*BlockPublicAccessOutput) HasBlockPublicPolicy

func (o *BlockPublicAccessOutput) HasBlockPublicPolicy() bool

HasBlockPublicPolicy returns a boolean if a field has been set.

func (*BlockPublicAccessOutput) HasIgnorePublicAcls

func (o *BlockPublicAccessOutput) HasIgnorePublicAcls() bool

HasIgnorePublicAcls returns a boolean if a field has been set.

func (*BlockPublicAccessOutput) HasRestrictPublicBuckets

func (o *BlockPublicAccessOutput) HasRestrictPublicBuckets() bool

HasRestrictPublicBuckets returns a boolean if a field has been set.

func (BlockPublicAccessOutput) MarshalJSON

func (o BlockPublicAccessOutput) MarshalJSON() ([]byte, error)

func (*BlockPublicAccessOutput) SetBlockPublicAcls

func (o *BlockPublicAccessOutput) SetBlockPublicAcls(v bool)

SetBlockPublicAcls sets field value

func (*BlockPublicAccessOutput) SetBlockPublicPolicy

func (o *BlockPublicAccessOutput) SetBlockPublicPolicy(v bool)

SetBlockPublicPolicy sets field value

func (*BlockPublicAccessOutput) SetIgnorePublicAcls

func (o *BlockPublicAccessOutput) SetIgnorePublicAcls(v bool)

SetIgnorePublicAcls sets field value

func (*BlockPublicAccessOutput) SetRestrictPublicBuckets

func (o *BlockPublicAccessOutput) SetRestrictPublicBuckets(v bool)

SetRestrictPublicBuckets sets field value

type BlockPublicAccessPayload

type BlockPublicAccessPayload struct {
	XMLName xml.Name `xml:"PublicAccessBlockConfiguration"`
	// Indicates that access to the bucket via Access Control Lists (ACLs) that grant public access is blocked. In other words, ACLs that allow public access are not permitted.
	BlockPublicAcls *bool `json:"BlockPublicAcls,omitempty" xml:"BlockPublicAcls"`
	// Instructs the system to ignore any ACLs that grant public access. Even if ACLs are set to allow public access, they will be disregarded.
	IgnorePublicAcls *bool `json:"IgnorePublicAcls,omitempty" xml:"IgnorePublicAcls"`
	// Blocks public access to the bucket via bucket policies. Bucket policies that grant public access will not be allowed.
	BlockPublicPolicy *bool `json:"BlockPublicPolicy,omitempty" xml:"BlockPublicPolicy"`
	// Restricts access to buckets that have public policies. Buckets with policies that grant public access will have their access restricted.
	RestrictPublicBuckets *bool `json:"RestrictPublicBuckets,omitempty" xml:"RestrictPublicBuckets"`
}

BlockPublicAccessPayload struct for BlockPublicAccessPayload

func NewBlockPublicAccessPayload

func NewBlockPublicAccessPayload() *BlockPublicAccessPayload

NewBlockPublicAccessPayload instantiates a new BlockPublicAccessPayload 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 NewBlockPublicAccessPayloadWithDefaults

func NewBlockPublicAccessPayloadWithDefaults() *BlockPublicAccessPayload

NewBlockPublicAccessPayloadWithDefaults instantiates a new BlockPublicAccessPayload 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 (*BlockPublicAccessPayload) GetBlockPublicAcls

func (o *BlockPublicAccessPayload) GetBlockPublicAcls() *bool

GetBlockPublicAcls returns the BlockPublicAcls field value If the value is explicit nil, the zero value for bool will be returned

func (*BlockPublicAccessPayload) GetBlockPublicAclsOk

func (o *BlockPublicAccessPayload) GetBlockPublicAclsOk() (*bool, bool)

GetBlockPublicAclsOk returns a tuple with the BlockPublicAcls field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BlockPublicAccessPayload) GetBlockPublicPolicy

func (o *BlockPublicAccessPayload) GetBlockPublicPolicy() *bool

GetBlockPublicPolicy returns the BlockPublicPolicy field value If the value is explicit nil, the zero value for bool will be returned

func (*BlockPublicAccessPayload) GetBlockPublicPolicyOk

func (o *BlockPublicAccessPayload) GetBlockPublicPolicyOk() (*bool, bool)

GetBlockPublicPolicyOk returns a tuple with the BlockPublicPolicy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BlockPublicAccessPayload) GetIgnorePublicAcls

func (o *BlockPublicAccessPayload) GetIgnorePublicAcls() *bool

GetIgnorePublicAcls returns the IgnorePublicAcls field value If the value is explicit nil, the zero value for bool will be returned

func (*BlockPublicAccessPayload) GetIgnorePublicAclsOk

func (o *BlockPublicAccessPayload) GetIgnorePublicAclsOk() (*bool, bool)

GetIgnorePublicAclsOk returns a tuple with the IgnorePublicAcls field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BlockPublicAccessPayload) GetRestrictPublicBuckets

func (o *BlockPublicAccessPayload) GetRestrictPublicBuckets() *bool

GetRestrictPublicBuckets returns the RestrictPublicBuckets field value If the value is explicit nil, the zero value for bool will be returned

func (*BlockPublicAccessPayload) GetRestrictPublicBucketsOk

func (o *BlockPublicAccessPayload) GetRestrictPublicBucketsOk() (*bool, bool)

GetRestrictPublicBucketsOk returns a tuple with the RestrictPublicBuckets field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BlockPublicAccessPayload) HasBlockPublicAcls

func (o *BlockPublicAccessPayload) HasBlockPublicAcls() bool

HasBlockPublicAcls returns a boolean if a field has been set.

func (*BlockPublicAccessPayload) HasBlockPublicPolicy

func (o *BlockPublicAccessPayload) HasBlockPublicPolicy() bool

HasBlockPublicPolicy returns a boolean if a field has been set.

func (*BlockPublicAccessPayload) HasIgnorePublicAcls

func (o *BlockPublicAccessPayload) HasIgnorePublicAcls() bool

HasIgnorePublicAcls returns a boolean if a field has been set.

func (*BlockPublicAccessPayload) HasRestrictPublicBuckets

func (o *BlockPublicAccessPayload) HasRestrictPublicBuckets() bool

HasRestrictPublicBuckets returns a boolean if a field has been set.

func (BlockPublicAccessPayload) MarshalJSON

func (o BlockPublicAccessPayload) MarshalJSON() ([]byte, error)

func (*BlockPublicAccessPayload) SetBlockPublicAcls

func (o *BlockPublicAccessPayload) SetBlockPublicAcls(v bool)

SetBlockPublicAcls sets field value

func (*BlockPublicAccessPayload) SetBlockPublicPolicy

func (o *BlockPublicAccessPayload) SetBlockPublicPolicy(v bool)

SetBlockPublicPolicy sets field value

func (*BlockPublicAccessPayload) SetIgnorePublicAcls

func (o *BlockPublicAccessPayload) SetIgnorePublicAcls(v bool)

SetIgnorePublicAcls sets field value

func (*BlockPublicAccessPayload) SetRestrictPublicBuckets

func (o *BlockPublicAccessPayload) SetRestrictPublicBuckets(v bool)

SetRestrictPublicBuckets sets field value

type Bucket

type Bucket struct {
	XMLName xml.Name `xml:"Bucket"`
	// The bucket name.
	Name *string `json:"Name,omitempty" xml:"Name"`
	// Represents the UTC date and time of bucket creation.
	CreationDate *IonosTime `json:"CreationDate,omitempty" xml:"CreationDate"`
}

Bucket A bucket in object storage is a flat container used to store an unlimited number of objects (files).

func NewBucket

func NewBucket() *Bucket

NewBucket instantiates a new Bucket 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 NewBucketWithDefaults

func NewBucketWithDefaults() *Bucket

NewBucketWithDefaults instantiates a new Bucket 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 (*Bucket) GetCreationDate

func (o *Bucket) GetCreationDate() *time.Time

GetCreationDate returns the CreationDate field value If the value is explicit nil, the zero value for time.Time will be returned

func (*Bucket) GetCreationDateOk

func (o *Bucket) GetCreationDateOk() (*time.Time, bool)

GetCreationDateOk returns a tuple with the CreationDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Bucket) GetName

func (o *Bucket) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*Bucket) GetNameOk

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

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Bucket) HasCreationDate

func (o *Bucket) HasCreationDate() bool

HasCreationDate returns a boolean if a field has been set.

func (*Bucket) HasName

func (o *Bucket) HasName() bool

HasName returns a boolean if a field has been set.

func (Bucket) MarshalJSON

func (o Bucket) MarshalJSON() ([]byte, error)

func (*Bucket) SetCreationDate

func (o *Bucket) SetCreationDate(v time.Time)

SetCreationDate sets field value

func (*Bucket) SetName

func (o *Bucket) SetName(v string)

SetName sets field value

type BucketLocation

type BucketLocation struct {
	XMLName xml.Name `xml:"LocationConstraint"`
	// Specifies the Region where the bucket resides.
	LocationConstraint *string `json:"LocationConstraint,omitempty" xml:",chardata"`
}

BucketLocation struct for BucketLocation

func NewBucketLocation

func NewBucketLocation() *BucketLocation

NewBucketLocation instantiates a new BucketLocation 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 NewBucketLocationWithDefaults

func NewBucketLocationWithDefaults() *BucketLocation

NewBucketLocationWithDefaults instantiates a new BucketLocation 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 (*BucketLocation) GetLocationConstraint

func (o *BucketLocation) GetLocationConstraint() *string

GetLocationConstraint returns the LocationConstraint field value If the value is explicit nil, the zero value for string will be returned

func (*BucketLocation) GetLocationConstraintOk

func (o *BucketLocation) GetLocationConstraintOk() (*string, bool)

GetLocationConstraintOk returns a tuple with the LocationConstraint field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BucketLocation) HasLocationConstraint

func (o *BucketLocation) HasLocationConstraint() bool

HasLocationConstraint returns a boolean if a field has been set.

func (BucketLocation) MarshalJSON

func (o BucketLocation) MarshalJSON() ([]byte, error)

func (*BucketLocation) SetLocationConstraint

func (o *BucketLocation) SetLocationConstraint(v string)

SetLocationConstraint sets field value

type BucketPolicy

type BucketPolicy struct {
	XMLName xml.Name `xml:"BucketPolicy"`
	// Specifies an optional identifier for the policy.
	Id *string `json:"Id,omitempty" xml:"Id"`
	// Policy version
	Version   *string                  `json:"Version,omitempty" xml:"Version"`
	Statement *[]BucketPolicyStatement `json:"Statement" xml:"Statement"`
}

BucketPolicy struct for BucketPolicy

func NewBucketPolicy

func NewBucketPolicy(statement []BucketPolicyStatement) *BucketPolicy

NewBucketPolicy instantiates a new BucketPolicy 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 NewBucketPolicyWithDefaults

func NewBucketPolicyWithDefaults() *BucketPolicy

NewBucketPolicyWithDefaults instantiates a new BucketPolicy 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 (*BucketPolicy) GetId

func (o *BucketPolicy) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*BucketPolicy) GetIdOk

func (o *BucketPolicy) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BucketPolicy) GetStatement

func (o *BucketPolicy) GetStatement() *[]BucketPolicyStatement

GetStatement returns the Statement field value If the value is explicit nil, the zero value for []BucketPolicyStatement will be returned

func (*BucketPolicy) GetStatementOk

func (o *BucketPolicy) GetStatementOk() (*[]BucketPolicyStatement, bool)

GetStatementOk returns a tuple with the Statement field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BucketPolicy) GetVersion

func (o *BucketPolicy) GetVersion() *string

GetVersion returns the Version field value If the value is explicit nil, the zero value for string will be returned

func (*BucketPolicy) GetVersionOk

func (o *BucketPolicy) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BucketPolicy) HasId

func (o *BucketPolicy) HasId() bool

HasId returns a boolean if a field has been set.

func (*BucketPolicy) HasStatement

func (o *BucketPolicy) HasStatement() bool

HasStatement returns a boolean if a field has been set.

func (*BucketPolicy) HasVersion

func (o *BucketPolicy) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (BucketPolicy) MarshalJSON

func (o BucketPolicy) MarshalJSON() ([]byte, error)

func (*BucketPolicy) SetId

func (o *BucketPolicy) SetId(v string)

SetId sets field value

func (*BucketPolicy) SetStatement

func (o *BucketPolicy) SetStatement(v []BucketPolicyStatement)

SetStatement sets field value

func (*BucketPolicy) SetVersion

func (o *BucketPolicy) SetVersion(v string)

SetVersion sets field value

type BucketPolicyCondition

type BucketPolicyCondition struct {
	XMLName         xml.Name                        `xml:"BucketPolicyCondition"`
	IpAddress       *BucketPolicyConditionIpAddress `json:"IpAddress,omitempty" xml:"IpAddress"`
	NotIpAddress    *BucketPolicyConditionIpAddress `json:"NotIpAddress,omitempty" xml:"NotIpAddress"`
	DateGreaterThan *BucketPolicyConditionDate      `json:"DateGreaterThan,omitempty" xml:"DateGreaterThan"`
	DateLessThan    *BucketPolicyConditionDate      `json:"DateLessThan,omitempty" xml:"DateLessThan"`
}

BucketPolicyCondition Conditions for when a policy is in effect. IONOS S3 Object Storage supports only the following condition operators and keys. Bucket policy does not yet support string interpolation. **Condition Operators** - `IpAddress` - `NotIpAddress` - `DateGreaterThan` - `DateLessThan` **Condition Keys** - `aws:SourceIp` - `aws:CurrentTime` - `aws:EpochTime` Only the following condition keys are supported for the `ListBucket` action: - `s3:prefix` - `s3:delimiter` - `s3:max-keys`

func NewBucketPolicyCondition

func NewBucketPolicyCondition() *BucketPolicyCondition

NewBucketPolicyCondition instantiates a new BucketPolicyCondition 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 NewBucketPolicyConditionWithDefaults

func NewBucketPolicyConditionWithDefaults() *BucketPolicyCondition

NewBucketPolicyConditionWithDefaults instantiates a new BucketPolicyCondition 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 (*BucketPolicyCondition) GetDateGreaterThan

func (o *BucketPolicyCondition) GetDateGreaterThan() *BucketPolicyConditionDate

GetDateGreaterThan returns the DateGreaterThan field value If the value is explicit nil, the zero value for BucketPolicyConditionDate will be returned

func (*BucketPolicyCondition) GetDateGreaterThanOk

func (o *BucketPolicyCondition) GetDateGreaterThanOk() (*BucketPolicyConditionDate, bool)

GetDateGreaterThanOk returns a tuple with the DateGreaterThan field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BucketPolicyCondition) GetDateLessThan

func (o *BucketPolicyCondition) GetDateLessThan() *BucketPolicyConditionDate

GetDateLessThan returns the DateLessThan field value If the value is explicit nil, the zero value for BucketPolicyConditionDate will be returned

func (*BucketPolicyCondition) GetDateLessThanOk

func (o *BucketPolicyCondition) GetDateLessThanOk() (*BucketPolicyConditionDate, bool)

GetDateLessThanOk returns a tuple with the DateLessThan field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BucketPolicyCondition) GetIpAddress

GetIpAddress returns the IpAddress field value If the value is explicit nil, the zero value for BucketPolicyConditionIpAddress will be returned

func (*BucketPolicyCondition) GetIpAddressOk

GetIpAddressOk returns a tuple with the IpAddress field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BucketPolicyCondition) GetNotIpAddress

GetNotIpAddress returns the NotIpAddress field value If the value is explicit nil, the zero value for BucketPolicyConditionIpAddress will be returned

func (*BucketPolicyCondition) GetNotIpAddressOk

func (o *BucketPolicyCondition) GetNotIpAddressOk() (*BucketPolicyConditionIpAddress, bool)

GetNotIpAddressOk returns a tuple with the NotIpAddress field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BucketPolicyCondition) HasDateGreaterThan

func (o *BucketPolicyCondition) HasDateGreaterThan() bool

HasDateGreaterThan returns a boolean if a field has been set.

func (*BucketPolicyCondition) HasDateLessThan

func (o *BucketPolicyCondition) HasDateLessThan() bool

HasDateLessThan returns a boolean if a field has been set.

func (*BucketPolicyCondition) HasIpAddress

func (o *BucketPolicyCondition) HasIpAddress() bool

HasIpAddress returns a boolean if a field has been set.

func (*BucketPolicyCondition) HasNotIpAddress

func (o *BucketPolicyCondition) HasNotIpAddress() bool

HasNotIpAddress returns a boolean if a field has been set.

func (BucketPolicyCondition) MarshalJSON

func (o BucketPolicyCondition) MarshalJSON() ([]byte, error)

func (*BucketPolicyCondition) SetDateGreaterThan

func (o *BucketPolicyCondition) SetDateGreaterThan(v BucketPolicyConditionDate)

SetDateGreaterThan sets field value

func (*BucketPolicyCondition) SetDateLessThan

func (o *BucketPolicyCondition) SetDateLessThan(v BucketPolicyConditionDate)

SetDateLessThan sets field value

func (*BucketPolicyCondition) SetIpAddress

SetIpAddress sets field value

func (*BucketPolicyCondition) SetNotIpAddress

SetNotIpAddress sets field value

type BucketPolicyConditionDate

type BucketPolicyConditionDate struct {
	XMLName        xml.Name   `xml:"BucketPolicyConditionDate"`
	AwsCurrentTime *IonosTime `json:"aws:CurrentTime,omitempty" xml:"aws:CurrentTime"`
	AwsEpochTime   *int32     `json:"aws:EpochTime,omitempty" xml:"aws:EpochTime"`
}

BucketPolicyConditionDate struct for BucketPolicyConditionDate

func NewBucketPolicyConditionDate

func NewBucketPolicyConditionDate() *BucketPolicyConditionDate

NewBucketPolicyConditionDate instantiates a new BucketPolicyConditionDate 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 NewBucketPolicyConditionDateWithDefaults

func NewBucketPolicyConditionDateWithDefaults() *BucketPolicyConditionDate

NewBucketPolicyConditionDateWithDefaults instantiates a new BucketPolicyConditionDate 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 (*BucketPolicyConditionDate) GetAwsCurrentTime

func (o *BucketPolicyConditionDate) GetAwsCurrentTime() *time.Time

GetAwsCurrentTime returns the AwsCurrentTime field value If the value is explicit nil, the zero value for time.Time will be returned

func (*BucketPolicyConditionDate) GetAwsCurrentTimeOk

func (o *BucketPolicyConditionDate) GetAwsCurrentTimeOk() (*time.Time, bool)

GetAwsCurrentTimeOk returns a tuple with the AwsCurrentTime field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BucketPolicyConditionDate) GetAwsEpochTime

func (o *BucketPolicyConditionDate) GetAwsEpochTime() *int32

GetAwsEpochTime returns the AwsEpochTime field value If the value is explicit nil, the zero value for int32 will be returned

func (*BucketPolicyConditionDate) GetAwsEpochTimeOk

func (o *BucketPolicyConditionDate) GetAwsEpochTimeOk() (*int32, bool)

GetAwsEpochTimeOk returns a tuple with the AwsEpochTime field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BucketPolicyConditionDate) HasAwsCurrentTime

func (o *BucketPolicyConditionDate) HasAwsCurrentTime() bool

HasAwsCurrentTime returns a boolean if a field has been set.

func (*BucketPolicyConditionDate) HasAwsEpochTime

func (o *BucketPolicyConditionDate) HasAwsEpochTime() bool

HasAwsEpochTime returns a boolean if a field has been set.

func (BucketPolicyConditionDate) MarshalJSON

func (o BucketPolicyConditionDate) MarshalJSON() ([]byte, error)

func (*BucketPolicyConditionDate) SetAwsCurrentTime

func (o *BucketPolicyConditionDate) SetAwsCurrentTime(v time.Time)

SetAwsCurrentTime sets field value

func (*BucketPolicyConditionDate) SetAwsEpochTime

func (o *BucketPolicyConditionDate) SetAwsEpochTime(v int32)

SetAwsEpochTime sets field value

type BucketPolicyConditionIpAddress

type BucketPolicyConditionIpAddress struct {
	XMLName     xml.Name  `xml:"BucketPolicyConditionIpAddress"`
	AwsSourceIp *[]string `json:"aws:SourceIp,omitempty" xml:"aws:SourceIp"`
}

BucketPolicyConditionIpAddress struct for BucketPolicyConditionIpAddress

func NewBucketPolicyConditionIpAddress

func NewBucketPolicyConditionIpAddress() *BucketPolicyConditionIpAddress

NewBucketPolicyConditionIpAddress instantiates a new BucketPolicyConditionIpAddress 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 NewBucketPolicyConditionIpAddressWithDefaults

func NewBucketPolicyConditionIpAddressWithDefaults() *BucketPolicyConditionIpAddress

NewBucketPolicyConditionIpAddressWithDefaults instantiates a new BucketPolicyConditionIpAddress 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 (*BucketPolicyConditionIpAddress) GetAwsSourceIp

func (o *BucketPolicyConditionIpAddress) GetAwsSourceIp() *[]string

GetAwsSourceIp returns the AwsSourceIp field value If the value is explicit nil, the zero value for []string will be returned

func (*BucketPolicyConditionIpAddress) GetAwsSourceIpOk

func (o *BucketPolicyConditionIpAddress) GetAwsSourceIpOk() (*[]string, bool)

GetAwsSourceIpOk returns a tuple with the AwsSourceIp field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BucketPolicyConditionIpAddress) HasAwsSourceIp

func (o *BucketPolicyConditionIpAddress) HasAwsSourceIp() bool

HasAwsSourceIp returns a boolean if a field has been set.

func (BucketPolicyConditionIpAddress) MarshalJSON

func (o BucketPolicyConditionIpAddress) MarshalJSON() ([]byte, error)

func (*BucketPolicyConditionIpAddress) SetAwsSourceIp

func (o *BucketPolicyConditionIpAddress) SetAwsSourceIp(v []string)

SetAwsSourceIp sets field value

type BucketPolicyStatement

type BucketPolicyStatement struct {
	XMLName xml.Name `xml:"BucketPolicyStatement"`
	// Custom string identifying the statement.
	Sid *string `json:"Sid,omitempty" xml:"Sid"`
	// The array of allowed or denied actions.   IONOS S3 Object Storage supports the use of a wildcard in your Action configuration (`\"Action\":[\"s3:*\"]`). When an Action wildcard is used together with an object-level Resource element (`\"arn:aws:s3:::<bucketName>/_*\"` or `\"arn:aws:s3:::<bucketName>/<objectName>\"`), the wildcard denotes all supported Object actions. When an Action wildcard is used together with bucket-level Resource element (`\"arn:aws:s3:::<bucketName>\"`), the wildcard denotes all the bucket actions and bucket subresource actions that IONOS S3 Object Storage supports.
	Action *[]string `json:"Action" xml:"Action"`
	// Specify the outcome when the user requests a particular action.
	Effect *string `json:"Effect" xml:"Effect"`
	// The bucket or object that the policy applies to.   Must be one of the following: - `\"arn:aws:s3:::<bucketName>\"` - For bucket actions (such as `s3:ListBucket`) and bucket subresource actions (such as `s3:GetBucketAcl`). - `\"arn:aws:s3:::<bucketName>/_*\"` or `\"arn:aws:s3:::<bucketName>/<objectName>\"` - For object actions (such as `s3:PutObject`).
	Resource  *[]string              `json:"Resource" xml:"Resource"`
	Condition *BucketPolicyCondition `json:"Condition,omitempty" xml:"Condition"`
	Principal *Principal             `json:"Principal,omitempty" xml:"Principal"`
}

BucketPolicyStatement struct for BucketPolicyStatement

func NewBucketPolicyStatement

func NewBucketPolicyStatement(action []string, effect string, resource []string) *BucketPolicyStatement

NewBucketPolicyStatement instantiates a new BucketPolicyStatement 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 NewBucketPolicyStatementWithDefaults

func NewBucketPolicyStatementWithDefaults() *BucketPolicyStatement

NewBucketPolicyStatementWithDefaults instantiates a new BucketPolicyStatement 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 (*BucketPolicyStatement) GetAction

func (o *BucketPolicyStatement) GetAction() *[]string

GetAction returns the Action field value If the value is explicit nil, the zero value for []string will be returned

func (*BucketPolicyStatement) GetActionOk

func (o *BucketPolicyStatement) GetActionOk() (*[]string, bool)

GetActionOk returns a tuple with the Action field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BucketPolicyStatement) GetCondition

func (o *BucketPolicyStatement) GetCondition() *BucketPolicyCondition

GetCondition returns the Condition field value If the value is explicit nil, the zero value for BucketPolicyCondition will be returned

func (*BucketPolicyStatement) GetConditionOk

func (o *BucketPolicyStatement) GetConditionOk() (*BucketPolicyCondition, bool)

GetConditionOk returns a tuple with the Condition field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BucketPolicyStatement) GetEffect

func (o *BucketPolicyStatement) GetEffect() *string

GetEffect returns the Effect field value If the value is explicit nil, the zero value for string will be returned

func (*BucketPolicyStatement) GetEffectOk

func (o *BucketPolicyStatement) GetEffectOk() (*string, bool)

GetEffectOk returns a tuple with the Effect field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BucketPolicyStatement) GetPrincipal

func (o *BucketPolicyStatement) GetPrincipal() *Principal

GetPrincipal returns the Principal field value If the value is explicit nil, the zero value for Principal will be returned

func (*BucketPolicyStatement) GetPrincipalOk

func (o *BucketPolicyStatement) GetPrincipalOk() (*Principal, bool)

GetPrincipalOk returns a tuple with the Principal field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BucketPolicyStatement) GetResource

func (o *BucketPolicyStatement) GetResource() *[]string

GetResource returns the Resource field value If the value is explicit nil, the zero value for []string will be returned

func (*BucketPolicyStatement) GetResourceOk

func (o *BucketPolicyStatement) GetResourceOk() (*[]string, bool)

GetResourceOk returns a tuple with the Resource field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BucketPolicyStatement) GetSid

func (o *BucketPolicyStatement) GetSid() *string

GetSid returns the Sid field value If the value is explicit nil, the zero value for string will be returned

func (*BucketPolicyStatement) GetSidOk

func (o *BucketPolicyStatement) GetSidOk() (*string, bool)

GetSidOk returns a tuple with the Sid field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BucketPolicyStatement) HasAction

func (o *BucketPolicyStatement) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*BucketPolicyStatement) HasCondition

func (o *BucketPolicyStatement) HasCondition() bool

HasCondition returns a boolean if a field has been set.

func (*BucketPolicyStatement) HasEffect

func (o *BucketPolicyStatement) HasEffect() bool

HasEffect returns a boolean if a field has been set.

func (*BucketPolicyStatement) HasPrincipal

func (o *BucketPolicyStatement) HasPrincipal() bool

HasPrincipal returns a boolean if a field has been set.

func (*BucketPolicyStatement) HasResource

func (o *BucketPolicyStatement) HasResource() bool

HasResource returns a boolean if a field has been set.

func (*BucketPolicyStatement) HasSid

func (o *BucketPolicyStatement) HasSid() bool

HasSid returns a boolean if a field has been set.

func (BucketPolicyStatement) MarshalJSON

func (o BucketPolicyStatement) MarshalJSON() ([]byte, error)

func (*BucketPolicyStatement) SetAction

func (o *BucketPolicyStatement) SetAction(v []string)

SetAction sets field value

func (*BucketPolicyStatement) SetCondition

func (o *BucketPolicyStatement) SetCondition(v BucketPolicyCondition)

SetCondition sets field value

func (*BucketPolicyStatement) SetEffect

func (o *BucketPolicyStatement) SetEffect(v string)

SetEffect sets field value

func (*BucketPolicyStatement) SetPrincipal

func (o *BucketPolicyStatement) SetPrincipal(v Principal)

SetPrincipal sets field value

func (*BucketPolicyStatement) SetResource

func (o *BucketPolicyStatement) SetResource(v []string)

SetResource sets field value

func (*BucketPolicyStatement) SetSid

func (o *BucketPolicyStatement) SetSid(v string)

SetSid sets field value

type BucketVersioningStatus added in v1.1.0

type BucketVersioningStatus string

BucketVersioningStatus The versioning state of the bucket.

const (
	BUCKETVERSIONINGSTATUS_ENABLED   BucketVersioningStatus = "Enabled"
	BUCKETVERSIONINGSTATUS_SUSPENDED BucketVersioningStatus = "Suspended"
)

List of BucketVersioningStatus

func (BucketVersioningStatus) Ptr added in v1.1.0

Ptr returns reference to BucketVersioningStatus value

func (*BucketVersioningStatus) UnmarshalJSON added in v1.1.0

func (v *BucketVersioningStatus) UnmarshalJSON(src []byte) error

type BucketsApiService

type BucketsApiService service

BucketsApiService BucketsApi service

func (*BucketsApiService) CreateBucket

func (a *BucketsApiService) CreateBucket(ctx context.Context, bucket string) ApiCreateBucketRequest

CreateBucket CreateBucket

Creates a new S3 bucket.

To create a bucket, you must register with IONOS S3 Object Storage and have a valid Access Key ID to authenticate requests.

Not every string is an acceptable bucket name. For information about bucket naming restrictions, see [Bucket naming rules](https://docs.ionos.com/cloud/managed-services/s3-object-storage/concepts/buckets#naming-conventions).

Buckets are created in the location specified in the endpoint used to make the request. Once a bucket is created, it can be accessed at that location. Any requests targeting an existing bucket using an endpoint with an incorrect location will result in a `404 NoSuchkey`.

### Permissions Any user of the contract is allowed to create a bucket. But further operations with the bucket must be allowed by [Bucket Policy](#tag/Policy/operation/PutBucketPolicy) which must be set by the contract owner or an administrator.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiCreateBucketRequest

func (*BucketsApiService) CreateBucketExecute

func (a *BucketsApiService) CreateBucketExecute(r ApiCreateBucketRequest) (*APIResponse, error)

Execute executes the request

func (*BucketsApiService) DeleteBucket

func (a *BucketsApiService) DeleteBucket(ctx context.Context, bucket string) ApiDeleteBucketRequest

DeleteBucket DeleteBucket

Deletes the bucket. All objects (including all object versions and delete markers) in the bucket must be deleted before the bucket itself can be deleted.

#### Permissions You must be the contract owner or an administrator to perform this operation. If not, they can grant you permission to perform the `s3:DeleteBucket` operation using [Bucket Policy](#tag/Policy/operation/PutBucketPolicy).

#### S3 API Compatibility - The `x-amz-expected-bucket-owner` header isn't supported.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiDeleteBucketRequest

func (*BucketsApiService) DeleteBucketExecute

func (a *BucketsApiService) DeleteBucketExecute(r ApiDeleteBucketRequest) (*APIResponse, error)

Execute executes the request

func (*BucketsApiService) GetBucketLocation

func (a *BucketsApiService) GetBucketLocation(ctx context.Context, bucket string) ApiGetBucketLocationRequest

GetBucketLocation GetBucketLocation

Returns the region the bucket resides in.

#### Permissions This operation is available for all users of the contract.

#### S3 API Compatibility - The `x-amz-expected-bucket-owner` header isn't supported.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiGetBucketLocationRequest

func (*BucketsApiService) GetBucketLocationExecute

func (a *BucketsApiService) GetBucketLocationExecute(r ApiGetBucketLocationRequest) (*BucketLocation, *APIResponse, error)

Execute executes the request

@return BucketLocation

func (*BucketsApiService) HeadBucket

func (a *BucketsApiService) HeadBucket(ctx context.Context, bucket string) ApiHeadBucketRequest

HeadBucket HeadBucket

Retrieves metadata and verifies the existence of a specific bucket. This operation checks for the presence of the specified bucket without returning the actual content of the bucket.

Bucket names are globally unique across all users of the service. If the bucket exists and the requester has permission to access it, the server returns a `200 OK` HTTP status code with no accompanying response body. If the bucket does not exist or if the requester does not have permission to access it, the server returns a relevant error code: - `403 Forbidden`: The requester does not have permission to access the bucket. - `404 Not Found`: The bucket does not exist.

#### Permissions You must be the contract owner or an administrator to perform this operation. If not, they can grant you permission to perform the `s3:ListBucket` operation using [Bucket Policy](#tag/Policy/operation/PutBucketPolicy).

#### S3 API Compatibility - The `x-amz-expected-bucket-owner` header isn't supported.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiHeadBucketRequest

func (*BucketsApiService) HeadBucketExecute

func (a *BucketsApiService) HeadBucketExecute(r ApiHeadBucketRequest) (*APIResponse, error)

Execute executes the request

func (*BucketsApiService) ListBuckets

ListBuckets ListBuckets

Lists all the buckets of the contract.

#### Permissions This operation is available for all users of the contract.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListBucketsRequest

func (*BucketsApiService) ListBucketsExecute

Execute executes the request

@return ListAllMyBucketsResult

type CORSApiService added in v1.1.0

type CORSApiService service

CORSApiService CORSApi service

func (*CORSApiService) DeleteBucketCors added in v1.1.0

func (a *CORSApiService) DeleteBucketCors(ctx context.Context, bucket string) ApiDeleteBucketCorsRequest

DeleteBucketCors DeleteBucketCors

<p>Deletes the `CORS` configuration information set for the bucket.</p> <p>To use this operation, you must have permission to perform the `PutBucketCORS` operation. The bucket owner has this permission by default and can grant this permission to others. </p> #### S3 API Compatibility - The `x-amz-expected-bucket-owner` header isn't supported.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiDeleteBucketCorsRequest

func (*CORSApiService) DeleteBucketCorsExecute added in v1.1.0

func (a *CORSApiService) DeleteBucketCorsExecute(r ApiDeleteBucketCorsRequest) (*APIResponse, error)

Execute executes the request

func (*CORSApiService) GetBucketCors added in v1.1.0

func (a *CORSApiService) GetBucketCors(ctx context.Context, bucket string) ApiGetBucketCorsRequest

GetBucketCors GetBucketCors

Returns the cors configuration information set for the bucket. To use this operation, you must have permission to perform the GetBucketCORS operation. By default, the bucket owner has this permission and can grant it to others. #### S3 API Compatibility - The `x-amz-expected-bucket-owner` header isn't supported.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiGetBucketCorsRequest

func (*CORSApiService) GetBucketCorsExecute added in v1.1.0

Execute executes the request

@return GetBucketCorsOutput

func (*CORSApiService) PutBucketCors added in v1.1.0

func (a *CORSApiService) PutBucketCors(ctx context.Context, bucket string) ApiPutBucketCorsRequest

PutBucketCors PutBucketCors

<p>Sets the `CORS` configuration for your bucket. If the configuration exists, it will be overwritten and replaced.</p> <p>To use this operation, you must be allowed to perform the `PutBucketCORS` operation. By default, the bucket owner has this permission and can grant it to others.</p> <p>You set this configuration on a bucket so that the bucket can service cross-origin requests. For example, you might want to enable a request whose origin is `http://www.example.com` to access your IONOS S3 Object Storage bucket at `my.example.bucket.com` by using the browser's `XMLHttpRequest` capability.</p> <p>To enable cross-origin resource sharing (CORS) on a bucket, you add the `cors` subresource to the bucket. The `cors` subresource is an XML document in which you configure rules that identify origins and the HTTP methods that can be executed on your bucket. The document is limited to 64 KB in size. </p> <p>When IONOS S3 Object Storage receives a cross-origin request (or a pre-flight OPTIONS request) against a bucket, it evaluates the `cors` configuration on the bucket and uses the first `CORSRule` rule that matches the incoming browser request to enable a cross-origin request. For a rule to match, the following conditions must be met:</p> <ul> <li> <p>The request's `Origin` header must match `AllowedOrigin` elements.</p> </li> <li> <p>The request method (for example, GET, PUT, HEAD, and so on) or the `Access-Control-Request-Method` header in case of a pre-flight `OPTIONS` request must be one of the `AllowedMethod` elements. </p> </li> <li> <p>Every header specified in the `Access-Control-Request-Headers` request header of a pre-flight request must match an `AllowedHeader` element. </p> </li> </ul>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiPutBucketCorsRequest

func (*CORSApiService) PutBucketCorsExecute added in v1.1.0

func (a *CORSApiService) PutBucketCorsExecute(r ApiPutBucketCorsRequest) (*APIResponse, error)

Execute executes the request

type CORSRule added in v1.1.0

type CORSRule struct {
	XMLName xml.Name `xml:"CORSRule"`
	// Container for the Contract Number of the owner.
	ID *int32 `json:"ID,omitempty" xml:"ID"`
	// Headers that are specified in the `Access-Control-Request-Headers` header. These headers are allowed in a preflight OPTIONS request. In response to any preflight OPTIONS request, IONOS S3 Object Storage returns any requested headers that are allowed.
	AllowedHeaders *[]string `json:"AllowedHeaders,omitempty" xml:"AllowedHeader"`
	// An HTTP method that you allow the origin to execute. Valid values are `GET`, `PUT`, `HEAD`, `POST`, and `DELETE`.
	AllowedMethods *[]string `json:"AllowedMethods" xml:"AllowedMethod"`
	// One or more origins you want customers to be able to access the bucket from.
	AllowedOrigins *[]string `json:"AllowedOrigins" xml:"AllowedOrigin"`
	// One or more headers in the response that you want customers to be able to access from their applications (for example, from a JavaScript `XMLHttpRequest` object).
	ExposeHeaders *[]string `json:"ExposeHeaders,omitempty" xml:"ExposeHeader"`
	// The time in seconds that your browser is to cache the preflight response for the specified resource.
	MaxAgeSeconds *int32 `json:"MaxAgeSeconds,omitempty" xml:"MaxAgeSeconds"`
}

CORSRule Specifies a cross-origin access rule for an IONOS S3 Object Storage bucket.

func NewCORSRule added in v1.1.0

func NewCORSRule(allowedMethods []string, allowedOrigins []string) *CORSRule

NewCORSRule instantiates a new CORSRule 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 NewCORSRuleWithDefaults added in v1.1.0

func NewCORSRuleWithDefaults() *CORSRule

NewCORSRuleWithDefaults instantiates a new CORSRule 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 (*CORSRule) GetAllowedHeaders added in v1.1.0

func (o *CORSRule) GetAllowedHeaders() *[]string

GetAllowedHeaders returns the AllowedHeaders field value If the value is explicit nil, the zero value for []string will be returned

func (*CORSRule) GetAllowedHeadersOk added in v1.1.0

func (o *CORSRule) GetAllowedHeadersOk() (*[]string, bool)

GetAllowedHeadersOk returns a tuple with the AllowedHeaders field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CORSRule) GetAllowedMethods added in v1.1.0

func (o *CORSRule) GetAllowedMethods() *[]string

GetAllowedMethods returns the AllowedMethods field value If the value is explicit nil, the zero value for []string will be returned

func (*CORSRule) GetAllowedMethodsOk added in v1.1.0

func (o *CORSRule) GetAllowedMethodsOk() (*[]string, bool)

GetAllowedMethodsOk returns a tuple with the AllowedMethods field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CORSRule) GetAllowedOrigins added in v1.1.0

func (o *CORSRule) GetAllowedOrigins() *[]string

GetAllowedOrigins returns the AllowedOrigins field value If the value is explicit nil, the zero value for []string will be returned

func (*CORSRule) GetAllowedOriginsOk added in v1.1.0

func (o *CORSRule) GetAllowedOriginsOk() (*[]string, bool)

GetAllowedOriginsOk returns a tuple with the AllowedOrigins field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CORSRule) GetExposeHeaders added in v1.1.0

func (o *CORSRule) GetExposeHeaders() *[]string

GetExposeHeaders returns the ExposeHeaders field value If the value is explicit nil, the zero value for []string will be returned

func (*CORSRule) GetExposeHeadersOk added in v1.1.0

func (o *CORSRule) GetExposeHeadersOk() (*[]string, bool)

GetExposeHeadersOk returns a tuple with the ExposeHeaders field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CORSRule) GetID added in v1.1.0

func (o *CORSRule) GetID() *int32

GetID returns the ID field value If the value is explicit nil, the zero value for int32 will be returned

func (*CORSRule) GetIDOk added in v1.1.0

func (o *CORSRule) GetIDOk() (*int32, bool)

GetIDOk returns a tuple with the ID field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CORSRule) GetMaxAgeSeconds added in v1.1.0

func (o *CORSRule) GetMaxAgeSeconds() *int32

GetMaxAgeSeconds returns the MaxAgeSeconds field value If the value is explicit nil, the zero value for int32 will be returned

func (*CORSRule) GetMaxAgeSecondsOk added in v1.1.0

func (o *CORSRule) GetMaxAgeSecondsOk() (*int32, bool)

GetMaxAgeSecondsOk returns a tuple with the MaxAgeSeconds field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CORSRule) HasAllowedHeaders added in v1.1.0

func (o *CORSRule) HasAllowedHeaders() bool

HasAllowedHeaders returns a boolean if a field has been set.

func (*CORSRule) HasAllowedMethods added in v1.1.0

func (o *CORSRule) HasAllowedMethods() bool

HasAllowedMethods returns a boolean if a field has been set.

func (*CORSRule) HasAllowedOrigins added in v1.1.0

func (o *CORSRule) HasAllowedOrigins() bool

HasAllowedOrigins returns a boolean if a field has been set.

func (*CORSRule) HasExposeHeaders added in v1.1.0

func (o *CORSRule) HasExposeHeaders() bool

HasExposeHeaders returns a boolean if a field has been set.

func (*CORSRule) HasID added in v1.1.0

func (o *CORSRule) HasID() bool

HasID returns a boolean if a field has been set.

func (*CORSRule) HasMaxAgeSeconds added in v1.1.0

func (o *CORSRule) HasMaxAgeSeconds() bool

HasMaxAgeSeconds returns a boolean if a field has been set.

func (CORSRule) MarshalJSON added in v1.1.0

func (o CORSRule) MarshalJSON() ([]byte, error)

func (*CORSRule) SetAllowedHeaders added in v1.1.0

func (o *CORSRule) SetAllowedHeaders(v []string)

SetAllowedHeaders sets field value

func (*CORSRule) SetAllowedMethods added in v1.1.0

func (o *CORSRule) SetAllowedMethods(v []string)

SetAllowedMethods sets field value

func (*CORSRule) SetAllowedOrigins added in v1.1.0

func (o *CORSRule) SetAllowedOrigins(v []string)

SetAllowedOrigins sets field value

func (*CORSRule) SetExposeHeaders added in v1.1.0

func (o *CORSRule) SetExposeHeaders(v []string)

SetExposeHeaders sets field value

func (*CORSRule) SetID added in v1.1.0

func (o *CORSRule) SetID(v int32)

SetID sets field value

func (*CORSRule) SetMaxAgeSeconds added in v1.1.0

func (o *CORSRule) SetMaxAgeSeconds(v int32)

SetMaxAgeSeconds sets field value

type CSVInput added in v1.1.0

type CSVInput struct {
	XMLName xml.Name `xml:"CSVInput"`
	// <p>Describes the first line of input. Valid values are:</p> <ul> <li> <p> `NONE`: First line is not a header.</p> </li> <li> <p> `IGNORE`: First line is a header, but you can't use the header values to indicate the column in an expression. You can use column position (such as _1, _2, …) to indicate the column (`SELECT s._1 FROM OBJECT s`).</p> </li> <li> <p> `Use`: First line is a header, and you can use the header value to identify a column in an expression (`SELECT \"name\" FROM OBJECT`). </p> </li> </ul>
	FileHeaderInfo *string `json:"FileHeaderInfo,omitempty" xml:"FileHeaderInfo"`
	// A single character used to indicate that a row should be ignored when the character is present at the start of that row. You can specify any character to indicate a comment line.
	Comments *string `json:"Comments,omitempty" xml:"Comments"`
	// A single character used for escaping the quotation mark character inside an already escaped value. For example, the value \"\"\" a , b \"\"\" is parsed as \" a , b \".
	QuoteEscapeCharacter *string `json:"QuoteEscapeCharacter,omitempty" xml:"QuoteEscapeCharacter"`
	// A single character used to separate individual records in the input. Instead of the default value, you can specify an arbitrary delimiter.
	RecordDelimiter *string `json:"RecordDelimiter,omitempty" xml:"RecordDelimiter"`
	// A single character used to separate individual fields in a record. You can specify an arbitrary delimiter.
	FieldDelimiter *string `json:"FieldDelimiter,omitempty" xml:"FieldDelimiter"`
	// <p>A single character used for escaping when the field delimiter is part of the value. For example, if the value is `a, b`, IONOS S3 Object Storage wraps this field value in quotation marks, as follows: `\" a , b \"`.</p> <p>Type: String</p> <p>Default: `\"` </p> <p>Ancestors: `CSV` </p>
	QuoteCharacter *string `json:"QuoteCharacter,omitempty" xml:"QuoteCharacter"`
	// Specifies that CSV field values may contain quoted record delimiters and such records should be allowed. Default value is FALSE. Setting this value to TRUE may lower performance.
	AllowQuotedRecordDelimiter *bool `json:"AllowQuotedRecordDelimiter,omitempty" xml:"AllowQuotedRecordDelimiter"`
}

CSVInput Describes how an uncompressed comma-separated values (CSV)-formatted input object is formatted.

func NewCSVInput added in v1.1.0

func NewCSVInput() *CSVInput

NewCSVInput instantiates a new CSVInput 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 NewCSVInputWithDefaults added in v1.1.0

func NewCSVInputWithDefaults() *CSVInput

NewCSVInputWithDefaults instantiates a new CSVInput 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 (*CSVInput) GetAllowQuotedRecordDelimiter added in v1.1.0

func (o *CSVInput) GetAllowQuotedRecordDelimiter() *bool

GetAllowQuotedRecordDelimiter returns the AllowQuotedRecordDelimiter field value If the value is explicit nil, the zero value for bool will be returned

func (*CSVInput) GetAllowQuotedRecordDelimiterOk added in v1.1.0

func (o *CSVInput) GetAllowQuotedRecordDelimiterOk() (*bool, bool)

GetAllowQuotedRecordDelimiterOk returns a tuple with the AllowQuotedRecordDelimiter field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CSVInput) GetComments added in v1.1.0

func (o *CSVInput) GetComments() *string

GetComments returns the Comments field value If the value is explicit nil, the zero value for string will be returned

func (*CSVInput) GetCommentsOk added in v1.1.0

func (o *CSVInput) GetCommentsOk() (*string, bool)

GetCommentsOk returns a tuple with the Comments field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CSVInput) GetFieldDelimiter added in v1.1.0

func (o *CSVInput) GetFieldDelimiter() *string

GetFieldDelimiter returns the FieldDelimiter field value If the value is explicit nil, the zero value for string will be returned

func (*CSVInput) GetFieldDelimiterOk added in v1.1.0

func (o *CSVInput) GetFieldDelimiterOk() (*string, bool)

GetFieldDelimiterOk returns a tuple with the FieldDelimiter field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CSVInput) GetFileHeaderInfo added in v1.1.0

func (o *CSVInput) GetFileHeaderInfo() *string

GetFileHeaderInfo returns the FileHeaderInfo field value If the value is explicit nil, the zero value for string will be returned

func (*CSVInput) GetFileHeaderInfoOk added in v1.1.0

func (o *CSVInput) GetFileHeaderInfoOk() (*string, bool)

GetFileHeaderInfoOk returns a tuple with the FileHeaderInfo field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CSVInput) GetQuoteCharacter added in v1.1.0

func (o *CSVInput) GetQuoteCharacter() *string

GetQuoteCharacter returns the QuoteCharacter field value If the value is explicit nil, the zero value for string will be returned

func (*CSVInput) GetQuoteCharacterOk added in v1.1.0

func (o *CSVInput) GetQuoteCharacterOk() (*string, bool)

GetQuoteCharacterOk returns a tuple with the QuoteCharacter field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CSVInput) GetQuoteEscapeCharacter added in v1.1.0

func (o *CSVInput) GetQuoteEscapeCharacter() *string

GetQuoteEscapeCharacter returns the QuoteEscapeCharacter field value If the value is explicit nil, the zero value for string will be returned

func (*CSVInput) GetQuoteEscapeCharacterOk added in v1.1.0

func (o *CSVInput) GetQuoteEscapeCharacterOk() (*string, bool)

GetQuoteEscapeCharacterOk returns a tuple with the QuoteEscapeCharacter field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CSVInput) GetRecordDelimiter added in v1.1.0

func (o *CSVInput) GetRecordDelimiter() *string

GetRecordDelimiter returns the RecordDelimiter field value If the value is explicit nil, the zero value for string will be returned

func (*CSVInput) GetRecordDelimiterOk added in v1.1.0

func (o *CSVInput) GetRecordDelimiterOk() (*string, bool)

GetRecordDelimiterOk returns a tuple with the RecordDelimiter field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CSVInput) HasAllowQuotedRecordDelimiter added in v1.1.0

func (o *CSVInput) HasAllowQuotedRecordDelimiter() bool

HasAllowQuotedRecordDelimiter returns a boolean if a field has been set.

func (*CSVInput) HasComments added in v1.1.0

func (o *CSVInput) HasComments() bool

HasComments returns a boolean if a field has been set.

func (*CSVInput) HasFieldDelimiter added in v1.1.0

func (o *CSVInput) HasFieldDelimiter() bool

HasFieldDelimiter returns a boolean if a field has been set.

func (*CSVInput) HasFileHeaderInfo added in v1.1.0

func (o *CSVInput) HasFileHeaderInfo() bool

HasFileHeaderInfo returns a boolean if a field has been set.

func (*CSVInput) HasQuoteCharacter added in v1.1.0

func (o *CSVInput) HasQuoteCharacter() bool

HasQuoteCharacter returns a boolean if a field has been set.

func (*CSVInput) HasQuoteEscapeCharacter added in v1.1.0

func (o *CSVInput) HasQuoteEscapeCharacter() bool

HasQuoteEscapeCharacter returns a boolean if a field has been set.

func (*CSVInput) HasRecordDelimiter added in v1.1.0

func (o *CSVInput) HasRecordDelimiter() bool

HasRecordDelimiter returns a boolean if a field has been set.

func (CSVInput) MarshalJSON added in v1.1.0

func (o CSVInput) MarshalJSON() ([]byte, error)

func (*CSVInput) SetAllowQuotedRecordDelimiter added in v1.1.0

func (o *CSVInput) SetAllowQuotedRecordDelimiter(v bool)

SetAllowQuotedRecordDelimiter sets field value

func (*CSVInput) SetComments added in v1.1.0

func (o *CSVInput) SetComments(v string)

SetComments sets field value

func (*CSVInput) SetFieldDelimiter added in v1.1.0

func (o *CSVInput) SetFieldDelimiter(v string)

SetFieldDelimiter sets field value

func (*CSVInput) SetFileHeaderInfo added in v1.1.0

func (o *CSVInput) SetFileHeaderInfo(v string)

SetFileHeaderInfo sets field value

func (*CSVInput) SetQuoteCharacter added in v1.1.0

func (o *CSVInput) SetQuoteCharacter(v string)

SetQuoteCharacter sets field value

func (*CSVInput) SetQuoteEscapeCharacter added in v1.1.0

func (o *CSVInput) SetQuoteEscapeCharacter(v string)

SetQuoteEscapeCharacter sets field value

func (*CSVInput) SetRecordDelimiter added in v1.1.0

func (o *CSVInput) SetRecordDelimiter(v string)

SetRecordDelimiter sets field value

type CSVOutput added in v1.1.0

type CSVOutput struct {
	XMLName xml.Name `xml:"CSVOutput"`
	// <p>Indicates whether to use quotation marks around output fields. </p> <ul> <li> <p> `ALWAYS`: Always use quotation marks for output fields.</p> </li> <li> <p> `ASNEEDED`: Use quotation marks for output fields when needed.</p> </li> </ul>
	QuoteFields *string `json:"QuoteFields,omitempty" xml:"QuoteFields"`
	// The single character used for escaping the quote character inside an already escaped value.
	QuoteEscapeCharacter *string `json:"QuoteEscapeCharacter,omitempty" xml:"QuoteEscapeCharacter"`
	// A single character used to separate individual records in the output. Instead of the default value, you can specify an arbitrary delimiter.
	RecordDelimiter *string `json:"RecordDelimiter,omitempty" xml:"RecordDelimiter"`
	// The value used to separate individual fields in a record. You can specify an arbitrary delimiter.
	FieldDelimiter *interface{} `json:"FieldDelimiter,omitempty" xml:"FieldDelimiter"`
	// A single character used for escaping when the field delimiter is part of the value. For example, if the value is `a, b`, IONOS S3 Object Storage wraps this field value in quotation marks, as follows: `\" a , b \"`.
	QuoteCharacter *string `json:"QuoteCharacter,omitempty" xml:"QuoteCharacter"`
}

CSVOutput Describes how uncompressed comma-separated values (CSV)-formatted results are formatted.

func NewCSVOutput added in v1.1.0

func NewCSVOutput() *CSVOutput

NewCSVOutput instantiates a new CSVOutput 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 NewCSVOutputWithDefaults added in v1.1.0

func NewCSVOutputWithDefaults() *CSVOutput

NewCSVOutputWithDefaults instantiates a new CSVOutput 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 (*CSVOutput) GetFieldDelimiter added in v1.1.0

func (o *CSVOutput) GetFieldDelimiter() *interface{}

GetFieldDelimiter returns the FieldDelimiter field value If the value is explicit nil, the zero value for interface{} will be returned

func (*CSVOutput) GetFieldDelimiterOk added in v1.1.0

func (o *CSVOutput) GetFieldDelimiterOk() (*interface{}, bool)

GetFieldDelimiterOk returns a tuple with the FieldDelimiter field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CSVOutput) GetQuoteCharacter added in v1.1.0

func (o *CSVOutput) GetQuoteCharacter() *string

GetQuoteCharacter returns the QuoteCharacter field value If the value is explicit nil, the zero value for string will be returned

func (*CSVOutput) GetQuoteCharacterOk added in v1.1.0

func (o *CSVOutput) GetQuoteCharacterOk() (*string, bool)

GetQuoteCharacterOk returns a tuple with the QuoteCharacter field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CSVOutput) GetQuoteEscapeCharacter added in v1.1.0

func (o *CSVOutput) GetQuoteEscapeCharacter() *string

GetQuoteEscapeCharacter returns the QuoteEscapeCharacter field value If the value is explicit nil, the zero value for string will be returned

func (*CSVOutput) GetQuoteEscapeCharacterOk added in v1.1.0

func (o *CSVOutput) GetQuoteEscapeCharacterOk() (*string, bool)

GetQuoteEscapeCharacterOk returns a tuple with the QuoteEscapeCharacter field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CSVOutput) GetQuoteFields added in v1.1.0

func (o *CSVOutput) GetQuoteFields() *string

GetQuoteFields returns the QuoteFields field value If the value is explicit nil, the zero value for string will be returned

func (*CSVOutput) GetQuoteFieldsOk added in v1.1.0

func (o *CSVOutput) GetQuoteFieldsOk() (*string, bool)

GetQuoteFieldsOk returns a tuple with the QuoteFields field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CSVOutput) GetRecordDelimiter added in v1.1.0

func (o *CSVOutput) GetRecordDelimiter() *string

GetRecordDelimiter returns the RecordDelimiter field value If the value is explicit nil, the zero value for string will be returned

func (*CSVOutput) GetRecordDelimiterOk added in v1.1.0

func (o *CSVOutput) GetRecordDelimiterOk() (*string, bool)

GetRecordDelimiterOk returns a tuple with the RecordDelimiter field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CSVOutput) HasFieldDelimiter added in v1.1.0

func (o *CSVOutput) HasFieldDelimiter() bool

HasFieldDelimiter returns a boolean if a field has been set.

func (*CSVOutput) HasQuoteCharacter added in v1.1.0

func (o *CSVOutput) HasQuoteCharacter() bool

HasQuoteCharacter returns a boolean if a field has been set.

func (*CSVOutput) HasQuoteEscapeCharacter added in v1.1.0

func (o *CSVOutput) HasQuoteEscapeCharacter() bool

HasQuoteEscapeCharacter returns a boolean if a field has been set.

func (*CSVOutput) HasQuoteFields added in v1.1.0

func (o *CSVOutput) HasQuoteFields() bool

HasQuoteFields returns a boolean if a field has been set.

func (*CSVOutput) HasRecordDelimiter added in v1.1.0

func (o *CSVOutput) HasRecordDelimiter() bool

HasRecordDelimiter returns a boolean if a field has been set.

func (CSVOutput) MarshalJSON added in v1.1.0

func (o CSVOutput) MarshalJSON() ([]byte, error)

func (*CSVOutput) SetFieldDelimiter added in v1.1.0

func (o *CSVOutput) SetFieldDelimiter(v interface{})

SetFieldDelimiter sets field value

func (*CSVOutput) SetQuoteCharacter added in v1.1.0

func (o *CSVOutput) SetQuoteCharacter(v string)

SetQuoteCharacter sets field value

func (*CSVOutput) SetQuoteEscapeCharacter added in v1.1.0

func (o *CSVOutput) SetQuoteEscapeCharacter(v string)

SetQuoteEscapeCharacter sets field value

func (*CSVOutput) SetQuoteFields added in v1.1.0

func (o *CSVOutput) SetQuoteFields(v string)

SetQuoteFields sets field value

func (*CSVOutput) SetRecordDelimiter added in v1.1.0

func (o *CSVOutput) SetRecordDelimiter(v string)

SetRecordDelimiter sets field value

type CommonPrefix

type CommonPrefix struct {
	XMLName xml.Name `xml:"CommonPrefixes"`
	// 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.
	Prefix *string `json:"Prefix,omitempty" xml:"Prefix"`
}

CommonPrefix Container for all (if there are any) keys between Prefix and the next occurrence of the string specified by a delimiter. CommonPrefixes lists keys that act like subdirectories in the directory specified by Prefix. For example, if the prefix is `notes/` and the delimiter is a slash (`/“) as in `notes/summer/july“, the common prefix is `notes/summer/“.

func NewCommonPrefix

func NewCommonPrefix() *CommonPrefix

NewCommonPrefix instantiates a new CommonPrefix 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 NewCommonPrefixWithDefaults

func NewCommonPrefixWithDefaults() *CommonPrefix

NewCommonPrefixWithDefaults instantiates a new CommonPrefix 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 (*CommonPrefix) GetPrefix

func (o *CommonPrefix) GetPrefix() *string

GetPrefix returns the Prefix field value If the value is explicit nil, the zero value for string will be returned

func (*CommonPrefix) GetPrefixOk

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

GetPrefixOk returns a tuple with the Prefix field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CommonPrefix) HasPrefix

func (o *CommonPrefix) HasPrefix() bool

HasPrefix returns a boolean if a field has been set.

func (CommonPrefix) MarshalJSON

func (o CommonPrefix) MarshalJSON() ([]byte, error)

func (*CommonPrefix) SetPrefix

func (o *CommonPrefix) SetPrefix(v string)

SetPrefix sets field value

type CompleteMultipartUploadOutput added in v1.1.0

type CompleteMultipartUploadOutput struct {
	XMLName xml.Name `xml:"CompleteMultipartUploadOutput"`
	// The URI that identifies the newly created object.
	Location *string `json:"Location,omitempty" xml:"Location"`
	// The bucket name.
	Bucket *string `json:"Bucket,omitempty" xml:"Name"`
	// The object key.
	Key *string `json:"Key,omitempty" xml:"Key"`
	// Entity tag that identifies the object's data. Objects with different object data will have different entity tags. The entity tag is an opaque string. The entity tag may or may not be an MD5 digest of the object data. If the entity tag is not an MD5 digest of the object data, it will contain one or more nonhexadecimal characters and/or will consist of less than 32 or more than 32 hexadecimal digits.
	ETag *string `json:"ETag,omitempty" xml:"ETag"`
}

CompleteMultipartUploadOutput struct for CompleteMultipartUploadOutput

func NewCompleteMultipartUploadOutput added in v1.1.0

func NewCompleteMultipartUploadOutput() *CompleteMultipartUploadOutput

NewCompleteMultipartUploadOutput instantiates a new CompleteMultipartUploadOutput 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 NewCompleteMultipartUploadOutputWithDefaults added in v1.1.0

func NewCompleteMultipartUploadOutputWithDefaults() *CompleteMultipartUploadOutput

NewCompleteMultipartUploadOutputWithDefaults instantiates a new CompleteMultipartUploadOutput 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 (*CompleteMultipartUploadOutput) GetBucket added in v1.1.0

func (o *CompleteMultipartUploadOutput) GetBucket() *string

GetBucket returns the Bucket field value If the value is explicit nil, the zero value for string will be returned

func (*CompleteMultipartUploadOutput) GetBucketOk added in v1.1.0

func (o *CompleteMultipartUploadOutput) GetBucketOk() (*string, bool)

GetBucketOk returns a tuple with the Bucket field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CompleteMultipartUploadOutput) GetETag added in v1.1.0

func (o *CompleteMultipartUploadOutput) GetETag() *string

GetETag returns the ETag field value If the value is explicit nil, the zero value for string will be returned

func (*CompleteMultipartUploadOutput) GetETagOk added in v1.1.0

func (o *CompleteMultipartUploadOutput) GetETagOk() (*string, bool)

GetETagOk returns a tuple with the ETag field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CompleteMultipartUploadOutput) GetKey added in v1.1.0

GetKey returns the Key field value If the value is explicit nil, the zero value for string will be returned

func (*CompleteMultipartUploadOutput) GetKeyOk added in v1.1.0

func (o *CompleteMultipartUploadOutput) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CompleteMultipartUploadOutput) GetLocation added in v1.1.0

func (o *CompleteMultipartUploadOutput) GetLocation() *string

GetLocation returns the Location field value If the value is explicit nil, the zero value for string will be returned

func (*CompleteMultipartUploadOutput) GetLocationOk added in v1.1.0

func (o *CompleteMultipartUploadOutput) GetLocationOk() (*string, bool)

GetLocationOk returns a tuple with the Location field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CompleteMultipartUploadOutput) HasBucket added in v1.1.0

func (o *CompleteMultipartUploadOutput) HasBucket() bool

HasBucket returns a boolean if a field has been set.

func (*CompleteMultipartUploadOutput) HasETag added in v1.1.0

func (o *CompleteMultipartUploadOutput) HasETag() bool

HasETag returns a boolean if a field has been set.

func (*CompleteMultipartUploadOutput) HasKey added in v1.1.0

func (o *CompleteMultipartUploadOutput) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*CompleteMultipartUploadOutput) HasLocation added in v1.1.0

func (o *CompleteMultipartUploadOutput) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (CompleteMultipartUploadOutput) MarshalJSON added in v1.1.0

func (o CompleteMultipartUploadOutput) MarshalJSON() ([]byte, error)

func (*CompleteMultipartUploadOutput) SetBucket added in v1.1.0

func (o *CompleteMultipartUploadOutput) SetBucket(v string)

SetBucket sets field value

func (*CompleteMultipartUploadOutput) SetETag added in v1.1.0

func (o *CompleteMultipartUploadOutput) SetETag(v string)

SetETag sets field value

func (*CompleteMultipartUploadOutput) SetKey added in v1.1.0

SetKey sets field value

func (*CompleteMultipartUploadOutput) SetLocation added in v1.1.0

func (o *CompleteMultipartUploadOutput) SetLocation(v string)

SetLocation sets field value

type CompletedPart added in v1.1.0

type CompletedPart struct {
	XMLName xml.Name `xml:"CompletedPart"`
	// Entity tag that identifies the object's data. Objects with different object data will have different entity tags. The entity tag is an opaque string. The entity tag may or may not be an MD5 digest of the object data. If the entity tag is not an MD5 digest of the object data, it will contain one or more nonhexadecimal characters and/or will consist of less than 32 or more than 32 hexadecimal digits.
	ETag *string `json:"ETag,omitempty" xml:"ETag"`
	// Part number that identifies the part.
	PartNumber *int32 `json:"PartNumber,omitempty" xml:"PartNumber"`
}

CompletedPart Details of the parts that were uploaded.

func NewCompletedPart added in v1.1.0

func NewCompletedPart() *CompletedPart

NewCompletedPart instantiates a new CompletedPart 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 NewCompletedPartWithDefaults added in v1.1.0

func NewCompletedPartWithDefaults() *CompletedPart

NewCompletedPartWithDefaults instantiates a new CompletedPart 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 (*CompletedPart) GetETag added in v1.1.0

func (o *CompletedPart) GetETag() *string

GetETag returns the ETag field value If the value is explicit nil, the zero value for string will be returned

func (*CompletedPart) GetETagOk added in v1.1.0

func (o *CompletedPart) GetETagOk() (*string, bool)

GetETagOk returns a tuple with the ETag field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CompletedPart) GetPartNumber added in v1.1.0

func (o *CompletedPart) GetPartNumber() *int32

GetPartNumber returns the PartNumber field value If the value is explicit nil, the zero value for int32 will be returned

func (*CompletedPart) GetPartNumberOk added in v1.1.0

func (o *CompletedPart) GetPartNumberOk() (*int32, bool)

GetPartNumberOk returns a tuple with the PartNumber field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CompletedPart) HasETag added in v1.1.0

func (o *CompletedPart) HasETag() bool

HasETag returns a boolean if a field has been set.

func (*CompletedPart) HasPartNumber added in v1.1.0

func (o *CompletedPart) HasPartNumber() bool

HasPartNumber returns a boolean if a field has been set.

func (CompletedPart) MarshalJSON added in v1.1.0

func (o CompletedPart) MarshalJSON() ([]byte, error)

func (*CompletedPart) SetETag added in v1.1.0

func (o *CompletedPart) SetETag(v string)

SetETag sets field value

func (*CompletedPart) SetPartNumber added in v1.1.0

func (o *CompletedPart) SetPartNumber(v int32)

SetPartNumber sets field value

type Configuration

type Configuration struct {
	Host                string            `json:"host,omitempty"`
	Scheme              string            `json:"scheme,omitempty"`
	DefaultHeader       map[string]string `json:"defaultHeader,omitempty"`
	UserAgent           string            `json:"userAgent,omitempty"`
	Debug               bool              `json:"debug,omitempty"`
	Servers             ServerConfigurations
	OperationServers    map[string]ServerConfigurations
	HTTPClient          *http.Client
	Middleware          MiddlewareFunction
	MiddlewareWithError MiddlewareFunctionWithError
	ResponseMiddleware  ResponseMiddlewareFunction
	MaxRetries          int           `json:"maxRetries,omitempty"`
	WaitTime            time.Duration `json:"waitTime,omitempty"`
	MaxWaitTime         time.Duration `json:"maxWaitTime,omitempty"`
	LogLevel            LogLevel
	Logger              Logger
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func NewConfigurationFromEnv

func NewConfigurationFromEnv() *Configuration

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type CopyObjectRequest

type CopyObjectRequest struct {
	XMLName xml.Name `xml:"CopyObjectRequest"`
	// A map of metadata to store with the object in S3.
	XAmzMeta *map[string]string `json:"x-amz-meta-,omitempty" xml:"x-amz-meta-"`
}

CopyObjectRequest struct for CopyObjectRequest

func NewCopyObjectRequest

func NewCopyObjectRequest() *CopyObjectRequest

NewCopyObjectRequest instantiates a new CopyObjectRequest 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 NewCopyObjectRequestWithDefaults

func NewCopyObjectRequestWithDefaults() *CopyObjectRequest

NewCopyObjectRequestWithDefaults instantiates a new CopyObjectRequest 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 (*CopyObjectRequest) GetXAmzMeta

func (o *CopyObjectRequest) GetXAmzMeta() *map[string]string

GetXAmzMeta returns the XAmzMeta field value If the value is explicit nil, the zero value for map[string]string will be returned

func (*CopyObjectRequest) GetXAmzMetaOk

func (o *CopyObjectRequest) GetXAmzMetaOk() (*map[string]string, bool)

GetXAmzMetaOk returns a tuple with the XAmzMeta field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CopyObjectRequest) HasXAmzMeta

func (o *CopyObjectRequest) HasXAmzMeta() bool

HasXAmzMeta returns a boolean if a field has been set.

func (CopyObjectRequest) MarshalJSON

func (o CopyObjectRequest) MarshalJSON() ([]byte, error)

func (*CopyObjectRequest) SetXAmzMeta

func (o *CopyObjectRequest) SetXAmzMeta(v map[string]string)

SetXAmzMeta sets field value

type CopyObjectResult

type CopyObjectResult struct {
	XMLName xml.Name `xml:"CopyObjectResult"`
	// Entity tag that identifies the object's data. Objects with different object data will have different entity tags. The entity tag is an opaque string. The entity tag may or may not be an MD5 digest of the object data. If the entity tag is not an MD5 digest of the object data, it will contain one or more nonhexadecimal characters and/or will consist of less than 32 or more than 32 hexadecimal digits.
	ETag *string `json:"ETag,omitempty" xml:"ETag"`
	// Creation date of the object.
	LastModified *IonosTime `json:"LastModified,omitempty" xml:"LastModified"`
}

CopyObjectResult Container for all response elements.

func NewCopyObjectResult

func NewCopyObjectResult() *CopyObjectResult

NewCopyObjectResult instantiates a new CopyObjectResult 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 NewCopyObjectResultWithDefaults

func NewCopyObjectResultWithDefaults() *CopyObjectResult

NewCopyObjectResultWithDefaults instantiates a new CopyObjectResult 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 (*CopyObjectResult) GetETag

func (o *CopyObjectResult) GetETag() *string

GetETag returns the ETag field value If the value is explicit nil, the zero value for string will be returned

func (*CopyObjectResult) GetETagOk

func (o *CopyObjectResult) GetETagOk() (*string, bool)

GetETagOk returns a tuple with the ETag field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CopyObjectResult) GetLastModified

func (o *CopyObjectResult) GetLastModified() *time.Time

GetLastModified returns the LastModified field value If the value is explicit nil, the zero value for time.Time will be returned

func (*CopyObjectResult) GetLastModifiedOk

func (o *CopyObjectResult) GetLastModifiedOk() (*time.Time, bool)

GetLastModifiedOk returns a tuple with the LastModified field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CopyObjectResult) HasETag

func (o *CopyObjectResult) HasETag() bool

HasETag returns a boolean if a field has been set.

func (*CopyObjectResult) HasLastModified

func (o *CopyObjectResult) HasLastModified() bool

HasLastModified returns a boolean if a field has been set.

func (CopyObjectResult) MarshalJSON

func (o CopyObjectResult) MarshalJSON() ([]byte, error)

func (*CopyObjectResult) SetETag

func (o *CopyObjectResult) SetETag(v string)

SetETag sets field value

func (*CopyObjectResult) SetLastModified

func (o *CopyObjectResult) SetLastModified(v time.Time)

SetLastModified sets field value

type CopyPartResult added in v1.1.0

type CopyPartResult struct {
	XMLName xml.Name `xml:"CopyPartResult"`
	// Entity tag that identifies the object's data. Objects with different object data will have different entity tags. The entity tag is an opaque string. The entity tag may or may not be an MD5 digest of the object data. If the entity tag is not an MD5 digest of the object data, it will contain one or more nonhexadecimal characters and/or will consist of less than 32 or more than 32 hexadecimal digits.
	ETag *string `json:"ETag,omitempty" xml:"ETag"`
	// Creation date of the object.
	LastModified *IonosTime `json:"LastModified,omitempty" xml:"LastModified"`
}

CopyPartResult Container for all response elements.

func NewCopyPartResult added in v1.1.0

func NewCopyPartResult() *CopyPartResult

NewCopyPartResult instantiates a new CopyPartResult 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 NewCopyPartResultWithDefaults added in v1.1.0

func NewCopyPartResultWithDefaults() *CopyPartResult

NewCopyPartResultWithDefaults instantiates a new CopyPartResult 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 (*CopyPartResult) GetETag added in v1.1.0

func (o *CopyPartResult) GetETag() *string

GetETag returns the ETag field value If the value is explicit nil, the zero value for string will be returned

func (*CopyPartResult) GetETagOk added in v1.1.0

func (o *CopyPartResult) GetETagOk() (*string, bool)

GetETagOk returns a tuple with the ETag field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CopyPartResult) GetLastModified added in v1.1.0

func (o *CopyPartResult) GetLastModified() *time.Time

GetLastModified returns the LastModified field value If the value is explicit nil, the zero value for time.Time will be returned

func (*CopyPartResult) GetLastModifiedOk added in v1.1.0

func (o *CopyPartResult) GetLastModifiedOk() (*time.Time, bool)

GetLastModifiedOk returns a tuple with the LastModified field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CopyPartResult) HasETag added in v1.1.0

func (o *CopyPartResult) HasETag() bool

HasETag returns a boolean if a field has been set.

func (*CopyPartResult) HasLastModified added in v1.1.0

func (o *CopyPartResult) HasLastModified() bool

HasLastModified returns a boolean if a field has been set.

func (CopyPartResult) MarshalJSON added in v1.1.0

func (o CopyPartResult) MarshalJSON() ([]byte, error)

func (*CopyPartResult) SetETag added in v1.1.0

func (o *CopyPartResult) SetETag(v string)

SetETag sets field value

func (*CopyPartResult) SetLastModified added in v1.1.0

func (o *CopyPartResult) SetLastModified(v time.Time)

SetLastModified sets field value

type CreateBucketConfiguration

type CreateBucketConfiguration struct {
	XMLName xml.Name `xml:"CreateBucketConfiguration"`
	// Specifies the Region where the bucket will be created. Please refer to the <a href=\"#section/Endpoints\">list of available regions</a>.
	LocationConstraint *string `json:"LocationConstraint,omitempty" xml:"LocationConstraint"`
}

CreateBucketConfiguration The configuration information for the bucket.

func NewCreateBucketConfiguration

func NewCreateBucketConfiguration() *CreateBucketConfiguration

NewCreateBucketConfiguration instantiates a new CreateBucketConfiguration 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 NewCreateBucketConfigurationWithDefaults

func NewCreateBucketConfigurationWithDefaults() *CreateBucketConfiguration

NewCreateBucketConfigurationWithDefaults instantiates a new CreateBucketConfiguration 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 (*CreateBucketConfiguration) GetLocationConstraint

func (o *CreateBucketConfiguration) GetLocationConstraint() *string

GetLocationConstraint returns the LocationConstraint field value If the value is explicit nil, the zero value for string will be returned

func (*CreateBucketConfiguration) GetLocationConstraintOk

func (o *CreateBucketConfiguration) GetLocationConstraintOk() (*string, bool)

GetLocationConstraintOk returns a tuple with the LocationConstraint field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateBucketConfiguration) HasLocationConstraint

func (o *CreateBucketConfiguration) HasLocationConstraint() bool

HasLocationConstraint returns a boolean if a field has been set.

func (CreateBucketConfiguration) MarshalJSON

func (o CreateBucketConfiguration) MarshalJSON() ([]byte, error)

func (*CreateBucketConfiguration) SetLocationConstraint

func (o *CreateBucketConfiguration) SetLocationConstraint(v string)

SetLocationConstraint sets field value

type CreateMultipartUploadOutput added in v1.1.0

type CreateMultipartUploadOutput struct {
	XMLName xml.Name `xml:"CreateMultipartUploadOutput"`
	// The bucket name.
	Bucket *string `json:"Bucket,omitempty" xml:"Name"`
	// The object key.
	Key *string `json:"Key,omitempty" xml:"Key"`
	// ID of the multipart upload.
	UploadId *string `json:"UploadId,omitempty" xml:"UploadId"`
}

CreateMultipartUploadOutput struct for CreateMultipartUploadOutput

func NewCreateMultipartUploadOutput added in v1.1.0

func NewCreateMultipartUploadOutput() *CreateMultipartUploadOutput

NewCreateMultipartUploadOutput instantiates a new CreateMultipartUploadOutput 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 NewCreateMultipartUploadOutputWithDefaults added in v1.1.0

func NewCreateMultipartUploadOutputWithDefaults() *CreateMultipartUploadOutput

NewCreateMultipartUploadOutputWithDefaults instantiates a new CreateMultipartUploadOutput 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 (*CreateMultipartUploadOutput) GetBucket added in v1.1.0

func (o *CreateMultipartUploadOutput) GetBucket() *string

GetBucket returns the Bucket field value If the value is explicit nil, the zero value for string will be returned

func (*CreateMultipartUploadOutput) GetBucketOk added in v1.1.0

func (o *CreateMultipartUploadOutput) GetBucketOk() (*string, bool)

GetBucketOk returns a tuple with the Bucket field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateMultipartUploadOutput) GetKey added in v1.1.0

func (o *CreateMultipartUploadOutput) GetKey() *string

GetKey returns the Key field value If the value is explicit nil, the zero value for string will be returned

func (*CreateMultipartUploadOutput) GetKeyOk added in v1.1.0

func (o *CreateMultipartUploadOutput) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateMultipartUploadOutput) GetUploadId added in v1.1.0

func (o *CreateMultipartUploadOutput) GetUploadId() *string

GetUploadId returns the UploadId field value If the value is explicit nil, the zero value for string will be returned

func (*CreateMultipartUploadOutput) GetUploadIdOk added in v1.1.0

func (o *CreateMultipartUploadOutput) GetUploadIdOk() (*string, bool)

GetUploadIdOk returns a tuple with the UploadId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateMultipartUploadOutput) HasBucket added in v1.1.0

func (o *CreateMultipartUploadOutput) HasBucket() bool

HasBucket returns a boolean if a field has been set.

func (*CreateMultipartUploadOutput) HasKey added in v1.1.0

func (o *CreateMultipartUploadOutput) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*CreateMultipartUploadOutput) HasUploadId added in v1.1.0

func (o *CreateMultipartUploadOutput) HasUploadId() bool

HasUploadId returns a boolean if a field has been set.

func (CreateMultipartUploadOutput) MarshalJSON added in v1.1.0

func (o CreateMultipartUploadOutput) MarshalJSON() ([]byte, error)

func (*CreateMultipartUploadOutput) SetBucket added in v1.1.0

func (o *CreateMultipartUploadOutput) SetBucket(v string)

SetBucket sets field value

func (*CreateMultipartUploadOutput) SetKey added in v1.1.0

func (o *CreateMultipartUploadOutput) SetKey(v string)

SetKey sets field value

func (*CreateMultipartUploadOutput) SetUploadId added in v1.1.0

func (o *CreateMultipartUploadOutput) SetUploadId(v string)

SetUploadId sets field value

type DefaultRetention added in v1.1.0

type DefaultRetention struct {
	XMLName xml.Name `xml:"DefaultRetention"`
	// The default Object Lock retention mode for new objects placed in the specified bucket. Must be used with either `Days` or `Years`.
	Mode *string `json:"Mode,omitempty" xml:"Mode"`
	// The number of days that you want to specify for the default retention period. Must be used with `Mode`.
	Days *int32 `json:"Days,omitempty" xml:"Days"`
	// The number of years that you want to specify for the default retention period. Must be used with `Mode`.
	Years *int32 `json:"Years,omitempty" xml:"Years"`
}

DefaultRetention The default Object Lock retention mode and period for new objects placed in the specified bucket. Bucket settings require both a mode and a period. The period can be either `Days` or `Years` but you must select one. You cannot specify `Days` and `Years` at the same time.

func NewDefaultRetention added in v1.1.0

func NewDefaultRetention() *DefaultRetention

NewDefaultRetention instantiates a new DefaultRetention 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 NewDefaultRetentionWithDefaults added in v1.1.0

func NewDefaultRetentionWithDefaults() *DefaultRetention

NewDefaultRetentionWithDefaults instantiates a new DefaultRetention 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 (*DefaultRetention) GetDays added in v1.1.0

func (o *DefaultRetention) GetDays() *int32

GetDays returns the Days field value If the value is explicit nil, the zero value for int32 will be returned

func (*DefaultRetention) GetDaysOk added in v1.1.0

func (o *DefaultRetention) GetDaysOk() (*int32, bool)

GetDaysOk returns a tuple with the Days field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DefaultRetention) GetMode added in v1.1.0

func (o *DefaultRetention) GetMode() *string

GetMode returns the Mode field value If the value is explicit nil, the zero value for string will be returned

func (*DefaultRetention) GetModeOk added in v1.1.0

func (o *DefaultRetention) GetModeOk() (*string, bool)

GetModeOk returns a tuple with the Mode field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DefaultRetention) GetYears added in v1.1.0

func (o *DefaultRetention) GetYears() *int32

GetYears returns the Years field value If the value is explicit nil, the zero value for int32 will be returned

func (*DefaultRetention) GetYearsOk added in v1.1.0

func (o *DefaultRetention) GetYearsOk() (*int32, bool)

GetYearsOk returns a tuple with the Years field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DefaultRetention) HasDays added in v1.1.0

func (o *DefaultRetention) HasDays() bool

HasDays returns a boolean if a field has been set.

func (*DefaultRetention) HasMode added in v1.1.0

func (o *DefaultRetention) HasMode() bool

HasMode returns a boolean if a field has been set.

func (*DefaultRetention) HasYears added in v1.1.0

func (o *DefaultRetention) HasYears() bool

HasYears returns a boolean if a field has been set.

func (DefaultRetention) MarshalJSON added in v1.1.0

func (o DefaultRetention) MarshalJSON() ([]byte, error)

func (*DefaultRetention) SetDays added in v1.1.0

func (o *DefaultRetention) SetDays(v int32)

SetDays sets field value

func (*DefaultRetention) SetMode added in v1.1.0

func (o *DefaultRetention) SetMode(v string)

SetMode sets field value

func (*DefaultRetention) SetYears added in v1.1.0

func (o *DefaultRetention) SetYears(v int32)

SetYears sets field value

type DeleteMarkerEntry added in v1.1.0

type DeleteMarkerEntry struct {
	XMLName xml.Name `xml:"DeleteMarker"`
	Owner   *Owner   `json:"Owner,omitempty" xml:"Owner"`
	// The object key.
	Key *string `json:"Key,omitempty" xml:"Key"`
	// Version ID of the Deletion Marker
	VersionId *string `json:"VersionId,omitempty" xml:"VersionId"`
	// Specifies whether the object is (true) or is not (false) the latest version of an object.
	IsLatest *bool `json:"IsLatest,omitempty" xml:"IsLatest"`
	// Creation date of the object.
	LastModified *IonosTime `json:"LastModified,omitempty" xml:"LastModified"`
}

DeleteMarkerEntry Information about the delete marker.

func NewDeleteMarkerEntry added in v1.1.0

func NewDeleteMarkerEntry() *DeleteMarkerEntry

NewDeleteMarkerEntry instantiates a new DeleteMarkerEntry 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 NewDeleteMarkerEntryWithDefaults added in v1.1.0

func NewDeleteMarkerEntryWithDefaults() *DeleteMarkerEntry

NewDeleteMarkerEntryWithDefaults instantiates a new DeleteMarkerEntry 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 (*DeleteMarkerEntry) GetIsLatest added in v1.1.0

func (o *DeleteMarkerEntry) GetIsLatest() *bool

GetIsLatest returns the IsLatest field value If the value is explicit nil, the zero value for bool will be returned

func (*DeleteMarkerEntry) GetIsLatestOk added in v1.1.0

func (o *DeleteMarkerEntry) GetIsLatestOk() (*bool, bool)

GetIsLatestOk returns a tuple with the IsLatest field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeleteMarkerEntry) GetKey added in v1.1.0

func (o *DeleteMarkerEntry) GetKey() *string

GetKey returns the Key field value If the value is explicit nil, the zero value for string will be returned

func (*DeleteMarkerEntry) GetKeyOk added in v1.1.0

func (o *DeleteMarkerEntry) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeleteMarkerEntry) GetLastModified added in v1.1.0

func (o *DeleteMarkerEntry) GetLastModified() *time.Time

GetLastModified returns the LastModified field value If the value is explicit nil, the zero value for time.Time will be returned

func (*DeleteMarkerEntry) GetLastModifiedOk added in v1.1.0

func (o *DeleteMarkerEntry) GetLastModifiedOk() (*time.Time, bool)

GetLastModifiedOk returns a tuple with the LastModified field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeleteMarkerEntry) GetOwner added in v1.1.0

func (o *DeleteMarkerEntry) GetOwner() *Owner

GetOwner returns the Owner field value If the value is explicit nil, the zero value for Owner will be returned

func (*DeleteMarkerEntry) GetOwnerOk added in v1.1.0

func (o *DeleteMarkerEntry) GetOwnerOk() (*Owner, bool)

GetOwnerOk returns a tuple with the Owner field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeleteMarkerEntry) GetVersionId added in v1.1.0

func (o *DeleteMarkerEntry) GetVersionId() *string

GetVersionId returns the VersionId field value If the value is explicit nil, the zero value for string will be returned

func (*DeleteMarkerEntry) GetVersionIdOk added in v1.1.0

func (o *DeleteMarkerEntry) GetVersionIdOk() (*string, bool)

GetVersionIdOk returns a tuple with the VersionId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeleteMarkerEntry) HasIsLatest added in v1.1.0

func (o *DeleteMarkerEntry) HasIsLatest() bool

HasIsLatest returns a boolean if a field has been set.

func (*DeleteMarkerEntry) HasKey added in v1.1.0

func (o *DeleteMarkerEntry) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*DeleteMarkerEntry) HasLastModified added in v1.1.0

func (o *DeleteMarkerEntry) HasLastModified() bool

HasLastModified returns a boolean if a field has been set.

func (*DeleteMarkerEntry) HasOwner added in v1.1.0

func (o *DeleteMarkerEntry) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*DeleteMarkerEntry) HasVersionId added in v1.1.0

func (o *DeleteMarkerEntry) HasVersionId() bool

HasVersionId returns a boolean if a field has been set.

func (DeleteMarkerEntry) MarshalJSON added in v1.1.0

func (o DeleteMarkerEntry) MarshalJSON() ([]byte, error)

func (*DeleteMarkerEntry) SetIsLatest added in v1.1.0

func (o *DeleteMarkerEntry) SetIsLatest(v bool)

SetIsLatest sets field value

func (*DeleteMarkerEntry) SetKey added in v1.1.0

func (o *DeleteMarkerEntry) SetKey(v string)

SetKey sets field value

func (*DeleteMarkerEntry) SetLastModified added in v1.1.0

func (o *DeleteMarkerEntry) SetLastModified(v time.Time)

SetLastModified sets field value

func (*DeleteMarkerEntry) SetOwner added in v1.1.0

func (o *DeleteMarkerEntry) SetOwner(v Owner)

SetOwner sets field value

func (*DeleteMarkerEntry) SetVersionId added in v1.1.0

func (o *DeleteMarkerEntry) SetVersionId(v string)

SetVersionId sets field value

type DeleteObjectsOutput

type DeleteObjectsOutput struct {
	XMLName xml.Name `xml:"DeleteResult"`
	// Container element for a successful delete. It identifies the object that was successfully deleted.
	Deleted *[]DeletedObject `json:"Deleted,omitempty" xml:"Deleted"`
	Errors  *[]DeletionError `json:"Errors,omitempty" xml:"Error"`
}

DeleteObjectsOutput struct for DeleteObjectsOutput

func NewDeleteObjectsOutput

func NewDeleteObjectsOutput() *DeleteObjectsOutput

NewDeleteObjectsOutput instantiates a new DeleteObjectsOutput 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 NewDeleteObjectsOutputWithDefaults

func NewDeleteObjectsOutputWithDefaults() *DeleteObjectsOutput

NewDeleteObjectsOutputWithDefaults instantiates a new DeleteObjectsOutput 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 (*DeleteObjectsOutput) GetDeleted

func (o *DeleteObjectsOutput) GetDeleted() *[]DeletedObject

GetDeleted returns the Deleted field value If the value is explicit nil, the zero value for []DeletedObject will be returned

func (*DeleteObjectsOutput) GetDeletedOk

func (o *DeleteObjectsOutput) GetDeletedOk() (*[]DeletedObject, bool)

GetDeletedOk returns a tuple with the Deleted field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeleteObjectsOutput) GetErrors

func (o *DeleteObjectsOutput) GetErrors() *[]DeletionError

GetErrors returns the Errors field value If the value is explicit nil, the zero value for []DeletionError will be returned

func (*DeleteObjectsOutput) GetErrorsOk

func (o *DeleteObjectsOutput) GetErrorsOk() (*[]DeletionError, bool)

GetErrorsOk returns a tuple with the Errors field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeleteObjectsOutput) HasDeleted

func (o *DeleteObjectsOutput) HasDeleted() bool

HasDeleted returns a boolean if a field has been set.

func (*DeleteObjectsOutput) HasErrors

func (o *DeleteObjectsOutput) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (DeleteObjectsOutput) MarshalJSON

func (o DeleteObjectsOutput) MarshalJSON() ([]byte, error)

func (*DeleteObjectsOutput) SetDeleted

func (o *DeleteObjectsOutput) SetDeleted(v []DeletedObject)

SetDeleted sets field value

func (*DeleteObjectsOutput) SetErrors

func (o *DeleteObjectsOutput) SetErrors(v []DeletionError)

SetErrors sets field value

type DeleteObjectsRequest

type DeleteObjectsRequest struct {
	XMLName xml.Name `xml:"Delete"`
	// The objects to delete.
	Objects *[]ObjectIdentifier `json:"Objects,omitempty" xml:"Object"`
	Quiet   *bool               `json:"Quiet,omitempty" xml:"Quiet"`
}

DeleteObjectsRequest Container for the objects to delete.

func NewDeleteObjectsRequest

func NewDeleteObjectsRequest() *DeleteObjectsRequest

NewDeleteObjectsRequest instantiates a new DeleteObjectsRequest 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 NewDeleteObjectsRequestWithDefaults

func NewDeleteObjectsRequestWithDefaults() *DeleteObjectsRequest

NewDeleteObjectsRequestWithDefaults instantiates a new DeleteObjectsRequest 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 (*DeleteObjectsRequest) GetObjects

func (o *DeleteObjectsRequest) GetObjects() *[]ObjectIdentifier

GetObjects returns the Objects field value If the value is explicit nil, the zero value for []ObjectIdentifier will be returned

func (*DeleteObjectsRequest) GetObjectsOk

func (o *DeleteObjectsRequest) GetObjectsOk() (*[]ObjectIdentifier, bool)

GetObjectsOk returns a tuple with the Objects field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeleteObjectsRequest) GetQuiet

func (o *DeleteObjectsRequest) GetQuiet() *bool

GetQuiet returns the Quiet field value If the value is explicit nil, the zero value for bool will be returned

func (*DeleteObjectsRequest) GetQuietOk

func (o *DeleteObjectsRequest) GetQuietOk() (*bool, bool)

GetQuietOk returns a tuple with the Quiet field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeleteObjectsRequest) HasObjects

func (o *DeleteObjectsRequest) HasObjects() bool

HasObjects returns a boolean if a field has been set.

func (*DeleteObjectsRequest) HasQuiet

func (o *DeleteObjectsRequest) HasQuiet() bool

HasQuiet returns a boolean if a field has been set.

func (DeleteObjectsRequest) MarshalJSON

func (o DeleteObjectsRequest) MarshalJSON() ([]byte, error)

func (*DeleteObjectsRequest) SetObjects

func (o *DeleteObjectsRequest) SetObjects(v []ObjectIdentifier)

SetObjects sets field value

func (*DeleteObjectsRequest) SetQuiet

func (o *DeleteObjectsRequest) SetQuiet(v bool)

SetQuiet sets field value

type DeletedObject

type DeletedObject struct {
	XMLName xml.Name `xml:"Deleted"`
	// The object key.
	Key *string `json:"Key,omitempty" xml:"Key"`
	// Version ID of the deleted object
	VersionId *string `json:"VersionId,omitempty" xml:"VersionId"`
	// Specifies whether the versioned object that was permanently deleted was (true) or was not (false) a delete marker. In a simple DELETE, this header indicates whether (true) or not (false) a delete marker was created.
	DeleteMarker *bool `json:"DeleteMarker,omitempty" xml:"DeleteMarker"`
	// The version ID of the delete marker created as a result of the DELETE operation. If you delete a specific object version, the value returned by this header is the version ID of the object version deleted.
	DeleteMarkerVersionId *string `json:"DeleteMarkerVersionId,omitempty" xml:"DeleteMarkerVersionId"`
}

DeletedObject Information about the deleted object.

func NewDeletedObject

func NewDeletedObject() *DeletedObject

NewDeletedObject instantiates a new DeletedObject 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 NewDeletedObjectWithDefaults

func NewDeletedObjectWithDefaults() *DeletedObject

NewDeletedObjectWithDefaults instantiates a new DeletedObject 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 (*DeletedObject) GetDeleteMarker

func (o *DeletedObject) GetDeleteMarker() *bool

GetDeleteMarker returns the DeleteMarker field value If the value is explicit nil, the zero value for bool will be returned

func (*DeletedObject) GetDeleteMarkerOk

func (o *DeletedObject) GetDeleteMarkerOk() (*bool, bool)

GetDeleteMarkerOk returns a tuple with the DeleteMarker field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeletedObject) GetDeleteMarkerVersionId

func (o *DeletedObject) GetDeleteMarkerVersionId() *string

GetDeleteMarkerVersionId returns the DeleteMarkerVersionId field value If the value is explicit nil, the zero value for string will be returned

func (*DeletedObject) GetDeleteMarkerVersionIdOk

func (o *DeletedObject) GetDeleteMarkerVersionIdOk() (*string, bool)

GetDeleteMarkerVersionIdOk returns a tuple with the DeleteMarkerVersionId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeletedObject) GetKey

func (o *DeletedObject) GetKey() *string

GetKey returns the Key field value If the value is explicit nil, the zero value for string will be returned

func (*DeletedObject) GetKeyOk

func (o *DeletedObject) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeletedObject) GetVersionId

func (o *DeletedObject) GetVersionId() *string

GetVersionId returns the VersionId field value If the value is explicit nil, the zero value for string will be returned

func (*DeletedObject) GetVersionIdOk

func (o *DeletedObject) GetVersionIdOk() (*string, bool)

GetVersionIdOk returns a tuple with the VersionId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeletedObject) HasDeleteMarker

func (o *DeletedObject) HasDeleteMarker() bool

HasDeleteMarker returns a boolean if a field has been set.

func (*DeletedObject) HasDeleteMarkerVersionId

func (o *DeletedObject) HasDeleteMarkerVersionId() bool

HasDeleteMarkerVersionId returns a boolean if a field has been set.

func (*DeletedObject) HasKey

func (o *DeletedObject) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*DeletedObject) HasVersionId

func (o *DeletedObject) HasVersionId() bool

HasVersionId returns a boolean if a field has been set.

func (DeletedObject) MarshalJSON

func (o DeletedObject) MarshalJSON() ([]byte, error)

func (*DeletedObject) SetDeleteMarker

func (o *DeletedObject) SetDeleteMarker(v bool)

SetDeleteMarker sets field value

func (*DeletedObject) SetDeleteMarkerVersionId

func (o *DeletedObject) SetDeleteMarkerVersionId(v string)

SetDeleteMarkerVersionId sets field value

func (*DeletedObject) SetKey

func (o *DeletedObject) SetKey(v string)

SetKey sets field value

func (*DeletedObject) SetVersionId

func (o *DeletedObject) SetVersionId(v string)

SetVersionId sets field value

type DeletionError

type DeletionError struct {
	XMLName xml.Name `xml:"Error"`
	// The object key.
	Key *string `json:"Key,omitempty" xml:"Key"`
	// The version ID of the object.
	VersionId *string `json:"VersionId,omitempty" xml:"VersionId"`
	Code      *string `json:"Code,omitempty" xml:"Code"`
	Message   *string `json:"Message,omitempty" xml:"Message"`
}

DeletionError Container for all error elements.

func NewDeletionError

func NewDeletionError() *DeletionError

NewDeletionError instantiates a new DeletionError 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 NewDeletionErrorWithDefaults

func NewDeletionErrorWithDefaults() *DeletionError

NewDeletionErrorWithDefaults instantiates a new DeletionError 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 (*DeletionError) GetCode

func (o *DeletionError) GetCode() *string

GetCode returns the Code field value If the value is explicit nil, the zero value for string will be returned

func (*DeletionError) GetCodeOk

func (o *DeletionError) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeletionError) GetKey

func (o *DeletionError) GetKey() *string

GetKey returns the Key field value If the value is explicit nil, the zero value for string will be returned

func (*DeletionError) GetKeyOk

func (o *DeletionError) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeletionError) GetMessage

func (o *DeletionError) GetMessage() *string

GetMessage returns the Message field value If the value is explicit nil, the zero value for string will be returned

func (*DeletionError) GetMessageOk

func (o *DeletionError) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeletionError) GetVersionId

func (o *DeletionError) GetVersionId() *string

GetVersionId returns the VersionId field value If the value is explicit nil, the zero value for string will be returned

func (*DeletionError) GetVersionIdOk

func (o *DeletionError) GetVersionIdOk() (*string, bool)

GetVersionIdOk returns a tuple with the VersionId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeletionError) HasCode

func (o *DeletionError) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*DeletionError) HasKey

func (o *DeletionError) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*DeletionError) HasMessage

func (o *DeletionError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*DeletionError) HasVersionId

func (o *DeletionError) HasVersionId() bool

HasVersionId returns a boolean if a field has been set.

func (DeletionError) MarshalJSON

func (o DeletionError) MarshalJSON() ([]byte, error)

func (*DeletionError) SetCode

func (o *DeletionError) SetCode(v string)

SetCode sets field value

func (*DeletionError) SetKey

func (o *DeletionError) SetKey(v string)

SetKey sets field value

func (*DeletionError) SetMessage

func (o *DeletionError) SetMessage(v string)

SetMessage sets field value

func (*DeletionError) SetVersionId

func (o *DeletionError) SetVersionId(v string)

SetVersionId sets field value

type Destination added in v1.1.0

type Destination struct {
	XMLName xml.Name `xml:"Destination"`
	// Use the same \"Bucket\" value formatting as in the S3 API specification, that is, `arn:aws:s3:::{Bucket}`.
	Bucket       *string       `json:"Bucket" xml:"Bucket"`
	StorageClass *StorageClass `json:"StorageClass,omitempty" xml:"StorageClass"`
}

Destination A container for information about the replication destination.

func NewDestination added in v1.1.0

func NewDestination(bucket string) *Destination

NewDestination instantiates a new Destination 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 NewDestinationWithDefaults added in v1.1.0

func NewDestinationWithDefaults() *Destination

NewDestinationWithDefaults instantiates a new Destination 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 (*Destination) GetBucket added in v1.1.0

func (o *Destination) GetBucket() *string

GetBucket returns the Bucket field value If the value is explicit nil, the zero value for string will be returned

func (*Destination) GetBucketOk added in v1.1.0

func (o *Destination) GetBucketOk() (*string, bool)

GetBucketOk returns a tuple with the Bucket field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Destination) GetStorageClass added in v1.1.0

func (o *Destination) GetStorageClass() *StorageClass

GetStorageClass returns the StorageClass field value If the value is explicit nil, the zero value for StorageClass will be returned

func (*Destination) GetStorageClassOk added in v1.1.0

func (o *Destination) GetStorageClassOk() (*StorageClass, bool)

GetStorageClassOk returns a tuple with the StorageClass field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Destination) HasBucket added in v1.1.0

func (o *Destination) HasBucket() bool

HasBucket returns a boolean if a field has been set.

func (*Destination) HasStorageClass added in v1.1.0

func (o *Destination) HasStorageClass() bool

HasStorageClass returns a boolean if a field has been set.

func (Destination) MarshalJSON added in v1.1.0

func (o Destination) MarshalJSON() ([]byte, error)

func (*Destination) SetBucket added in v1.1.0

func (o *Destination) SetBucket(v string)

SetBucket sets field value

func (*Destination) SetStorageClass added in v1.1.0

func (o *Destination) SetStorageClass(v StorageClass)

SetStorageClass sets field value

type EncodingType

type EncodingType string

EncodingType Encoding type used by IONOS S3 Object Storage to encode object key names in the XML response. If you specify encoding-type request parameter, IONOS S3 Object Storage includes this element in the response, and returns encoded key name values in the following response elements: `KeyMarker`, `NextKeyMarker`, `Prefix`, `Key`, and `Delimiter`.

const (
	ENCODINGTYPE_URL EncodingType = "url"
)

List of EncodingType

func (EncodingType) Ptr

func (v EncodingType) Ptr() *EncodingType

Ptr returns reference to EncodingType value

func (*EncodingType) UnmarshalJSON

func (v *EncodingType) UnmarshalJSON(src []byte) error

type Encryption added in v1.1.0

type Encryption struct {
	XMLName xml.Name `xml:"Encryption"`
	// The server-side encryption algorithm used when storing job results in IONOS S3 Object Storage (AES256).
	EncryptionType *string `json:"EncryptionType" xml:"EncryptionType"`
}

Encryption struct for Encryption

func NewEncryption added in v1.1.0

func NewEncryption(encryptionType string) *Encryption

NewEncryption instantiates a new Encryption 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 NewEncryptionWithDefaults added in v1.1.0

func NewEncryptionWithDefaults() *Encryption

NewEncryptionWithDefaults instantiates a new Encryption 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 (*Encryption) GetEncryptionType added in v1.1.0

func (o *Encryption) GetEncryptionType() *string

GetEncryptionType returns the EncryptionType field value If the value is explicit nil, the zero value for string will be returned

func (*Encryption) GetEncryptionTypeOk added in v1.1.0

func (o *Encryption) GetEncryptionTypeOk() (*string, bool)

GetEncryptionTypeOk returns a tuple with the EncryptionType field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Encryption) HasEncryptionType added in v1.1.0

func (o *Encryption) HasEncryptionType() bool

HasEncryptionType returns a boolean if a field has been set.

func (Encryption) MarshalJSON added in v1.1.0

func (o Encryption) MarshalJSON() ([]byte, error)

func (*Encryption) SetEncryptionType added in v1.1.0

func (o *Encryption) SetEncryptionType(v string)

SetEncryptionType sets field value

type EncryptionApiService added in v1.1.0

type EncryptionApiService service

EncryptionApiService EncryptionApi service

func (*EncryptionApiService) DeleteBucketEncryption added in v1.1.0

func (a *EncryptionApiService) DeleteBucketEncryption(ctx context.Context, bucket string) ApiDeleteBucketEncryptionRequest

DeleteBucketEncryption DeleteBucketEncryption

<p>This implementation of the DELETE operation removes default encryption from the bucket.</p> <p>In the current version, only the bucket owner is allowed to perform this operation. We currently do not support the use of bucket policies to extend bucket encryption permissions to users other than the bucket owner.</p>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiDeleteBucketEncryptionRequest

func (*EncryptionApiService) DeleteBucketEncryptionExecute added in v1.1.0

func (a *EncryptionApiService) DeleteBucketEncryptionExecute(r ApiDeleteBucketEncryptionRequest) (*APIResponse, error)

Execute executes the request

func (*EncryptionApiService) GetBucketEncryption added in v1.1.0

func (a *EncryptionApiService) GetBucketEncryption(ctx context.Context, bucket string) ApiGetBucketEncryptionRequest

GetBucketEncryption GetBucketEncryption

<p>Returns the default encryption configuration for the bucket.</p> <p>In the current version, only the bucket owner is allowed to perform this operation. We currently do not support the use of bucket policies to extend bucket encryption permissions to users other than the bucket owner.</p> <p>If the bucket does not have a default encryption configuration, GetBucketEncryption returns `404 ServerSideEncryptionConfigurationNotFoundError`.</p>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiGetBucketEncryptionRequest

func (*EncryptionApiService) GetBucketEncryptionExecute added in v1.1.0

Execute executes the request

@return ServerSideEncryptionConfiguration

func (*EncryptionApiService) PutBucketEncryption added in v1.1.0

func (a *EncryptionApiService) PutBucketEncryption(ctx context.Context, bucket string) ApiPutBucketEncryptionRequest

PutBucketEncryption PutBucketEncryption

<p>Sets the AES256 server-side encryption for a bucket with IONOS S3 managed keys (SSE-S3).</p> <p>With server-side encryption, S3 encrypts a newly uploaded object in the bucket before saving it to disk and decrypts it when you download the object. Encryption doesn't change the way that you access data as an authorized user. It only further protects your data.</p> <p>In the current version, only the bucket owner is allowed to perform this operation. We do not currently support the use of bucket policies to extend bucket encryption permissions to users other than the bucket owner.</p> <p>IONOS S3 confirms that your object is stored with SSE-S3 encryption by returning the response header `x-amz-server-side-encryption` for the <a href="#tag/Basic-Operations/operation/GetObject">Object Read</a> operation.</p> <p>You can also apply encryption with a customer-provided key (SSE-C) to each object at the time of <a href="/#tag/Basic-Operations/operation/PutObject">uploading</a>. In this case, SSE-C encryption will override the SSE-S3 encryption.</p>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiPutBucketEncryptionRequest

func (*EncryptionApiService) PutBucketEncryptionExecute added in v1.1.0

func (a *EncryptionApiService) PutBucketEncryptionExecute(r ApiPutBucketEncryptionRequest) (*APIResponse, error)

Execute executes the request

type Error

type Error struct {
	XMLName xml.Name `xml:"Error"`
	// The error code is a string that uniquely identifies an error condition. It is meant to be read and understood by programs that detect and handle errors by type.  ## IONOS S3 Object Storage error codes - AccessDenied   - Description: Access Denied   - HTTPStatus Code: 403 Forbidden - AccountProblem   - Description: There is a problem with your IONOS S3 Object Storage account that prevents the operation from completing successfully. Contact IONOS for further assistance.   - HTTP Status Code: 403 Forbidden - AmbiguousGrantByEmailAddress   - Description: The email address you provided is associated with more than one account.   - HTTP Status Code: 400 Bad Request - BadDigest   - Description: The Content-MD5 you specified did not match what we received.   - HTTP Status Code: 400 Bad Request - BucketAlreadyExists   - Description: The requested bucket name is not available. The bucket namespace is shared by all users of the system. Please select a different name and try again.   - HTTP Status Code: 409 Conflict - BucketAlreadyOwnedByYou   - Description: The bucket you tried to create already exists, and you own it.   - HTTP Code: 409 Conflict - BucketNotEmpty   - Description: The bucket you tried to delete is not empty.   - HTTP Status Code: 409 Conflict - CrossLocationLoggingProhibited   - Description: Cross-location logging not allowed. Buckets in one geographic location cannot log information to a bucket in another location.   - HTTP Status Code: 403 Forbidden - EntityTooSmall   - Description: Your proposed upload is smaller than the minimum allowed object size.   - HTTP Status Code: 400 Bad Request - EntityTooLarge   - Description: Your proposed upload exceeds the maximum allowed object size.   - HTTP Status Code: 400 Bad Request - IllegalVersioningConfigurationException   - Description: Indicates that the versioning configuration specified in the request is invalid.   - HTTP Status Code: 400 Bad Request - IncorrectNumberOfFilesInPostRequest   - Description: POST requires exactly one file upload per request.   - HTTP Status Code: 400 Bad Request - InternalError   - Description: We encountered an internal error. Please try again.   - HTTP Status Code: 500 Internal Server Error  - InvalidAccessKeyId   - Description: The IONOS S3 Object Storage access key ID you provided does not exist in our records.   - HTTP Status Code: 403 Forbidden - InvalidArgument   - Description: Invalid Argument   - HTTP Status Code: 400 Bad Request - InvalidBucketName   - Description: The specified bucket is not valid.   - HTTP Status Code: 400 Bad Request - InvalidBucketState   - Description: The request is not valid with the current state of the bucket.   - HTTP Status Code: 409 Conflict - InvalidDigest   - Description: The Content-MD5 you specified is not valid.   - HTTP Status Code: 400 Bad Request - InvalidEncryptionAlgorithmError   - Description: The encryption request you specified is not valid. The valid value is AES256.   - HTTP Status Code: 400 Bad Request - InvalidLocationConstraint   - HTTP Status Code: 400 Bad Request - InvalidObjectState   - Description: The operation is not valid for the current state of the object.   - HTTP Status Code: 403 Forbidden - InvalidPart   - Description: One or more of the specified parts could not be found. The part might not have been uploaded, or the specified entity tag might not have matched the part's entity tag.   - HTTP Status Code: 400 Bad Request - InvalidPartOrder   - Description: The list of parts was not in ascending order. Parts list must be specified in order by part number.   - HTTP Status Code: 400 Bad Request - InvalidPolicyDocument   - Description: The content of the form does not meet the conditions specified in the policy document.   - HTTP Status Code: 400 Bad Request - InvalidRange   - Description: The requested range cannot be satisfied.   - HTTP Status Code: 416 Requested Range Not Satisfiable - InvalidRequest   - Description: Please use `AWS4-HMAC-SHA256`.   - HTTP Status Code: 400 Bad Request - InvalidSecurity   - Description: The provided security credentials are not valid.   - HTTP Status Code: 403 Forbidden - InvalidTargetBucketForLogging   - Description: The target bucket for logging does not exist, is not owned by you, or does not have the appropriate grants for the log-delivery group.   - Status Code: 400 Bad Request - InvalidURI   - Description: Couldn't parse the specified URI.   - HTTP Status Code: 400 Bad Request - KeyTooLong   - Description: Your key is too long.   - HTTP Status Code: 400 Bad Request - MalformedACLError   - Description: The XML you provided was not well-formed or did not validate against our published schema.   - HTTP Status Code: 400 Bad Request - MalformedPOSTRequest   - Description: The body of your POST request is not well-formed multipart/form-data.   - HTTP Status Code: 400 Bad Request - MalformedXML   - Description: This happens when the user sends malformed XML (XML that doesn't conform to the published XSD) for the configuration. The error message is, \"The XML you provided was not well-formed or did not validate against our published schema.\"   - HTTP Status Code: 400 Bad Request - MaxMessageLengthExceeded   - Description: Your request was too big.   - HTTP Status Code: 400 Bad Request - MaxPostPreDataLengthExceededError   - Description: Your POST request fields preceding the upload file were too large.   - HTTP Status Code: 400 Bad Request - MetadataTooLarge   - Description: Your metadata headers exceed the maximum allowed metadata size.   - HTTP Status Code: 400 Bad Request - MethodNotAllowed   - Description: The specified method is not allowed against this resource.   - HTTP Status Code: 405 Method Not Allowed - MissingContentLength   - Description: You must provide the Content-Length HTTP header.   - HTTP Status Code: 411 Length Required - MissingSecurityHeader   - Description: Your request is missing a required header.   - HTTP Status Code: 400 Bad Request - NoSuchBucket   - Description: The specified bucket does not exist.   - HTTP Status Code: 404 Not Found - NoSuchBucketPolicy   - Description: The specified bucket does not have a bucket policy.   - HTTP Status Code: 404 Not Found - NoSuchKey   - Description: The specified key does not exist.   - HTTP Status Code:404 Not Found - NoSuchLifecycleConfiguration   - Description: The lifecycle configuration does not exist.   - HTTP Status Code: 404 Not Found - NoSuchReplicationConfiguration   - Description: The replication configuration does not exist.   - HTTP Status Code: 404 Not Found - NoSuchUpload   - Description: The specified multipart upload does not exist. The upload ID might be invalid, or the multipart upload might have been aborted or completed.   - HTTP Status Code: 404 Not Found - NoSuchVersion   - Description: Indicates that the version ID specified in the request does not match an existing version.   - HTTP Status Code: 404 Not Found - NotImplemented   - Description: A header you provided implies functionality that is not implemented.   - HTTP Status Code: 501 Not Implemented - PermanentRedirect   - Description: The bucket you are attempting to access must be addressed using the specified endpoint. Send all future requests to this endpoint.   - HTTP Status Code: 301 Moved Permanently - PreconditionFailed   - Description: At least one of the preconditions you specified did not hold.   - HTTP Status Code: 412 Precondition Failed - Redirect   - Description: Temporary redirect.   - HTTP Status Code: 307 Moved Temporarily - RestoreAlreadyInProgress   - Description: Object restore is already in progress.   - HTTP Status Code: 409 Conflict - RequestIsNotMultiPartContent   - Description: Bucket POST must be of the enclosure-type multipart/form-data.   - HTTP Status Code: 400 Bad Request - RequestTimeout   - Description: Your socket connection to the server was not read from or written to within the timeout period.   - HTTP Status Code: 400 Bad Request - RequestTimeTooSkewed   - Description: The difference between the request time and the server's time is too large.   - HTTP Status Code: 403 Forbidden - SignatureDoesNotMatch   - HTTP Status Code: 403 Forbidden - ServiceUnavailable   - Description: Reduce your request rate.   - HTTP Status Code: 503 Service Unavailable - SlowDown   - Description: Reduce your request rate.   - HTTP Status Code: 503 Slow Down - TemporaryRedirect   - Description: You are being redirected to the bucket while DNS updates.   - HTTP Status Code: 307 Moved Temporarily - TooManyBuckets   - Description: You have attempted to create more buckets than allowed.   - HTTP Status Code: 400 Bad Request - UnexpectedContent   - Description: This request does not support content.   - HTTP Status Code: 400 Bad Request - UnresolvableGrantByEmailAddress   - Description: The email address you provided does not match any account on record.   - HTTP Status Code: 400 Bad Request - UserKeyMustBeSpecified   - Description: The bucket POST must contain the specified field name. If it is specified, check the order of the fields.   - HTTP Status Code: 400 Bad Request
	Code *string `json:"Code,omitempty" xml:"Code"`
	// Gives a brief English description of the issue.
	Message   *string `json:"Message,omitempty" xml:"Message"`
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId"`
	HostId    *string `json:"HostId,omitempty" xml:"HostId"`
}

Error Container for all error elements.

func NewError

func NewError() *Error

NewError instantiates a new Error 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 NewErrorWithDefaults

func NewErrorWithDefaults() *Error

NewErrorWithDefaults instantiates a new Error 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 (*Error) GetCode

func (o *Error) GetCode() *string

GetCode returns the Code field value If the value is explicit nil, the zero value for string will be returned

func (*Error) GetCodeOk

func (o *Error) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Error) GetHostId

func (o *Error) GetHostId() *string

GetHostId returns the HostId field value If the value is explicit nil, the zero value for string will be returned

func (*Error) GetHostIdOk

func (o *Error) GetHostIdOk() (*string, bool)

GetHostIdOk returns a tuple with the HostId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Error) GetMessage

func (o *Error) GetMessage() *string

GetMessage returns the Message field value If the value is explicit nil, the zero value for string will be returned

func (*Error) GetMessageOk

func (o *Error) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Error) GetRequestId

func (o *Error) GetRequestId() *string

GetRequestId returns the RequestId field value If the value is explicit nil, the zero value for string will be returned

func (*Error) GetRequestIdOk

func (o *Error) GetRequestIdOk() (*string, bool)

GetRequestIdOk returns a tuple with the RequestId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Error) HasCode

func (o *Error) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Error) HasHostId

func (o *Error) HasHostId() bool

HasHostId returns a boolean if a field has been set.

func (*Error) HasMessage

func (o *Error) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Error) HasRequestId

func (o *Error) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (Error) MarshalJSON

func (o Error) MarshalJSON() ([]byte, error)

func (*Error) SetCode

func (o *Error) SetCode(v string)

SetCode sets field value

func (*Error) SetHostId

func (o *Error) SetHostId(v string)

SetHostId sets field value

func (*Error) SetMessage

func (o *Error) SetMessage(v string)

SetMessage sets field value

func (*Error) SetRequestId

func (o *Error) SetRequestId(v string)

SetRequestId sets field value

type ErrorDocument added in v1.1.0

type ErrorDocument struct {
	XMLName xml.Name `xml:"ErrorDocument"`
	// The object key.
	Key *string `json:"Key" xml:"Key"`
}

ErrorDocument The object key name to use when a 4XX class error occurs. Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests.

func NewErrorDocument added in v1.1.0

func NewErrorDocument(key string) *ErrorDocument

NewErrorDocument instantiates a new ErrorDocument 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 NewErrorDocumentWithDefaults added in v1.1.0

func NewErrorDocumentWithDefaults() *ErrorDocument

NewErrorDocumentWithDefaults instantiates a new ErrorDocument 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 (*ErrorDocument) GetKey added in v1.1.0

func (o *ErrorDocument) GetKey() *string

GetKey returns the Key field value If the value is explicit nil, the zero value for string will be returned

func (*ErrorDocument) GetKeyOk added in v1.1.0

func (o *ErrorDocument) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ErrorDocument) HasKey added in v1.1.0

func (o *ErrorDocument) HasKey() bool

HasKey returns a boolean if a field has been set.

func (ErrorDocument) MarshalJSON added in v1.1.0

func (o ErrorDocument) MarshalJSON() ([]byte, error)

func (*ErrorDocument) SetKey added in v1.1.0

func (o *ErrorDocument) SetKey(v string)

SetKey sets field value

type Example added in v1.1.0

type Example struct {
	XMLName                 xml.Name                        `xml:"Example"`
	CompleteMultipartUpload *ExampleCompleteMultipartUpload `json:"CompleteMultipartUpload,omitempty" xml:"CompleteMultipartUpload"`
}

Example struct for Example

func NewExample added in v1.1.0

func NewExample() *Example

NewExample instantiates a new Example 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 NewExampleWithDefaults added in v1.1.0

func NewExampleWithDefaults() *Example

NewExampleWithDefaults instantiates a new Example 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 (*Example) GetCompleteMultipartUpload added in v1.1.0

func (o *Example) GetCompleteMultipartUpload() *ExampleCompleteMultipartUpload

GetCompleteMultipartUpload returns the CompleteMultipartUpload field value If the value is explicit nil, the zero value for ExampleCompleteMultipartUpload will be returned

func (*Example) GetCompleteMultipartUploadOk added in v1.1.0

func (o *Example) GetCompleteMultipartUploadOk() (*ExampleCompleteMultipartUpload, bool)

GetCompleteMultipartUploadOk returns a tuple with the CompleteMultipartUpload field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Example) HasCompleteMultipartUpload added in v1.1.0

func (o *Example) HasCompleteMultipartUpload() bool

HasCompleteMultipartUpload returns a boolean if a field has been set.

func (Example) MarshalJSON added in v1.1.0

func (o Example) MarshalJSON() ([]byte, error)

func (*Example) SetCompleteMultipartUpload added in v1.1.0

func (o *Example) SetCompleteMultipartUpload(v ExampleCompleteMultipartUpload)

SetCompleteMultipartUpload sets field value

type ExampleCompleteMultipartUpload added in v1.1.0

type ExampleCompleteMultipartUpload struct {
	XMLName xml.Name `xml:"ExampleCompleteMultipartUpload"`
	// Array of CompletedPart data types.
	Parts *[]CompletedPart `json:"Parts,omitempty" xml:"Parts"`
}

ExampleCompleteMultipartUpload The container for the completed multipart upload details.

func NewExampleCompleteMultipartUpload added in v1.1.0

func NewExampleCompleteMultipartUpload() *ExampleCompleteMultipartUpload

NewExampleCompleteMultipartUpload instantiates a new ExampleCompleteMultipartUpload 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 NewExampleCompleteMultipartUploadWithDefaults added in v1.1.0

func NewExampleCompleteMultipartUploadWithDefaults() *ExampleCompleteMultipartUpload

NewExampleCompleteMultipartUploadWithDefaults instantiates a new ExampleCompleteMultipartUpload 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 (*ExampleCompleteMultipartUpload) GetParts added in v1.1.0

GetParts returns the Parts field value If the value is explicit nil, the zero value for []CompletedPart will be returned

func (*ExampleCompleteMultipartUpload) GetPartsOk added in v1.1.0

func (o *ExampleCompleteMultipartUpload) GetPartsOk() (*[]CompletedPart, bool)

GetPartsOk returns a tuple with the Parts field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ExampleCompleteMultipartUpload) HasParts added in v1.1.0

func (o *ExampleCompleteMultipartUpload) HasParts() bool

HasParts returns a boolean if a field has been set.

func (ExampleCompleteMultipartUpload) MarshalJSON added in v1.1.0

func (o ExampleCompleteMultipartUpload) MarshalJSON() ([]byte, error)

func (*ExampleCompleteMultipartUpload) SetParts added in v1.1.0

SetParts sets field value

type ExpirationStatus added in v1.1.0

type ExpirationStatus string

ExpirationStatus If `Enabled`, the rule is currently being applied. If `Disabled`, the rule is not currently being applied.

const (
	EXPIRATIONSTATUS_ENABLED  ExpirationStatus = "Enabled"
	EXPIRATIONSTATUS_DISABLED ExpirationStatus = "Disabled"
)

List of ExpirationStatus

func (ExpirationStatus) Ptr added in v1.1.0

Ptr returns reference to ExpirationStatus value

func (*ExpirationStatus) UnmarshalJSON added in v1.1.0

func (v *ExpirationStatus) UnmarshalJSON(src []byte) error

type ExpressionType added in v1.1.0

type ExpressionType string

ExpressionType the model 'ExpressionType'

const (
	EXPRESSIONTYPE_SQL ExpressionType = "SQL"
)

List of ExpressionType

func (ExpressionType) Ptr added in v1.1.0

func (v ExpressionType) Ptr() *ExpressionType

Ptr returns reference to ExpressionType value

func (*ExpressionType) UnmarshalJSON added in v1.1.0

func (v *ExpressionType) UnmarshalJSON(src []byte) error

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

func (*GenericOpenAPIError) SetBody

func (e *GenericOpenAPIError) SetBody(body []byte)

SetBody sets the raw body of the error

func (*GenericOpenAPIError) SetError

func (e *GenericOpenAPIError) SetError(error string)

SetError sets the error string

func (*GenericOpenAPIError) SetModel

func (e *GenericOpenAPIError) SetModel(model interface{})

SetModel sets the model of the error

func (*GenericOpenAPIError) SetStatusCode

func (e *GenericOpenAPIError) SetStatusCode(statusCode int)

SetStatusCode sets the status code of the error

func (GenericOpenAPIError) StatusCode

func (e GenericOpenAPIError) StatusCode() int

StatusCode returns the status code of the error

type GetBucketCorsOutput added in v1.1.0

type GetBucketCorsOutput struct {
	XMLName xml.Name `xml:"CORSConfiguration"`
	// A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration.
	CORSRules *[]CORSRule `json:"CORSRules,omitempty" xml:"CORSRule"`
}

GetBucketCorsOutput struct for GetBucketCorsOutput

func NewGetBucketCorsOutput added in v1.1.0

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

func NewGetBucketCorsOutputWithDefaults added in v1.1.0

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

func (*GetBucketCorsOutput) GetCORSRules added in v1.1.0

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

GetCORSRules returns the CORSRules field value If the value is explicit nil, the zero value for []CORSRule will be returned

func (*GetBucketCorsOutput) GetCORSRulesOk added in v1.1.0

func (o *GetBucketCorsOutput) GetCORSRulesOk() (*[]CORSRule, bool)

GetCORSRulesOk returns a tuple with the CORSRules field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetBucketCorsOutput) HasCORSRules added in v1.1.0

func (o *GetBucketCorsOutput) HasCORSRules() bool

HasCORSRules returns a boolean if a field has been set.

func (GetBucketCorsOutput) MarshalJSON added in v1.1.0

func (o GetBucketCorsOutput) MarshalJSON() ([]byte, error)

func (*GetBucketCorsOutput) SetCORSRules added in v1.1.0

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

SetCORSRules sets field value

type GetBucketLifecycleOutput added in v1.1.0

type GetBucketLifecycleOutput struct {
	XMLName xml.Name `xml:"LifecycleConfiguration"`
	// Container for a lifecycle rules.
	Rules *[]Rule `json:"Rules,omitempty" xml:"Rule"`
}

GetBucketLifecycleOutput struct for GetBucketLifecycleOutput

func NewGetBucketLifecycleOutput added in v1.1.0

func NewGetBucketLifecycleOutput() *GetBucketLifecycleOutput

NewGetBucketLifecycleOutput instantiates a new GetBucketLifecycleOutput 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 NewGetBucketLifecycleOutputWithDefaults added in v1.1.0

func NewGetBucketLifecycleOutputWithDefaults() *GetBucketLifecycleOutput

NewGetBucketLifecycleOutputWithDefaults instantiates a new GetBucketLifecycleOutput 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 (*GetBucketLifecycleOutput) GetRules added in v1.1.0

func (o *GetBucketLifecycleOutput) GetRules() *[]Rule

GetRules returns the Rules field value If the value is explicit nil, the zero value for []Rule will be returned

func (*GetBucketLifecycleOutput) GetRulesOk added in v1.1.0

func (o *GetBucketLifecycleOutput) GetRulesOk() (*[]Rule, bool)

GetRulesOk returns a tuple with the Rules field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetBucketLifecycleOutput) HasRules added in v1.1.0

func (o *GetBucketLifecycleOutput) HasRules() bool

HasRules returns a boolean if a field has been set.

func (GetBucketLifecycleOutput) MarshalJSON added in v1.1.0

func (o GetBucketLifecycleOutput) MarshalJSON() ([]byte, error)

func (*GetBucketLifecycleOutput) SetRules added in v1.1.0

func (o *GetBucketLifecycleOutput) SetRules(v []Rule)

SetRules sets field value

type GetBucketReplicationOutput added in v1.1.0

type GetBucketReplicationOutput struct {
	XMLName                  xml.Name                  `xml:"GetBucketReplicationOutput"`
	ReplicationConfiguration *ReplicationConfiguration `json:"ReplicationConfiguration,omitempty" xml:"ReplicationConfiguration"`
}

GetBucketReplicationOutput struct for GetBucketReplicationOutput

func NewGetBucketReplicationOutput added in v1.1.0

func NewGetBucketReplicationOutput() *GetBucketReplicationOutput

NewGetBucketReplicationOutput instantiates a new GetBucketReplicationOutput 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 NewGetBucketReplicationOutputWithDefaults added in v1.1.0

func NewGetBucketReplicationOutputWithDefaults() *GetBucketReplicationOutput

NewGetBucketReplicationOutputWithDefaults instantiates a new GetBucketReplicationOutput 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 (*GetBucketReplicationOutput) GetReplicationConfiguration added in v1.1.0

func (o *GetBucketReplicationOutput) GetReplicationConfiguration() *ReplicationConfiguration

GetReplicationConfiguration returns the ReplicationConfiguration field value If the value is explicit nil, the zero value for ReplicationConfiguration will be returned

func (*GetBucketReplicationOutput) GetReplicationConfigurationOk added in v1.1.0

func (o *GetBucketReplicationOutput) GetReplicationConfigurationOk() (*ReplicationConfiguration, bool)

GetReplicationConfigurationOk returns a tuple with the ReplicationConfiguration field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetBucketReplicationOutput) HasReplicationConfiguration added in v1.1.0

func (o *GetBucketReplicationOutput) HasReplicationConfiguration() bool

HasReplicationConfiguration returns a boolean if a field has been set.

func (GetBucketReplicationOutput) MarshalJSON added in v1.1.0

func (o GetBucketReplicationOutput) MarshalJSON() ([]byte, error)

func (*GetBucketReplicationOutput) SetReplicationConfiguration added in v1.1.0

func (o *GetBucketReplicationOutput) SetReplicationConfiguration(v ReplicationConfiguration)

SetReplicationConfiguration sets field value

type GetBucketTaggingOutput

type GetBucketTaggingOutput struct {
	XMLName xml.Name `xml:"Tagging"`
	// Contains the tag set.
	TagSet *[]Tag `json:"TagSet" xml:"TagSet>Tag"`
}

GetBucketTaggingOutput struct for GetBucketTaggingOutput

func NewGetBucketTaggingOutput

func NewGetBucketTaggingOutput(tagSet []Tag) *GetBucketTaggingOutput

NewGetBucketTaggingOutput instantiates a new GetBucketTaggingOutput 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 NewGetBucketTaggingOutputWithDefaults

func NewGetBucketTaggingOutputWithDefaults() *GetBucketTaggingOutput

NewGetBucketTaggingOutputWithDefaults instantiates a new GetBucketTaggingOutput 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 (*GetBucketTaggingOutput) GetTagSet

func (o *GetBucketTaggingOutput) GetTagSet() *[]Tag

GetTagSet returns the TagSet field value If the value is explicit nil, the zero value for []Tag will be returned

func (*GetBucketTaggingOutput) GetTagSetOk

func (o *GetBucketTaggingOutput) GetTagSetOk() (*[]Tag, bool)

GetTagSetOk returns a tuple with the TagSet field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetBucketTaggingOutput) HasTagSet

func (o *GetBucketTaggingOutput) HasTagSet() bool

HasTagSet returns a boolean if a field has been set.

func (GetBucketTaggingOutput) MarshalJSON

func (o GetBucketTaggingOutput) MarshalJSON() ([]byte, error)

func (*GetBucketTaggingOutput) SetTagSet

func (o *GetBucketTaggingOutput) SetTagSet(v []Tag)

SetTagSet sets field value

type GetBucketVersioningOutput added in v1.1.0

type GetBucketVersioningOutput struct {
	XMLName   xml.Name                `xml:"VersioningConfiguration"`
	Status    *BucketVersioningStatus `json:"Status,omitempty" xml:"Status"`
	MfaDelete *MfaDeleteStatus        `json:"MfaDelete,omitempty" xml:"MfaDelete"`
}

GetBucketVersioningOutput The versioning configuration of the bucket.

func NewGetBucketVersioningOutput added in v1.1.0

func NewGetBucketVersioningOutput() *GetBucketVersioningOutput

NewGetBucketVersioningOutput instantiates a new GetBucketVersioningOutput 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 NewGetBucketVersioningOutputWithDefaults added in v1.1.0

func NewGetBucketVersioningOutputWithDefaults() *GetBucketVersioningOutput

NewGetBucketVersioningOutputWithDefaults instantiates a new GetBucketVersioningOutput 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 (*GetBucketVersioningOutput) GetMfaDelete added in v1.1.0

func (o *GetBucketVersioningOutput) GetMfaDelete() *MfaDeleteStatus

GetMfaDelete returns the MfaDelete field value If the value is explicit nil, the zero value for MfaDeleteStatus will be returned

func (*GetBucketVersioningOutput) GetMfaDeleteOk added in v1.1.0

func (o *GetBucketVersioningOutput) GetMfaDeleteOk() (*MfaDeleteStatus, bool)

GetMfaDeleteOk returns a tuple with the MfaDelete field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetBucketVersioningOutput) GetStatus added in v1.1.0

GetStatus returns the Status field value If the value is explicit nil, the zero value for BucketVersioningStatus will be returned

func (*GetBucketVersioningOutput) GetStatusOk added in v1.1.0

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetBucketVersioningOutput) HasMfaDelete added in v1.1.0

func (o *GetBucketVersioningOutput) HasMfaDelete() bool

HasMfaDelete returns a boolean if a field has been set.

func (*GetBucketVersioningOutput) HasStatus added in v1.1.0

func (o *GetBucketVersioningOutput) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (GetBucketVersioningOutput) MarshalJSON added in v1.1.0

func (o GetBucketVersioningOutput) MarshalJSON() ([]byte, error)

func (*GetBucketVersioningOutput) SetMfaDelete added in v1.1.0

func (o *GetBucketVersioningOutput) SetMfaDelete(v MfaDeleteStatus)

SetMfaDelete sets field value

func (*GetBucketVersioningOutput) SetStatus added in v1.1.0

SetStatus sets field value

type GetBucketWebsiteOutput added in v1.1.0

type GetBucketWebsiteOutput struct {
	XMLName               xml.Name               `xml:"WebsiteConfiguration"`
	RedirectAllRequestsTo *RedirectAllRequestsTo `json:"RedirectAllRequestsTo,omitempty" xml:"RedirectAllRequestsTo"`
	IndexDocument         *IndexDocument         `json:"IndexDocument,omitempty" xml:"IndexDocument"`
	ErrorDocument         *ErrorDocument         `json:"ErrorDocument,omitempty" xml:"ErrorDocument"`
	RoutingRules          *[]RoutingRule         `json:"RoutingRules,omitempty" xml:"RoutingRules"`
}

GetBucketWebsiteOutput struct for GetBucketWebsiteOutput

func NewGetBucketWebsiteOutput added in v1.1.0

func NewGetBucketWebsiteOutput() *GetBucketWebsiteOutput

NewGetBucketWebsiteOutput instantiates a new GetBucketWebsiteOutput 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 NewGetBucketWebsiteOutputWithDefaults added in v1.1.0

func NewGetBucketWebsiteOutputWithDefaults() *GetBucketWebsiteOutput

NewGetBucketWebsiteOutputWithDefaults instantiates a new GetBucketWebsiteOutput 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 (*GetBucketWebsiteOutput) GetErrorDocument added in v1.1.0

func (o *GetBucketWebsiteOutput) GetErrorDocument() *ErrorDocument

GetErrorDocument returns the ErrorDocument field value If the value is explicit nil, the zero value for ErrorDocument will be returned

func (*GetBucketWebsiteOutput) GetErrorDocumentOk added in v1.1.0

func (o *GetBucketWebsiteOutput) GetErrorDocumentOk() (*ErrorDocument, bool)

GetErrorDocumentOk returns a tuple with the ErrorDocument field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetBucketWebsiteOutput) GetIndexDocument added in v1.1.0

func (o *GetBucketWebsiteOutput) GetIndexDocument() *IndexDocument

GetIndexDocument returns the IndexDocument field value If the value is explicit nil, the zero value for IndexDocument will be returned

func (*GetBucketWebsiteOutput) GetIndexDocumentOk added in v1.1.0

func (o *GetBucketWebsiteOutput) GetIndexDocumentOk() (*IndexDocument, bool)

GetIndexDocumentOk returns a tuple with the IndexDocument field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetBucketWebsiteOutput) GetRedirectAllRequestsTo added in v1.1.0

func (o *GetBucketWebsiteOutput) GetRedirectAllRequestsTo() *RedirectAllRequestsTo

GetRedirectAllRequestsTo returns the RedirectAllRequestsTo field value If the value is explicit nil, the zero value for RedirectAllRequestsTo will be returned

func (*GetBucketWebsiteOutput) GetRedirectAllRequestsToOk added in v1.1.0

func (o *GetBucketWebsiteOutput) GetRedirectAllRequestsToOk() (*RedirectAllRequestsTo, bool)

GetRedirectAllRequestsToOk returns a tuple with the RedirectAllRequestsTo field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetBucketWebsiteOutput) GetRoutingRules added in v1.1.0

func (o *GetBucketWebsiteOutput) GetRoutingRules() *[]RoutingRule

GetRoutingRules returns the RoutingRules field value If the value is explicit nil, the zero value for []RoutingRule will be returned

func (*GetBucketWebsiteOutput) GetRoutingRulesOk added in v1.1.0

func (o *GetBucketWebsiteOutput) GetRoutingRulesOk() (*[]RoutingRule, bool)

GetRoutingRulesOk returns a tuple with the RoutingRules field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetBucketWebsiteOutput) HasErrorDocument added in v1.1.0

func (o *GetBucketWebsiteOutput) HasErrorDocument() bool

HasErrorDocument returns a boolean if a field has been set.

func (*GetBucketWebsiteOutput) HasIndexDocument added in v1.1.0

func (o *GetBucketWebsiteOutput) HasIndexDocument() bool

HasIndexDocument returns a boolean if a field has been set.

func (*GetBucketWebsiteOutput) HasRedirectAllRequestsTo added in v1.1.0

func (o *GetBucketWebsiteOutput) HasRedirectAllRequestsTo() bool

HasRedirectAllRequestsTo returns a boolean if a field has been set.

func (*GetBucketWebsiteOutput) HasRoutingRules added in v1.1.0

func (o *GetBucketWebsiteOutput) HasRoutingRules() bool

HasRoutingRules returns a boolean if a field has been set.

func (GetBucketWebsiteOutput) MarshalJSON added in v1.1.0

func (o GetBucketWebsiteOutput) MarshalJSON() ([]byte, error)

func (*GetBucketWebsiteOutput) SetErrorDocument added in v1.1.0

func (o *GetBucketWebsiteOutput) SetErrorDocument(v ErrorDocument)

SetErrorDocument sets field value

func (*GetBucketWebsiteOutput) SetIndexDocument added in v1.1.0

func (o *GetBucketWebsiteOutput) SetIndexDocument(v IndexDocument)

SetIndexDocument sets field value

func (*GetBucketWebsiteOutput) SetRedirectAllRequestsTo added in v1.1.0

func (o *GetBucketWebsiteOutput) SetRedirectAllRequestsTo(v RedirectAllRequestsTo)

SetRedirectAllRequestsTo sets field value

func (*GetBucketWebsiteOutput) SetRoutingRules added in v1.1.0

func (o *GetBucketWebsiteOutput) SetRoutingRules(v []RoutingRule)

SetRoutingRules sets field value

type GetObjectLockConfigurationOutput added in v1.1.0

type GetObjectLockConfigurationOutput struct {
	XMLName           xml.Name        `xml:"ObjectLockConfiguration"`
	ObjectLockEnabled *string         `json:"ObjectLockEnabled,omitempty" xml:"ObjectLockEnabled"`
	Rule              *ObjectLockRule `json:"Rule,omitempty" xml:"Rule"`
}

GetObjectLockConfigurationOutput A container for an object lock configuration.

func NewGetObjectLockConfigurationOutput added in v1.1.0

func NewGetObjectLockConfigurationOutput() *GetObjectLockConfigurationOutput

NewGetObjectLockConfigurationOutput instantiates a new GetObjectLockConfigurationOutput 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 NewGetObjectLockConfigurationOutputWithDefaults added in v1.1.0

func NewGetObjectLockConfigurationOutputWithDefaults() *GetObjectLockConfigurationOutput

NewGetObjectLockConfigurationOutputWithDefaults instantiates a new GetObjectLockConfigurationOutput 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 (*GetObjectLockConfigurationOutput) GetObjectLockEnabled added in v1.1.0

func (o *GetObjectLockConfigurationOutput) GetObjectLockEnabled() *string

GetObjectLockEnabled returns the ObjectLockEnabled field value If the value is explicit nil, the zero value for string will be returned

func (*GetObjectLockConfigurationOutput) GetObjectLockEnabledOk added in v1.1.0

func (o *GetObjectLockConfigurationOutput) GetObjectLockEnabledOk() (*string, bool)

GetObjectLockEnabledOk returns a tuple with the ObjectLockEnabled field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetObjectLockConfigurationOutput) GetRule added in v1.1.0

GetRule returns the Rule field value If the value is explicit nil, the zero value for ObjectLockRule will be returned

func (*GetObjectLockConfigurationOutput) GetRuleOk added in v1.1.0

GetRuleOk returns a tuple with the Rule field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetObjectLockConfigurationOutput) HasObjectLockEnabled added in v1.1.0

func (o *GetObjectLockConfigurationOutput) HasObjectLockEnabled() bool

HasObjectLockEnabled returns a boolean if a field has been set.

func (*GetObjectLockConfigurationOutput) HasRule added in v1.1.0

HasRule returns a boolean if a field has been set.

func (GetObjectLockConfigurationOutput) MarshalJSON added in v1.1.0

func (o GetObjectLockConfigurationOutput) MarshalJSON() ([]byte, error)

func (*GetObjectLockConfigurationOutput) SetObjectLockEnabled added in v1.1.0

func (o *GetObjectLockConfigurationOutput) SetObjectLockEnabled(v string)

SetObjectLockEnabled sets field value

func (*GetObjectLockConfigurationOutput) SetRule added in v1.1.0

SetRule sets field value

type GetObjectTaggingOutput

type GetObjectTaggingOutput struct {
	XMLName xml.Name `xml:"Tagging"`
	// Contains the tag set.
	TagSet *[]Tag `json:"TagSet" xml:"TagSet>Tag"`
}

GetObjectTaggingOutput struct for GetObjectTaggingOutput

func NewGetObjectTaggingOutput

func NewGetObjectTaggingOutput(tagSet []Tag) *GetObjectTaggingOutput

NewGetObjectTaggingOutput instantiates a new GetObjectTaggingOutput 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 NewGetObjectTaggingOutputWithDefaults

func NewGetObjectTaggingOutputWithDefaults() *GetObjectTaggingOutput

NewGetObjectTaggingOutputWithDefaults instantiates a new GetObjectTaggingOutput 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 (*GetObjectTaggingOutput) GetTagSet

func (o *GetObjectTaggingOutput) GetTagSet() *[]Tag

GetTagSet returns the TagSet field value If the value is explicit nil, the zero value for []Tag will be returned

func (*GetObjectTaggingOutput) GetTagSetOk

func (o *GetObjectTaggingOutput) GetTagSetOk() (*[]Tag, bool)

GetTagSetOk returns a tuple with the TagSet field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetObjectTaggingOutput) HasTagSet

func (o *GetObjectTaggingOutput) HasTagSet() bool

HasTagSet returns a boolean if a field has been set.

func (GetObjectTaggingOutput) MarshalJSON

func (o GetObjectTaggingOutput) MarshalJSON() ([]byte, error)

func (*GetObjectTaggingOutput) SetTagSet

func (o *GetObjectTaggingOutput) SetTagSet(v []Tag)

SetTagSet sets field value

type HeadObjectOutput

type HeadObjectOutput struct {
	XMLName xml.Name `xml:"HeadObjectOutput"`
	// A map of metadata to store with the object. Each key must start with  `x-amz-meta-` prefix.
	Metadata *map[string]string `json:"Metadata,omitempty" xml:"Metadata"`
}

HeadObjectOutput struct for HeadObjectOutput

func NewHeadObjectOutput

func NewHeadObjectOutput() *HeadObjectOutput

NewHeadObjectOutput instantiates a new HeadObjectOutput 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 NewHeadObjectOutputWithDefaults

func NewHeadObjectOutputWithDefaults() *HeadObjectOutput

NewHeadObjectOutputWithDefaults instantiates a new HeadObjectOutput 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 (*HeadObjectOutput) GetMetadata

func (o *HeadObjectOutput) GetMetadata() *map[string]string

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for map[string]string will be returned

func (*HeadObjectOutput) GetMetadataOk

func (o *HeadObjectOutput) GetMetadataOk() (*map[string]string, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*HeadObjectOutput) HasMetadata

func (o *HeadObjectOutput) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (HeadObjectOutput) MarshalJSON

func (o HeadObjectOutput) MarshalJSON() ([]byte, error)

func (*HeadObjectOutput) SetMetadata

func (o *HeadObjectOutput) SetMetadata(v map[string]string)

SetMetadata sets field value

type IndexDocument added in v1.1.0

type IndexDocument struct {
	XMLName xml.Name `xml:"IndexDocument"`
	// A suffix that is appended to a request that is for a directory on the website endpoint (for example, if the suffix is index.html and you make a request to `samplebucket/images/` the data that is returned will be for the object with the key name `images/index.html`) The suffix must not be empty and must not include a slash character. Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests.
	Suffix *string `json:"Suffix" xml:"Suffix"`
}

IndexDocument Container for the `Suffix` element.

func NewIndexDocument added in v1.1.0

func NewIndexDocument(suffix string) *IndexDocument

NewIndexDocument instantiates a new IndexDocument 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 NewIndexDocumentWithDefaults added in v1.1.0

func NewIndexDocumentWithDefaults() *IndexDocument

NewIndexDocumentWithDefaults instantiates a new IndexDocument 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 (*IndexDocument) GetSuffix added in v1.1.0

func (o *IndexDocument) GetSuffix() *string

GetSuffix returns the Suffix field value If the value is explicit nil, the zero value for string will be returned

func (*IndexDocument) GetSuffixOk added in v1.1.0

func (o *IndexDocument) GetSuffixOk() (*string, bool)

GetSuffixOk returns a tuple with the Suffix field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IndexDocument) HasSuffix added in v1.1.0

func (o *IndexDocument) HasSuffix() bool

HasSuffix returns a boolean if a field has been set.

func (IndexDocument) MarshalJSON added in v1.1.0

func (o IndexDocument) MarshalJSON() ([]byte, error)

func (*IndexDocument) SetSuffix added in v1.1.0

func (o *IndexDocument) SetSuffix(v string)

SetSuffix sets field value

type Initiator added in v1.1.0

type Initiator struct {
	XMLName xml.Name `xml:"Initiator"`
	// Container for the Contract Number of the owner.
	ID *int32 `json:"ID,omitempty" xml:"ID"`
	// Container for the display name of the owner.
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName"`
}

Initiator Container element that identifies who initiated the multipart upload.

func NewInitiator added in v1.1.0

func NewInitiator() *Initiator

NewInitiator instantiates a new Initiator 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 NewInitiatorWithDefaults added in v1.1.0

func NewInitiatorWithDefaults() *Initiator

NewInitiatorWithDefaults instantiates a new Initiator 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 (*Initiator) GetDisplayName added in v1.1.0

func (o *Initiator) GetDisplayName() *string

GetDisplayName returns the DisplayName field value If the value is explicit nil, the zero value for string will be returned

func (*Initiator) GetDisplayNameOk added in v1.1.0

func (o *Initiator) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Initiator) GetID added in v1.1.0

func (o *Initiator) GetID() *int32

GetID returns the ID field value If the value is explicit nil, the zero value for int32 will be returned

func (*Initiator) GetIDOk added in v1.1.0

func (o *Initiator) GetIDOk() (*int32, bool)

GetIDOk returns a tuple with the ID field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Initiator) HasDisplayName added in v1.1.0

func (o *Initiator) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*Initiator) HasID added in v1.1.0

func (o *Initiator) HasID() bool

HasID returns a boolean if a field has been set.

func (Initiator) MarshalJSON added in v1.1.0

func (o Initiator) MarshalJSON() ([]byte, error)

func (*Initiator) SetDisplayName added in v1.1.0

func (o *Initiator) SetDisplayName(v string)

SetDisplayName sets field value

func (*Initiator) SetID added in v1.1.0

func (o *Initiator) SetID(v int32)

SetID sets field value

type InputSerialization added in v1.1.0

type InputSerialization struct {
	XMLName xml.Name  `xml:"InputSerialization"`
	CSV     *CSVInput `json:"CSV,omitempty" xml:"CSV"`
	// Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. Default Value: NONE.
	CompressionType *string                 `json:"CompressionType,omitempty" xml:"CompressionType"`
	JSON            *InputSerializationJSON `json:"JSON,omitempty" xml:"JSON"`
	// Specifies Parquet as object's input serialization format.
	Parquet *map[string]interface{} `json:"Parquet,omitempty" xml:"Parquet"`
}

InputSerialization Describes the serialization format of the object.

func NewInputSerialization added in v1.1.0

func NewInputSerialization() *InputSerialization

NewInputSerialization instantiates a new InputSerialization 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 NewInputSerializationWithDefaults added in v1.1.0

func NewInputSerializationWithDefaults() *InputSerialization

NewInputSerializationWithDefaults instantiates a new InputSerialization 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 (*InputSerialization) GetCSV added in v1.1.0

func (o *InputSerialization) GetCSV() *CSVInput

GetCSV returns the CSV field value If the value is explicit nil, the zero value for CSVInput will be returned

func (*InputSerialization) GetCSVOk added in v1.1.0

func (o *InputSerialization) GetCSVOk() (*CSVInput, bool)

GetCSVOk returns a tuple with the CSV field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*InputSerialization) GetCompressionType added in v1.1.0

func (o *InputSerialization) GetCompressionType() *string

GetCompressionType returns the CompressionType field value If the value is explicit nil, the zero value for string will be returned

func (*InputSerialization) GetCompressionTypeOk added in v1.1.0

func (o *InputSerialization) GetCompressionTypeOk() (*string, bool)

GetCompressionTypeOk returns a tuple with the CompressionType field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*InputSerialization) GetJSON added in v1.1.0

GetJSON returns the JSON field value If the value is explicit nil, the zero value for InputSerializationJSON will be returned

func (*InputSerialization) GetJSONOk added in v1.1.0

func (o *InputSerialization) GetJSONOk() (*InputSerializationJSON, bool)

GetJSONOk returns a tuple with the JSON field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*InputSerialization) GetParquet added in v1.1.0

func (o *InputSerialization) GetParquet() *map[string]interface{}

GetParquet returns the Parquet field value If the value is explicit nil, the zero value for map[string]interface{} will be returned

func (*InputSerialization) GetParquetOk added in v1.1.0

func (o *InputSerialization) GetParquetOk() (*map[string]interface{}, bool)

GetParquetOk returns a tuple with the Parquet field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*InputSerialization) HasCSV added in v1.1.0

func (o *InputSerialization) HasCSV() bool

HasCSV returns a boolean if a field has been set.

func (*InputSerialization) HasCompressionType added in v1.1.0

func (o *InputSerialization) HasCompressionType() bool

HasCompressionType returns a boolean if a field has been set.

func (*InputSerialization) HasJSON added in v1.1.0

func (o *InputSerialization) HasJSON() bool

HasJSON returns a boolean if a field has been set.

func (*InputSerialization) HasParquet added in v1.1.0

func (o *InputSerialization) HasParquet() bool

HasParquet returns a boolean if a field has been set.

func (InputSerialization) MarshalJSON added in v1.1.0

func (o InputSerialization) MarshalJSON() ([]byte, error)

func (*InputSerialization) SetCSV added in v1.1.0

func (o *InputSerialization) SetCSV(v CSVInput)

SetCSV sets field value

func (*InputSerialization) SetCompressionType added in v1.1.0

func (o *InputSerialization) SetCompressionType(v string)

SetCompressionType sets field value

func (*InputSerialization) SetJSON added in v1.1.0

SetJSON sets field value

func (*InputSerialization) SetParquet added in v1.1.0

func (o *InputSerialization) SetParquet(v map[string]interface{})

SetParquet sets field value

type InputSerializationJSON added in v1.1.0

type InputSerializationJSON struct {
	XMLName xml.Name `xml:"InputSerializationJSON"`
	// Specifies JSON as object's input serialization format.
	Type *string `json:"Type,omitempty" xml:"Type"`
}

InputSerializationJSON Specifies JSON as object's input serialization format.

func NewInputSerializationJSON added in v1.1.0

func NewInputSerializationJSON() *InputSerializationJSON

NewInputSerializationJSON instantiates a new InputSerializationJSON 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 NewInputSerializationJSONWithDefaults added in v1.1.0

func NewInputSerializationJSONWithDefaults() *InputSerializationJSON

NewInputSerializationJSONWithDefaults instantiates a new InputSerializationJSON 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 (*InputSerializationJSON) GetType added in v1.1.0

func (o *InputSerializationJSON) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*InputSerializationJSON) GetTypeOk added in v1.1.0

func (o *InputSerializationJSON) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*InputSerializationJSON) HasType added in v1.1.0

func (o *InputSerializationJSON) HasType() bool

HasType returns a boolean if a field has been set.

func (InputSerializationJSON) MarshalJSON added in v1.1.0

func (o InputSerializationJSON) MarshalJSON() ([]byte, error)

func (*InputSerializationJSON) SetType added in v1.1.0

func (o *InputSerializationJSON) SetType(v string)

SetType sets field value

type IonosTime

type IonosTime struct {
	time.Time
}

func (*IonosTime) UnmarshalJSON

func (t *IonosTime) UnmarshalJSON(data []byte) error

type JSONOutput added in v1.1.0

type JSONOutput struct {
	XMLName xml.Name `xml:"JSONOutput"`
	// The value used to separate individual records in the output. If no value is specified, IONOS S3 Object Storage uses a newline character ('\\n').
	RecordDelimiter *string `json:"RecordDelimiter,omitempty" xml:"RecordDelimiter"`
}

JSONOutput Specifies JSON as request's output serialization format.

func NewJSONOutput added in v1.1.0

func NewJSONOutput() *JSONOutput

NewJSONOutput instantiates a new JSONOutput 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 NewJSONOutputWithDefaults added in v1.1.0

func NewJSONOutputWithDefaults() *JSONOutput

NewJSONOutputWithDefaults instantiates a new JSONOutput 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 (*JSONOutput) GetRecordDelimiter added in v1.1.0

func (o *JSONOutput) GetRecordDelimiter() *string

GetRecordDelimiter returns the RecordDelimiter field value If the value is explicit nil, the zero value for string will be returned

func (*JSONOutput) GetRecordDelimiterOk added in v1.1.0

func (o *JSONOutput) GetRecordDelimiterOk() (*string, bool)

GetRecordDelimiterOk returns a tuple with the RecordDelimiter field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*JSONOutput) HasRecordDelimiter added in v1.1.0

func (o *JSONOutput) HasRecordDelimiter() bool

HasRecordDelimiter returns a boolean if a field has been set.

func (JSONOutput) MarshalJSON added in v1.1.0

func (o JSONOutput) MarshalJSON() ([]byte, error)

func (*JSONOutput) SetRecordDelimiter added in v1.1.0

func (o *JSONOutput) SetRecordDelimiter(v string)

SetRecordDelimiter sets field value

type LifecycleApiService added in v1.1.0

type LifecycleApiService service

LifecycleApiService LifecycleApi service

func (*LifecycleApiService) DeleteBucketLifecycle added in v1.1.0

func (a *LifecycleApiService) DeleteBucketLifecycle(ctx context.Context, bucket string) ApiDeleteBucketLifecycleRequest

DeleteBucketLifecycle DeleteBucketLifecycle

Deletes the lifecycle configuration from the specified bucket. As a result, objects within the bucket will neither expire nor be automatically deleted based on any rules from the deleted configuration.

#### Permissions You must be the contract owner or an administrator to perform this operation. If not, they can grant you permission to perform the `s3:PutLifecycleConfiguration` operation using [Bucket Policy](#tag/Policy/operation/PutBucketPolicy).

**Note:** A brief delay may occur before the lifecycle configuration deletion is fully propagated across all IONOS S3 Object Storage systems. During this time, lifecycle rules may remain temporarily active.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiDeleteBucketLifecycleRequest

func (*LifecycleApiService) DeleteBucketLifecycleExecute added in v1.1.0

func (a *LifecycleApiService) DeleteBucketLifecycleExecute(r ApiDeleteBucketLifecycleRequest) (*APIResponse, error)

Execute executes the request

func (*LifecycleApiService) GetBucketLifecycle added in v1.1.0

func (a *LifecycleApiService) GetBucketLifecycle(ctx context.Context, bucket string) ApiGetBucketLifecycleRequest

GetBucketLifecycle GetBucketLifecycle

Returns the lifecycle configuration for the specified S3 bucket.

#### Permissions You must be the contract owner or an administrator to perform this operation. If not, they can grant you permission to perform the `s3:GetLifecycleConfiguration` operation using [Bucket Policy](#tag/Policy/operation/PutBucketPolicy).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiGetBucketLifecycleRequest

func (*LifecycleApiService) GetBucketLifecycleExecute added in v1.1.0

Execute executes the request

@return GetBucketLifecycleOutput

func (*LifecycleApiService) PutBucketLifecycle added in v1.1.0

func (a *LifecycleApiService) PutBucketLifecycle(ctx context.Context, bucket string) ApiPutBucketLifecycleRequest

PutBucketLifecycle PutBucketLifecycle

Creates a new lifecycle configuration for a specified bucket, or replaces an existing configuration.</p> This lifecycle configuration allows automatic management of the objects within the bucket. Typical actions can include the deletion of objects after a certain period or deletion of non-current versions of objects.

#### Permissions You must be the contract owner or an administrator to perform this operation. If not, they can grant you permission to perform the `s3:PutLifecycleConfiguration` operation using [Bucket Policy](#tag/Policy/operation/PutBucketPolicy).

#### S3 API Compatibility - The `NewerNoncurrentVersions` setting is not supported for the `NoncurrentVersionExpiration` option. - The `Transition` and the `NoncurrentVersionTransition` options are omitted as only the `STANDARD` storage class is currenly supported.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiPutBucketLifecycleRequest

func (*LifecycleApiService) PutBucketLifecycleExecute added in v1.1.0

func (a *LifecycleApiService) PutBucketLifecycleExecute(r ApiPutBucketLifecycleRequest) (*APIResponse, error)

Execute executes the request

type LifecycleExpiration added in v1.1.0

type LifecycleExpiration struct {
	XMLName xml.Name `xml:"Expiration"`
	// Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format.
	Date *string `json:"Date,omitempty" xml:"Date"`
	// Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.
	Days *int32 `json:"Days,omitempty" xml:"Days"`
	// Indicates whether IONOS S3 Object Storage will remove a delete marker with no noncurrent versions. If set to true, the delete marker will be expired; if set to false the policy takes no operation. This cannot be specified with Days or Date in a Lifecycle Expiration Policy.
	ExpiredObjectDeleteMarker *bool `json:"ExpiredObjectDeleteMarker,omitempty" xml:"ExpiredObjectDeleteMarker"`
}

LifecycleExpiration Specifies when the object expires based on the values defined in the lifecycle configuration.

func NewLifecycleExpiration added in v1.1.0

func NewLifecycleExpiration() *LifecycleExpiration

NewLifecycleExpiration instantiates a new LifecycleExpiration 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 NewLifecycleExpirationWithDefaults added in v1.1.0

func NewLifecycleExpirationWithDefaults() *LifecycleExpiration

NewLifecycleExpirationWithDefaults instantiates a new LifecycleExpiration 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 (*LifecycleExpiration) GetDate added in v1.1.0

func (o *LifecycleExpiration) GetDate() *string

GetDate returns the Date field value If the value is explicit nil, the zero value for string will be returned

func (*LifecycleExpiration) GetDateOk added in v1.1.0

func (o *LifecycleExpiration) GetDateOk() (*string, bool)

GetDateOk returns a tuple with the Date field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*LifecycleExpiration) GetDays added in v1.1.0

func (o *LifecycleExpiration) GetDays() *int32

GetDays returns the Days field value If the value is explicit nil, the zero value for int32 will be returned

func (*LifecycleExpiration) GetDaysOk added in v1.1.0

func (o *LifecycleExpiration) GetDaysOk() (*int32, bool)

GetDaysOk returns a tuple with the Days field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*LifecycleExpiration) GetExpiredObjectDeleteMarker added in v1.1.0

func (o *LifecycleExpiration) GetExpiredObjectDeleteMarker() *bool

GetExpiredObjectDeleteMarker returns the ExpiredObjectDeleteMarker field value If the value is explicit nil, the zero value for bool will be returned

func (*LifecycleExpiration) GetExpiredObjectDeleteMarkerOk added in v1.1.0

func (o *LifecycleExpiration) GetExpiredObjectDeleteMarkerOk() (*bool, bool)

GetExpiredObjectDeleteMarkerOk returns a tuple with the ExpiredObjectDeleteMarker field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*LifecycleExpiration) HasDate added in v1.1.0

func (o *LifecycleExpiration) HasDate() bool

HasDate returns a boolean if a field has been set.

func (*LifecycleExpiration) HasDays added in v1.1.0

func (o *LifecycleExpiration) HasDays() bool

HasDays returns a boolean if a field has been set.

func (*LifecycleExpiration) HasExpiredObjectDeleteMarker added in v1.1.0

func (o *LifecycleExpiration) HasExpiredObjectDeleteMarker() bool

HasExpiredObjectDeleteMarker returns a boolean if a field has been set.

func (LifecycleExpiration) MarshalJSON added in v1.1.0

func (o LifecycleExpiration) MarshalJSON() ([]byte, error)

func (*LifecycleExpiration) SetDate added in v1.1.0

func (o *LifecycleExpiration) SetDate(v string)

SetDate sets field value

func (*LifecycleExpiration) SetDays added in v1.1.0

func (o *LifecycleExpiration) SetDays(v int32)

SetDays sets field value

func (*LifecycleExpiration) SetExpiredObjectDeleteMarker added in v1.1.0

func (o *LifecycleExpiration) SetExpiredObjectDeleteMarker(v bool)

SetExpiredObjectDeleteMarker sets field value

type ListAllMyBucketsResult

type ListAllMyBucketsResult struct {
	XMLName xml.Name  `xml:"ListAllMyBucketsResult"`
	Owner   *Owner    `json:"Owner,omitempty" xml:"Owner"`
	Buckets *[]Bucket `json:"Buckets,omitempty" xml:"Buckets>Bucket"`
}

ListAllMyBucketsResult struct for ListAllMyBucketsResult

func NewListAllMyBucketsResult

func NewListAllMyBucketsResult() *ListAllMyBucketsResult

NewListAllMyBucketsResult instantiates a new ListAllMyBucketsResult 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 NewListAllMyBucketsResultWithDefaults

func NewListAllMyBucketsResultWithDefaults() *ListAllMyBucketsResult

NewListAllMyBucketsResultWithDefaults instantiates a new ListAllMyBucketsResult 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 (*ListAllMyBucketsResult) GetBuckets

func (o *ListAllMyBucketsResult) GetBuckets() *[]Bucket

GetBuckets returns the Buckets field value If the value is explicit nil, the zero value for []Bucket will be returned

func (*ListAllMyBucketsResult) GetBucketsOk

func (o *ListAllMyBucketsResult) GetBucketsOk() (*[]Bucket, bool)

GetBucketsOk returns a tuple with the Buckets field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListAllMyBucketsResult) GetOwner

func (o *ListAllMyBucketsResult) GetOwner() *Owner

GetOwner returns the Owner field value If the value is explicit nil, the zero value for Owner will be returned

func (*ListAllMyBucketsResult) GetOwnerOk

func (o *ListAllMyBucketsResult) GetOwnerOk() (*Owner, bool)

GetOwnerOk returns a tuple with the Owner field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListAllMyBucketsResult) HasBuckets

func (o *ListAllMyBucketsResult) HasBuckets() bool

HasBuckets returns a boolean if a field has been set.

func (*ListAllMyBucketsResult) HasOwner

func (o *ListAllMyBucketsResult) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (ListAllMyBucketsResult) MarshalJSON

func (o ListAllMyBucketsResult) MarshalJSON() ([]byte, error)

func (*ListAllMyBucketsResult) SetBuckets

func (o *ListAllMyBucketsResult) SetBuckets(v []Bucket)

SetBuckets sets field value

func (*ListAllMyBucketsResult) SetOwner

func (o *ListAllMyBucketsResult) SetOwner(v Owner)

SetOwner sets field value

type ListBucketResultV2

type ListBucketResultV2 struct {
	XMLName xml.Name `xml:"ListBucketResult"`
	// The bucket name.
	Name *string `json:"Name" xml:"Name"`
	// 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.
	Prefix *string `json:"Prefix" xml:"Prefix"`
	// 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.
	MaxKeys *int32 `json:"MaxKeys" xml:"MaxKeys"`
	// 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.
	IsTruncated *bool  `json:"IsTruncated" xml:"IsTruncated"`
	KeyCount    *int32 `json:"KeyCount" xml:"KeyCount"`
	// Metadata about each object returned.
	Contents  *[]Object `json:"Contents" xml:"Contents"`
	Delimiter *string   `json:"Delimiter,omitempty" xml:"Delimiter"`
	// All of the keys rolled up into a common prefix count as a single return when calculating the number of returns.
	CommonPrefixes *[]CommonPrefix `json:"CommonPrefixes,omitempty" xml:"CommonPrefixes"`
	EncodingType   *EncodingType   `json:"EncodingType,omitempty" xml:"EncodingType"`
	// If ContinuationToken was sent with the request, it is included in the response.
	ContinuationToken *string `json:"ContinuationToken,omitempty" xml:"ContinuationToken"`
	// `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.
	NextContinuationToken *string `json:"NextContinuationToken,omitempty" xml:"NextContinuationToken"`
	// If StartAfter was sent with the request, it is included in the response.
	StartAfter *string `json:"StartAfter,omitempty" xml:"StartAfter"`
}

ListBucketResultV2 A container for the data.

func 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

func 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

func (*ListBucketResultV2) GetCommonPrefixes

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

GetCommonPrefixes returns the CommonPrefixes field value If the value is explicit nil, the zero value for []CommonPrefix will be returned

func (*ListBucketResultV2) GetCommonPrefixesOk

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

GetCommonPrefixesOk returns a tuple with the CommonPrefixes field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListBucketResultV2) GetContents

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

GetContents returns the Contents field value If the value is explicit nil, the zero value for []Object will be returned

func (*ListBucketResultV2) GetContentsOk

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

GetContentsOk returns a tuple with the Contents field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListBucketResultV2) GetContinuationToken

func (o *ListBucketResultV2) GetContinuationToken() *string

GetContinuationToken returns the ContinuationToken field value If the value is explicit nil, the zero value for string will be returned

func (*ListBucketResultV2) GetContinuationTokenOk

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

GetContinuationTokenOk returns a tuple with the ContinuationToken field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListBucketResultV2) GetDelimiter

func (o *ListBucketResultV2) GetDelimiter() *string

GetDelimiter returns the Delimiter field value If the value is explicit nil, the zero value for string will be returned

func (*ListBucketResultV2) GetDelimiterOk

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

GetDelimiterOk returns a tuple with the Delimiter field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListBucketResultV2) GetEncodingType

func (o *ListBucketResultV2) GetEncodingType() *EncodingType

GetEncodingType returns the EncodingType field value If the value is explicit nil, the zero value for EncodingType will be returned

func (*ListBucketResultV2) GetEncodingTypeOk

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

GetEncodingTypeOk returns a tuple with the EncodingType field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListBucketResultV2) GetIsTruncated

func (o *ListBucketResultV2) GetIsTruncated() *bool

GetIsTruncated returns the IsTruncated field value If the value is explicit nil, the zero value for bool will be returned

func (*ListBucketResultV2) GetIsTruncatedOk

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

GetIsTruncatedOk returns a tuple with the IsTruncated field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListBucketResultV2) GetKeyCount

func (o *ListBucketResultV2) GetKeyCount() *int32

GetKeyCount returns the KeyCount field value If the value is explicit nil, the zero value for int32 will be returned

func (*ListBucketResultV2) GetKeyCountOk

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

GetKeyCountOk returns a tuple with the KeyCount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListBucketResultV2) GetMaxKeys

func (o *ListBucketResultV2) GetMaxKeys() *int32

GetMaxKeys returns the MaxKeys field value If the value is explicit nil, the zero value for int32 will be returned

func (*ListBucketResultV2) GetMaxKeysOk

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

GetMaxKeysOk returns a tuple with the MaxKeys field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListBucketResultV2) GetName

func (o *ListBucketResultV2) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*ListBucketResultV2) GetNameOk

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

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListBucketResultV2) GetNextContinuationToken

func (o *ListBucketResultV2) GetNextContinuationToken() *string

GetNextContinuationToken returns the NextContinuationToken field value If the value is explicit nil, the zero value for string will be returned

func (*ListBucketResultV2) GetNextContinuationTokenOk

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

GetNextContinuationTokenOk returns a tuple with the NextContinuationToken field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListBucketResultV2) GetPrefix

func (o *ListBucketResultV2) GetPrefix() *string

GetPrefix returns the Prefix field value If the value is explicit nil, the zero value for string will be returned

func (*ListBucketResultV2) GetPrefixOk

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

GetPrefixOk returns a tuple with the Prefix field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListBucketResultV2) GetStartAfter

func (o *ListBucketResultV2) GetStartAfter() *string

GetStartAfter returns the StartAfter field value If the value is explicit nil, the zero value for string will be returned

func (*ListBucketResultV2) GetStartAfterOk

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

GetStartAfterOk returns a tuple with the StartAfter field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListBucketResultV2) HasCommonPrefixes

func (o *ListBucketResultV2) HasCommonPrefixes() bool

HasCommonPrefixes returns a boolean if a field has been set.

func (*ListBucketResultV2) HasContents

func (o *ListBucketResultV2) HasContents() bool

HasContents returns a boolean if a field has been set.

func (*ListBucketResultV2) HasContinuationToken

func (o *ListBucketResultV2) HasContinuationToken() bool

HasContinuationToken returns a boolean if a field has been set.

func (*ListBucketResultV2) HasDelimiter

func (o *ListBucketResultV2) HasDelimiter() bool

HasDelimiter returns a boolean if a field has been set.

func (*ListBucketResultV2) HasEncodingType

func (o *ListBucketResultV2) HasEncodingType() bool

HasEncodingType returns a boolean if a field has been set.

func (*ListBucketResultV2) HasIsTruncated

func (o *ListBucketResultV2) HasIsTruncated() bool

HasIsTruncated returns a boolean if a field has been set.

func (*ListBucketResultV2) HasKeyCount

func (o *ListBucketResultV2) HasKeyCount() bool

HasKeyCount returns a boolean if a field has been set.

func (*ListBucketResultV2) HasMaxKeys

func (o *ListBucketResultV2) HasMaxKeys() bool

HasMaxKeys returns a boolean if a field has been set.

func (*ListBucketResultV2) HasName

func (o *ListBucketResultV2) HasName() bool

HasName returns a boolean if a field has been set.

func (*ListBucketResultV2) HasNextContinuationToken

func (o *ListBucketResultV2) HasNextContinuationToken() bool

HasNextContinuationToken returns a boolean if a field has been set.

func (*ListBucketResultV2) HasPrefix

func (o *ListBucketResultV2) HasPrefix() bool

HasPrefix returns a boolean if a field has been set.

func (*ListBucketResultV2) HasStartAfter

func (o *ListBucketResultV2) HasStartAfter() bool

HasStartAfter returns a boolean if a field has been set.

func (ListBucketResultV2) MarshalJSON

func (o ListBucketResultV2) MarshalJSON() ([]byte, error)

func (*ListBucketResultV2) SetCommonPrefixes

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

SetCommonPrefixes sets field value

func (*ListBucketResultV2) SetContents

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

SetContents sets field value

func (*ListBucketResultV2) SetContinuationToken

func (o *ListBucketResultV2) SetContinuationToken(v string)

SetContinuationToken sets field value

func (*ListBucketResultV2) SetDelimiter

func (o *ListBucketResultV2) SetDelimiter(v string)

SetDelimiter sets field value

func (*ListBucketResultV2) SetEncodingType

func (o *ListBucketResultV2) SetEncodingType(v EncodingType)

SetEncodingType sets field value

func (*ListBucketResultV2) SetIsTruncated

func (o *ListBucketResultV2) SetIsTruncated(v bool)

SetIsTruncated sets field value

func (*ListBucketResultV2) SetKeyCount

func (o *ListBucketResultV2) SetKeyCount(v int32)

SetKeyCount sets field value

func (*ListBucketResultV2) SetMaxKeys

func (o *ListBucketResultV2) SetMaxKeys(v int32)

SetMaxKeys sets field value

func (*ListBucketResultV2) SetName

func (o *ListBucketResultV2) SetName(v string)

SetName sets field value

func (*ListBucketResultV2) SetNextContinuationToken

func (o *ListBucketResultV2) SetNextContinuationToken(v string)

SetNextContinuationToken sets field value

func (*ListBucketResultV2) SetPrefix

func (o *ListBucketResultV2) SetPrefix(v string)

SetPrefix sets field value

func (*ListBucketResultV2) SetStartAfter

func (o *ListBucketResultV2) SetStartAfter(v string)

SetStartAfter sets field value

type ListMultipartUploadsOutput added in v1.1.0

type ListMultipartUploadsOutput struct {
	XMLName xml.Name `xml:"ListMultipartUploadsOutput"`
	// The bucket name.
	Bucket *string `json:"Bucket,omitempty" xml:"Name"`
	// The key at or after which the listing began.
	KeyMarker *string `json:"KeyMarker,omitempty" xml:"KeyMarker"`
	// Upload ID after which listing began.
	UploadIdMarker *string `json:"UploadIdMarker,omitempty" xml:"UploadIdMarker"`
	// When a list is truncated, this element specifies the value that should be used for the key-marker request parameter in a subsequent request.
	NextKeyMarker *string `json:"NextKeyMarker,omitempty" xml:"NextKeyMarker"`
	// When a prefix is provided in the request, this field contains the specified prefix. The result contains only keys starting with the specified prefix.
	Prefix *string `json:"Prefix,omitempty" xml:"Prefix"`
	// Contains the delimiter you specified in the request. If you don't specify a delimiter in your request, this element is absent from the response.
	Delimiter *string `json:"Delimiter,omitempty" xml:"Delimiter"`
	// When a list is truncated, this element specifies the value that should be used for the `upload-id-marker` request parameter in a subsequent request.
	NextUploadIdMarker *string `json:"NextUploadIdMarker,omitempty" xml:"NextUploadIdMarker"`
	// Maximum number of multipart uploads that could have been included in the response.
	MaxUploads *int32 `json:"MaxUploads,omitempty" xml:"MaxUploads"`
	// 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.
	IsTruncated *bool `json:"IsTruncated,omitempty" xml:"IsTruncated"`
	// Container for elements related to a particular multipart upload. A response can contain zero or more `Upload` elements.
	Uploads *[]MultipartUpload `json:"Uploads,omitempty" xml:"Uploads"`
	// All of the keys rolled up into a common prefix count as a single return when calculating the number of returns.
	CommonPrefixes *[]CommonPrefix `json:"CommonPrefixes,omitempty" xml:"CommonPrefixes"`
	EncodingType   *EncodingType   `json:"EncodingType,omitempty" xml:"EncodingType"`
}

ListMultipartUploadsOutput struct for ListMultipartUploadsOutput

func NewListMultipartUploadsOutput added in v1.1.0

func NewListMultipartUploadsOutput() *ListMultipartUploadsOutput

NewListMultipartUploadsOutput instantiates a new ListMultipartUploadsOutput 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 NewListMultipartUploadsOutputWithDefaults added in v1.1.0

func NewListMultipartUploadsOutputWithDefaults() *ListMultipartUploadsOutput

NewListMultipartUploadsOutputWithDefaults instantiates a new ListMultipartUploadsOutput 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 (*ListMultipartUploadsOutput) GetBucket added in v1.1.0

func (o *ListMultipartUploadsOutput) GetBucket() *string

GetBucket returns the Bucket field value If the value is explicit nil, the zero value for string will be returned

func (*ListMultipartUploadsOutput) GetBucketOk added in v1.1.0

func (o *ListMultipartUploadsOutput) GetBucketOk() (*string, bool)

GetBucketOk returns a tuple with the Bucket field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListMultipartUploadsOutput) GetCommonPrefixes added in v1.1.0

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

GetCommonPrefixes returns the CommonPrefixes field value If the value is explicit nil, the zero value for []CommonPrefix will be returned

func (*ListMultipartUploadsOutput) GetCommonPrefixesOk added in v1.1.0

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

GetCommonPrefixesOk returns a tuple with the CommonPrefixes field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListMultipartUploadsOutput) GetDelimiter added in v1.1.0

func (o *ListMultipartUploadsOutput) GetDelimiter() *string

GetDelimiter returns the Delimiter field value If the value is explicit nil, the zero value for string will be returned

func (*ListMultipartUploadsOutput) GetDelimiterOk added in v1.1.0

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

GetDelimiterOk returns a tuple with the Delimiter field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListMultipartUploadsOutput) GetEncodingType added in v1.1.0

func (o *ListMultipartUploadsOutput) GetEncodingType() *EncodingType

GetEncodingType returns the EncodingType field value If the value is explicit nil, the zero value for EncodingType will be returned

func (*ListMultipartUploadsOutput) GetEncodingTypeOk added in v1.1.0

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

GetEncodingTypeOk returns a tuple with the EncodingType field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListMultipartUploadsOutput) GetIsTruncated added in v1.1.0

func (o *ListMultipartUploadsOutput) GetIsTruncated() *bool

GetIsTruncated returns the IsTruncated field value If the value is explicit nil, the zero value for bool will be returned

func (*ListMultipartUploadsOutput) GetIsTruncatedOk added in v1.1.0

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

GetIsTruncatedOk returns a tuple with the IsTruncated field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListMultipartUploadsOutput) GetKeyMarker added in v1.1.0

func (o *ListMultipartUploadsOutput) GetKeyMarker() *string

GetKeyMarker returns the KeyMarker field value If the value is explicit nil, the zero value for string will be returned

func (*ListMultipartUploadsOutput) GetKeyMarkerOk added in v1.1.0

func (o *ListMultipartUploadsOutput) GetKeyMarkerOk() (*string, bool)

GetKeyMarkerOk returns a tuple with the KeyMarker field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListMultipartUploadsOutput) GetMaxUploads added in v1.1.0

func (o *ListMultipartUploadsOutput) GetMaxUploads() *int32

GetMaxUploads returns the MaxUploads field value If the value is explicit nil, the zero value for int32 will be returned

func (*ListMultipartUploadsOutput) GetMaxUploadsOk added in v1.1.0

func (o *ListMultipartUploadsOutput) GetMaxUploadsOk() (*int32, bool)

GetMaxUploadsOk returns a tuple with the MaxUploads field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListMultipartUploadsOutput) GetNextKeyMarker added in v1.1.0

func (o *ListMultipartUploadsOutput) GetNextKeyMarker() *string

GetNextKeyMarker returns the NextKeyMarker field value If the value is explicit nil, the zero value for string will be returned

func (*ListMultipartUploadsOutput) GetNextKeyMarkerOk added in v1.1.0

func (o *ListMultipartUploadsOutput) GetNextKeyMarkerOk() (*string, bool)

GetNextKeyMarkerOk returns a tuple with the NextKeyMarker field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListMultipartUploadsOutput) GetNextUploadIdMarker added in v1.1.0

func (o *ListMultipartUploadsOutput) GetNextUploadIdMarker() *string

GetNextUploadIdMarker returns the NextUploadIdMarker field value If the value is explicit nil, the zero value for string will be returned

func (*ListMultipartUploadsOutput) GetNextUploadIdMarkerOk added in v1.1.0

func (o *ListMultipartUploadsOutput) GetNextUploadIdMarkerOk() (*string, bool)

GetNextUploadIdMarkerOk returns a tuple with the NextUploadIdMarker field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListMultipartUploadsOutput) GetPrefix added in v1.1.0

func (o *ListMultipartUploadsOutput) GetPrefix() *string

GetPrefix returns the Prefix field value If the value is explicit nil, the zero value for string will be returned

func (*ListMultipartUploadsOutput) GetPrefixOk added in v1.1.0

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

GetPrefixOk returns a tuple with the Prefix field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListMultipartUploadsOutput) GetUploadIdMarker added in v1.1.0

func (o *ListMultipartUploadsOutput) GetUploadIdMarker() *string

GetUploadIdMarker returns the UploadIdMarker field value If the value is explicit nil, the zero value for string will be returned

func (*ListMultipartUploadsOutput) GetUploadIdMarkerOk added in v1.1.0

func (o *ListMultipartUploadsOutput) GetUploadIdMarkerOk() (*string, bool)

GetUploadIdMarkerOk returns a tuple with the UploadIdMarker field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListMultipartUploadsOutput) GetUploads added in v1.1.0

func (o *ListMultipartUploadsOutput) GetUploads() *[]MultipartUpload

GetUploads returns the Uploads field value If the value is explicit nil, the zero value for []MultipartUpload will be returned

func (*ListMultipartUploadsOutput) GetUploadsOk added in v1.1.0

func (o *ListMultipartUploadsOutput) GetUploadsOk() (*[]MultipartUpload, bool)

GetUploadsOk returns a tuple with the Uploads field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListMultipartUploadsOutput) HasBucket added in v1.1.0

func (o *ListMultipartUploadsOutput) HasBucket() bool

HasBucket returns a boolean if a field has been set.

func (*ListMultipartUploadsOutput) HasCommonPrefixes added in v1.1.0

func (o *ListMultipartUploadsOutput) HasCommonPrefixes() bool

HasCommonPrefixes returns a boolean if a field has been set.

func (*ListMultipartUploadsOutput) HasDelimiter added in v1.1.0

func (o *ListMultipartUploadsOutput) HasDelimiter() bool

HasDelimiter returns a boolean if a field has been set.

func (*ListMultipartUploadsOutput) HasEncodingType added in v1.1.0

func (o *ListMultipartUploadsOutput) HasEncodingType() bool

HasEncodingType returns a boolean if a field has been set.

func (*ListMultipartUploadsOutput) HasIsTruncated added in v1.1.0

func (o *ListMultipartUploadsOutput) HasIsTruncated() bool

HasIsTruncated returns a boolean if a field has been set.

func (*ListMultipartUploadsOutput) HasKeyMarker added in v1.1.0

func (o *ListMultipartUploadsOutput) HasKeyMarker() bool

HasKeyMarker returns a boolean if a field has been set.

func (*ListMultipartUploadsOutput) HasMaxUploads added in v1.1.0

func (o *ListMultipartUploadsOutput) HasMaxUploads() bool

HasMaxUploads returns a boolean if a field has been set.

func (*ListMultipartUploadsOutput) HasNextKeyMarker added in v1.1.0

func (o *ListMultipartUploadsOutput) HasNextKeyMarker() bool

HasNextKeyMarker returns a boolean if a field has been set.

func (*ListMultipartUploadsOutput) HasNextUploadIdMarker added in v1.1.0

func (o *ListMultipartUploadsOutput) HasNextUploadIdMarker() bool

HasNextUploadIdMarker returns a boolean if a field has been set.

func (*ListMultipartUploadsOutput) HasPrefix added in v1.1.0

func (o *ListMultipartUploadsOutput) HasPrefix() bool

HasPrefix returns a boolean if a field has been set.

func (*ListMultipartUploadsOutput) HasUploadIdMarker added in v1.1.0

func (o *ListMultipartUploadsOutput) HasUploadIdMarker() bool

HasUploadIdMarker returns a boolean if a field has been set.

func (*ListMultipartUploadsOutput) HasUploads added in v1.1.0

func (o *ListMultipartUploadsOutput) HasUploads() bool

HasUploads returns a boolean if a field has been set.

func (ListMultipartUploadsOutput) MarshalJSON added in v1.1.0

func (o ListMultipartUploadsOutput) MarshalJSON() ([]byte, error)

func (*ListMultipartUploadsOutput) SetBucket added in v1.1.0

func (o *ListMultipartUploadsOutput) SetBucket(v string)

SetBucket sets field value

func (*ListMultipartUploadsOutput) SetCommonPrefixes added in v1.1.0

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

SetCommonPrefixes sets field value

func (*ListMultipartUploadsOutput) SetDelimiter added in v1.1.0

func (o *ListMultipartUploadsOutput) SetDelimiter(v string)

SetDelimiter sets field value

func (*ListMultipartUploadsOutput) SetEncodingType added in v1.1.0

func (o *ListMultipartUploadsOutput) SetEncodingType(v EncodingType)

SetEncodingType sets field value

func (*ListMultipartUploadsOutput) SetIsTruncated added in v1.1.0

func (o *ListMultipartUploadsOutput) SetIsTruncated(v bool)

SetIsTruncated sets field value

func (*ListMultipartUploadsOutput) SetKeyMarker added in v1.1.0

func (o *ListMultipartUploadsOutput) SetKeyMarker(v string)

SetKeyMarker sets field value

func (*ListMultipartUploadsOutput) SetMaxUploads added in v1.1.0

func (o *ListMultipartUploadsOutput) SetMaxUploads(v int32)

SetMaxUploads sets field value

func (*ListMultipartUploadsOutput) SetNextKeyMarker added in v1.1.0

func (o *ListMultipartUploadsOutput) SetNextKeyMarker(v string)

SetNextKeyMarker sets field value

func (*ListMultipartUploadsOutput) SetNextUploadIdMarker added in v1.1.0

func (o *ListMultipartUploadsOutput) SetNextUploadIdMarker(v string)

SetNextUploadIdMarker sets field value

func (*ListMultipartUploadsOutput) SetPrefix added in v1.1.0

func (o *ListMultipartUploadsOutput) SetPrefix(v string)

SetPrefix sets field value

func (*ListMultipartUploadsOutput) SetUploadIdMarker added in v1.1.0

func (o *ListMultipartUploadsOutput) SetUploadIdMarker(v string)

SetUploadIdMarker sets field value

func (*ListMultipartUploadsOutput) SetUploads added in v1.1.0

func (o *ListMultipartUploadsOutput) SetUploads(v []MultipartUpload)

SetUploads sets field value

type ListObjectVersionsOutput added in v1.1.0

type ListObjectVersionsOutput struct {
	XMLName xml.Name `xml:"ListVersionsResult"`
	// 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.
	IsTruncated *bool `json:"IsTruncated,omitempty" xml:"IsTruncated"`
	// Marks the last key returned in a truncated response.
	KeyMarker *string `json:"KeyMarker,omitempty" xml:"KeyMarker"`
	// Marks the last version of the key returned in a truncated response.
	VersionIdMarker *string `json:"VersionIdMarker,omitempty" xml:"VersionIdMarker"`
	// When the number of responses exceeds the value of `MaxKeys`, `NextKeyMarker` specifies the first key not returned that satisfies the search criteria. Use this value for the key-marker request parameter in a subsequent request.
	NextKeyMarker *string `json:"NextKeyMarker,omitempty" xml:"NextKeyMarker"`
	// When the number of responses exceeds the value of `MaxKeys`, `NextVersionIdMarker` specifies the first object version not returned that satisfies the search criteria. Use this value for the version-id-marker request parameter in a subsequent request.
	NextVersionIdMarker *string `json:"NextVersionIdMarker,omitempty" xml:"NextVersionIdMarker"`
	// Container for version information.
	Versions      *[]ObjectVersion     `json:"Versions,omitempty" xml:"Version"`
	DeleteMarkers *[]DeleteMarkerEntry `json:"DeleteMarkers,omitempty" xml:"DeleteMarker"`
	// The bucket name.
	Name *string `json:"Name,omitempty" xml:"Name"`
	// Selects objects that start with the value supplied by this parameter.
	Prefix    *string `json:"Prefix,omitempty" xml:"Prefix"`
	Delimiter *string `json:"Delimiter,omitempty" xml:"Delimiter"`
	// 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.
	MaxKeys *int32 `json:"MaxKeys,omitempty" xml:"MaxKeys"`
	// All of the keys rolled up into a common prefix count as a single return when calculating the number of returns.
	CommonPrefixes *[]CommonPrefix `json:"CommonPrefixes,omitempty" xml:"CommonPrefixes"`
	EncodingType   *EncodingType   `json:"EncodingType,omitempty" xml:"EncodingType"`
}

ListObjectVersionsOutput struct for ListObjectVersionsOutput

func NewListObjectVersionsOutput added in v1.1.0

func NewListObjectVersionsOutput() *ListObjectVersionsOutput

NewListObjectVersionsOutput instantiates a new ListObjectVersionsOutput 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 NewListObjectVersionsOutputWithDefaults added in v1.1.0

func NewListObjectVersionsOutputWithDefaults() *ListObjectVersionsOutput

NewListObjectVersionsOutputWithDefaults instantiates a new ListObjectVersionsOutput 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 (*ListObjectVersionsOutput) GetCommonPrefixes added in v1.1.0

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

GetCommonPrefixes returns the CommonPrefixes field value If the value is explicit nil, the zero value for []CommonPrefix will be returned

func (*ListObjectVersionsOutput) GetCommonPrefixesOk added in v1.1.0

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

GetCommonPrefixesOk returns a tuple with the CommonPrefixes field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListObjectVersionsOutput) GetDeleteMarkers added in v1.1.0

func (o *ListObjectVersionsOutput) GetDeleteMarkers() *[]DeleteMarkerEntry

GetDeleteMarkers returns the DeleteMarkers field value If the value is explicit nil, the zero value for []DeleteMarkerEntry will be returned

func (*ListObjectVersionsOutput) GetDeleteMarkersOk added in v1.1.0

func (o *ListObjectVersionsOutput) GetDeleteMarkersOk() (*[]DeleteMarkerEntry, bool)

GetDeleteMarkersOk returns a tuple with the DeleteMarkers field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListObjectVersionsOutput) GetDelimiter added in v1.1.0

func (o *ListObjectVersionsOutput) GetDelimiter() *string

GetDelimiter returns the Delimiter field value If the value is explicit nil, the zero value for string will be returned

func (*ListObjectVersionsOutput) GetDelimiterOk added in v1.1.0

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

GetDelimiterOk returns a tuple with the Delimiter field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListObjectVersionsOutput) GetEncodingType added in v1.1.0

func (o *ListObjectVersionsOutput) GetEncodingType() *EncodingType

GetEncodingType returns the EncodingType field value If the value is explicit nil, the zero value for EncodingType will be returned

func (*ListObjectVersionsOutput) GetEncodingTypeOk added in v1.1.0

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

GetEncodingTypeOk returns a tuple with the EncodingType field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListObjectVersionsOutput) GetIsTruncated added in v1.1.0

func (o *ListObjectVersionsOutput) GetIsTruncated() *bool

GetIsTruncated returns the IsTruncated field value If the value is explicit nil, the zero value for bool will be returned

func (*ListObjectVersionsOutput) GetIsTruncatedOk added in v1.1.0

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

GetIsTruncatedOk returns a tuple with the IsTruncated field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListObjectVersionsOutput) GetKeyMarker added in v1.1.0

func (o *ListObjectVersionsOutput) GetKeyMarker() *string

GetKeyMarker returns the KeyMarker field value If the value is explicit nil, the zero value for string will be returned

func (*ListObjectVersionsOutput) GetKeyMarkerOk added in v1.1.0

func (o *ListObjectVersionsOutput) GetKeyMarkerOk() (*string, bool)

GetKeyMarkerOk returns a tuple with the KeyMarker field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListObjectVersionsOutput) GetMaxKeys added in v1.1.0

func (o *ListObjectVersionsOutput) GetMaxKeys() *int32

GetMaxKeys returns the MaxKeys field value If the value is explicit nil, the zero value for int32 will be returned

func (*ListObjectVersionsOutput) GetMaxKeysOk added in v1.1.0

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

GetMaxKeysOk returns a tuple with the MaxKeys field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListObjectVersionsOutput) GetName added in v1.1.0

func (o *ListObjectVersionsOutput) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*ListObjectVersionsOutput) GetNameOk added in v1.1.0

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

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListObjectVersionsOutput) GetNextKeyMarker added in v1.1.0

func (o *ListObjectVersionsOutput) GetNextKeyMarker() *string

GetNextKeyMarker returns the NextKeyMarker field value If the value is explicit nil, the zero value for string will be returned

func (*ListObjectVersionsOutput) GetNextKeyMarkerOk added in v1.1.0

func (o *ListObjectVersionsOutput) GetNextKeyMarkerOk() (*string, bool)

GetNextKeyMarkerOk returns a tuple with the NextKeyMarker field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListObjectVersionsOutput) GetNextVersionIdMarker added in v1.1.0

func (o *ListObjectVersionsOutput) GetNextVersionIdMarker() *string

GetNextVersionIdMarker returns the NextVersionIdMarker field value If the value is explicit nil, the zero value for string will be returned

func (*ListObjectVersionsOutput) GetNextVersionIdMarkerOk added in v1.1.0

func (o *ListObjectVersionsOutput) GetNextVersionIdMarkerOk() (*string, bool)

GetNextVersionIdMarkerOk returns a tuple with the NextVersionIdMarker field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListObjectVersionsOutput) GetPrefix added in v1.1.0

func (o *ListObjectVersionsOutput) GetPrefix() *string

GetPrefix returns the Prefix field value If the value is explicit nil, the zero value for string will be returned

func (*ListObjectVersionsOutput) GetPrefixOk added in v1.1.0

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

GetPrefixOk returns a tuple with the Prefix field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListObjectVersionsOutput) GetVersionIdMarker added in v1.1.0

func (o *ListObjectVersionsOutput) GetVersionIdMarker() *string

GetVersionIdMarker returns the VersionIdMarker field value If the value is explicit nil, the zero value for string will be returned

func (*ListObjectVersionsOutput) GetVersionIdMarkerOk added in v1.1.0

func (o *ListObjectVersionsOutput) GetVersionIdMarkerOk() (*string, bool)

GetVersionIdMarkerOk returns a tuple with the VersionIdMarker field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListObjectVersionsOutput) GetVersions added in v1.1.0

func (o *ListObjectVersionsOutput) GetVersions() *[]ObjectVersion

GetVersions returns the Versions field value If the value is explicit nil, the zero value for []ObjectVersion will be returned

func (*ListObjectVersionsOutput) GetVersionsOk added in v1.1.0

func (o *ListObjectVersionsOutput) GetVersionsOk() (*[]ObjectVersion, bool)

GetVersionsOk returns a tuple with the Versions field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListObjectVersionsOutput) HasCommonPrefixes added in v1.1.0

func (o *ListObjectVersionsOutput) HasCommonPrefixes() bool

HasCommonPrefixes returns a boolean if a field has been set.

func (*ListObjectVersionsOutput) HasDeleteMarkers added in v1.1.0

func (o *ListObjectVersionsOutput) HasDeleteMarkers() bool

HasDeleteMarkers returns a boolean if a field has been set.

func (*ListObjectVersionsOutput) HasDelimiter added in v1.1.0

func (o *ListObjectVersionsOutput) HasDelimiter() bool

HasDelimiter returns a boolean if a field has been set.

func (*ListObjectVersionsOutput) HasEncodingType added in v1.1.0

func (o *ListObjectVersionsOutput) HasEncodingType() bool

HasEncodingType returns a boolean if a field has been set.

func (*ListObjectVersionsOutput) HasIsTruncated added in v1.1.0

func (o *ListObjectVersionsOutput) HasIsTruncated() bool

HasIsTruncated returns a boolean if a field has been set.

func (*ListObjectVersionsOutput) HasKeyMarker added in v1.1.0

func (o *ListObjectVersionsOutput) HasKeyMarker() bool

HasKeyMarker returns a boolean if a field has been set.

func (*ListObjectVersionsOutput) HasMaxKeys added in v1.1.0

func (o *ListObjectVersionsOutput) HasMaxKeys() bool

HasMaxKeys returns a boolean if a field has been set.

func (*ListObjectVersionsOutput) HasName added in v1.1.0

func (o *ListObjectVersionsOutput) HasName() bool

HasName returns a boolean if a field has been set.

func (*ListObjectVersionsOutput) HasNextKeyMarker added in v1.1.0

func (o *ListObjectVersionsOutput) HasNextKeyMarker() bool

HasNextKeyMarker returns a boolean if a field has been set.

func (*ListObjectVersionsOutput) HasNextVersionIdMarker added in v1.1.0

func (o *ListObjectVersionsOutput) HasNextVersionIdMarker() bool

HasNextVersionIdMarker returns a boolean if a field has been set.

func (*ListObjectVersionsOutput) HasPrefix added in v1.1.0

func (o *ListObjectVersionsOutput) HasPrefix() bool

HasPrefix returns a boolean if a field has been set.

func (*ListObjectVersionsOutput) HasVersionIdMarker added in v1.1.0

func (o *ListObjectVersionsOutput) HasVersionIdMarker() bool

HasVersionIdMarker returns a boolean if a field has been set.

func (*ListObjectVersionsOutput) HasVersions added in v1.1.0

func (o *ListObjectVersionsOutput) HasVersions() bool

HasVersions returns a boolean if a field has been set.

func (ListObjectVersionsOutput) MarshalJSON added in v1.1.0

func (o ListObjectVersionsOutput) MarshalJSON() ([]byte, error)

func (*ListObjectVersionsOutput) SetCommonPrefixes added in v1.1.0

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

SetCommonPrefixes sets field value

func (*ListObjectVersionsOutput) SetDeleteMarkers added in v1.1.0

func (o *ListObjectVersionsOutput) SetDeleteMarkers(v []DeleteMarkerEntry)

SetDeleteMarkers sets field value

func (*ListObjectVersionsOutput) SetDelimiter added in v1.1.0

func (o *ListObjectVersionsOutput) SetDelimiter(v string)

SetDelimiter sets field value

func (*ListObjectVersionsOutput) SetEncodingType added in v1.1.0

func (o *ListObjectVersionsOutput) SetEncodingType(v EncodingType)

SetEncodingType sets field value

func (*ListObjectVersionsOutput) SetIsTruncated added in v1.1.0

func (o *ListObjectVersionsOutput) SetIsTruncated(v bool)

SetIsTruncated sets field value

func (*ListObjectVersionsOutput) SetKeyMarker added in v1.1.0

func (o *ListObjectVersionsOutput) SetKeyMarker(v string)

SetKeyMarker sets field value

func (*ListObjectVersionsOutput) SetMaxKeys added in v1.1.0

func (o *ListObjectVersionsOutput) SetMaxKeys(v int32)

SetMaxKeys sets field value

func (*ListObjectVersionsOutput) SetName added in v1.1.0

func (o *ListObjectVersionsOutput) SetName(v string)

SetName sets field value

func (*ListObjectVersionsOutput) SetNextKeyMarker added in v1.1.0

func (o *ListObjectVersionsOutput) SetNextKeyMarker(v string)

SetNextKeyMarker sets field value

func (*ListObjectVersionsOutput) SetNextVersionIdMarker added in v1.1.0

func (o *ListObjectVersionsOutput) SetNextVersionIdMarker(v string)

SetNextVersionIdMarker sets field value

func (*ListObjectVersionsOutput) SetPrefix added in v1.1.0

func (o *ListObjectVersionsOutput) SetPrefix(v string)

SetPrefix sets field value

func (*ListObjectVersionsOutput) SetVersionIdMarker added in v1.1.0

func (o *ListObjectVersionsOutput) SetVersionIdMarker(v string)

SetVersionIdMarker sets field value

func (*ListObjectVersionsOutput) SetVersions added in v1.1.0

func (o *ListObjectVersionsOutput) SetVersions(v []ObjectVersion)

SetVersions sets field value

type ListObjectsOutput

type ListObjectsOutput struct {
	XMLName xml.Name `xml:"ListBucketResult"`
	// 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.
	IsTruncated *bool `json:"IsTruncated,omitempty" xml:"IsTruncated"`
	// Indicates where in the bucket listing begins. Marker is included in the response if it was sent with the request.
	Marker *string `json:"Marker,omitempty" xml:"Marker"`
	// When response is truncated (the IsTruncated element value in the response is true), you can use the key name in this field as marker in the subsequent request to get next set of objects. IONOS S3 Object Storage lists objects in alphabetical order Note: This element is returned only if you have delimiter request parameter specified. If response does not include the NextMarker and it is truncated, you can use the value of the last Key in the response as the marker in the subsequent request to get the next set of object keys.
	NextMarker *string `json:"NextMarker,omitempty" xml:"NextMarker"`
	// Metadata about each object returned.
	Contents *[]Object `json:"Contents,omitempty" xml:"Contents"`
	// The bucket name.
	Name *string `json:"Name,omitempty" xml:"Name"`
	// 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.
	Prefix    *string `json:"Prefix,omitempty" xml:"Prefix"`
	Delimiter *string `json:"Delimiter,omitempty" xml:"Delimiter"`
	// 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.
	MaxKeys *int32 `json:"MaxKeys,omitempty" xml:"MaxKeys"`
	// All of the keys rolled up into a common prefix count as a single return when calculating the number of returns.
	CommonPrefixes *[]CommonPrefix `json:"CommonPrefixes,omitempty" xml:"CommonPrefixes"`
	EncodingType   *EncodingType   `json:"EncodingType,omitempty" xml:"EncodingType"`
}

ListObjectsOutput struct for ListObjectsOutput

func NewListObjectsOutput

func NewListObjectsOutput() *ListObjectsOutput

NewListObjectsOutput instantiates a new ListObjectsOutput 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 NewListObjectsOutputWithDefaults

func NewListObjectsOutputWithDefaults() *ListObjectsOutput

NewListObjectsOutputWithDefaults instantiates a new ListObjectsOutput 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 (*ListObjectsOutput) GetCommonPrefixes

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

GetCommonPrefixes returns the CommonPrefixes field value If the value is explicit nil, the zero value for []CommonPrefix will be returned

func (*ListObjectsOutput) GetCommonPrefixesOk

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

GetCommonPrefixesOk returns a tuple with the CommonPrefixes field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListObjectsOutput) GetContents

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

GetContents returns the Contents field value If the value is explicit nil, the zero value for []Object will be returned

func (*ListObjectsOutput) GetContentsOk

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

GetContentsOk returns a tuple with the Contents field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListObjectsOutput) GetDelimiter

func (o *ListObjectsOutput) GetDelimiter() *string

GetDelimiter returns the Delimiter field value If the value is explicit nil, the zero value for string will be returned

func (*ListObjectsOutput) GetDelimiterOk

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

GetDelimiterOk returns a tuple with the Delimiter field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListObjectsOutput) GetEncodingType

func (o *ListObjectsOutput) GetEncodingType() *EncodingType

GetEncodingType returns the EncodingType field value If the value is explicit nil, the zero value for EncodingType will be returned

func (*ListObjectsOutput) GetEncodingTypeOk

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

GetEncodingTypeOk returns a tuple with the EncodingType field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListObjectsOutput) GetIsTruncated

func (o *ListObjectsOutput) GetIsTruncated() *bool

GetIsTruncated returns the IsTruncated field value If the value is explicit nil, the zero value for bool will be returned

func (*ListObjectsOutput) GetIsTruncatedOk

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

GetIsTruncatedOk returns a tuple with the IsTruncated field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListObjectsOutput) GetMarker

func (o *ListObjectsOutput) GetMarker() *string

GetMarker returns the Marker field value If the value is explicit nil, the zero value for string will be returned

func (*ListObjectsOutput) GetMarkerOk

func (o *ListObjectsOutput) GetMarkerOk() (*string, bool)

GetMarkerOk returns a tuple with the Marker field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListObjectsOutput) GetMaxKeys

func (o *ListObjectsOutput) GetMaxKeys() *int32

GetMaxKeys returns the MaxKeys field value If the value is explicit nil, the zero value for int32 will be returned

func (*ListObjectsOutput) GetMaxKeysOk

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

GetMaxKeysOk returns a tuple with the MaxKeys field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListObjectsOutput) GetName

func (o *ListObjectsOutput) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*ListObjectsOutput) GetNameOk

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

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListObjectsOutput) GetNextMarker

func (o *ListObjectsOutput) GetNextMarker() *string

GetNextMarker returns the NextMarker field value If the value is explicit nil, the zero value for string will be returned

func (*ListObjectsOutput) GetNextMarkerOk

func (o *ListObjectsOutput) GetNextMarkerOk() (*string, bool)

GetNextMarkerOk returns a tuple with the NextMarker field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListObjectsOutput) GetPrefix

func (o *ListObjectsOutput) GetPrefix() *string

GetPrefix returns the Prefix field value If the value is explicit nil, the zero value for string will be returned

func (*ListObjectsOutput) GetPrefixOk

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

GetPrefixOk returns a tuple with the Prefix field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListObjectsOutput) HasCommonPrefixes

func (o *ListObjectsOutput) HasCommonPrefixes() bool

HasCommonPrefixes returns a boolean if a field has been set.

func (*ListObjectsOutput) HasContents

func (o *ListObjectsOutput) HasContents() bool

HasContents returns a boolean if a field has been set.

func (*ListObjectsOutput) HasDelimiter

func (o *ListObjectsOutput) HasDelimiter() bool

HasDelimiter returns a boolean if a field has been set.

func (*ListObjectsOutput) HasEncodingType

func (o *ListObjectsOutput) HasEncodingType() bool

HasEncodingType returns a boolean if a field has been set.

func (*ListObjectsOutput) HasIsTruncated

func (o *ListObjectsOutput) HasIsTruncated() bool

HasIsTruncated returns a boolean if a field has been set.

func (*ListObjectsOutput) HasMarker

func (o *ListObjectsOutput) HasMarker() bool

HasMarker returns a boolean if a field has been set.

func (*ListObjectsOutput) HasMaxKeys

func (o *ListObjectsOutput) HasMaxKeys() bool

HasMaxKeys returns a boolean if a field has been set.

func (*ListObjectsOutput) HasName

func (o *ListObjectsOutput) HasName() bool

HasName returns a boolean if a field has been set.

func (*ListObjectsOutput) HasNextMarker

func (o *ListObjectsOutput) HasNextMarker() bool

HasNextMarker returns a boolean if a field has been set.

func (*ListObjectsOutput) HasPrefix

func (o *ListObjectsOutput) HasPrefix() bool

HasPrefix returns a boolean if a field has been set.

func (ListObjectsOutput) MarshalJSON

func (o ListObjectsOutput) MarshalJSON() ([]byte, error)

func (*ListObjectsOutput) SetCommonPrefixes

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

SetCommonPrefixes sets field value

func (*ListObjectsOutput) SetContents

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

SetContents sets field value

func (*ListObjectsOutput) SetDelimiter

func (o *ListObjectsOutput) SetDelimiter(v string)

SetDelimiter sets field value

func (*ListObjectsOutput) SetEncodingType

func (o *ListObjectsOutput) SetEncodingType(v EncodingType)

SetEncodingType sets field value

func (*ListObjectsOutput) SetIsTruncated

func (o *ListObjectsOutput) SetIsTruncated(v bool)

SetIsTruncated sets field value

func (*ListObjectsOutput) SetMarker

func (o *ListObjectsOutput) SetMarker(v string)

SetMarker sets field value

func (*ListObjectsOutput) SetMaxKeys

func (o *ListObjectsOutput) SetMaxKeys(v int32)

SetMaxKeys sets field value

func (*ListObjectsOutput) SetName

func (o *ListObjectsOutput) SetName(v string)

SetName sets field value

func (*ListObjectsOutput) SetNextMarker

func (o *ListObjectsOutput) SetNextMarker(v string)

SetNextMarker sets field value

func (*ListObjectsOutput) SetPrefix

func (o *ListObjectsOutput) SetPrefix(v string)

SetPrefix sets field value

type ListPartsOutput added in v1.1.0

type ListPartsOutput struct {
	XMLName xml.Name `xml:"ListPartsOutput"`
	// The bucket name.
	Bucket *string `json:"Bucket,omitempty" xml:"Name"`
	// The object key.
	Key *string `json:"Key,omitempty" xml:"Key"`
	// ID of the multipart upload.
	UploadId *string `json:"UploadId,omitempty" xml:"UploadId"`
	// When a list is truncated, this element specifies the last part in the list, as well as the value to use for the part-number-marker request parameter in a subsequent request.
	PartNumberMarker *int32 `json:"PartNumberMarker,omitempty" xml:"PartNumberMarker"`
	// When a list is truncated, this element specifies the last part in the list, as well as the value to use for the part-number-marker request parameter in a subsequent request.
	NextPartNumberMarker *string `json:"NextPartNumberMarker,omitempty" xml:"NextPartNumberMarker"`
	// Maximum number of parts that were allowed in the response.
	MaxParts *string `json:"MaxParts,omitempty" xml:"MaxParts"`
	// 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.
	IsTruncated *bool `json:"IsTruncated,omitempty" xml:"IsTruncated"`
	//  Container for elements related to a particular part. A response can contain zero or more `Part` elements.
	Parts        *[]Part       `json:"Parts,omitempty" xml:"Parts"`
	Initiator    *Initiator    `json:"Initiator,omitempty" xml:"Initiator"`
	Owner        *Owner        `json:"Owner,omitempty" xml:"Owner"`
	StorageClass *StorageClass `json:"StorageClass,omitempty" xml:"StorageClass"`
}

ListPartsOutput struct for ListPartsOutput

func NewListPartsOutput added in v1.1.0

func NewListPartsOutput() *ListPartsOutput

NewListPartsOutput instantiates a new ListPartsOutput 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 NewListPartsOutputWithDefaults added in v1.1.0

func NewListPartsOutputWithDefaults() *ListPartsOutput

NewListPartsOutputWithDefaults instantiates a new ListPartsOutput 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 (*ListPartsOutput) GetBucket added in v1.1.0

func (o *ListPartsOutput) GetBucket() *string

GetBucket returns the Bucket field value If the value is explicit nil, the zero value for string will be returned

func (*ListPartsOutput) GetBucketOk added in v1.1.0

func (o *ListPartsOutput) GetBucketOk() (*string, bool)

GetBucketOk returns a tuple with the Bucket field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListPartsOutput) GetInitiator added in v1.1.0

func (o *ListPartsOutput) GetInitiator() *Initiator

GetInitiator returns the Initiator field value If the value is explicit nil, the zero value for Initiator will be returned

func (*ListPartsOutput) GetInitiatorOk added in v1.1.0

func (o *ListPartsOutput) GetInitiatorOk() (*Initiator, bool)

GetInitiatorOk returns a tuple with the Initiator field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListPartsOutput) GetIsTruncated added in v1.1.0

func (o *ListPartsOutput) GetIsTruncated() *bool

GetIsTruncated returns the IsTruncated field value If the value is explicit nil, the zero value for bool will be returned

func (*ListPartsOutput) GetIsTruncatedOk added in v1.1.0

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

GetIsTruncatedOk returns a tuple with the IsTruncated field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListPartsOutput) GetKey added in v1.1.0

func (o *ListPartsOutput) GetKey() *string

GetKey returns the Key field value If the value is explicit nil, the zero value for string will be returned

func (*ListPartsOutput) GetKeyOk added in v1.1.0

func (o *ListPartsOutput) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListPartsOutput) GetMaxParts added in v1.1.0

func (o *ListPartsOutput) GetMaxParts() *string

GetMaxParts returns the MaxParts field value If the value is explicit nil, the zero value for string will be returned

func (*ListPartsOutput) GetMaxPartsOk added in v1.1.0

func (o *ListPartsOutput) GetMaxPartsOk() (*string, bool)

GetMaxPartsOk returns a tuple with the MaxParts field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListPartsOutput) GetNextPartNumberMarker added in v1.1.0

func (o *ListPartsOutput) GetNextPartNumberMarker() *string

GetNextPartNumberMarker returns the NextPartNumberMarker field value If the value is explicit nil, the zero value for string will be returned

func (*ListPartsOutput) GetNextPartNumberMarkerOk added in v1.1.0

func (o *ListPartsOutput) GetNextPartNumberMarkerOk() (*string, bool)

GetNextPartNumberMarkerOk returns a tuple with the NextPartNumberMarker field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListPartsOutput) GetOwner added in v1.1.0

func (o *ListPartsOutput) GetOwner() *Owner

GetOwner returns the Owner field value If the value is explicit nil, the zero value for Owner will be returned

func (*ListPartsOutput) GetOwnerOk added in v1.1.0

func (o *ListPartsOutput) GetOwnerOk() (*Owner, bool)

GetOwnerOk returns a tuple with the Owner field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListPartsOutput) GetPartNumberMarker added in v1.1.0

func (o *ListPartsOutput) GetPartNumberMarker() *int32

GetPartNumberMarker returns the PartNumberMarker field value If the value is explicit nil, the zero value for int32 will be returned

func (*ListPartsOutput) GetPartNumberMarkerOk added in v1.1.0

func (o *ListPartsOutput) GetPartNumberMarkerOk() (*int32, bool)

GetPartNumberMarkerOk returns a tuple with the PartNumberMarker field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListPartsOutput) GetParts added in v1.1.0

func (o *ListPartsOutput) GetParts() *[]Part

GetParts returns the Parts field value If the value is explicit nil, the zero value for []Part will be returned

func (*ListPartsOutput) GetPartsOk added in v1.1.0

func (o *ListPartsOutput) GetPartsOk() (*[]Part, bool)

GetPartsOk returns a tuple with the Parts field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListPartsOutput) GetStorageClass added in v1.1.0

func (o *ListPartsOutput) GetStorageClass() *StorageClass

GetStorageClass returns the StorageClass field value If the value is explicit nil, the zero value for StorageClass will be returned

func (*ListPartsOutput) GetStorageClassOk added in v1.1.0

func (o *ListPartsOutput) GetStorageClassOk() (*StorageClass, bool)

GetStorageClassOk returns a tuple with the StorageClass field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListPartsOutput) GetUploadId added in v1.1.0

func (o *ListPartsOutput) GetUploadId() *string

GetUploadId returns the UploadId field value If the value is explicit nil, the zero value for string will be returned

func (*ListPartsOutput) GetUploadIdOk added in v1.1.0

func (o *ListPartsOutput) GetUploadIdOk() (*string, bool)

GetUploadIdOk returns a tuple with the UploadId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListPartsOutput) HasBucket added in v1.1.0

func (o *ListPartsOutput) HasBucket() bool

HasBucket returns a boolean if a field has been set.

func (*ListPartsOutput) HasInitiator added in v1.1.0

func (o *ListPartsOutput) HasInitiator() bool

HasInitiator returns a boolean if a field has been set.

func (*ListPartsOutput) HasIsTruncated added in v1.1.0

func (o *ListPartsOutput) HasIsTruncated() bool

HasIsTruncated returns a boolean if a field has been set.

func (*ListPartsOutput) HasKey added in v1.1.0

func (o *ListPartsOutput) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*ListPartsOutput) HasMaxParts added in v1.1.0

func (o *ListPartsOutput) HasMaxParts() bool

HasMaxParts returns a boolean if a field has been set.

func (*ListPartsOutput) HasNextPartNumberMarker added in v1.1.0

func (o *ListPartsOutput) HasNextPartNumberMarker() bool

HasNextPartNumberMarker returns a boolean if a field has been set.

func (*ListPartsOutput) HasOwner added in v1.1.0

func (o *ListPartsOutput) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*ListPartsOutput) HasPartNumberMarker added in v1.1.0

func (o *ListPartsOutput) HasPartNumberMarker() bool

HasPartNumberMarker returns a boolean if a field has been set.

func (*ListPartsOutput) HasParts added in v1.1.0

func (o *ListPartsOutput) HasParts() bool

HasParts returns a boolean if a field has been set.

func (*ListPartsOutput) HasStorageClass added in v1.1.0

func (o *ListPartsOutput) HasStorageClass() bool

HasStorageClass returns a boolean if a field has been set.

func (*ListPartsOutput) HasUploadId added in v1.1.0

func (o *ListPartsOutput) HasUploadId() bool

HasUploadId returns a boolean if a field has been set.

func (ListPartsOutput) MarshalJSON added in v1.1.0

func (o ListPartsOutput) MarshalJSON() ([]byte, error)

func (*ListPartsOutput) SetBucket added in v1.1.0

func (o *ListPartsOutput) SetBucket(v string)

SetBucket sets field value

func (*ListPartsOutput) SetInitiator added in v1.1.0

func (o *ListPartsOutput) SetInitiator(v Initiator)

SetInitiator sets field value

func (*ListPartsOutput) SetIsTruncated added in v1.1.0

func (o *ListPartsOutput) SetIsTruncated(v bool)

SetIsTruncated sets field value

func (*ListPartsOutput) SetKey added in v1.1.0

func (o *ListPartsOutput) SetKey(v string)

SetKey sets field value

func (*ListPartsOutput) SetMaxParts added in v1.1.0

func (o *ListPartsOutput) SetMaxParts(v string)

SetMaxParts sets field value

func (*ListPartsOutput) SetNextPartNumberMarker added in v1.1.0

func (o *ListPartsOutput) SetNextPartNumberMarker(v string)

SetNextPartNumberMarker sets field value

func (*ListPartsOutput) SetOwner added in v1.1.0

func (o *ListPartsOutput) SetOwner(v Owner)

SetOwner sets field value

func (*ListPartsOutput) SetPartNumberMarker added in v1.1.0

func (o *ListPartsOutput) SetPartNumberMarker(v int32)

SetPartNumberMarker sets field value

func (*ListPartsOutput) SetParts added in v1.1.0

func (o *ListPartsOutput) SetParts(v []Part)

SetParts sets field value

func (*ListPartsOutput) SetStorageClass added in v1.1.0

func (o *ListPartsOutput) SetStorageClass(v StorageClass)

SetStorageClass sets field value

func (*ListPartsOutput) SetUploadId added in v1.1.0

func (o *ListPartsOutput) SetUploadId(v string)

SetUploadId sets field value

type LogLevel

type LogLevel uint
const (
	Off LogLevel = 0x100 * iota
	Debug
	// Trace We recommend you only set this field for debugging purposes.
	// Disable it in your production environments because it can log sensitive data.
	// It logs the full request and response without encryption, even for an HTTPS call.
	// Verbose request and response logging can also significantly impact your application's performance.
	Trace
)

func (*LogLevel) Get

func (l *LogLevel) Get() LogLevel

func (*LogLevel) Satisfies

func (l *LogLevel) Satisfies(v LogLevel) bool

Satisfies returns true if this LogLevel is at least high enough for v

type Logger

type Logger interface {
	Printf(format string, args ...interface{})
}

func NewDefaultLogger

func NewDefaultLogger() Logger

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type MetadataEntry added in v1.1.0

type MetadataEntry struct {
	XMLName xml.Name `xml:"MetadataEntry"`
	// Name of the Object.
	Name *string `json:"Name,omitempty" xml:"Name"`
	// Value of the Object.
	Value *string `json:"Value,omitempty" xml:"Value"`
}

MetadataEntry A metadata key-value pair to store with an object.

func NewMetadataEntry added in v1.1.0

func NewMetadataEntry() *MetadataEntry

NewMetadataEntry instantiates a new MetadataEntry 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 NewMetadataEntryWithDefaults added in v1.1.0

func NewMetadataEntryWithDefaults() *MetadataEntry

NewMetadataEntryWithDefaults instantiates a new MetadataEntry 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 (*MetadataEntry) GetName added in v1.1.0

func (o *MetadataEntry) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataEntry) GetNameOk added in v1.1.0

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

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MetadataEntry) GetValue added in v1.1.0

func (o *MetadataEntry) GetValue() *string

GetValue returns the Value field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataEntry) GetValueOk added in v1.1.0

func (o *MetadataEntry) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MetadataEntry) HasName added in v1.1.0

func (o *MetadataEntry) HasName() bool

HasName returns a boolean if a field has been set.

func (*MetadataEntry) HasValue added in v1.1.0

func (o *MetadataEntry) HasValue() bool

HasValue returns a boolean if a field has been set.

func (MetadataEntry) MarshalJSON added in v1.1.0

func (o MetadataEntry) MarshalJSON() ([]byte, error)

func (*MetadataEntry) SetName added in v1.1.0

func (o *MetadataEntry) SetName(v string)

SetName sets field value

func (*MetadataEntry) SetValue added in v1.1.0

func (o *MetadataEntry) SetValue(v string)

SetValue sets field value

type MfaDeleteStatus added in v1.1.0

type MfaDeleteStatus string

MfaDeleteStatus Specifies status of the Multi-factor Authentication delete (MFA Delete) for the bucket versioning configuration. Currently, this feature is not supported for the `PutBucketVersioning` API call.

const (
	MFADELETESTATUS_DISABLED MfaDeleteStatus = "Disabled"
)

List of MfaDeleteStatus

func (MfaDeleteStatus) Ptr added in v1.1.0

Ptr returns reference to MfaDeleteStatus value

func (*MfaDeleteStatus) UnmarshalJSON added in v1.1.0

func (v *MfaDeleteStatus) UnmarshalJSON(src []byte) error

type MiddlewareFunction

type MiddlewareFunction func(*http.Request)

MiddlewareFunction provides way to implement custom middleware in the prepareRequest

type MiddlewareFunctionWithError

type MiddlewareFunctionWithError func(*http.Request) error

MiddlewareFunctionWithError provides way to implement custom middleware with errors in the prepareRequest

type MultipartUpload added in v1.1.0

type MultipartUpload struct {
	XMLName xml.Name `xml:"MultipartUpload"`
	// ID of the multipart upload.
	UploadId *string `json:"UploadId,omitempty" xml:"UploadId"`
	// The object key.
	Key *string `json:"Key,omitempty" xml:"Key"`
	// Date and time at which the multipart upload was initiated.
	Initiated    *IonosTime    `json:"Initiated,omitempty" xml:"Initiated"`
	StorageClass *StorageClass `json:"StorageClass,omitempty" xml:"StorageClass"`
	Owner        *Owner        `json:"Owner,omitempty" xml:"Owner"`
	Initiator    *Initiator    `json:"Initiator,omitempty" xml:"Initiator"`
}

MultipartUpload Container for the `MultipartUpload` for the IONOS S3 Object Storage object.

func NewMultipartUpload added in v1.1.0

func NewMultipartUpload() *MultipartUpload

NewMultipartUpload instantiates a new MultipartUpload 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 NewMultipartUploadWithDefaults added in v1.1.0

func NewMultipartUploadWithDefaults() *MultipartUpload

NewMultipartUploadWithDefaults instantiates a new MultipartUpload 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 (*MultipartUpload) GetInitiated added in v1.1.0

func (o *MultipartUpload) GetInitiated() *time.Time

GetInitiated returns the Initiated field value If the value is explicit nil, the zero value for time.Time will be returned

func (*MultipartUpload) GetInitiatedOk added in v1.1.0

func (o *MultipartUpload) GetInitiatedOk() (*time.Time, bool)

GetInitiatedOk returns a tuple with the Initiated field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MultipartUpload) GetInitiator added in v1.1.0

func (o *MultipartUpload) GetInitiator() *Initiator

GetInitiator returns the Initiator field value If the value is explicit nil, the zero value for Initiator will be returned

func (*MultipartUpload) GetInitiatorOk added in v1.1.0

func (o *MultipartUpload) GetInitiatorOk() (*Initiator, bool)

GetInitiatorOk returns a tuple with the Initiator field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MultipartUpload) GetKey added in v1.1.0

func (o *MultipartUpload) GetKey() *string

GetKey returns the Key field value If the value is explicit nil, the zero value for string will be returned

func (*MultipartUpload) GetKeyOk added in v1.1.0

func (o *MultipartUpload) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MultipartUpload) GetOwner added in v1.1.0

func (o *MultipartUpload) GetOwner() *Owner

GetOwner returns the Owner field value If the value is explicit nil, the zero value for Owner will be returned

func (*MultipartUpload) GetOwnerOk added in v1.1.0

func (o *MultipartUpload) GetOwnerOk() (*Owner, bool)

GetOwnerOk returns a tuple with the Owner field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MultipartUpload) GetStorageClass added in v1.1.0

func (o *MultipartUpload) GetStorageClass() *StorageClass

GetStorageClass returns the StorageClass field value If the value is explicit nil, the zero value for StorageClass will be returned

func (*MultipartUpload) GetStorageClassOk added in v1.1.0

func (o *MultipartUpload) GetStorageClassOk() (*StorageClass, bool)

GetStorageClassOk returns a tuple with the StorageClass field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MultipartUpload) GetUploadId added in v1.1.0

func (o *MultipartUpload) GetUploadId() *string

GetUploadId returns the UploadId field value If the value is explicit nil, the zero value for string will be returned

func (*MultipartUpload) GetUploadIdOk added in v1.1.0

func (o *MultipartUpload) GetUploadIdOk() (*string, bool)

GetUploadIdOk returns a tuple with the UploadId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MultipartUpload) HasInitiated added in v1.1.0

func (o *MultipartUpload) HasInitiated() bool

HasInitiated returns a boolean if a field has been set.

func (*MultipartUpload) HasInitiator added in v1.1.0

func (o *MultipartUpload) HasInitiator() bool

HasInitiator returns a boolean if a field has been set.

func (*MultipartUpload) HasKey added in v1.1.0

func (o *MultipartUpload) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*MultipartUpload) HasOwner added in v1.1.0

func (o *MultipartUpload) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*MultipartUpload) HasStorageClass added in v1.1.0

func (o *MultipartUpload) HasStorageClass() bool

HasStorageClass returns a boolean if a field has been set.

func (*MultipartUpload) HasUploadId added in v1.1.0

func (o *MultipartUpload) HasUploadId() bool

HasUploadId returns a boolean if a field has been set.

func (MultipartUpload) MarshalJSON added in v1.1.0

func (o MultipartUpload) MarshalJSON() ([]byte, error)

func (*MultipartUpload) SetInitiated added in v1.1.0

func (o *MultipartUpload) SetInitiated(v time.Time)

SetInitiated sets field value

func (*MultipartUpload) SetInitiator added in v1.1.0

func (o *MultipartUpload) SetInitiator(v Initiator)

SetInitiator sets field value

func (*MultipartUpload) SetKey added in v1.1.0

func (o *MultipartUpload) SetKey(v string)

SetKey sets field value

func (*MultipartUpload) SetOwner added in v1.1.0

func (o *MultipartUpload) SetOwner(v Owner)

SetOwner sets field value

func (*MultipartUpload) SetStorageClass added in v1.1.0

func (o *MultipartUpload) SetStorageClass(v StorageClass)

SetStorageClass sets field value

func (*MultipartUpload) SetUploadId added in v1.1.0

func (o *MultipartUpload) SetUploadId(v string)

SetUploadId sets field value

type NoncurrentVersionExpiration added in v1.1.0

type NoncurrentVersionExpiration struct {
	XMLName xml.Name `xml:"NoncurrentVersionExpiration"`
	// Specifies the number of days an object is noncurrent before IONOS S3 Object Storage can perform the associated operation.
	NoncurrentDays *int32 `json:"NoncurrentDays,omitempty" xml:"NoncurrentDays"`
}

NoncurrentVersionExpiration Specifies when noncurrent object versions expire. Upon expiration, IONOS S3 Object Storage permanently deletes the noncurrent object versions. You set this lifecycle configuration operation on a bucket that has versioning enabled (or suspended) to request that IONOS S3 Object Storage delete noncurrent object versions at a specific period in the object's lifetime.

func NewNoncurrentVersionExpiration added in v1.1.0

func NewNoncurrentVersionExpiration() *NoncurrentVersionExpiration

NewNoncurrentVersionExpiration instantiates a new NoncurrentVersionExpiration 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 NewNoncurrentVersionExpirationWithDefaults added in v1.1.0

func NewNoncurrentVersionExpirationWithDefaults() *NoncurrentVersionExpiration

NewNoncurrentVersionExpirationWithDefaults instantiates a new NoncurrentVersionExpiration 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 (*NoncurrentVersionExpiration) GetNoncurrentDays added in v1.1.0

func (o *NoncurrentVersionExpiration) GetNoncurrentDays() *int32

GetNoncurrentDays returns the NoncurrentDays field value If the value is explicit nil, the zero value for int32 will be returned

func (*NoncurrentVersionExpiration) GetNoncurrentDaysOk added in v1.1.0

func (o *NoncurrentVersionExpiration) GetNoncurrentDaysOk() (*int32, bool)

GetNoncurrentDaysOk returns a tuple with the NoncurrentDays field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NoncurrentVersionExpiration) HasNoncurrentDays added in v1.1.0

func (o *NoncurrentVersionExpiration) HasNoncurrentDays() bool

HasNoncurrentDays returns a boolean if a field has been set.

func (NoncurrentVersionExpiration) MarshalJSON added in v1.1.0

func (o NoncurrentVersionExpiration) MarshalJSON() ([]byte, error)

func (*NoncurrentVersionExpiration) SetNoncurrentDays added in v1.1.0

func (o *NoncurrentVersionExpiration) SetNoncurrentDays(v int32)

SetNoncurrentDays sets field value

type NullableAbortIncompleteMultipartUpload added in v1.1.0

type NullableAbortIncompleteMultipartUpload struct {
	// contains filtered or unexported fields
}

func NewNullableAbortIncompleteMultipartUpload added in v1.1.0

func NewNullableAbortIncompleteMultipartUpload(val *AbortIncompleteMultipartUpload) *NullableAbortIncompleteMultipartUpload

func (NullableAbortIncompleteMultipartUpload) Get added in v1.1.0

func (NullableAbortIncompleteMultipartUpload) IsSet added in v1.1.0

func (NullableAbortIncompleteMultipartUpload) MarshalJSON added in v1.1.0

func (v NullableAbortIncompleteMultipartUpload) MarshalJSON() ([]byte, error)

func (*NullableAbortIncompleteMultipartUpload) Set added in v1.1.0

func (*NullableAbortIncompleteMultipartUpload) UnmarshalJSON added in v1.1.0

func (v *NullableAbortIncompleteMultipartUpload) UnmarshalJSON(src []byte) error

func (*NullableAbortIncompleteMultipartUpload) Unset added in v1.1.0

type NullableBlockPublicAccessOutput

type NullableBlockPublicAccessOutput struct {
	// contains filtered or unexported fields
}

func (NullableBlockPublicAccessOutput) Get

func (NullableBlockPublicAccessOutput) IsSet

func (NullableBlockPublicAccessOutput) MarshalJSON

func (v NullableBlockPublicAccessOutput) MarshalJSON() ([]byte, error)

func (*NullableBlockPublicAccessOutput) Set

func (*NullableBlockPublicAccessOutput) UnmarshalJSON

func (v *NullableBlockPublicAccessOutput) UnmarshalJSON(src []byte) error

func (*NullableBlockPublicAccessOutput) Unset

type NullableBlockPublicAccessPayload

type NullableBlockPublicAccessPayload struct {
	// contains filtered or unexported fields
}

func (NullableBlockPublicAccessPayload) Get

func (NullableBlockPublicAccessPayload) IsSet

func (NullableBlockPublicAccessPayload) MarshalJSON

func (v NullableBlockPublicAccessPayload) MarshalJSON() ([]byte, error)

func (*NullableBlockPublicAccessPayload) Set

func (*NullableBlockPublicAccessPayload) UnmarshalJSON

func (v *NullableBlockPublicAccessPayload) UnmarshalJSON(src []byte) error

func (*NullableBlockPublicAccessPayload) Unset

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableBucket

type NullableBucket struct {
	// contains filtered or unexported fields
}

func NewNullableBucket

func NewNullableBucket(val *Bucket) *NullableBucket

func (NullableBucket) Get

func (v NullableBucket) Get() *Bucket

func (NullableBucket) IsSet

func (v NullableBucket) IsSet() bool

func (NullableBucket) MarshalJSON

func (v NullableBucket) MarshalJSON() ([]byte, error)

func (*NullableBucket) Set

func (v *NullableBucket) Set(val *Bucket)

func (*NullableBucket) UnmarshalJSON

func (v *NullableBucket) UnmarshalJSON(src []byte) error

func (*NullableBucket) Unset

func (v *NullableBucket) Unset()

type NullableBucketLocation

type NullableBucketLocation struct {
	// contains filtered or unexported fields
}

func NewNullableBucketLocation

func NewNullableBucketLocation(val *BucketLocation) *NullableBucketLocation

func (NullableBucketLocation) Get

func (NullableBucketLocation) IsSet

func (v NullableBucketLocation) IsSet() bool

func (NullableBucketLocation) MarshalJSON

func (v NullableBucketLocation) MarshalJSON() ([]byte, error)

func (*NullableBucketLocation) Set

func (*NullableBucketLocation) UnmarshalJSON

func (v *NullableBucketLocation) UnmarshalJSON(src []byte) error

func (*NullableBucketLocation) Unset

func (v *NullableBucketLocation) Unset()

type NullableBucketPolicy

type NullableBucketPolicy struct {
	// contains filtered or unexported fields
}

func NewNullableBucketPolicy

func NewNullableBucketPolicy(val *BucketPolicy) *NullableBucketPolicy

func (NullableBucketPolicy) Get

func (NullableBucketPolicy) IsSet

func (v NullableBucketPolicy) IsSet() bool

func (NullableBucketPolicy) MarshalJSON

func (v NullableBucketPolicy) MarshalJSON() ([]byte, error)

func (*NullableBucketPolicy) Set

func (v *NullableBucketPolicy) Set(val *BucketPolicy)

func (*NullableBucketPolicy) UnmarshalJSON

func (v *NullableBucketPolicy) UnmarshalJSON(src []byte) error

func (*NullableBucketPolicy) Unset

func (v *NullableBucketPolicy) Unset()

type NullableBucketPolicyCondition

type NullableBucketPolicyCondition struct {
	// contains filtered or unexported fields
}

func (NullableBucketPolicyCondition) Get

func (NullableBucketPolicyCondition) IsSet

func (NullableBucketPolicyCondition) MarshalJSON

func (v NullableBucketPolicyCondition) MarshalJSON() ([]byte, error)

func (*NullableBucketPolicyCondition) Set

func (*NullableBucketPolicyCondition) UnmarshalJSON

func (v *NullableBucketPolicyCondition) UnmarshalJSON(src []byte) error

func (*NullableBucketPolicyCondition) Unset

func (v *NullableBucketPolicyCondition) Unset()

type NullableBucketPolicyConditionDate

type NullableBucketPolicyConditionDate struct {
	// contains filtered or unexported fields
}

func (NullableBucketPolicyConditionDate) Get

func (NullableBucketPolicyConditionDate) IsSet

func (NullableBucketPolicyConditionDate) MarshalJSON

func (v NullableBucketPolicyConditionDate) MarshalJSON() ([]byte, error)

func (*NullableBucketPolicyConditionDate) Set

func (*NullableBucketPolicyConditionDate) UnmarshalJSON

func (v *NullableBucketPolicyConditionDate) UnmarshalJSON(src []byte) error

func (*NullableBucketPolicyConditionDate) Unset

type NullableBucketPolicyConditionIpAddress

type NullableBucketPolicyConditionIpAddress struct {
	// contains filtered or unexported fields
}

func (NullableBucketPolicyConditionIpAddress) Get

func (NullableBucketPolicyConditionIpAddress) IsSet

func (NullableBucketPolicyConditionIpAddress) MarshalJSON

func (v NullableBucketPolicyConditionIpAddress) MarshalJSON() ([]byte, error)

func (*NullableBucketPolicyConditionIpAddress) Set

func (*NullableBucketPolicyConditionIpAddress) UnmarshalJSON

func (v *NullableBucketPolicyConditionIpAddress) UnmarshalJSON(src []byte) error

func (*NullableBucketPolicyConditionIpAddress) Unset

type NullableBucketPolicyStatement

type NullableBucketPolicyStatement struct {
	// contains filtered or unexported fields
}

func (NullableBucketPolicyStatement) Get

func (NullableBucketPolicyStatement) IsSet

func (NullableBucketPolicyStatement) MarshalJSON

func (v NullableBucketPolicyStatement) MarshalJSON() ([]byte, error)

func (*NullableBucketPolicyStatement) Set

func (*NullableBucketPolicyStatement) UnmarshalJSON

func (v *NullableBucketPolicyStatement) UnmarshalJSON(src []byte) error

func (*NullableBucketPolicyStatement) Unset

func (v *NullableBucketPolicyStatement) Unset()

type NullableBucketVersioningStatus added in v1.1.0

type NullableBucketVersioningStatus struct {
	// contains filtered or unexported fields
}

func NewNullableBucketVersioningStatus added in v1.1.0

func NewNullableBucketVersioningStatus(val *BucketVersioningStatus) *NullableBucketVersioningStatus

func (NullableBucketVersioningStatus) Get added in v1.1.0

func (NullableBucketVersioningStatus) IsSet added in v1.1.0

func (NullableBucketVersioningStatus) MarshalJSON added in v1.1.0

func (v NullableBucketVersioningStatus) MarshalJSON() ([]byte, error)

func (*NullableBucketVersioningStatus) Set added in v1.1.0

func (*NullableBucketVersioningStatus) UnmarshalJSON added in v1.1.0

func (v *NullableBucketVersioningStatus) UnmarshalJSON(src []byte) error

func (*NullableBucketVersioningStatus) Unset added in v1.1.0

func (v *NullableBucketVersioningStatus) Unset()

type NullableCORSRule added in v1.1.0

type NullableCORSRule struct {
	// contains filtered or unexported fields
}

func NewNullableCORSRule added in v1.1.0

func NewNullableCORSRule(val *CORSRule) *NullableCORSRule

func (NullableCORSRule) Get added in v1.1.0

func (v NullableCORSRule) Get() *CORSRule

func (NullableCORSRule) IsSet added in v1.1.0

func (v NullableCORSRule) IsSet() bool

func (NullableCORSRule) MarshalJSON added in v1.1.0

func (v NullableCORSRule) MarshalJSON() ([]byte, error)

func (*NullableCORSRule) Set added in v1.1.0

func (v *NullableCORSRule) Set(val *CORSRule)

func (*NullableCORSRule) UnmarshalJSON added in v1.1.0

func (v *NullableCORSRule) UnmarshalJSON(src []byte) error

func (*NullableCORSRule) Unset added in v1.1.0

func (v *NullableCORSRule) Unset()

type NullableCSVInput added in v1.1.0

type NullableCSVInput struct {
	// contains filtered or unexported fields
}

func NewNullableCSVInput added in v1.1.0

func NewNullableCSVInput(val *CSVInput) *NullableCSVInput

func (NullableCSVInput) Get added in v1.1.0

func (v NullableCSVInput) Get() *CSVInput

func (NullableCSVInput) IsSet added in v1.1.0

func (v NullableCSVInput) IsSet() bool

func (NullableCSVInput) MarshalJSON added in v1.1.0

func (v NullableCSVInput) MarshalJSON() ([]byte, error)

func (*NullableCSVInput) Set added in v1.1.0

func (v *NullableCSVInput) Set(val *CSVInput)

func (*NullableCSVInput) UnmarshalJSON added in v1.1.0

func (v *NullableCSVInput) UnmarshalJSON(src []byte) error

func (*NullableCSVInput) Unset added in v1.1.0

func (v *NullableCSVInput) Unset()

type NullableCSVOutput added in v1.1.0

type NullableCSVOutput struct {
	// contains filtered or unexported fields
}

func NewNullableCSVOutput added in v1.1.0

func NewNullableCSVOutput(val *CSVOutput) *NullableCSVOutput

func (NullableCSVOutput) Get added in v1.1.0

func (v NullableCSVOutput) Get() *CSVOutput

func (NullableCSVOutput) IsSet added in v1.1.0

func (v NullableCSVOutput) IsSet() bool

func (NullableCSVOutput) MarshalJSON added in v1.1.0

func (v NullableCSVOutput) MarshalJSON() ([]byte, error)

func (*NullableCSVOutput) Set added in v1.1.0

func (v *NullableCSVOutput) Set(val *CSVOutput)

func (*NullableCSVOutput) UnmarshalJSON added in v1.1.0

func (v *NullableCSVOutput) UnmarshalJSON(src []byte) error

func (*NullableCSVOutput) Unset added in v1.1.0

func (v *NullableCSVOutput) Unset()

type NullableCommonPrefix

type NullableCommonPrefix struct {
	// contains filtered or unexported fields
}

func NewNullableCommonPrefix

func NewNullableCommonPrefix(val *CommonPrefix) *NullableCommonPrefix

func (NullableCommonPrefix) Get

func (NullableCommonPrefix) IsSet

func (v NullableCommonPrefix) IsSet() bool

func (NullableCommonPrefix) MarshalJSON

func (v NullableCommonPrefix) MarshalJSON() ([]byte, error)

func (*NullableCommonPrefix) Set

func (v *NullableCommonPrefix) Set(val *CommonPrefix)

func (*NullableCommonPrefix) UnmarshalJSON

func (v *NullableCommonPrefix) UnmarshalJSON(src []byte) error

func (*NullableCommonPrefix) Unset

func (v *NullableCommonPrefix) Unset()

type NullableCompleteMultipartUploadOutput added in v1.1.0

type NullableCompleteMultipartUploadOutput struct {
	// contains filtered or unexported fields
}

func NewNullableCompleteMultipartUploadOutput added in v1.1.0

func NewNullableCompleteMultipartUploadOutput(val *CompleteMultipartUploadOutput) *NullableCompleteMultipartUploadOutput

func (NullableCompleteMultipartUploadOutput) Get added in v1.1.0

func (NullableCompleteMultipartUploadOutput) IsSet added in v1.1.0

func (NullableCompleteMultipartUploadOutput) MarshalJSON added in v1.1.0

func (v NullableCompleteMultipartUploadOutput) MarshalJSON() ([]byte, error)

func (*NullableCompleteMultipartUploadOutput) Set added in v1.1.0

func (*NullableCompleteMultipartUploadOutput) UnmarshalJSON added in v1.1.0

func (v *NullableCompleteMultipartUploadOutput) UnmarshalJSON(src []byte) error

func (*NullableCompleteMultipartUploadOutput) Unset added in v1.1.0

type NullableCompletedPart added in v1.1.0

type NullableCompletedPart struct {
	// contains filtered or unexported fields
}

func NewNullableCompletedPart added in v1.1.0

func NewNullableCompletedPart(val *CompletedPart) *NullableCompletedPart

func (NullableCompletedPart) Get added in v1.1.0

func (NullableCompletedPart) IsSet added in v1.1.0

func (v NullableCompletedPart) IsSet() bool

func (NullableCompletedPart) MarshalJSON added in v1.1.0

func (v NullableCompletedPart) MarshalJSON() ([]byte, error)

func (*NullableCompletedPart) Set added in v1.1.0

func (v *NullableCompletedPart) Set(val *CompletedPart)

func (*NullableCompletedPart) UnmarshalJSON added in v1.1.0

func (v *NullableCompletedPart) UnmarshalJSON(src []byte) error

func (*NullableCompletedPart) Unset added in v1.1.0

func (v *NullableCompletedPart) Unset()

type NullableCopyObjectRequest

type NullableCopyObjectRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCopyObjectRequest

func NewNullableCopyObjectRequest(val *CopyObjectRequest) *NullableCopyObjectRequest

func (NullableCopyObjectRequest) Get

func (NullableCopyObjectRequest) IsSet

func (v NullableCopyObjectRequest) IsSet() bool

func (NullableCopyObjectRequest) MarshalJSON

func (v NullableCopyObjectRequest) MarshalJSON() ([]byte, error)

func (*NullableCopyObjectRequest) Set

func (*NullableCopyObjectRequest) UnmarshalJSON

func (v *NullableCopyObjectRequest) UnmarshalJSON(src []byte) error

func (*NullableCopyObjectRequest) Unset

func (v *NullableCopyObjectRequest) Unset()

type NullableCopyObjectResult

type NullableCopyObjectResult struct {
	// contains filtered or unexported fields
}

func NewNullableCopyObjectResult

func NewNullableCopyObjectResult(val *CopyObjectResult) *NullableCopyObjectResult

func (NullableCopyObjectResult) Get

func (NullableCopyObjectResult) IsSet

func (v NullableCopyObjectResult) IsSet() bool

func (NullableCopyObjectResult) MarshalJSON

func (v NullableCopyObjectResult) MarshalJSON() ([]byte, error)

func (*NullableCopyObjectResult) Set

func (*NullableCopyObjectResult) UnmarshalJSON

func (v *NullableCopyObjectResult) UnmarshalJSON(src []byte) error

func (*NullableCopyObjectResult) Unset

func (v *NullableCopyObjectResult) Unset()

type NullableCopyPartResult added in v1.1.0

type NullableCopyPartResult struct {
	// contains filtered or unexported fields
}

func NewNullableCopyPartResult added in v1.1.0

func NewNullableCopyPartResult(val *CopyPartResult) *NullableCopyPartResult

func (NullableCopyPartResult) Get added in v1.1.0

func (NullableCopyPartResult) IsSet added in v1.1.0

func (v NullableCopyPartResult) IsSet() bool

func (NullableCopyPartResult) MarshalJSON added in v1.1.0

func (v NullableCopyPartResult) MarshalJSON() ([]byte, error)

func (*NullableCopyPartResult) Set added in v1.1.0

func (*NullableCopyPartResult) UnmarshalJSON added in v1.1.0

func (v *NullableCopyPartResult) UnmarshalJSON(src []byte) error

func (*NullableCopyPartResult) Unset added in v1.1.0

func (v *NullableCopyPartResult) Unset()

type NullableCreateBucketConfiguration

type NullableCreateBucketConfiguration struct {
	// contains filtered or unexported fields
}

func (NullableCreateBucketConfiguration) Get

func (NullableCreateBucketConfiguration) IsSet

func (NullableCreateBucketConfiguration) MarshalJSON

func (v NullableCreateBucketConfiguration) MarshalJSON() ([]byte, error)

func (*NullableCreateBucketConfiguration) Set

func (*NullableCreateBucketConfiguration) UnmarshalJSON

func (v *NullableCreateBucketConfiguration) UnmarshalJSON(src []byte) error

func (*NullableCreateBucketConfiguration) Unset

type NullableCreateMultipartUploadOutput added in v1.1.0

type NullableCreateMultipartUploadOutput struct {
	// contains filtered or unexported fields
}

func NewNullableCreateMultipartUploadOutput added in v1.1.0

func NewNullableCreateMultipartUploadOutput(val *CreateMultipartUploadOutput) *NullableCreateMultipartUploadOutput

func (NullableCreateMultipartUploadOutput) Get added in v1.1.0

func (NullableCreateMultipartUploadOutput) IsSet added in v1.1.0

func (NullableCreateMultipartUploadOutput) MarshalJSON added in v1.1.0

func (v NullableCreateMultipartUploadOutput) MarshalJSON() ([]byte, error)

func (*NullableCreateMultipartUploadOutput) Set added in v1.1.0

func (*NullableCreateMultipartUploadOutput) UnmarshalJSON added in v1.1.0

func (v *NullableCreateMultipartUploadOutput) UnmarshalJSON(src []byte) error

func (*NullableCreateMultipartUploadOutput) Unset added in v1.1.0

type NullableDefaultRetention added in v1.1.0

type NullableDefaultRetention struct {
	// contains filtered or unexported fields
}

func NewNullableDefaultRetention added in v1.1.0

func NewNullableDefaultRetention(val *DefaultRetention) *NullableDefaultRetention

func (NullableDefaultRetention) Get added in v1.1.0

func (NullableDefaultRetention) IsSet added in v1.1.0

func (v NullableDefaultRetention) IsSet() bool

func (NullableDefaultRetention) MarshalJSON added in v1.1.0

func (v NullableDefaultRetention) MarshalJSON() ([]byte, error)

func (*NullableDefaultRetention) Set added in v1.1.0

func (*NullableDefaultRetention) UnmarshalJSON added in v1.1.0

func (v *NullableDefaultRetention) UnmarshalJSON(src []byte) error

func (*NullableDefaultRetention) Unset added in v1.1.0

func (v *NullableDefaultRetention) Unset()

type NullableDeleteMarkerEntry added in v1.1.0

type NullableDeleteMarkerEntry struct {
	// contains filtered or unexported fields
}

func NewNullableDeleteMarkerEntry added in v1.1.0

func NewNullableDeleteMarkerEntry(val *DeleteMarkerEntry) *NullableDeleteMarkerEntry

func (NullableDeleteMarkerEntry) Get added in v1.1.0

func (NullableDeleteMarkerEntry) IsSet added in v1.1.0

func (v NullableDeleteMarkerEntry) IsSet() bool

func (NullableDeleteMarkerEntry) MarshalJSON added in v1.1.0

func (v NullableDeleteMarkerEntry) MarshalJSON() ([]byte, error)

func (*NullableDeleteMarkerEntry) Set added in v1.1.0

func (*NullableDeleteMarkerEntry) UnmarshalJSON added in v1.1.0

func (v *NullableDeleteMarkerEntry) UnmarshalJSON(src []byte) error

func (*NullableDeleteMarkerEntry) Unset added in v1.1.0

func (v *NullableDeleteMarkerEntry) Unset()

type NullableDeleteObjectsOutput

type NullableDeleteObjectsOutput struct {
	// contains filtered or unexported fields
}

func NewNullableDeleteObjectsOutput

func NewNullableDeleteObjectsOutput(val *DeleteObjectsOutput) *NullableDeleteObjectsOutput

func (NullableDeleteObjectsOutput) Get

func (NullableDeleteObjectsOutput) IsSet

func (NullableDeleteObjectsOutput) MarshalJSON

func (v NullableDeleteObjectsOutput) MarshalJSON() ([]byte, error)

func (*NullableDeleteObjectsOutput) Set

func (*NullableDeleteObjectsOutput) UnmarshalJSON

func (v *NullableDeleteObjectsOutput) UnmarshalJSON(src []byte) error

func (*NullableDeleteObjectsOutput) Unset

func (v *NullableDeleteObjectsOutput) Unset()

type NullableDeleteObjectsRequest

type NullableDeleteObjectsRequest struct {
	// contains filtered or unexported fields
}

func NewNullableDeleteObjectsRequest

func NewNullableDeleteObjectsRequest(val *DeleteObjectsRequest) *NullableDeleteObjectsRequest

func (NullableDeleteObjectsRequest) Get

func (NullableDeleteObjectsRequest) IsSet

func (NullableDeleteObjectsRequest) MarshalJSON

func (v NullableDeleteObjectsRequest) MarshalJSON() ([]byte, error)

func (*NullableDeleteObjectsRequest) Set

func (*NullableDeleteObjectsRequest) UnmarshalJSON

func (v *NullableDeleteObjectsRequest) UnmarshalJSON(src []byte) error

func (*NullableDeleteObjectsRequest) Unset

func (v *NullableDeleteObjectsRequest) Unset()

type NullableDeletedObject

type NullableDeletedObject struct {
	// contains filtered or unexported fields
}

func NewNullableDeletedObject

func NewNullableDeletedObject(val *DeletedObject) *NullableDeletedObject

func (NullableDeletedObject) Get

func (NullableDeletedObject) IsSet

func (v NullableDeletedObject) IsSet() bool

func (NullableDeletedObject) MarshalJSON

func (v NullableDeletedObject) MarshalJSON() ([]byte, error)

func (*NullableDeletedObject) Set

func (v *NullableDeletedObject) Set(val *DeletedObject)

func (*NullableDeletedObject) UnmarshalJSON

func (v *NullableDeletedObject) UnmarshalJSON(src []byte) error

func (*NullableDeletedObject) Unset

func (v *NullableDeletedObject) Unset()

type NullableDeletionError

type NullableDeletionError struct {
	// contains filtered or unexported fields
}

func NewNullableDeletionError

func NewNullableDeletionError(val *DeletionError) *NullableDeletionError

func (NullableDeletionError) Get

func (NullableDeletionError) IsSet

func (v NullableDeletionError) IsSet() bool

func (NullableDeletionError) MarshalJSON

func (v NullableDeletionError) MarshalJSON() ([]byte, error)

func (*NullableDeletionError) Set

func (v *NullableDeletionError) Set(val *DeletionError)

func (*NullableDeletionError) UnmarshalJSON

func (v *NullableDeletionError) UnmarshalJSON(src []byte) error

func (*NullableDeletionError) Unset

func (v *NullableDeletionError) Unset()

type NullableDestination added in v1.1.0

type NullableDestination struct {
	// contains filtered or unexported fields
}

func NewNullableDestination added in v1.1.0

func NewNullableDestination(val *Destination) *NullableDestination

func (NullableDestination) Get added in v1.1.0

func (NullableDestination) IsSet added in v1.1.0

func (v NullableDestination) IsSet() bool

func (NullableDestination) MarshalJSON added in v1.1.0

func (v NullableDestination) MarshalJSON() ([]byte, error)

func (*NullableDestination) Set added in v1.1.0

func (v *NullableDestination) Set(val *Destination)

func (*NullableDestination) UnmarshalJSON added in v1.1.0

func (v *NullableDestination) UnmarshalJSON(src []byte) error

func (*NullableDestination) Unset added in v1.1.0

func (v *NullableDestination) Unset()

type NullableEncodingType

type NullableEncodingType struct {
	// contains filtered or unexported fields
}

func NewNullableEncodingType

func NewNullableEncodingType(val *EncodingType) *NullableEncodingType

func (NullableEncodingType) Get

func (NullableEncodingType) IsSet

func (v NullableEncodingType) IsSet() bool

func (NullableEncodingType) MarshalJSON

func (v NullableEncodingType) MarshalJSON() ([]byte, error)

func (*NullableEncodingType) Set

func (v *NullableEncodingType) Set(val *EncodingType)

func (*NullableEncodingType) UnmarshalJSON

func (v *NullableEncodingType) UnmarshalJSON(src []byte) error

func (*NullableEncodingType) Unset

func (v *NullableEncodingType) Unset()

type NullableEncryption added in v1.1.0

type NullableEncryption struct {
	// contains filtered or unexported fields
}

func NewNullableEncryption added in v1.1.0

func NewNullableEncryption(val *Encryption) *NullableEncryption

func (NullableEncryption) Get added in v1.1.0

func (v NullableEncryption) Get() *Encryption

func (NullableEncryption) IsSet added in v1.1.0

func (v NullableEncryption) IsSet() bool

func (NullableEncryption) MarshalJSON added in v1.1.0

func (v NullableEncryption) MarshalJSON() ([]byte, error)

func (*NullableEncryption) Set added in v1.1.0

func (v *NullableEncryption) Set(val *Encryption)

func (*NullableEncryption) UnmarshalJSON added in v1.1.0

func (v *NullableEncryption) UnmarshalJSON(src []byte) error

func (*NullableEncryption) Unset added in v1.1.0

func (v *NullableEncryption) Unset()

type NullableError

type NullableError struct {
	// contains filtered or unexported fields
}

func NewNullableError

func NewNullableError(val *Error) *NullableError

func (NullableError) Get

func (v NullableError) Get() *Error

func (NullableError) IsSet

func (v NullableError) IsSet() bool

func (NullableError) MarshalJSON

func (v NullableError) MarshalJSON() ([]byte, error)

func (*NullableError) Set

func (v *NullableError) Set(val *Error)

func (*NullableError) UnmarshalJSON

func (v *NullableError) UnmarshalJSON(src []byte) error

func (*NullableError) Unset

func (v *NullableError) Unset()

type NullableErrorDocument added in v1.1.0

type NullableErrorDocument struct {
	// contains filtered or unexported fields
}

func NewNullableErrorDocument added in v1.1.0

func NewNullableErrorDocument(val *ErrorDocument) *NullableErrorDocument

func (NullableErrorDocument) Get added in v1.1.0

func (NullableErrorDocument) IsSet added in v1.1.0

func (v NullableErrorDocument) IsSet() bool

func (NullableErrorDocument) MarshalJSON added in v1.1.0

func (v NullableErrorDocument) MarshalJSON() ([]byte, error)

func (*NullableErrorDocument) Set added in v1.1.0

func (v *NullableErrorDocument) Set(val *ErrorDocument)

func (*NullableErrorDocument) UnmarshalJSON added in v1.1.0

func (v *NullableErrorDocument) UnmarshalJSON(src []byte) error

func (*NullableErrorDocument) Unset added in v1.1.0

func (v *NullableErrorDocument) Unset()

type NullableExample added in v1.1.0

type NullableExample struct {
	// contains filtered or unexported fields
}

func NewNullableExample added in v1.1.0

func NewNullableExample(val *Example) *NullableExample

func (NullableExample) Get added in v1.1.0

func (v NullableExample) Get() *Example

func (NullableExample) IsSet added in v1.1.0

func (v NullableExample) IsSet() bool

func (NullableExample) MarshalJSON added in v1.1.0

func (v NullableExample) MarshalJSON() ([]byte, error)

func (*NullableExample) Set added in v1.1.0

func (v *NullableExample) Set(val *Example)

func (*NullableExample) UnmarshalJSON added in v1.1.0

func (v *NullableExample) UnmarshalJSON(src []byte) error

func (*NullableExample) Unset added in v1.1.0

func (v *NullableExample) Unset()

type NullableExampleCompleteMultipartUpload added in v1.1.0

type NullableExampleCompleteMultipartUpload struct {
	// contains filtered or unexported fields
}

func NewNullableExampleCompleteMultipartUpload added in v1.1.0

func NewNullableExampleCompleteMultipartUpload(val *ExampleCompleteMultipartUpload) *NullableExampleCompleteMultipartUpload

func (NullableExampleCompleteMultipartUpload) Get added in v1.1.0

func (NullableExampleCompleteMultipartUpload) IsSet added in v1.1.0

func (NullableExampleCompleteMultipartUpload) MarshalJSON added in v1.1.0

func (v NullableExampleCompleteMultipartUpload) MarshalJSON() ([]byte, error)

func (*NullableExampleCompleteMultipartUpload) Set added in v1.1.0

func (*NullableExampleCompleteMultipartUpload) UnmarshalJSON added in v1.1.0

func (v *NullableExampleCompleteMultipartUpload) UnmarshalJSON(src []byte) error

func (*NullableExampleCompleteMultipartUpload) Unset added in v1.1.0

type NullableExpirationStatus added in v1.1.0

type NullableExpirationStatus struct {
	// contains filtered or unexported fields
}

func NewNullableExpirationStatus added in v1.1.0

func NewNullableExpirationStatus(val *ExpirationStatus) *NullableExpirationStatus

func (NullableExpirationStatus) Get added in v1.1.0

func (NullableExpirationStatus) IsSet added in v1.1.0

func (v NullableExpirationStatus) IsSet() bool

func (NullableExpirationStatus) MarshalJSON added in v1.1.0

func (v NullableExpirationStatus) MarshalJSON() ([]byte, error)

func (*NullableExpirationStatus) Set added in v1.1.0

func (*NullableExpirationStatus) UnmarshalJSON added in v1.1.0

func (v *NullableExpirationStatus) UnmarshalJSON(src []byte) error

func (*NullableExpirationStatus) Unset added in v1.1.0

func (v *NullableExpirationStatus) Unset()

type NullableExpressionType added in v1.1.0

type NullableExpressionType struct {
	// contains filtered or unexported fields
}

func NewNullableExpressionType added in v1.1.0

func NewNullableExpressionType(val *ExpressionType) *NullableExpressionType

func (NullableExpressionType) Get added in v1.1.0

func (NullableExpressionType) IsSet added in v1.1.0

func (v NullableExpressionType) IsSet() bool

func (NullableExpressionType) MarshalJSON added in v1.1.0

func (v NullableExpressionType) MarshalJSON() ([]byte, error)

func (*NullableExpressionType) Set added in v1.1.0

func (*NullableExpressionType) UnmarshalJSON added in v1.1.0

func (v *NullableExpressionType) UnmarshalJSON(src []byte) error

func (*NullableExpressionType) Unset added in v1.1.0

func (v *NullableExpressionType) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableGetBucketCorsOutput added in v1.1.0

type NullableGetBucketCorsOutput struct {
	// contains filtered or unexported fields
}

func NewNullableGetBucketCorsOutput added in v1.1.0

func NewNullableGetBucketCorsOutput(val *GetBucketCorsOutput) *NullableGetBucketCorsOutput

func (NullableGetBucketCorsOutput) Get added in v1.1.0

func (NullableGetBucketCorsOutput) IsSet added in v1.1.0

func (NullableGetBucketCorsOutput) MarshalJSON added in v1.1.0

func (v NullableGetBucketCorsOutput) MarshalJSON() ([]byte, error)

func (*NullableGetBucketCorsOutput) Set added in v1.1.0

func (*NullableGetBucketCorsOutput) UnmarshalJSON added in v1.1.0

func (v *NullableGetBucketCorsOutput) UnmarshalJSON(src []byte) error

func (*NullableGetBucketCorsOutput) Unset added in v1.1.0

func (v *NullableGetBucketCorsOutput) Unset()

type NullableGetBucketLifecycleOutput added in v1.1.0

type NullableGetBucketLifecycleOutput struct {
	// contains filtered or unexported fields
}

func NewNullableGetBucketLifecycleOutput added in v1.1.0

func NewNullableGetBucketLifecycleOutput(val *GetBucketLifecycleOutput) *NullableGetBucketLifecycleOutput

func (NullableGetBucketLifecycleOutput) Get added in v1.1.0

func (NullableGetBucketLifecycleOutput) IsSet added in v1.1.0

func (NullableGetBucketLifecycleOutput) MarshalJSON added in v1.1.0

func (v NullableGetBucketLifecycleOutput) MarshalJSON() ([]byte, error)

func (*NullableGetBucketLifecycleOutput) Set added in v1.1.0

func (*NullableGetBucketLifecycleOutput) UnmarshalJSON added in v1.1.0

func (v *NullableGetBucketLifecycleOutput) UnmarshalJSON(src []byte) error

func (*NullableGetBucketLifecycleOutput) Unset added in v1.1.0

type NullableGetBucketReplicationOutput added in v1.1.0

type NullableGetBucketReplicationOutput struct {
	// contains filtered or unexported fields
}

func NewNullableGetBucketReplicationOutput added in v1.1.0

func NewNullableGetBucketReplicationOutput(val *GetBucketReplicationOutput) *NullableGetBucketReplicationOutput

func (NullableGetBucketReplicationOutput) Get added in v1.1.0

func (NullableGetBucketReplicationOutput) IsSet added in v1.1.0

func (NullableGetBucketReplicationOutput) MarshalJSON added in v1.1.0

func (v NullableGetBucketReplicationOutput) MarshalJSON() ([]byte, error)

func (*NullableGetBucketReplicationOutput) Set added in v1.1.0

func (*NullableGetBucketReplicationOutput) UnmarshalJSON added in v1.1.0

func (v *NullableGetBucketReplicationOutput) UnmarshalJSON(src []byte) error

func (*NullableGetBucketReplicationOutput) Unset added in v1.1.0

type NullableGetBucketTaggingOutput

type NullableGetBucketTaggingOutput struct {
	// contains filtered or unexported fields
}

func (NullableGetBucketTaggingOutput) Get

func (NullableGetBucketTaggingOutput) IsSet

func (NullableGetBucketTaggingOutput) MarshalJSON

func (v NullableGetBucketTaggingOutput) MarshalJSON() ([]byte, error)

func (*NullableGetBucketTaggingOutput) Set

func (*NullableGetBucketTaggingOutput) UnmarshalJSON

func (v *NullableGetBucketTaggingOutput) UnmarshalJSON(src []byte) error

func (*NullableGetBucketTaggingOutput) Unset

func (v *NullableGetBucketTaggingOutput) Unset()

type NullableGetBucketVersioningOutput added in v1.1.0

type NullableGetBucketVersioningOutput struct {
	// contains filtered or unexported fields
}

func NewNullableGetBucketVersioningOutput added in v1.1.0

func NewNullableGetBucketVersioningOutput(val *GetBucketVersioningOutput) *NullableGetBucketVersioningOutput

func (NullableGetBucketVersioningOutput) Get added in v1.1.0

func (NullableGetBucketVersioningOutput) IsSet added in v1.1.0

func (NullableGetBucketVersioningOutput) MarshalJSON added in v1.1.0

func (v NullableGetBucketVersioningOutput) MarshalJSON() ([]byte, error)

func (*NullableGetBucketVersioningOutput) Set added in v1.1.0

func (*NullableGetBucketVersioningOutput) UnmarshalJSON added in v1.1.0

func (v *NullableGetBucketVersioningOutput) UnmarshalJSON(src []byte) error

func (*NullableGetBucketVersioningOutput) Unset added in v1.1.0

type NullableGetBucketWebsiteOutput added in v1.1.0

type NullableGetBucketWebsiteOutput struct {
	// contains filtered or unexported fields
}

func NewNullableGetBucketWebsiteOutput added in v1.1.0

func NewNullableGetBucketWebsiteOutput(val *GetBucketWebsiteOutput) *NullableGetBucketWebsiteOutput

func (NullableGetBucketWebsiteOutput) Get added in v1.1.0

func (NullableGetBucketWebsiteOutput) IsSet added in v1.1.0

func (NullableGetBucketWebsiteOutput) MarshalJSON added in v1.1.0

func (v NullableGetBucketWebsiteOutput) MarshalJSON() ([]byte, error)

func (*NullableGetBucketWebsiteOutput) Set added in v1.1.0

func (*NullableGetBucketWebsiteOutput) UnmarshalJSON added in v1.1.0

func (v *NullableGetBucketWebsiteOutput) UnmarshalJSON(src []byte) error

func (*NullableGetBucketWebsiteOutput) Unset added in v1.1.0

func (v *NullableGetBucketWebsiteOutput) Unset()

type NullableGetObjectLockConfigurationOutput added in v1.1.0

type NullableGetObjectLockConfigurationOutput struct {
	// contains filtered or unexported fields
}

func NewNullableGetObjectLockConfigurationOutput added in v1.1.0

func NewNullableGetObjectLockConfigurationOutput(val *GetObjectLockConfigurationOutput) *NullableGetObjectLockConfigurationOutput

func (NullableGetObjectLockConfigurationOutput) Get added in v1.1.0

func (NullableGetObjectLockConfigurationOutput) IsSet added in v1.1.0

func (NullableGetObjectLockConfigurationOutput) MarshalJSON added in v1.1.0

func (*NullableGetObjectLockConfigurationOutput) Set added in v1.1.0

func (*NullableGetObjectLockConfigurationOutput) UnmarshalJSON added in v1.1.0

func (v *NullableGetObjectLockConfigurationOutput) UnmarshalJSON(src []byte) error

func (*NullableGetObjectLockConfigurationOutput) Unset added in v1.1.0

type NullableGetObjectTaggingOutput

type NullableGetObjectTaggingOutput struct {
	// contains filtered or unexported fields
}

func (NullableGetObjectTaggingOutput) Get

func (NullableGetObjectTaggingOutput) IsSet

func (NullableGetObjectTaggingOutput) MarshalJSON

func (v NullableGetObjectTaggingOutput) MarshalJSON() ([]byte, error)

func (*NullableGetObjectTaggingOutput) Set

func (*NullableGetObjectTaggingOutput) UnmarshalJSON

func (v *NullableGetObjectTaggingOutput) UnmarshalJSON(src []byte) error

func (*NullableGetObjectTaggingOutput) Unset

func (v *NullableGetObjectTaggingOutput) Unset()

type NullableHeadObjectOutput

type NullableHeadObjectOutput struct {
	// contains filtered or unexported fields
}

func NewNullableHeadObjectOutput

func NewNullableHeadObjectOutput(val *HeadObjectOutput) *NullableHeadObjectOutput

func (NullableHeadObjectOutput) Get

func (NullableHeadObjectOutput) IsSet

func (v NullableHeadObjectOutput) IsSet() bool

func (NullableHeadObjectOutput) MarshalJSON

func (v NullableHeadObjectOutput) MarshalJSON() ([]byte, error)

func (*NullableHeadObjectOutput) Set

func (*NullableHeadObjectOutput) UnmarshalJSON

func (v *NullableHeadObjectOutput) UnmarshalJSON(src []byte) error

func (*NullableHeadObjectOutput) Unset

func (v *NullableHeadObjectOutput) Unset()

type NullableIndexDocument added in v1.1.0

type NullableIndexDocument struct {
	// contains filtered or unexported fields
}

func NewNullableIndexDocument added in v1.1.0

func NewNullableIndexDocument(val *IndexDocument) *NullableIndexDocument

func (NullableIndexDocument) Get added in v1.1.0

func (NullableIndexDocument) IsSet added in v1.1.0

func (v NullableIndexDocument) IsSet() bool

func (NullableIndexDocument) MarshalJSON added in v1.1.0

func (v NullableIndexDocument) MarshalJSON() ([]byte, error)

func (*NullableIndexDocument) Set added in v1.1.0

func (v *NullableIndexDocument) Set(val *IndexDocument)

func (*NullableIndexDocument) UnmarshalJSON added in v1.1.0

func (v *NullableIndexDocument) UnmarshalJSON(src []byte) error

func (*NullableIndexDocument) Unset added in v1.1.0

func (v *NullableIndexDocument) Unset()

type NullableInitiator added in v1.1.0

type NullableInitiator struct {
	// contains filtered or unexported fields
}

func NewNullableInitiator added in v1.1.0

func NewNullableInitiator(val *Initiator) *NullableInitiator

func (NullableInitiator) Get added in v1.1.0

func (v NullableInitiator) Get() *Initiator

func (NullableInitiator) IsSet added in v1.1.0

func (v NullableInitiator) IsSet() bool

func (NullableInitiator) MarshalJSON added in v1.1.0

func (v NullableInitiator) MarshalJSON() ([]byte, error)

func (*NullableInitiator) Set added in v1.1.0

func (v *NullableInitiator) Set(val *Initiator)

func (*NullableInitiator) UnmarshalJSON added in v1.1.0

func (v *NullableInitiator) UnmarshalJSON(src []byte) error

func (*NullableInitiator) Unset added in v1.1.0

func (v *NullableInitiator) Unset()

type NullableInputSerialization added in v1.1.0

type NullableInputSerialization struct {
	// contains filtered or unexported fields
}

func NewNullableInputSerialization added in v1.1.0

func NewNullableInputSerialization(val *InputSerialization) *NullableInputSerialization

func (NullableInputSerialization) Get added in v1.1.0

func (NullableInputSerialization) IsSet added in v1.1.0

func (v NullableInputSerialization) IsSet() bool

func (NullableInputSerialization) MarshalJSON added in v1.1.0

func (v NullableInputSerialization) MarshalJSON() ([]byte, error)

func (*NullableInputSerialization) Set added in v1.1.0

func (*NullableInputSerialization) UnmarshalJSON added in v1.1.0

func (v *NullableInputSerialization) UnmarshalJSON(src []byte) error

func (*NullableInputSerialization) Unset added in v1.1.0

func (v *NullableInputSerialization) Unset()

type NullableInputSerializationJSON added in v1.1.0

type NullableInputSerializationJSON struct {
	// contains filtered or unexported fields
}

func NewNullableInputSerializationJSON added in v1.1.0

func NewNullableInputSerializationJSON(val *InputSerializationJSON) *NullableInputSerializationJSON

func (NullableInputSerializationJSON) Get added in v1.1.0

func (NullableInputSerializationJSON) IsSet added in v1.1.0

func (NullableInputSerializationJSON) MarshalJSON added in v1.1.0

func (v NullableInputSerializationJSON) MarshalJSON() ([]byte, error)

func (*NullableInputSerializationJSON) Set added in v1.1.0

func (*NullableInputSerializationJSON) UnmarshalJSON added in v1.1.0

func (v *NullableInputSerializationJSON) UnmarshalJSON(src []byte) error

func (*NullableInputSerializationJSON) Unset added in v1.1.0

func (v *NullableInputSerializationJSON) Unset()

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableJSONOutput added in v1.1.0

type NullableJSONOutput struct {
	// contains filtered or unexported fields
}

func NewNullableJSONOutput added in v1.1.0

func NewNullableJSONOutput(val *JSONOutput) *NullableJSONOutput

func (NullableJSONOutput) Get added in v1.1.0

func (v NullableJSONOutput) Get() *JSONOutput

func (NullableJSONOutput) IsSet added in v1.1.0

func (v NullableJSONOutput) IsSet() bool

func (NullableJSONOutput) MarshalJSON added in v1.1.0

func (v NullableJSONOutput) MarshalJSON() ([]byte, error)

func (*NullableJSONOutput) Set added in v1.1.0

func (v *NullableJSONOutput) Set(val *JSONOutput)

func (*NullableJSONOutput) UnmarshalJSON added in v1.1.0

func (v *NullableJSONOutput) UnmarshalJSON(src []byte) error

func (*NullableJSONOutput) Unset added in v1.1.0

func (v *NullableJSONOutput) Unset()

type NullableLifecycleExpiration added in v1.1.0

type NullableLifecycleExpiration struct {
	// contains filtered or unexported fields
}

func NewNullableLifecycleExpiration added in v1.1.0

func NewNullableLifecycleExpiration(val *LifecycleExpiration) *NullableLifecycleExpiration

func (NullableLifecycleExpiration) Get added in v1.1.0

func (NullableLifecycleExpiration) IsSet added in v1.1.0

func (NullableLifecycleExpiration) MarshalJSON added in v1.1.0

func (v NullableLifecycleExpiration) MarshalJSON() ([]byte, error)

func (*NullableLifecycleExpiration) Set added in v1.1.0

func (*NullableLifecycleExpiration) UnmarshalJSON added in v1.1.0

func (v *NullableLifecycleExpiration) UnmarshalJSON(src []byte) error

func (*NullableLifecycleExpiration) Unset added in v1.1.0

func (v *NullableLifecycleExpiration) Unset()

type NullableListAllMyBucketsResult

type NullableListAllMyBucketsResult struct {
	// contains filtered or unexported fields
}

func (NullableListAllMyBucketsResult) Get

func (NullableListAllMyBucketsResult) IsSet

func (NullableListAllMyBucketsResult) MarshalJSON

func (v NullableListAllMyBucketsResult) MarshalJSON() ([]byte, error)

func (*NullableListAllMyBucketsResult) Set

func (*NullableListAllMyBucketsResult) UnmarshalJSON

func (v *NullableListAllMyBucketsResult) UnmarshalJSON(src []byte) error

func (*NullableListAllMyBucketsResult) Unset

func (v *NullableListAllMyBucketsResult) Unset()

type NullableListBucketResultV2

type NullableListBucketResultV2 struct {
	// contains filtered or unexported fields
}

func NewNullableListBucketResultV2

func NewNullableListBucketResultV2(val *ListBucketResultV2) *NullableListBucketResultV2

func (NullableListBucketResultV2) Get

func (NullableListBucketResultV2) IsSet

func (v NullableListBucketResultV2) IsSet() bool

func (NullableListBucketResultV2) MarshalJSON

func (v NullableListBucketResultV2) MarshalJSON() ([]byte, error)

func (*NullableListBucketResultV2) Set

func (*NullableListBucketResultV2) UnmarshalJSON

func (v *NullableListBucketResultV2) UnmarshalJSON(src []byte) error

func (*NullableListBucketResultV2) Unset

func (v *NullableListBucketResultV2) Unset()

type NullableListMultipartUploadsOutput added in v1.1.0

type NullableListMultipartUploadsOutput struct {
	// contains filtered or unexported fields
}

func NewNullableListMultipartUploadsOutput added in v1.1.0

func NewNullableListMultipartUploadsOutput(val *ListMultipartUploadsOutput) *NullableListMultipartUploadsOutput

func (NullableListMultipartUploadsOutput) Get added in v1.1.0

func (NullableListMultipartUploadsOutput) IsSet added in v1.1.0

func (NullableListMultipartUploadsOutput) MarshalJSON added in v1.1.0

func (v NullableListMultipartUploadsOutput) MarshalJSON() ([]byte, error)

func (*NullableListMultipartUploadsOutput) Set added in v1.1.0

func (*NullableListMultipartUploadsOutput) UnmarshalJSON added in v1.1.0

func (v *NullableListMultipartUploadsOutput) UnmarshalJSON(src []byte) error

func (*NullableListMultipartUploadsOutput) Unset added in v1.1.0

type NullableListObjectVersionsOutput added in v1.1.0

type NullableListObjectVersionsOutput struct {
	// contains filtered or unexported fields
}

func NewNullableListObjectVersionsOutput added in v1.1.0

func NewNullableListObjectVersionsOutput(val *ListObjectVersionsOutput) *NullableListObjectVersionsOutput

func (NullableListObjectVersionsOutput) Get added in v1.1.0

func (NullableListObjectVersionsOutput) IsSet added in v1.1.0

func (NullableListObjectVersionsOutput) MarshalJSON added in v1.1.0

func (v NullableListObjectVersionsOutput) MarshalJSON() ([]byte, error)

func (*NullableListObjectVersionsOutput) Set added in v1.1.0

func (*NullableListObjectVersionsOutput) UnmarshalJSON added in v1.1.0

func (v *NullableListObjectVersionsOutput) UnmarshalJSON(src []byte) error

func (*NullableListObjectVersionsOutput) Unset added in v1.1.0

type NullableListObjectsOutput

type NullableListObjectsOutput struct {
	// contains filtered or unexported fields
}

func NewNullableListObjectsOutput

func NewNullableListObjectsOutput(val *ListObjectsOutput) *NullableListObjectsOutput

func (NullableListObjectsOutput) Get

func (NullableListObjectsOutput) IsSet

func (v NullableListObjectsOutput) IsSet() bool

func (NullableListObjectsOutput) MarshalJSON

func (v NullableListObjectsOutput) MarshalJSON() ([]byte, error)

func (*NullableListObjectsOutput) Set

func (*NullableListObjectsOutput) UnmarshalJSON

func (v *NullableListObjectsOutput) UnmarshalJSON(src []byte) error

func (*NullableListObjectsOutput) Unset

func (v *NullableListObjectsOutput) Unset()

type NullableListPartsOutput added in v1.1.0

type NullableListPartsOutput struct {
	// contains filtered or unexported fields
}

func NewNullableListPartsOutput added in v1.1.0

func NewNullableListPartsOutput(val *ListPartsOutput) *NullableListPartsOutput

func (NullableListPartsOutput) Get added in v1.1.0

func (NullableListPartsOutput) IsSet added in v1.1.0

func (v NullableListPartsOutput) IsSet() bool

func (NullableListPartsOutput) MarshalJSON added in v1.1.0

func (v NullableListPartsOutput) MarshalJSON() ([]byte, error)

func (*NullableListPartsOutput) Set added in v1.1.0

func (*NullableListPartsOutput) UnmarshalJSON added in v1.1.0

func (v *NullableListPartsOutput) UnmarshalJSON(src []byte) error

func (*NullableListPartsOutput) Unset added in v1.1.0

func (v *NullableListPartsOutput) Unset()

type NullableMetadataEntry added in v1.1.0

type NullableMetadataEntry struct {
	// contains filtered or unexported fields
}

func NewNullableMetadataEntry added in v1.1.0

func NewNullableMetadataEntry(val *MetadataEntry) *NullableMetadataEntry

func (NullableMetadataEntry) Get added in v1.1.0

func (NullableMetadataEntry) IsSet added in v1.1.0

func (v NullableMetadataEntry) IsSet() bool

func (NullableMetadataEntry) MarshalJSON added in v1.1.0

func (v NullableMetadataEntry) MarshalJSON() ([]byte, error)

func (*NullableMetadataEntry) Set added in v1.1.0

func (v *NullableMetadataEntry) Set(val *MetadataEntry)

func (*NullableMetadataEntry) UnmarshalJSON added in v1.1.0

func (v *NullableMetadataEntry) UnmarshalJSON(src []byte) error

func (*NullableMetadataEntry) Unset added in v1.1.0

func (v *NullableMetadataEntry) Unset()

type NullableMfaDeleteStatus added in v1.1.0

type NullableMfaDeleteStatus struct {
	// contains filtered or unexported fields
}

func NewNullableMfaDeleteStatus added in v1.1.0

func NewNullableMfaDeleteStatus(val *MfaDeleteStatus) *NullableMfaDeleteStatus

func (NullableMfaDeleteStatus) Get added in v1.1.0

func (NullableMfaDeleteStatus) IsSet added in v1.1.0

func (v NullableMfaDeleteStatus) IsSet() bool

func (NullableMfaDeleteStatus) MarshalJSON added in v1.1.0

func (v NullableMfaDeleteStatus) MarshalJSON() ([]byte, error)

func (*NullableMfaDeleteStatus) Set added in v1.1.0

func (*NullableMfaDeleteStatus) UnmarshalJSON added in v1.1.0

func (v *NullableMfaDeleteStatus) UnmarshalJSON(src []byte) error

func (*NullableMfaDeleteStatus) Unset added in v1.1.0

func (v *NullableMfaDeleteStatus) Unset()

type NullableMultipartUpload added in v1.1.0

type NullableMultipartUpload struct {
	// contains filtered or unexported fields
}

func NewNullableMultipartUpload added in v1.1.0

func NewNullableMultipartUpload(val *MultipartUpload) *NullableMultipartUpload

func (NullableMultipartUpload) Get added in v1.1.0

func (NullableMultipartUpload) IsSet added in v1.1.0

func (v NullableMultipartUpload) IsSet() bool

func (NullableMultipartUpload) MarshalJSON added in v1.1.0

func (v NullableMultipartUpload) MarshalJSON() ([]byte, error)

func (*NullableMultipartUpload) Set added in v1.1.0

func (*NullableMultipartUpload) UnmarshalJSON added in v1.1.0

func (v *NullableMultipartUpload) UnmarshalJSON(src []byte) error

func (*NullableMultipartUpload) Unset added in v1.1.0

func (v *NullableMultipartUpload) Unset()

type NullableNoncurrentVersionExpiration added in v1.1.0

type NullableNoncurrentVersionExpiration struct {
	// contains filtered or unexported fields
}

func NewNullableNoncurrentVersionExpiration added in v1.1.0

func NewNullableNoncurrentVersionExpiration(val *NoncurrentVersionExpiration) *NullableNoncurrentVersionExpiration

func (NullableNoncurrentVersionExpiration) Get added in v1.1.0

func (NullableNoncurrentVersionExpiration) IsSet added in v1.1.0

func (NullableNoncurrentVersionExpiration) MarshalJSON added in v1.1.0

func (v NullableNoncurrentVersionExpiration) MarshalJSON() ([]byte, error)

func (*NullableNoncurrentVersionExpiration) Set added in v1.1.0

func (*NullableNoncurrentVersionExpiration) UnmarshalJSON added in v1.1.0

func (v *NullableNoncurrentVersionExpiration) UnmarshalJSON(src []byte) error

func (*NullableNoncurrentVersionExpiration) Unset added in v1.1.0

type NullableObject

type NullableObject struct {
	// contains filtered or unexported fields
}

func NewNullableObject

func NewNullableObject(val *Object) *NullableObject

func (NullableObject) Get

func (v NullableObject) Get() *Object

func (NullableObject) IsSet

func (v NullableObject) IsSet() bool

func (NullableObject) MarshalJSON

func (v NullableObject) MarshalJSON() ([]byte, error)

func (*NullableObject) Set

func (v *NullableObject) Set(val *Object)

func (*NullableObject) UnmarshalJSON

func (v *NullableObject) UnmarshalJSON(src []byte) error

func (*NullableObject) Unset

func (v *NullableObject) Unset()

type NullableObjectIdentifier

type NullableObjectIdentifier struct {
	// contains filtered or unexported fields
}

func NewNullableObjectIdentifier

func NewNullableObjectIdentifier(val *ObjectIdentifier) *NullableObjectIdentifier

func (NullableObjectIdentifier) Get

func (NullableObjectIdentifier) IsSet

func (v NullableObjectIdentifier) IsSet() bool

func (NullableObjectIdentifier) MarshalJSON

func (v NullableObjectIdentifier) MarshalJSON() ([]byte, error)

func (*NullableObjectIdentifier) Set

func (*NullableObjectIdentifier) UnmarshalJSON

func (v *NullableObjectIdentifier) UnmarshalJSON(src []byte) error

func (*NullableObjectIdentifier) Unset

func (v *NullableObjectIdentifier) Unset()

type NullableObjectLegalHoldConfiguration added in v1.1.0

type NullableObjectLegalHoldConfiguration struct {
	// contains filtered or unexported fields
}

func NewNullableObjectLegalHoldConfiguration added in v1.1.0

func NewNullableObjectLegalHoldConfiguration(val *ObjectLegalHoldConfiguration) *NullableObjectLegalHoldConfiguration

func (NullableObjectLegalHoldConfiguration) Get added in v1.1.0

func (NullableObjectLegalHoldConfiguration) IsSet added in v1.1.0

func (NullableObjectLegalHoldConfiguration) MarshalJSON added in v1.1.0

func (v NullableObjectLegalHoldConfiguration) MarshalJSON() ([]byte, error)

func (*NullableObjectLegalHoldConfiguration) Set added in v1.1.0

func (*NullableObjectLegalHoldConfiguration) UnmarshalJSON added in v1.1.0

func (v *NullableObjectLegalHoldConfiguration) UnmarshalJSON(src []byte) error

func (*NullableObjectLegalHoldConfiguration) Unset added in v1.1.0

type NullableObjectLockRetention added in v1.1.0

type NullableObjectLockRetention struct {
	// contains filtered or unexported fields
}

func NewNullableObjectLockRetention added in v1.1.0

func NewNullableObjectLockRetention(val *ObjectLockRetention) *NullableObjectLockRetention

func (NullableObjectLockRetention) Get added in v1.1.0

func (NullableObjectLockRetention) IsSet added in v1.1.0

func (NullableObjectLockRetention) MarshalJSON added in v1.1.0

func (v NullableObjectLockRetention) MarshalJSON() ([]byte, error)

func (*NullableObjectLockRetention) Set added in v1.1.0

func (*NullableObjectLockRetention) UnmarshalJSON added in v1.1.0

func (v *NullableObjectLockRetention) UnmarshalJSON(src []byte) error

func (*NullableObjectLockRetention) Unset added in v1.1.0

func (v *NullableObjectLockRetention) Unset()

type NullableObjectLockRule added in v1.1.0

type NullableObjectLockRule struct {
	// contains filtered or unexported fields
}

func NewNullableObjectLockRule added in v1.1.0

func NewNullableObjectLockRule(val *ObjectLockRule) *NullableObjectLockRule

func (NullableObjectLockRule) Get added in v1.1.0

func (NullableObjectLockRule) IsSet added in v1.1.0

func (v NullableObjectLockRule) IsSet() bool

func (NullableObjectLockRule) MarshalJSON added in v1.1.0

func (v NullableObjectLockRule) MarshalJSON() ([]byte, error)

func (*NullableObjectLockRule) Set added in v1.1.0

func (*NullableObjectLockRule) UnmarshalJSON added in v1.1.0

func (v *NullableObjectLockRule) UnmarshalJSON(src []byte) error

func (*NullableObjectLockRule) Unset added in v1.1.0

func (v *NullableObjectLockRule) Unset()

type NullableObjectStorageClass

type NullableObjectStorageClass struct {
	// contains filtered or unexported fields
}

func NewNullableObjectStorageClass

func NewNullableObjectStorageClass(val *ObjectStorageClass) *NullableObjectStorageClass

func (NullableObjectStorageClass) Get

func (NullableObjectStorageClass) IsSet

func (v NullableObjectStorageClass) IsSet() bool

func (NullableObjectStorageClass) MarshalJSON

func (v NullableObjectStorageClass) MarshalJSON() ([]byte, error)

func (*NullableObjectStorageClass) Set

func (*NullableObjectStorageClass) UnmarshalJSON

func (v *NullableObjectStorageClass) UnmarshalJSON(src []byte) error

func (*NullableObjectStorageClass) Unset

func (v *NullableObjectStorageClass) Unset()

type NullableObjectVersion added in v1.1.0

type NullableObjectVersion struct {
	// contains filtered or unexported fields
}

func NewNullableObjectVersion added in v1.1.0

func NewNullableObjectVersion(val *ObjectVersion) *NullableObjectVersion

func (NullableObjectVersion) Get added in v1.1.0

func (NullableObjectVersion) IsSet added in v1.1.0

func (v NullableObjectVersion) IsSet() bool

func (NullableObjectVersion) MarshalJSON added in v1.1.0

func (v NullableObjectVersion) MarshalJSON() ([]byte, error)

func (*NullableObjectVersion) Set added in v1.1.0

func (v *NullableObjectVersion) Set(val *ObjectVersion)

func (*NullableObjectVersion) UnmarshalJSON added in v1.1.0

func (v *NullableObjectVersion) UnmarshalJSON(src []byte) error

func (*NullableObjectVersion) Unset added in v1.1.0

func (v *NullableObjectVersion) Unset()

type NullableObjectVersionStorageClass added in v1.1.0

type NullableObjectVersionStorageClass struct {
	// contains filtered or unexported fields
}

func NewNullableObjectVersionStorageClass added in v1.1.0

func NewNullableObjectVersionStorageClass(val *ObjectVersionStorageClass) *NullableObjectVersionStorageClass

func (NullableObjectVersionStorageClass) Get added in v1.1.0

func (NullableObjectVersionStorageClass) IsSet added in v1.1.0

func (NullableObjectVersionStorageClass) MarshalJSON added in v1.1.0

func (v NullableObjectVersionStorageClass) MarshalJSON() ([]byte, error)

func (*NullableObjectVersionStorageClass) Set added in v1.1.0

func (*NullableObjectVersionStorageClass) UnmarshalJSON added in v1.1.0

func (v *NullableObjectVersionStorageClass) UnmarshalJSON(src []byte) error

func (*NullableObjectVersionStorageClass) Unset added in v1.1.0

type NullableOutputSerialization added in v1.1.0

type NullableOutputSerialization struct {
	// contains filtered or unexported fields
}

func NewNullableOutputSerialization added in v1.1.0

func NewNullableOutputSerialization(val *OutputSerialization) *NullableOutputSerialization

func (NullableOutputSerialization) Get added in v1.1.0

func (NullableOutputSerialization) IsSet added in v1.1.0

func (NullableOutputSerialization) MarshalJSON added in v1.1.0

func (v NullableOutputSerialization) MarshalJSON() ([]byte, error)

func (*NullableOutputSerialization) Set added in v1.1.0

func (*NullableOutputSerialization) UnmarshalJSON added in v1.1.0

func (v *NullableOutputSerialization) UnmarshalJSON(src []byte) error

func (*NullableOutputSerialization) Unset added in v1.1.0

func (v *NullableOutputSerialization) Unset()

type NullableOwner

type NullableOwner struct {
	// contains filtered or unexported fields
}

func NewNullableOwner

func NewNullableOwner(val *Owner) *NullableOwner

func (NullableOwner) Get

func (v NullableOwner) Get() *Owner

func (NullableOwner) IsSet

func (v NullableOwner) IsSet() bool

func (NullableOwner) MarshalJSON

func (v NullableOwner) MarshalJSON() ([]byte, error)

func (*NullableOwner) Set

func (v *NullableOwner) Set(val *Owner)

func (*NullableOwner) UnmarshalJSON

func (v *NullableOwner) UnmarshalJSON(src []byte) error

func (*NullableOwner) Unset

func (v *NullableOwner) Unset()

type NullablePOSTObjectRequest

type NullablePOSTObjectRequest struct {
	// contains filtered or unexported fields
}

func NewNullablePOSTObjectRequest

func NewNullablePOSTObjectRequest(val *POSTObjectRequest) *NullablePOSTObjectRequest

func (NullablePOSTObjectRequest) Get

func (NullablePOSTObjectRequest) IsSet

func (v NullablePOSTObjectRequest) IsSet() bool

func (NullablePOSTObjectRequest) MarshalJSON

func (v NullablePOSTObjectRequest) MarshalJSON() ([]byte, error)

func (*NullablePOSTObjectRequest) Set

func (*NullablePOSTObjectRequest) UnmarshalJSON

func (v *NullablePOSTObjectRequest) UnmarshalJSON(src []byte) error

func (*NullablePOSTObjectRequest) Unset

func (v *NullablePOSTObjectRequest) Unset()

type NullablePart added in v1.1.0

type NullablePart struct {
	// contains filtered or unexported fields
}

func NewNullablePart added in v1.1.0

func NewNullablePart(val *Part) *NullablePart

func (NullablePart) Get added in v1.1.0

func (v NullablePart) Get() *Part

func (NullablePart) IsSet added in v1.1.0

func (v NullablePart) IsSet() bool

func (NullablePart) MarshalJSON added in v1.1.0

func (v NullablePart) MarshalJSON() ([]byte, error)

func (*NullablePart) Set added in v1.1.0

func (v *NullablePart) Set(val *Part)

func (*NullablePart) UnmarshalJSON added in v1.1.0

func (v *NullablePart) UnmarshalJSON(src []byte) error

func (*NullablePart) Unset added in v1.1.0

func (v *NullablePart) Unset()

type NullablePolicyStatus

type NullablePolicyStatus struct {
	// contains filtered or unexported fields
}

func NewNullablePolicyStatus

func NewNullablePolicyStatus(val *PolicyStatus) *NullablePolicyStatus

func (NullablePolicyStatus) Get

func (NullablePolicyStatus) IsSet

func (v NullablePolicyStatus) IsSet() bool

func (NullablePolicyStatus) MarshalJSON

func (v NullablePolicyStatus) MarshalJSON() ([]byte, error)

func (*NullablePolicyStatus) Set

func (v *NullablePolicyStatus) Set(val *PolicyStatus)

func (*NullablePolicyStatus) UnmarshalJSON

func (v *NullablePolicyStatus) UnmarshalJSON(src []byte) error

func (*NullablePolicyStatus) Unset

func (v *NullablePolicyStatus) Unset()

type NullablePrincipal

type NullablePrincipal struct {
	// contains filtered or unexported fields
}

func NewNullablePrincipal

func NewNullablePrincipal(val *Principal) *NullablePrincipal

func (NullablePrincipal) Get

func (v NullablePrincipal) Get() *Principal

func (NullablePrincipal) IsSet

func (v NullablePrincipal) IsSet() bool

func (NullablePrincipal) MarshalJSON

func (v NullablePrincipal) MarshalJSON() ([]byte, error)

func (*NullablePrincipal) Set

func (v *NullablePrincipal) Set(val *Principal)

func (*NullablePrincipal) UnmarshalJSON

func (v *NullablePrincipal) UnmarshalJSON(src []byte) error

func (*NullablePrincipal) Unset

func (v *NullablePrincipal) Unset()

type NullablePrincipalAllOf added in v1.1.0

type NullablePrincipalAllOf struct {
	// contains filtered or unexported fields
}

func NewNullablePrincipalAllOf added in v1.1.0

func NewNullablePrincipalAllOf(val *PrincipalAllOf) *NullablePrincipalAllOf

func (NullablePrincipalAllOf) Get added in v1.1.0

func (NullablePrincipalAllOf) IsSet added in v1.1.0

func (v NullablePrincipalAllOf) IsSet() bool

func (NullablePrincipalAllOf) MarshalJSON added in v1.1.0

func (v NullablePrincipalAllOf) MarshalJSON() ([]byte, error)

func (*NullablePrincipalAllOf) Set added in v1.1.0

func (*NullablePrincipalAllOf) UnmarshalJSON added in v1.1.0

func (v *NullablePrincipalAllOf) UnmarshalJSON(src []byte) error

func (*NullablePrincipalAllOf) Unset added in v1.1.0

func (v *NullablePrincipalAllOf) Unset()

type NullablePutBucketCorsRequest added in v1.1.0

type NullablePutBucketCorsRequest struct {
	// contains filtered or unexported fields
}

func NewNullablePutBucketCorsRequest added in v1.1.0

func NewNullablePutBucketCorsRequest(val *PutBucketCorsRequest) *NullablePutBucketCorsRequest

func (NullablePutBucketCorsRequest) Get added in v1.1.0

func (NullablePutBucketCorsRequest) IsSet added in v1.1.0

func (NullablePutBucketCorsRequest) MarshalJSON added in v1.1.0

func (v NullablePutBucketCorsRequest) MarshalJSON() ([]byte, error)

func (*NullablePutBucketCorsRequest) Set added in v1.1.0

func (*NullablePutBucketCorsRequest) UnmarshalJSON added in v1.1.0

func (v *NullablePutBucketCorsRequest) UnmarshalJSON(src []byte) error

func (*NullablePutBucketCorsRequest) Unset added in v1.1.0

func (v *NullablePutBucketCorsRequest) Unset()

type NullablePutBucketEncryptionRequest added in v1.1.0

type NullablePutBucketEncryptionRequest struct {
	// contains filtered or unexported fields
}

func NewNullablePutBucketEncryptionRequest added in v1.1.0

func NewNullablePutBucketEncryptionRequest(val *PutBucketEncryptionRequest) *NullablePutBucketEncryptionRequest

func (NullablePutBucketEncryptionRequest) Get added in v1.1.0

func (NullablePutBucketEncryptionRequest) IsSet added in v1.1.0

func (NullablePutBucketEncryptionRequest) MarshalJSON added in v1.1.0

func (v NullablePutBucketEncryptionRequest) MarshalJSON() ([]byte, error)

func (*NullablePutBucketEncryptionRequest) Set added in v1.1.0

func (*NullablePutBucketEncryptionRequest) UnmarshalJSON added in v1.1.0

func (v *NullablePutBucketEncryptionRequest) UnmarshalJSON(src []byte) error

func (*NullablePutBucketEncryptionRequest) Unset added in v1.1.0

type NullablePutBucketLifecycleRequest added in v1.1.0

type NullablePutBucketLifecycleRequest struct {
	// contains filtered or unexported fields
}

func NewNullablePutBucketLifecycleRequest added in v1.1.0

func NewNullablePutBucketLifecycleRequest(val *PutBucketLifecycleRequest) *NullablePutBucketLifecycleRequest

func (NullablePutBucketLifecycleRequest) Get added in v1.1.0

func (NullablePutBucketLifecycleRequest) IsSet added in v1.1.0

func (NullablePutBucketLifecycleRequest) MarshalJSON added in v1.1.0

func (v NullablePutBucketLifecycleRequest) MarshalJSON() ([]byte, error)

func (*NullablePutBucketLifecycleRequest) Set added in v1.1.0

func (*NullablePutBucketLifecycleRequest) UnmarshalJSON added in v1.1.0

func (v *NullablePutBucketLifecycleRequest) UnmarshalJSON(src []byte) error

func (*NullablePutBucketLifecycleRequest) Unset added in v1.1.0

type NullablePutBucketTaggingRequest

type NullablePutBucketTaggingRequest struct {
	// contains filtered or unexported fields
}

func (NullablePutBucketTaggingRequest) Get

func (NullablePutBucketTaggingRequest) IsSet

func (NullablePutBucketTaggingRequest) MarshalJSON

func (v NullablePutBucketTaggingRequest) MarshalJSON() ([]byte, error)

func (*NullablePutBucketTaggingRequest) Set

func (*NullablePutBucketTaggingRequest) UnmarshalJSON

func (v *NullablePutBucketTaggingRequest) UnmarshalJSON(src []byte) error

func (*NullablePutBucketTaggingRequest) Unset

type NullablePutBucketVersioningRequest added in v1.1.0

type NullablePutBucketVersioningRequest struct {
	// contains filtered or unexported fields
}

func NewNullablePutBucketVersioningRequest added in v1.1.0

func NewNullablePutBucketVersioningRequest(val *PutBucketVersioningRequest) *NullablePutBucketVersioningRequest

func (NullablePutBucketVersioningRequest) Get added in v1.1.0

func (NullablePutBucketVersioningRequest) IsSet added in v1.1.0

func (NullablePutBucketVersioningRequest) MarshalJSON added in v1.1.0

func (v NullablePutBucketVersioningRequest) MarshalJSON() ([]byte, error)

func (*NullablePutBucketVersioningRequest) Set added in v1.1.0

func (*NullablePutBucketVersioningRequest) UnmarshalJSON added in v1.1.0

func (v *NullablePutBucketVersioningRequest) UnmarshalJSON(src []byte) error

func (*NullablePutBucketVersioningRequest) Unset added in v1.1.0

type NullablePutBucketWebsiteRequest added in v1.1.0

type NullablePutBucketWebsiteRequest struct {
	// contains filtered or unexported fields
}

func NewNullablePutBucketWebsiteRequest added in v1.1.0

func NewNullablePutBucketWebsiteRequest(val *PutBucketWebsiteRequest) *NullablePutBucketWebsiteRequest

func (NullablePutBucketWebsiteRequest) Get added in v1.1.0

func (NullablePutBucketWebsiteRequest) IsSet added in v1.1.0

func (NullablePutBucketWebsiteRequest) MarshalJSON added in v1.1.0

func (v NullablePutBucketWebsiteRequest) MarshalJSON() ([]byte, error)

func (*NullablePutBucketWebsiteRequest) Set added in v1.1.0

func (*NullablePutBucketWebsiteRequest) UnmarshalJSON added in v1.1.0

func (v *NullablePutBucketWebsiteRequest) UnmarshalJSON(src []byte) error

func (*NullablePutBucketWebsiteRequest) Unset added in v1.1.0

type NullablePutObjectLockConfigurationRequest added in v1.1.0

type NullablePutObjectLockConfigurationRequest struct {
	// contains filtered or unexported fields
}

func NewNullablePutObjectLockConfigurationRequest added in v1.1.0

func NewNullablePutObjectLockConfigurationRequest(val *PutObjectLockConfigurationRequest) *NullablePutObjectLockConfigurationRequest

func (NullablePutObjectLockConfigurationRequest) Get added in v1.1.0

func (NullablePutObjectLockConfigurationRequest) IsSet added in v1.1.0

func (NullablePutObjectLockConfigurationRequest) MarshalJSON added in v1.1.0

func (*NullablePutObjectLockConfigurationRequest) Set added in v1.1.0

func (*NullablePutObjectLockConfigurationRequest) UnmarshalJSON added in v1.1.0

func (v *NullablePutObjectLockConfigurationRequest) UnmarshalJSON(src []byte) error

func (*NullablePutObjectLockConfigurationRequest) Unset added in v1.1.0

type NullablePutObjectLockConfigurationRequestRule added in v1.1.0

type NullablePutObjectLockConfigurationRequestRule struct {
	// contains filtered or unexported fields
}

func (NullablePutObjectLockConfigurationRequestRule) Get added in v1.1.0

func (NullablePutObjectLockConfigurationRequestRule) IsSet added in v1.1.0

func (NullablePutObjectLockConfigurationRequestRule) MarshalJSON added in v1.1.0

func (*NullablePutObjectLockConfigurationRequestRule) Set added in v1.1.0

func (*NullablePutObjectLockConfigurationRequestRule) UnmarshalJSON added in v1.1.0

func (*NullablePutObjectLockConfigurationRequestRule) Unset added in v1.1.0

type NullablePutObjectRetentionRequest added in v1.1.0

type NullablePutObjectRetentionRequest struct {
	// contains filtered or unexported fields
}

func NewNullablePutObjectRetentionRequest added in v1.1.0

func NewNullablePutObjectRetentionRequest(val *PutObjectRetentionRequest) *NullablePutObjectRetentionRequest

func (NullablePutObjectRetentionRequest) Get added in v1.1.0

func (NullablePutObjectRetentionRequest) IsSet added in v1.1.0

func (NullablePutObjectRetentionRequest) MarshalJSON added in v1.1.0

func (v NullablePutObjectRetentionRequest) MarshalJSON() ([]byte, error)

func (*NullablePutObjectRetentionRequest) Set added in v1.1.0

func (*NullablePutObjectRetentionRequest) UnmarshalJSON added in v1.1.0

func (v *NullablePutObjectRetentionRequest) UnmarshalJSON(src []byte) error

func (*NullablePutObjectRetentionRequest) Unset added in v1.1.0

type NullablePutObjectTaggingRequest

type NullablePutObjectTaggingRequest struct {
	// contains filtered or unexported fields
}

func (NullablePutObjectTaggingRequest) Get

func (NullablePutObjectTaggingRequest) IsSet

func (NullablePutObjectTaggingRequest) MarshalJSON

func (v NullablePutObjectTaggingRequest) MarshalJSON() ([]byte, error)

func (*NullablePutObjectTaggingRequest) Set

func (*NullablePutObjectTaggingRequest) UnmarshalJSON

func (v *NullablePutObjectTaggingRequest) UnmarshalJSON(src []byte) error

func (*NullablePutObjectTaggingRequest) Unset

type NullableRedirect added in v1.1.0

type NullableRedirect struct {
	// contains filtered or unexported fields
}

func NewNullableRedirect added in v1.1.0

func NewNullableRedirect(val *Redirect) *NullableRedirect

func (NullableRedirect) Get added in v1.1.0

func (v NullableRedirect) Get() *Redirect

func (NullableRedirect) IsSet added in v1.1.0

func (v NullableRedirect) IsSet() bool

func (NullableRedirect) MarshalJSON added in v1.1.0

func (v NullableRedirect) MarshalJSON() ([]byte, error)

func (*NullableRedirect) Set added in v1.1.0

func (v *NullableRedirect) Set(val *Redirect)

func (*NullableRedirect) UnmarshalJSON added in v1.1.0

func (v *NullableRedirect) UnmarshalJSON(src []byte) error

func (*NullableRedirect) Unset added in v1.1.0

func (v *NullableRedirect) Unset()

type NullableRedirectAllRequestsTo added in v1.1.0

type NullableRedirectAllRequestsTo struct {
	// contains filtered or unexported fields
}

func NewNullableRedirectAllRequestsTo added in v1.1.0

func NewNullableRedirectAllRequestsTo(val *RedirectAllRequestsTo) *NullableRedirectAllRequestsTo

func (NullableRedirectAllRequestsTo) Get added in v1.1.0

func (NullableRedirectAllRequestsTo) IsSet added in v1.1.0

func (NullableRedirectAllRequestsTo) MarshalJSON added in v1.1.0

func (v NullableRedirectAllRequestsTo) MarshalJSON() ([]byte, error)

func (*NullableRedirectAllRequestsTo) Set added in v1.1.0

func (*NullableRedirectAllRequestsTo) UnmarshalJSON added in v1.1.0

func (v *NullableRedirectAllRequestsTo) UnmarshalJSON(src []byte) error

func (*NullableRedirectAllRequestsTo) Unset added in v1.1.0

func (v *NullableRedirectAllRequestsTo) Unset()

type NullableReplicaModificationsStatus added in v1.1.0

type NullableReplicaModificationsStatus struct {
	// contains filtered or unexported fields
}

func NewNullableReplicaModificationsStatus added in v1.1.0

func NewNullableReplicaModificationsStatus(val *ReplicaModificationsStatus) *NullableReplicaModificationsStatus

func (NullableReplicaModificationsStatus) Get added in v1.1.0

func (NullableReplicaModificationsStatus) IsSet added in v1.1.0

func (NullableReplicaModificationsStatus) MarshalJSON added in v1.1.0

func (v NullableReplicaModificationsStatus) MarshalJSON() ([]byte, error)

func (*NullableReplicaModificationsStatus) Set added in v1.1.0

func (*NullableReplicaModificationsStatus) UnmarshalJSON added in v1.1.0

func (v *NullableReplicaModificationsStatus) UnmarshalJSON(src []byte) error

func (*NullableReplicaModificationsStatus) Unset added in v1.1.0

type NullableReplicationConfiguration added in v1.1.0

type NullableReplicationConfiguration struct {
	// contains filtered or unexported fields
}

func NewNullableReplicationConfiguration added in v1.1.0

func NewNullableReplicationConfiguration(val *ReplicationConfiguration) *NullableReplicationConfiguration

func (NullableReplicationConfiguration) Get added in v1.1.0

func (NullableReplicationConfiguration) IsSet added in v1.1.0

func (NullableReplicationConfiguration) MarshalJSON added in v1.1.0

func (v NullableReplicationConfiguration) MarshalJSON() ([]byte, error)

func (*NullableReplicationConfiguration) Set added in v1.1.0

func (*NullableReplicationConfiguration) UnmarshalJSON added in v1.1.0

func (v *NullableReplicationConfiguration) UnmarshalJSON(src []byte) error

func (*NullableReplicationConfiguration) Unset added in v1.1.0

type NullableReplicationRule added in v1.1.0

type NullableReplicationRule struct {
	// contains filtered or unexported fields
}

func NewNullableReplicationRule added in v1.1.0

func NewNullableReplicationRule(val *ReplicationRule) *NullableReplicationRule

func (NullableReplicationRule) Get added in v1.1.0

func (NullableReplicationRule) IsSet added in v1.1.0

func (v NullableReplicationRule) IsSet() bool

func (NullableReplicationRule) MarshalJSON added in v1.1.0

func (v NullableReplicationRule) MarshalJSON() ([]byte, error)

func (*NullableReplicationRule) Set added in v1.1.0

func (*NullableReplicationRule) UnmarshalJSON added in v1.1.0

func (v *NullableReplicationRule) UnmarshalJSON(src []byte) error

func (*NullableReplicationRule) Unset added in v1.1.0

func (v *NullableReplicationRule) Unset()

type NullableRoutingRule added in v1.1.0

type NullableRoutingRule struct {
	// contains filtered or unexported fields
}

func NewNullableRoutingRule added in v1.1.0

func NewNullableRoutingRule(val *RoutingRule) *NullableRoutingRule

func (NullableRoutingRule) Get added in v1.1.0

func (NullableRoutingRule) IsSet added in v1.1.0

func (v NullableRoutingRule) IsSet() bool

func (NullableRoutingRule) MarshalJSON added in v1.1.0

func (v NullableRoutingRule) MarshalJSON() ([]byte, error)

func (*NullableRoutingRule) Set added in v1.1.0

func (v *NullableRoutingRule) Set(val *RoutingRule)

func (*NullableRoutingRule) UnmarshalJSON added in v1.1.0

func (v *NullableRoutingRule) UnmarshalJSON(src []byte) error

func (*NullableRoutingRule) Unset added in v1.1.0

func (v *NullableRoutingRule) Unset()

type NullableRoutingRuleCondition added in v1.1.0

type NullableRoutingRuleCondition struct {
	// contains filtered or unexported fields
}

func NewNullableRoutingRuleCondition added in v1.1.0

func NewNullableRoutingRuleCondition(val *RoutingRuleCondition) *NullableRoutingRuleCondition

func (NullableRoutingRuleCondition) Get added in v1.1.0

func (NullableRoutingRuleCondition) IsSet added in v1.1.0

func (NullableRoutingRuleCondition) MarshalJSON added in v1.1.0

func (v NullableRoutingRuleCondition) MarshalJSON() ([]byte, error)

func (*NullableRoutingRuleCondition) Set added in v1.1.0

func (*NullableRoutingRuleCondition) UnmarshalJSON added in v1.1.0

func (v *NullableRoutingRuleCondition) UnmarshalJSON(src []byte) error

func (*NullableRoutingRuleCondition) Unset added in v1.1.0

func (v *NullableRoutingRuleCondition) Unset()

type NullableRule added in v1.1.0

type NullableRule struct {
	// contains filtered or unexported fields
}

func NewNullableRule added in v1.1.0

func NewNullableRule(val *Rule) *NullableRule

func (NullableRule) Get added in v1.1.0

func (v NullableRule) Get() *Rule

func (NullableRule) IsSet added in v1.1.0

func (v NullableRule) IsSet() bool

func (NullableRule) MarshalJSON added in v1.1.0

func (v NullableRule) MarshalJSON() ([]byte, error)

func (*NullableRule) Set added in v1.1.0

func (v *NullableRule) Set(val *Rule)

func (*NullableRule) UnmarshalJSON added in v1.1.0

func (v *NullableRule) UnmarshalJSON(src []byte) error

func (*NullableRule) Unset added in v1.1.0

func (v *NullableRule) Unset()

type NullableServerSideEncryption added in v1.1.0

type NullableServerSideEncryption struct {
	// contains filtered or unexported fields
}

func NewNullableServerSideEncryption added in v1.1.0

func NewNullableServerSideEncryption(val *ServerSideEncryption) *NullableServerSideEncryption

func (NullableServerSideEncryption) Get added in v1.1.0

func (NullableServerSideEncryption) IsSet added in v1.1.0

func (NullableServerSideEncryption) MarshalJSON added in v1.1.0

func (v NullableServerSideEncryption) MarshalJSON() ([]byte, error)

func (*NullableServerSideEncryption) Set added in v1.1.0

func (*NullableServerSideEncryption) UnmarshalJSON added in v1.1.0

func (v *NullableServerSideEncryption) UnmarshalJSON(src []byte) error

func (*NullableServerSideEncryption) Unset added in v1.1.0

func (v *NullableServerSideEncryption) Unset()

type NullableServerSideEncryptionByDefault added in v1.1.0

type NullableServerSideEncryptionByDefault struct {
	// contains filtered or unexported fields
}

func NewNullableServerSideEncryptionByDefault added in v1.1.0

func NewNullableServerSideEncryptionByDefault(val *ServerSideEncryptionByDefault) *NullableServerSideEncryptionByDefault

func (NullableServerSideEncryptionByDefault) Get added in v1.1.0

func (NullableServerSideEncryptionByDefault) IsSet added in v1.1.0

func (NullableServerSideEncryptionByDefault) MarshalJSON added in v1.1.0

func (v NullableServerSideEncryptionByDefault) MarshalJSON() ([]byte, error)

func (*NullableServerSideEncryptionByDefault) Set added in v1.1.0

func (*NullableServerSideEncryptionByDefault) UnmarshalJSON added in v1.1.0

func (v *NullableServerSideEncryptionByDefault) UnmarshalJSON(src []byte) error

func (*NullableServerSideEncryptionByDefault) Unset added in v1.1.0

type NullableServerSideEncryptionConfiguration added in v1.1.0

type NullableServerSideEncryptionConfiguration struct {
	// contains filtered or unexported fields
}

func NewNullableServerSideEncryptionConfiguration added in v1.1.0

func NewNullableServerSideEncryptionConfiguration(val *ServerSideEncryptionConfiguration) *NullableServerSideEncryptionConfiguration

func (NullableServerSideEncryptionConfiguration) Get added in v1.1.0

func (NullableServerSideEncryptionConfiguration) IsSet added in v1.1.0

func (NullableServerSideEncryptionConfiguration) MarshalJSON added in v1.1.0

func (*NullableServerSideEncryptionConfiguration) Set added in v1.1.0

func (*NullableServerSideEncryptionConfiguration) UnmarshalJSON added in v1.1.0

func (v *NullableServerSideEncryptionConfiguration) UnmarshalJSON(src []byte) error

func (*NullableServerSideEncryptionConfiguration) Unset added in v1.1.0

type NullableServerSideEncryptionRule added in v1.1.0

type NullableServerSideEncryptionRule struct {
	// contains filtered or unexported fields
}

func NewNullableServerSideEncryptionRule added in v1.1.0

func NewNullableServerSideEncryptionRule(val *ServerSideEncryptionRule) *NullableServerSideEncryptionRule

func (NullableServerSideEncryptionRule) Get added in v1.1.0

func (NullableServerSideEncryptionRule) IsSet added in v1.1.0

func (NullableServerSideEncryptionRule) MarshalJSON added in v1.1.0

func (v NullableServerSideEncryptionRule) MarshalJSON() ([]byte, error)

func (*NullableServerSideEncryptionRule) Set added in v1.1.0

func (*NullableServerSideEncryptionRule) UnmarshalJSON added in v1.1.0

func (v *NullableServerSideEncryptionRule) UnmarshalJSON(src []byte) error

func (*NullableServerSideEncryptionRule) Unset added in v1.1.0

type NullableStorageClass added in v1.1.0

type NullableStorageClass struct {
	// contains filtered or unexported fields
}

func NewNullableStorageClass added in v1.1.0

func NewNullableStorageClass(val *StorageClass) *NullableStorageClass

func (NullableStorageClass) Get added in v1.1.0

func (NullableStorageClass) IsSet added in v1.1.0

func (v NullableStorageClass) IsSet() bool

func (NullableStorageClass) MarshalJSON added in v1.1.0

func (v NullableStorageClass) MarshalJSON() ([]byte, error)

func (*NullableStorageClass) Set added in v1.1.0

func (v *NullableStorageClass) Set(val *StorageClass)

func (*NullableStorageClass) UnmarshalJSON added in v1.1.0

func (v *NullableStorageClass) UnmarshalJSON(src []byte) error

func (*NullableStorageClass) Unset added in v1.1.0

func (v *NullableStorageClass) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTag

type NullableTag struct {
	// contains filtered or unexported fields
}

func NewNullableTag

func NewNullableTag(val *Tag) *NullableTag

func (NullableTag) Get

func (v NullableTag) Get() *Tag

func (NullableTag) IsSet

func (v NullableTag) IsSet() bool

func (NullableTag) MarshalJSON

func (v NullableTag) MarshalJSON() ([]byte, error)

func (*NullableTag) Set

func (v *NullableTag) Set(val *Tag)

func (*NullableTag) UnmarshalJSON

func (v *NullableTag) UnmarshalJSON(src []byte) error

func (*NullableTag) Unset

func (v *NullableTag) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableUploadPartCopyOutput added in v1.1.0

type NullableUploadPartCopyOutput struct {
	// contains filtered or unexported fields
}

func NewNullableUploadPartCopyOutput added in v1.1.0

func NewNullableUploadPartCopyOutput(val *UploadPartCopyOutput) *NullableUploadPartCopyOutput

func (NullableUploadPartCopyOutput) Get added in v1.1.0

func (NullableUploadPartCopyOutput) IsSet added in v1.1.0

func (NullableUploadPartCopyOutput) MarshalJSON added in v1.1.0

func (v NullableUploadPartCopyOutput) MarshalJSON() ([]byte, error)

func (*NullableUploadPartCopyOutput) Set added in v1.1.0

func (*NullableUploadPartCopyOutput) UnmarshalJSON added in v1.1.0

func (v *NullableUploadPartCopyOutput) UnmarshalJSON(src []byte) error

func (*NullableUploadPartCopyOutput) Unset added in v1.1.0

func (v *NullableUploadPartCopyOutput) Unset()

type NullableUploadPartRequest

type NullableUploadPartRequest struct {
	// contains filtered or unexported fields
}

func NewNullableUploadPartRequest

func NewNullableUploadPartRequest(val *UploadPartRequest) *NullableUploadPartRequest

func (NullableUploadPartRequest) Get

func (NullableUploadPartRequest) IsSet

func (v NullableUploadPartRequest) IsSet() bool

func (NullableUploadPartRequest) MarshalJSON

func (v NullableUploadPartRequest) MarshalJSON() ([]byte, error)

func (*NullableUploadPartRequest) Set

func (*NullableUploadPartRequest) UnmarshalJSON

func (v *NullableUploadPartRequest) UnmarshalJSON(src []byte) error

func (*NullableUploadPartRequest) Unset

func (v *NullableUploadPartRequest) Unset()

type Object

type Object struct {
	XMLName xml.Name `xml:"Contents"`
	// The object key.
	Key *string `json:"Key,omitempty" xml:"Key"`
	// Creation date of the object.
	LastModified *IonosTime          `json:"LastModified,omitempty" xml:"LastModified"`
	StorageClass *ObjectStorageClass `json:"StorageClass,omitempty" xml:"StorageClass"`
	// Size in bytes of the object
	Size *int32 `json:"Size,omitempty" xml:"Size"`
	// Entity tag that identifies the object's data. Objects with different object data will have different entity tags. The entity tag is an opaque string. The entity tag may or may not be an MD5 digest of the object data. If the entity tag is not an MD5 digest of the object data, it will contain one or more nonhexadecimal characters and/or will consist of less than 32 or more than 32 hexadecimal digits.
	ETag  *string `json:"ETag,omitempty" xml:"ETag"`
	Owner *Owner  `json:"Owner,omitempty" xml:"Owner"`
}

Object An object consists of data and its descriptive metadata.

func NewObject

func NewObject() *Object

NewObject instantiates a new Object 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 NewObjectWithDefaults

func NewObjectWithDefaults() *Object

NewObjectWithDefaults instantiates a new Object 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 (*Object) GetETag

func (o *Object) GetETag() *string

GetETag returns the ETag field value If the value is explicit nil, the zero value for string will be returned

func (*Object) GetETagOk

func (o *Object) GetETagOk() (*string, bool)

GetETagOk returns a tuple with the ETag field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Object) GetKey

func (o *Object) GetKey() *string

GetKey returns the Key field value If the value is explicit nil, the zero value for string will be returned

func (*Object) GetKeyOk

func (o *Object) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Object) GetLastModified

func (o *Object) GetLastModified() *time.Time

GetLastModified returns the LastModified field value If the value is explicit nil, the zero value for time.Time will be returned

func (*Object) GetLastModifiedOk

func (o *Object) GetLastModifiedOk() (*time.Time, bool)

GetLastModifiedOk returns a tuple with the LastModified field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Object) GetOwner

func (o *Object) GetOwner() *Owner

GetOwner returns the Owner field value If the value is explicit nil, the zero value for Owner will be returned

func (*Object) GetOwnerOk

func (o *Object) GetOwnerOk() (*Owner, bool)

GetOwnerOk returns a tuple with the Owner field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Object) GetSize

func (o *Object) GetSize() *int32

GetSize returns the Size field value If the value is explicit nil, the zero value for int32 will be returned

func (*Object) GetSizeOk

func (o *Object) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Object) GetStorageClass

func (o *Object) GetStorageClass() *ObjectStorageClass

GetStorageClass returns the StorageClass field value If the value is explicit nil, the zero value for ObjectStorageClass will be returned

func (*Object) GetStorageClassOk

func (o *Object) GetStorageClassOk() (*ObjectStorageClass, bool)

GetStorageClassOk returns a tuple with the StorageClass field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Object) HasETag

func (o *Object) HasETag() bool

HasETag returns a boolean if a field has been set.

func (*Object) HasKey

func (o *Object) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*Object) HasLastModified

func (o *Object) HasLastModified() bool

HasLastModified returns a boolean if a field has been set.

func (*Object) HasOwner

func (o *Object) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*Object) HasSize

func (o *Object) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*Object) HasStorageClass

func (o *Object) HasStorageClass() bool

HasStorageClass returns a boolean if a field has been set.

func (Object) MarshalJSON

func (o Object) MarshalJSON() ([]byte, error)

func (*Object) SetETag

func (o *Object) SetETag(v string)

SetETag sets field value

func (*Object) SetKey

func (o *Object) SetKey(v string)

SetKey sets field value

func (*Object) SetLastModified

func (o *Object) SetLastModified(v time.Time)

SetLastModified sets field value

func (*Object) SetOwner

func (o *Object) SetOwner(v Owner)

SetOwner sets field value

func (*Object) SetSize

func (o *Object) SetSize(v int32)

SetSize sets field value

func (*Object) SetStorageClass

func (o *Object) SetStorageClass(v ObjectStorageClass)

SetStorageClass sets field value

type ObjectIdentifier

type ObjectIdentifier struct {
	XMLName xml.Name `xml:"Object"`
	// The object key.
	Key *string `json:"Key" xml:"Key"`
	// VersionId for the specific version of the object to delete.
	VersionId *string `json:"VersionId,omitempty" xml:"VersionId"`
}

ObjectIdentifier Object Identifier is unique value to identify objects.

func NewObjectIdentifier

func NewObjectIdentifier(key string) *ObjectIdentifier

NewObjectIdentifier instantiates a new ObjectIdentifier 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 NewObjectIdentifierWithDefaults

func NewObjectIdentifierWithDefaults() *ObjectIdentifier

NewObjectIdentifierWithDefaults instantiates a new ObjectIdentifier 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 (*ObjectIdentifier) GetKey

func (o *ObjectIdentifier) GetKey() *string

GetKey returns the Key field value If the value is explicit nil, the zero value for string will be returned

func (*ObjectIdentifier) GetKeyOk

func (o *ObjectIdentifier) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ObjectIdentifier) GetVersionId

func (o *ObjectIdentifier) GetVersionId() *string

GetVersionId returns the VersionId field value If the value is explicit nil, the zero value for string will be returned

func (*ObjectIdentifier) GetVersionIdOk

func (o *ObjectIdentifier) GetVersionIdOk() (*string, bool)

GetVersionIdOk returns a tuple with the VersionId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ObjectIdentifier) HasKey

func (o *ObjectIdentifier) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*ObjectIdentifier) HasVersionId

func (o *ObjectIdentifier) HasVersionId() bool

HasVersionId returns a boolean if a field has been set.

func (ObjectIdentifier) MarshalJSON

func (o ObjectIdentifier) MarshalJSON() ([]byte, error)

func (*ObjectIdentifier) SetKey

func (o *ObjectIdentifier) SetKey(v string)

SetKey sets field value

func (*ObjectIdentifier) SetVersionId

func (o *ObjectIdentifier) SetVersionId(v string)

SetVersionId sets field value

type ObjectLegalHoldConfiguration added in v1.1.0

type ObjectLegalHoldConfiguration struct {
	XMLName xml.Name `xml:"LegalHold"`
	// Object Legal Hold status
	Status *string `json:"Status,omitempty" xml:"Status"`
}

ObjectLegalHoldConfiguration A Legal Hold configuration for an object.

func NewObjectLegalHoldConfiguration added in v1.1.0

func NewObjectLegalHoldConfiguration() *ObjectLegalHoldConfiguration

NewObjectLegalHoldConfiguration instantiates a new ObjectLegalHoldConfiguration 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 NewObjectLegalHoldConfigurationWithDefaults added in v1.1.0

func NewObjectLegalHoldConfigurationWithDefaults() *ObjectLegalHoldConfiguration

NewObjectLegalHoldConfigurationWithDefaults instantiates a new ObjectLegalHoldConfiguration 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 (*ObjectLegalHoldConfiguration) GetStatus added in v1.1.0

func (o *ObjectLegalHoldConfiguration) GetStatus() *string

GetStatus returns the Status field value If the value is explicit nil, the zero value for string will be returned

func (*ObjectLegalHoldConfiguration) GetStatusOk added in v1.1.0

func (o *ObjectLegalHoldConfiguration) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ObjectLegalHoldConfiguration) HasStatus added in v1.1.0

func (o *ObjectLegalHoldConfiguration) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (ObjectLegalHoldConfiguration) MarshalJSON added in v1.1.0

func (o ObjectLegalHoldConfiguration) MarshalJSON() ([]byte, error)

func (*ObjectLegalHoldConfiguration) SetStatus added in v1.1.0

func (o *ObjectLegalHoldConfiguration) SetStatus(v string)

SetStatus sets field value

type ObjectLockApiService added in v1.1.0

type ObjectLockApiService service

ObjectLockApiService ObjectLockApi service

func (*ObjectLockApiService) GetObjectLegalHold added in v1.1.0

func (a *ObjectLockApiService) GetObjectLegalHold(ctx context.Context, bucket string, key string) ApiGetObjectLegalHoldRequest

GetObjectLegalHold GetObjectLegalHold

Gets an object's current Legal Hold status.

#### Permissions You must be the contract owner or an administrator to perform this operation. If not, they can grant you permission to perform the `s3:GetObjectLegalHold` operation using [Bucket Policy](#tag/Policy/operation/PutBucketPolicy).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@param key The key name of the object whose Legal Hold status you want to retrieve.
@return ApiGetObjectLegalHoldRequest

func (*ObjectLockApiService) GetObjectLegalHoldExecute added in v1.1.0

Execute executes the request

@return ObjectLegalHoldConfiguration

func (*ObjectLockApiService) GetObjectLockConfiguration added in v1.1.0

func (a *ObjectLockApiService) GetObjectLockConfiguration(ctx context.Context, bucket string) ApiGetObjectLockConfigurationRequest

GetObjectLockConfiguration GetObjectLockConfiguration

Retrieves the Object Lock configuration for a bucket.

#### Permissions You must be the contract owner or an administrator to perform this operation. If not, they can grant you permission to perform the `s3:GetBucketObjectLockConfiguration` operation using [Bucket Policy](#tag/Policy/operation/PutBucketPolicy).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiGetObjectLockConfigurationRequest

func (*ObjectLockApiService) GetObjectLockConfigurationExecute added in v1.1.0

Execute executes the request

@return GetObjectLockConfigurationOutput

func (*ObjectLockApiService) GetObjectRetention added in v1.1.0

func (a *ObjectLockApiService) GetObjectRetention(ctx context.Context, bucket string, key string) ApiGetObjectRetentionRequest

GetObjectRetention GetObjectRetention

Retrieves an object's retention configuration.

#### Permissions You must be the contract owner or an administrator to perform this operation. If not, they can grant you permission to perform the `s3:GetObjectRetention` operation using [Bucket Policy](#tag/Policy/operation/PutBucketPolicy).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@param key The key name of the object whose retention settings you want to retrieve.
@return ApiGetObjectRetentionRequest

func (*ObjectLockApiService) GetObjectRetentionExecute added in v1.1.0

Execute executes the request

@return ObjectLockRetention

func (*ObjectLockApiService) PutObjectLegalHold added in v1.1.0

func (a *ObjectLockApiService) PutObjectLegalHold(ctx context.Context, bucket string, key string) ApiPutObjectLegalHoldRequest

PutObjectLegalHold PutObjectLegalHold

Applies a Legal Hold configuration to the specified object.

#### Permissions You must be the contract owner or an administrator to perform this operation. If not, they can grant you permission to perform the `s3:PutObjectLegalHold` operation using [Bucket Policy](#tag/Policy/operation/PutBucketPolicy).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@param key The key name of the object on which you want to place a Legal Hold.
@return ApiPutObjectLegalHoldRequest

func (*ObjectLockApiService) PutObjectLegalHoldExecute added in v1.1.0

func (a *ObjectLockApiService) PutObjectLegalHoldExecute(r ApiPutObjectLegalHoldRequest) (*APIResponse, error)

Execute executes the request

func (*ObjectLockApiService) PutObjectLockConfiguration added in v1.1.0

func (a *ObjectLockApiService) PutObjectLockConfiguration(ctx context.Context, bucket string) ApiPutObjectLockConfigurationRequest

PutObjectLockConfiguration PutObjectLockConfiguration

Applies an Object Lock configuration on the specified bucket, which requires the Object Lock feature to have been enabled during its creation. The rule specified in the Object Lock configuration will be applied by default to every new object placed in the specified bucket.

**Note:** - An Object Lock Configuration can only be applied to buckets with Object Lock enabled. - This feature can only be activated on a new bucket during its creation. - Object Lock cannot be enabled on a bucket that already exists.

#### Permissions You must be the contract owner or an administrator to perform this operation. If not, they can grant you permission to perform the `s3:PutBucketObjectLockConfiguration` operation using [Bucket Policy](#tag/Policy/operation/PutBucketPolicy).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiPutObjectLockConfigurationRequest

func (*ObjectLockApiService) PutObjectLockConfigurationExecute added in v1.1.0

func (a *ObjectLockApiService) PutObjectLockConfigurationExecute(r ApiPutObjectLockConfigurationRequest) (*APIResponse, error)

Execute executes the request

func (*ObjectLockApiService) PutObjectRetention added in v1.1.0

func (a *ObjectLockApiService) PutObjectRetention(ctx context.Context, bucket string, key string) ApiPutObjectRetentionRequest

PutObjectRetention PutObjectRetention

Places an Object Retention configuration on an object.

#### Permissions You must be the contract owner or an administrator to perform this operation. If not, they can grant you permission to perform the `s3:PutObjectRetention` operation using [Bucket Policy](#tag/Policy/operation/PutBucketPolicy). Bypassing a Governance Retention configuration also requires the `s3:BypassGovernanceRetention` permission.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@param key The key name of the object to which you want to apply the Object Retention configuration.
@return ApiPutObjectRetentionRequest

func (*ObjectLockApiService) PutObjectRetentionExecute added in v1.1.0

func (a *ObjectLockApiService) PutObjectRetentionExecute(r ApiPutObjectRetentionRequest) (*APIResponse, error)

Execute executes the request

type ObjectLockRetention added in v1.1.0

type ObjectLockRetention struct {
	XMLName xml.Name `xml:"Retention"`
	// Indicates the Retention mode for the specified object.
	Mode *string `json:"Mode,omitempty" xml:"Mode"`
	// The date on which this Object Lock Retention will expire.
	RetainUntilDate *string `json:"RetainUntilDate,omitempty" xml:"RetainUntilDate"`
}

ObjectLockRetention A Retention configuration for an object.

func NewObjectLockRetention added in v1.1.0

func NewObjectLockRetention() *ObjectLockRetention

NewObjectLockRetention instantiates a new ObjectLockRetention 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 NewObjectLockRetentionWithDefaults added in v1.1.0

func NewObjectLockRetentionWithDefaults() *ObjectLockRetention

NewObjectLockRetentionWithDefaults instantiates a new ObjectLockRetention 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 (*ObjectLockRetention) GetMode added in v1.1.0

func (o *ObjectLockRetention) GetMode() *string

GetMode returns the Mode field value If the value is explicit nil, the zero value for string will be returned

func (*ObjectLockRetention) GetModeOk added in v1.1.0

func (o *ObjectLockRetention) GetModeOk() (*string, bool)

GetModeOk returns a tuple with the Mode field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ObjectLockRetention) GetRetainUntilDate added in v1.1.0

func (o *ObjectLockRetention) GetRetainUntilDate() *string

GetRetainUntilDate returns the RetainUntilDate field value If the value is explicit nil, the zero value for string will be returned

func (*ObjectLockRetention) GetRetainUntilDateOk added in v1.1.0

func (o *ObjectLockRetention) GetRetainUntilDateOk() (*string, bool)

GetRetainUntilDateOk returns a tuple with the RetainUntilDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ObjectLockRetention) HasMode added in v1.1.0

func (o *ObjectLockRetention) HasMode() bool

HasMode returns a boolean if a field has been set.

func (*ObjectLockRetention) HasRetainUntilDate added in v1.1.0

func (o *ObjectLockRetention) HasRetainUntilDate() bool

HasRetainUntilDate returns a boolean if a field has been set.

func (ObjectLockRetention) MarshalJSON added in v1.1.0

func (o ObjectLockRetention) MarshalJSON() ([]byte, error)

func (*ObjectLockRetention) SetMode added in v1.1.0

func (o *ObjectLockRetention) SetMode(v string)

SetMode sets field value

func (*ObjectLockRetention) SetRetainUntilDate added in v1.1.0

func (o *ObjectLockRetention) SetRetainUntilDate(v string)

SetRetainUntilDate sets field value

type ObjectLockRule added in v1.1.0

type ObjectLockRule struct {
	XMLName          xml.Name          `xml:"Rule"`
	DefaultRetention *DefaultRetention `json:"DefaultRetention,omitempty" xml:"DefaultRetention"`
}

ObjectLockRule The container element for an Object Lock rule.

func NewObjectLockRule added in v1.1.0

func NewObjectLockRule() *ObjectLockRule

NewObjectLockRule instantiates a new ObjectLockRule 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 NewObjectLockRuleWithDefaults added in v1.1.0

func NewObjectLockRuleWithDefaults() *ObjectLockRule

NewObjectLockRuleWithDefaults instantiates a new ObjectLockRule 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 (*ObjectLockRule) GetDefaultRetention added in v1.1.0

func (o *ObjectLockRule) GetDefaultRetention() *DefaultRetention

GetDefaultRetention returns the DefaultRetention field value If the value is explicit nil, the zero value for DefaultRetention will be returned

func (*ObjectLockRule) GetDefaultRetentionOk added in v1.1.0

func (o *ObjectLockRule) GetDefaultRetentionOk() (*DefaultRetention, bool)

GetDefaultRetentionOk returns a tuple with the DefaultRetention field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ObjectLockRule) HasDefaultRetention added in v1.1.0

func (o *ObjectLockRule) HasDefaultRetention() bool

HasDefaultRetention returns a boolean if a field has been set.

func (ObjectLockRule) MarshalJSON added in v1.1.0

func (o ObjectLockRule) MarshalJSON() ([]byte, error)

func (*ObjectLockRule) SetDefaultRetention added in v1.1.0

func (o *ObjectLockRule) SetDefaultRetention(v DefaultRetention)

SetDefaultRetention sets field value

type ObjectStorageClass

type ObjectStorageClass string

ObjectStorageClass the model 'ObjectStorageClass'

const (
	OBJECTSTORAGECLASS_STANDARD ObjectStorageClass = "STANDARD"
)

List of ObjectStorageClass

func (ObjectStorageClass) Ptr

Ptr returns reference to ObjectStorageClass value

func (*ObjectStorageClass) UnmarshalJSON

func (v *ObjectStorageClass) UnmarshalJSON(src []byte) error

type ObjectVersion added in v1.1.0

type ObjectVersion struct {
	XMLName xml.Name `xml:"Version"`
	// Entity tag that identifies the object's data. Objects with different object data will have different entity tags. The entity tag is an opaque string. The entity tag may or may not be an MD5 digest of the object data. If the entity tag is not an MD5 digest of the object data, it will contain one or more nonhexadecimal characters and/or will consist of less than 32 or more than 32 hexadecimal digits.
	ETag *string `json:"ETag,omitempty" xml:"ETag"`
	// Size in bytes of the object
	Size         *int32                     `json:"Size,omitempty" xml:"Size"`
	StorageClass *ObjectVersionStorageClass `json:"StorageClass,omitempty" xml:"StorageClass"`
	// The object key.
	Key *string `json:"Key,omitempty" xml:"Key"`
	// Version ID of an object.
	VersionId *string `json:"VersionId,omitempty" xml:"VersionId"`
	// Specifies whether the object is (true) or is not (false) the latest version of an object.
	IsLatest *bool `json:"IsLatest,omitempty" xml:"IsLatest"`
	// Creation date of the object.
	LastModified *IonosTime `json:"LastModified,omitempty" xml:"LastModified"`
	Owner        *Owner     `json:"Owner,omitempty" xml:"Owner"`
}

ObjectVersion The version of an object.

func NewObjectVersion added in v1.1.0

func NewObjectVersion() *ObjectVersion

NewObjectVersion instantiates a new ObjectVersion 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 NewObjectVersionWithDefaults added in v1.1.0

func NewObjectVersionWithDefaults() *ObjectVersion

NewObjectVersionWithDefaults instantiates a new ObjectVersion 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 (*ObjectVersion) GetETag added in v1.1.0

func (o *ObjectVersion) GetETag() *string

GetETag returns the ETag field value If the value is explicit nil, the zero value for string will be returned

func (*ObjectVersion) GetETagOk added in v1.1.0

func (o *ObjectVersion) GetETagOk() (*string, bool)

GetETagOk returns a tuple with the ETag field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ObjectVersion) GetIsLatest added in v1.1.0

func (o *ObjectVersion) GetIsLatest() *bool

GetIsLatest returns the IsLatest field value If the value is explicit nil, the zero value for bool will be returned

func (*ObjectVersion) GetIsLatestOk added in v1.1.0

func (o *ObjectVersion) GetIsLatestOk() (*bool, bool)

GetIsLatestOk returns a tuple with the IsLatest field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ObjectVersion) GetKey added in v1.1.0

func (o *ObjectVersion) GetKey() *string

GetKey returns the Key field value If the value is explicit nil, the zero value for string will be returned

func (*ObjectVersion) GetKeyOk added in v1.1.0

func (o *ObjectVersion) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ObjectVersion) GetLastModified added in v1.1.0

func (o *ObjectVersion) GetLastModified() *time.Time

GetLastModified returns the LastModified field value If the value is explicit nil, the zero value for time.Time will be returned

func (*ObjectVersion) GetLastModifiedOk added in v1.1.0

func (o *ObjectVersion) GetLastModifiedOk() (*time.Time, bool)

GetLastModifiedOk returns a tuple with the LastModified field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ObjectVersion) GetOwner added in v1.1.0

func (o *ObjectVersion) GetOwner() *Owner

GetOwner returns the Owner field value If the value is explicit nil, the zero value for Owner will be returned

func (*ObjectVersion) GetOwnerOk added in v1.1.0

func (o *ObjectVersion) GetOwnerOk() (*Owner, bool)

GetOwnerOk returns a tuple with the Owner field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ObjectVersion) GetSize added in v1.1.0

func (o *ObjectVersion) GetSize() *int32

GetSize returns the Size field value If the value is explicit nil, the zero value for int32 will be returned

func (*ObjectVersion) GetSizeOk added in v1.1.0

func (o *ObjectVersion) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ObjectVersion) GetStorageClass added in v1.1.0

func (o *ObjectVersion) GetStorageClass() *ObjectVersionStorageClass

GetStorageClass returns the StorageClass field value If the value is explicit nil, the zero value for ObjectVersionStorageClass will be returned

func (*ObjectVersion) GetStorageClassOk added in v1.1.0

func (o *ObjectVersion) GetStorageClassOk() (*ObjectVersionStorageClass, bool)

GetStorageClassOk returns a tuple with the StorageClass field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ObjectVersion) GetVersionId added in v1.1.0

func (o *ObjectVersion) GetVersionId() *string

GetVersionId returns the VersionId field value If the value is explicit nil, the zero value for string will be returned

func (*ObjectVersion) GetVersionIdOk added in v1.1.0

func (o *ObjectVersion) GetVersionIdOk() (*string, bool)

GetVersionIdOk returns a tuple with the VersionId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ObjectVersion) HasETag added in v1.1.0

func (o *ObjectVersion) HasETag() bool

HasETag returns a boolean if a field has been set.

func (*ObjectVersion) HasIsLatest added in v1.1.0

func (o *ObjectVersion) HasIsLatest() bool

HasIsLatest returns a boolean if a field has been set.

func (*ObjectVersion) HasKey added in v1.1.0

func (o *ObjectVersion) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*ObjectVersion) HasLastModified added in v1.1.0

func (o *ObjectVersion) HasLastModified() bool

HasLastModified returns a boolean if a field has been set.

func (*ObjectVersion) HasOwner added in v1.1.0

func (o *ObjectVersion) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*ObjectVersion) HasSize added in v1.1.0

func (o *ObjectVersion) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*ObjectVersion) HasStorageClass added in v1.1.0

func (o *ObjectVersion) HasStorageClass() bool

HasStorageClass returns a boolean if a field has been set.

func (*ObjectVersion) HasVersionId added in v1.1.0

func (o *ObjectVersion) HasVersionId() bool

HasVersionId returns a boolean if a field has been set.

func (ObjectVersion) MarshalJSON added in v1.1.0

func (o ObjectVersion) MarshalJSON() ([]byte, error)

func (*ObjectVersion) SetETag added in v1.1.0

func (o *ObjectVersion) SetETag(v string)

SetETag sets field value

func (*ObjectVersion) SetIsLatest added in v1.1.0

func (o *ObjectVersion) SetIsLatest(v bool)

SetIsLatest sets field value

func (*ObjectVersion) SetKey added in v1.1.0

func (o *ObjectVersion) SetKey(v string)

SetKey sets field value

func (*ObjectVersion) SetLastModified added in v1.1.0

func (o *ObjectVersion) SetLastModified(v time.Time)

SetLastModified sets field value

func (*ObjectVersion) SetOwner added in v1.1.0

func (o *ObjectVersion) SetOwner(v Owner)

SetOwner sets field value

func (*ObjectVersion) SetSize added in v1.1.0

func (o *ObjectVersion) SetSize(v int32)

SetSize sets field value

func (*ObjectVersion) SetStorageClass added in v1.1.0

func (o *ObjectVersion) SetStorageClass(v ObjectVersionStorageClass)

SetStorageClass sets field value

func (*ObjectVersion) SetVersionId added in v1.1.0

func (o *ObjectVersion) SetVersionId(v string)

SetVersionId sets field value

type ObjectVersionStorageClass added in v1.1.0

type ObjectVersionStorageClass string

ObjectVersionStorageClass the model 'ObjectVersionStorageClass'

const (
	OBJECTVERSIONSTORAGECLASS_STANDARD ObjectVersionStorageClass = "STANDARD"
)

List of ObjectVersionStorageClass

func (ObjectVersionStorageClass) Ptr added in v1.1.0

Ptr returns reference to ObjectVersionStorageClass value

func (*ObjectVersionStorageClass) UnmarshalJSON added in v1.1.0

func (v *ObjectVersionStorageClass) UnmarshalJSON(src []byte) error

type ObjectsApiService

type ObjectsApiService service

ObjectsApiService ObjectsApi service

func (*ObjectsApiService) CopyObject

func (a *ObjectsApiService) CopyObject(ctx context.Context, bucket string, key string) ApiCopyObjectRequest

CopyObject CopyObject

<p>Creates a copy of an object that is already stored in IONOS S3 Object Storage.</p> <note> <p>You can store individual objects of up to 5 TB in IONOS S3 Object Storage. You create a copy of your object up to 5 GB in size in a single atomic operation using this API. However, to copy an object greater than 5 GB, you must use the multipart upload Upload Part - Copy API. </note> <p>All copy requests must be authenticated. Additionally, you must have <i>read</i> access to the source object and <i>write</i> access to the destination bucket. Both the Region that you want to copy the object from and the Region that you want to copy the object to must be enabled for your account.</p>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@param key The key of the destination object.
@return ApiCopyObjectRequest

func (*ObjectsApiService) CopyObjectExecute

Execute executes the request

@return CopyObjectResult

func (*ObjectsApiService) DeleteObject

func (a *ObjectsApiService) DeleteObject(ctx context.Context, bucket string, key string) ApiDeleteObjectRequest

DeleteObject DeleteObject

<p> Removes the null version (if there is one) of an object and inserts a delete marker, which becomes the latest version of the object. This operation is final - there is no way to recover a deleted object. Data stored in IONOS S3 Object Storage is erasure coded and distributed to multiple individual storage devices in multiple data centers. When data is deleted, various mechanisms exist which prevent recovery or reconstruction of the deleted objects. </p> <p> Deletion of an object undergoes various stages. First, the metadata is marked to indicate the object is deleted, then, the data is removed. Eventually, deleted metadata is overwritten and the deleted data blocks are overwritten with new data in the course of normal operations. As soon as the metadata is marked deleted, it is not possible to read an object remotely. </p>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@param key Key name of the object to delete.
@return ApiDeleteObjectRequest

func (*ObjectsApiService) DeleteObjectExecute

func (a *ObjectsApiService) DeleteObjectExecute(r ApiDeleteObjectRequest) (map[string]interface{}, *APIResponse, error)

Execute executes the request

@return map[string]interface{}

func (*ObjectsApiService) DeleteObjects

func (a *ObjectsApiService) DeleteObjects(ctx context.Context, bucket string) ApiDeleteObjectsRequest

DeleteObjects DeleteObjects

<p>This operation enables you to delete multiple objects from a bucket using a single HTTP request. If you know the object keys that you want to delete, then this operation provides a suitable alternative to sending individual delete requests, reducing per-request overhead.</p> <p>The request contains a list of up to 1000 keys that you want to delete. In the XML, you provide the object key names, and optionally, version IDs if you want to delete a specific version of the object from a versioning-enabled bucket. For each key, IONOS S3 Object Storage performs a delete operation and returns the result of that delete, success, or failure, in the response. Note that if the object specified in the request is not found, IONOS S3 Object Storage returns the result as deleted.</p> <p> The operation supports two modes for the response: verbose and quiet. By default, the operation uses verbose mode in which the response includes the result of deletion of each key in your request. In quiet mode the response includes only keys where the delete operation encountered an error. For a successful deletion, the operation does not return any information about the delete in the response body.</p>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiDeleteObjectsRequest

func (*ObjectsApiService) DeleteObjectsExecute

Execute executes the request

@return DeleteObjectsOutput

func (*ObjectsApiService) GetObject

func (a *ObjectsApiService) GetObject(ctx context.Context, bucket string, key string) ApiGetObjectRequest

GetObject GetObject

Retrieves objects from IONOS S3 Object Storage.

An IONOS S3 Object Storage bucket has no directory hierarchy such as you would find in a typical computer file system. You can, however, create a logical hierarchy by using object key names that imply a folder structure. For example, instead of naming an object `test.jpg`, you can name it `photos/2022/July/test.jpg`.

To get an object from such a logical hierarchy, specify the full key name for the object in the `GET` operation: - For a virtual hosted-style request example, if you have the object `photos/2022/July/test.jpg`, specify the resource as `/photos/2022/July/test.jpg`. - For a path-style request example, if you have the object `photos/2022/July/test.jpg` in the bucket named `my-bucket`, specify the resource as `/my-bucket/photos/2022/July/test.jpg`.

This operation returns an `InvalidObjectStateError` error.

If you encrypt an object by using server-side encryption with customer-provided encryption keys (SSE-C) when you store the object in IONOS S3 Object Storage, then when you GET the object, you must use the following headers: - x-amz-server-side-encryption-customer-algorithm - x-amz-server-side-encryption-customer-key - x-amz-server-side-encryption-customer-key-md5

### Permissions You must be the contract owner or an administrator to perform this operation. If not, they can grant you permission to perform the `s3:ListBucket` operation using [Bucket Policy](#tag/Policy/operation/PutBucketPolicy).

If the object you request does not exist, the error IONOS S3 Object Storage returns depends on whether you also have the `ListBucket` permission: - If you have the `ListBucket` permission on the bucket, IONOS S3 Object Storage will return an HTTP status code `404`. - If you don’t have the `ListBucket` permission, IONOS S3 Object Storage will return an HTTP status code `403` ("Access denied") error.

### Versioning By default, the GET operation returns the current version of an object. To return a different version, use the `versionId` subresource. - You need the `GetObjectVersion` permission to access a specific version of an object. - If the current version of the object is a delete marker, IONOS S3 Object Storage behaves as if the object was deleted and includes `x-amz-delete-marker: true` in the response.

### Overriding Response Header Values

There are times when you want to override certain response header values in a `GET` response. For example, you might override the `Content-Disposition` response header value in your `GET` request.

You can override values for a set of response headers using the following query parameters. These response header values are sent only on a successful request, that is, when status code `200 OK` is returned. The set of headers you can override using these parameters is a subset of the headers that IONOS S3 Object Storage accepts when you create an object.

The response headers that you can override for the GET response are the following: - `Content-Type` - `Content-Language` - `Expires` - `Cache-Control`, - `Content-Disposition` - `Content-Encoding`.

To override these header values in the `GET` response, you use the following request parameters: - `partNumber` - `versionId` - `response-content-type` - `response-content-language` - `response-expires` - `response-cache-control` - `response-content-disposition` - `response-content-encoding`

You must sign the request, either using an Authorization header or a presigned URL, when using these parameters. They cannot be used with an unsigned (anonymous) request.

### Additional Considerations about Request Headers

- If a Etag value sent in the `If-Match` header doesn't match the object's ETag, then the `Precondition Failed` error is returned.

- If both of the `If-Match` and `If-Unmodified-Since` headers are present in the request as follows: `If-Match` condition evaluates to `true`, and; `If-Unmodified-Since` condition evaluates to `false`; then, S3 returns 200 OK and the data requested.

- If both of the `If-None-Match` and `If-Modified-Since` headers are present in the request as follows:` If-None-Match` condition evaluates to `false`, and; `If-Modified-Since` condition evaluates to `true`; then, S3 returns `304 Not Modified` response code.

For more information about conditional requests, see [RFC 7232](https://tools.ietf.org/html/rfc7232).

#### S3 API Compatibility - The `x-amz-expected-bucket-owner` header isn't supported.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@param key <p> Key of the object to get. </p> <p> <b> Possible values:</b> length ≥ 1 </p>
@return ApiGetObjectRequest

func (*ObjectsApiService) GetObjectExecute

func (a *ObjectsApiService) GetObjectExecute(r ApiGetObjectRequest) (*os.File, *APIResponse, error)

Execute executes the request

@return *os.File

func (*ObjectsApiService) HeadObject

func (a *ObjectsApiService) HeadObject(ctx context.Context, bucket string, key string) ApiHeadObjectRequest

HeadObject HeadObject

<p>The HEAD operation retrieves metadata from an object without returning the object itself. This operation is useful if you're only interested in an object's metadata. To use HEAD, you must have READ access to the object.</p> <p>A `HEAD` request has the same options as a `GET` operation on an object. The response is identical to the `GET` response except that there is no response body. Because of this, if the `HEAD` request generates an error, it returns a generic `404 Not Found` or `403 Forbidden` code. It is not possible to retrieve the exact exception beyond these error codes.</p> <p>If you encrypt an object by using server-side encryption with customer-provided encryption keys (SSE-C) when you store the object in IONOS S3 Object Storage, then when you retrieve the metadata from the object, you must use the following headers:</p> <ul> <li> <p>`x-amz-server-side-encryption-customer-algorithm` = `AES256`</p> </li> <li> <p>`x-amz-server-side-encryption-customer-key`</p> </li> <li> <p>`x-amz-server-side-encryption-customer-key-MD5`</p> </li> </ul> <note> <ul> <li> <p>Encryption request headers, like `x-amz-server-side-encryption`, should not be sent for GET requests if your object uses the server-side encryption with IONOS S3 Object Storage–managed encryption keys (SSE-S3). If your object does use this type of keys, you’ll get an HTTP 400 BadRequest error.</p> </li> <li> <p> The last modified property in this case is the creation date of the object.</p> </li> </ul> </note> <p>Request headers are limited to 8 KB in size.</p> <p>Consider the following when using request headers:</p> <ul> <li> <p> Consideration 1 – If both of the `If-Match` and `If-Unmodified-Since` headers are present in the request as follows:</p> <ul> <li> <p> `If-Match` condition evaluates to `true`, and;</p> </li> <li> <p> `If-Unmodified-Since` condition evaluates to `false`;</p> </li> </ul> <p>Then IONOS S3 Object Storage returns `200 OK` and the data requested.</p> </li> <li> <p> Consideration 2 – If both of the `If-None-Match` and `If-Modified-Since` headers are present in the request as follows:</p> <ul> <li> <p> `If-None-Match` condition evaluates to `false`, and;</p> </li> <li> <p> `If-Modified-Since` condition evaluates to `true`;</p> </li> </ul> <p>Then IONOS S3 Object Storage returns the `304 Not Modified` response code.</p> </li> </ul> <p>For more information about conditional requests, see <a href="https://tools.ietf.org/html/rfc7232">RFC 7232</a>.</p> <p> <b>Permissions</b> </p> <p>You need the relevant read object (or version) permission for this operation. If the object you request does not exist, the error IONOS S3 Object Storage returns depends on whether you also have the ListBucket permission.</p> <ul> <li> <p>If you have the `ListBucket` permission on the bucket, IONOS S3 Object Storage returns an HTTP status code 404 ("no such key") error.</p> </li> <li> <p>If you don’t have the `ListBucket` permission, IONOS S3 Object Storage returns an HTTP status code 403 ("access denied") error.</p> </li> </ul>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@param key The object key.
@return ApiHeadObjectRequest

func (*ObjectsApiService) HeadObjectExecute

Execute executes the request

@return HeadObjectOutput

func (*ObjectsApiService) ListObjects

func (a *ObjectsApiService) ListObjects(ctx context.Context, bucket string) ApiListObjectsRequest

ListObjects ListObjects

<p>Returns some or all (up to 1,000) of the objects in a bucket. You can use the request parameters as selection criteria to return a subset of the objects in a bucket. A 200 OK response can contain valid or invalid XML. Be sure to design your application to parse the contents of the response and handle it appropriately.</p>

#### Permissions You must be the contract owner or an administrator to perform this operation. If not, they can grant you permission to perform the `s3:ListBucket` operation using [Bucket Policy](#tag/Policy/operation/PutBucketPolicy).

#### S3 API Compatibility - The `x-amz-expected-bucket-owner` header isn't supported.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiListObjectsRequest

func (*ObjectsApiService) ListObjectsExecute

Execute executes the request

@return ListObjectsOutput

func (*ObjectsApiService) ListObjectsV2

func (a *ObjectsApiService) ListObjectsV2(ctx context.Context, bucket string) ApiListObjectsV2Request

ListObjectsV2 ListObjectsV2

Retrieves a partial or complete list (with a maximum of 1000 objects per request) from a specified bucket. The request parameters can serve as selection criteria to filter and return a subset of objects from the bucket.

A `200 OK` response can contain either valid or invalid XML, so it's crucial to construct your application in such a way that it can correctly parse and handle the response content. In the resulting list, objects are organized in ascending order according to their key names.

#### Permissions You must be the contract owner or an administrator to perform this operation. If not, they can grant you permission to perform the `s3:ListBucket` operation using [Bucket Policy](#tag/Policy/operation/PutBucketPolicy).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiListObjectsV2Request

func (*ObjectsApiService) ListObjectsV2Execute

Execute executes the request

@return ListBucketResultV2

func (*ObjectsApiService) OPTIONSObject

func (a *ObjectsApiService) OPTIONSObject(ctx context.Context, bucket string) ApiOPTIONSObjectRequest

OPTIONSObject OPTIONSObject

<p>This API is used to issue a preflight request to the IONOS S3 Object Storage to determine if it can send an actual request with the specific origin, HTTP method, and headers.</p>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiOPTIONSObjectRequest

func (*ObjectsApiService) OPTIONSObjectExecute

func (a *ObjectsApiService) OPTIONSObjectExecute(r ApiOPTIONSObjectRequest) (*APIResponse, error)

Execute executes the request

func (*ObjectsApiService) POSTObject

func (a *ObjectsApiService) POSTObject(ctx context.Context, bucket string, key string) ApiPOSTObjectRequest

POSTObject POSTObject

<p> The POST operation adds an object to a specified bucket using HTML forms. POST is an alternate form of PUT that enables browser-based uploads of objects into buckets. Parameters passed to PUT via HTTP Headers are instead passed to POST as form fields in the multipart/form-data encoded message body. </p>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@param key Key name of the object to post.
@return ApiPOSTObjectRequest

func (*ObjectsApiService) POSTObjectExecute

func (a *ObjectsApiService) POSTObjectExecute(r ApiPOSTObjectRequest) (map[string]interface{}, *APIResponse, error)

Execute executes the request

@return map[string]interface{}

func (*ObjectsApiService) PutObject

func (a *ObjectsApiService) PutObject(ctx context.Context, bucket string, key string) ApiPutObjectRequest

PutObject PutObject

<p>Adds an object to a bucket. You must have WRITE permissions on a bucket to add an object to it.</p> <p>IONOS S3 Object Storage never adds partial objects; if you receive a success response, IONOS S3 Object Storage added the entire object to the bucket.</p> <p>IONOS S3 Object Storage is a distributed system. If it receives multiple write requests for the same object simultaneously, it overwrites all but the last object written. IONOS S3 Object Storage does not provide object locking; if you need this, make sure to build it into your application layer or use versioning instead.</p> <p>To ensure that data is not corrupted traversing the network, use the `Content-MD5` header. When you use this header, IONOS S3 Object Storage checks the object against the provided MD5 value and, if they do not match, returns an error. Additionally, you can calculate the MD5 while putting an object to IONOS S3 Object Storage and compare the returned ETag to the calculated MD5 value.</p> <note> <ul> <li> <p>To successfully complete the `PutObject` request, you must have the `PutObject` in your permissions.</p> </li> <li> <p>To successfully change the objects acl of your `PutObject` request, you must have the `PutObjectAcl` in your permissions.</p> </li> <li> <p> The `Content-MD5` header is required for any request to upload an object with a retention period configured using IONOS S3 Object Storage Object Lock </i>. </p> </li> </ul> </note> <p><b>Versioning</b></p> <p>If you enable versioning for a bucket, IONOS S3 Object Storage automatically generates a unique version ID for the object being stored. IONOS S3 Object Storage returns this ID in the response. When you enable versioning for a bucket, if IONOS S3 Object Storage receives multiple write requests for the same object simultaneously, it stores all of the objects.</p> <p><b>Server-side Encryption with IONOS S3 managed keys (SSE-S3)</b></p> <p>You can optionally request server-side encryption. With server-side encryption, IONOS S3 Object Storage encrypts your data as it writes it to disks in its data centers and decrypts the data when you access it. <ul> <li>the SSE-S3 encryption can be set as the default encryption for the bucket using <a href="#tag/Encryption/operation/PutBucketEncryption">PutBucketEncryption</a>. This way all the newly created objects will be protected with SSE-S3 encryption even it was not specified in the `PutObject` operation.</li> <li>the SSE-S3 encryption can be applied to the object at the time of upload by setting `x-amz-server-side-encryption` header to `AES256`. This can be skipped if the default encryption has been set up for the bucket as described in the previous clause.</li> </ul> <p><b>Server-side Encryption with customer managed keys (SSE-C)</b></p> In order to apply encryption with customer-provided keys (SSE-C) to the uploading object add these headers to the request: <ul> <li>`x-amz-server-side-encryption-customer-algorithm` = `AES256`</li> <li>`x-amz-server-side-encryption-customer-key` &mdash; the 256-bit, base64-encoded encryption key to use to encrypt and decrypt your data. You might use these commands to generate it: <ol><li>to create the file with a key: `openssl rand 32 -out my-key.key`</li><li>to get base64-encoded string: `openssl enc -base64 -in my-key.key`, the example of the output: `4ZRNYBCCvL0YZeqo3f2+9qDyIfnLdbg5S99R2XWr0aw=`.</li></ul></li> <li>`x-amz-server-side-encryption-customer-key-MD5` &mdash; the base64-encoded 128-bit MD5 digest of the encryption key. Generate it with the following command: <br />`echo my-key.key | openssl dgst -md5 -binary | openssl enc -base64`.<br /> The example of the output: `bPU7G1zD2MlOi5gqnkRqZg==`.</li> </ul> </p> <p><b>NOTE</b>:<br/> <ul> <li>The SSE-C encryption will override the SSE-S3 encryption if the last one was enabled as a default encryption for the bucket.</li> <li>In the response, IONOS S3 returns the encryption algorithm and MD5 of the encryption key that you specified when uploading the object. The ETag that is returned is not the MD5 of the object. </ul> </p>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@param key Object key for which the PUT operation was initiated.
@return ApiPutObjectRequest

func (*ObjectsApiService) PutObjectExecute

func (a *ObjectsApiService) PutObjectExecute(r ApiPutObjectRequest) (*APIResponse, error)

Execute executes the request

type OutputSerialization added in v1.1.0

type OutputSerialization struct {
	XMLName xml.Name    `xml:"OutputSerialization"`
	CSV     *CSVOutput  `json:"CSV,omitempty" xml:"CSV"`
	JSON    *JSONOutput `json:"JSON,omitempty" xml:"JSON"`
}

OutputSerialization Describes how results of the Select job are serialized.

func NewOutputSerialization added in v1.1.0

func NewOutputSerialization() *OutputSerialization

NewOutputSerialization instantiates a new OutputSerialization 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 NewOutputSerializationWithDefaults added in v1.1.0

func NewOutputSerializationWithDefaults() *OutputSerialization

NewOutputSerializationWithDefaults instantiates a new OutputSerialization 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 (*OutputSerialization) GetCSV added in v1.1.0

func (o *OutputSerialization) GetCSV() *CSVOutput

GetCSV returns the CSV field value If the value is explicit nil, the zero value for CSVOutput will be returned

func (*OutputSerialization) GetCSVOk added in v1.1.0

func (o *OutputSerialization) GetCSVOk() (*CSVOutput, bool)

GetCSVOk returns a tuple with the CSV field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*OutputSerialization) GetJSON added in v1.1.0

func (o *OutputSerialization) GetJSON() *JSONOutput

GetJSON returns the JSON field value If the value is explicit nil, the zero value for JSONOutput will be returned

func (*OutputSerialization) GetJSONOk added in v1.1.0

func (o *OutputSerialization) GetJSONOk() (*JSONOutput, bool)

GetJSONOk returns a tuple with the JSON field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*OutputSerialization) HasCSV added in v1.1.0

func (o *OutputSerialization) HasCSV() bool

HasCSV returns a boolean if a field has been set.

func (*OutputSerialization) HasJSON added in v1.1.0

func (o *OutputSerialization) HasJSON() bool

HasJSON returns a boolean if a field has been set.

func (OutputSerialization) MarshalJSON added in v1.1.0

func (o OutputSerialization) MarshalJSON() ([]byte, error)

func (*OutputSerialization) SetCSV added in v1.1.0

func (o *OutputSerialization) SetCSV(v CSVOutput)

SetCSV sets field value

func (*OutputSerialization) SetJSON added in v1.1.0

func (o *OutputSerialization) SetJSON(v JSONOutput)

SetJSON sets field value

type Owner

type Owner struct {
	XMLName xml.Name `xml:"Owner"`
	// Container for the Contract Number of the owner.
	ID *int32 `json:"ID,omitempty" xml:"ID"`
	// Container for the display name of the owner.
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName"`
}

Owner Container for the owner's ID and display name.

func NewOwner

func NewOwner() *Owner

NewOwner instantiates a new Owner 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 NewOwnerWithDefaults

func NewOwnerWithDefaults() *Owner

NewOwnerWithDefaults instantiates a new Owner 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 (*Owner) GetDisplayName

func (o *Owner) GetDisplayName() *string

GetDisplayName returns the DisplayName field value If the value is explicit nil, the zero value for string will be returned

func (*Owner) GetDisplayNameOk

func (o *Owner) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Owner) GetID

func (o *Owner) GetID() *int32

GetID returns the ID field value If the value is explicit nil, the zero value for int32 will be returned

func (*Owner) GetIDOk

func (o *Owner) GetIDOk() (*int32, bool)

GetIDOk returns a tuple with the ID field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Owner) HasDisplayName

func (o *Owner) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*Owner) HasID

func (o *Owner) HasID() bool

HasID returns a boolean if a field has been set.

func (Owner) MarshalJSON

func (o Owner) MarshalJSON() ([]byte, error)

func (*Owner) SetDisplayName

func (o *Owner) SetDisplayName(v string)

SetDisplayName sets field value

func (*Owner) SetID

func (o *Owner) SetID(v int32)

SetID sets field value

type POSTObjectRequest

type POSTObjectRequest struct {
	XMLName xml.Name `xml:"POSTObjectRequest"`
	// Object data.
	Body *string `json:"Body,omitempty" xml:"Body"`
}

POSTObjectRequest struct for POSTObjectRequest

func NewPOSTObjectRequest

func NewPOSTObjectRequest() *POSTObjectRequest

NewPOSTObjectRequest instantiates a new POSTObjectRequest 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 NewPOSTObjectRequestWithDefaults

func NewPOSTObjectRequestWithDefaults() *POSTObjectRequest

NewPOSTObjectRequestWithDefaults instantiates a new POSTObjectRequest 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 (*POSTObjectRequest) GetBody

func (o *POSTObjectRequest) GetBody() *string

GetBody returns the Body field value If the value is explicit nil, the zero value for string will be returned

func (*POSTObjectRequest) GetBodyOk

func (o *POSTObjectRequest) GetBodyOk() (*string, bool)

GetBodyOk returns a tuple with the Body field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*POSTObjectRequest) HasBody

func (o *POSTObjectRequest) HasBody() bool

HasBody returns a boolean if a field has been set.

func (POSTObjectRequest) MarshalJSON

func (o POSTObjectRequest) MarshalJSON() ([]byte, error)

func (*POSTObjectRequest) SetBody

func (o *POSTObjectRequest) SetBody(v string)

SetBody sets field value

type Part added in v1.1.0

type Part struct {
	XMLName xml.Name `xml:"Part"`
	// Part number that identifies the part.
	PartNumber *int32 `json:"PartNumber,omitempty" xml:"PartNumber"`
	// Creation date of the object.
	LastModified *IonosTime `json:"LastModified,omitempty" xml:"LastModified"`
	// Entity tag that identifies the object's data. Objects with different object data will have different entity tags. The entity tag is an opaque string. The entity tag may or may not be an MD5 digest of the object data. If the entity tag is not an MD5 digest of the object data, it will contain one or more nonhexadecimal characters and/or will consist of less than 32 or more than 32 hexadecimal digits.
	ETag *string `json:"ETag,omitempty" xml:"ETag"`
	// Size in bytes of the object
	Size *int32 `json:"Size,omitempty" xml:"Size"`
}

Part Container for elements related to a part.

func NewPart added in v1.1.0

func NewPart() *Part

NewPart instantiates a new Part 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 NewPartWithDefaults added in v1.1.0

func NewPartWithDefaults() *Part

NewPartWithDefaults instantiates a new Part 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 (*Part) GetETag added in v1.1.0

func (o *Part) GetETag() *string

GetETag returns the ETag field value If the value is explicit nil, the zero value for string will be returned

func (*Part) GetETagOk added in v1.1.0

func (o *Part) GetETagOk() (*string, bool)

GetETagOk returns a tuple with the ETag field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Part) GetLastModified added in v1.1.0

func (o *Part) GetLastModified() *time.Time

GetLastModified returns the LastModified field value If the value is explicit nil, the zero value for time.Time will be returned

func (*Part) GetLastModifiedOk added in v1.1.0

func (o *Part) GetLastModifiedOk() (*time.Time, bool)

GetLastModifiedOk returns a tuple with the LastModified field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Part) GetPartNumber added in v1.1.0

func (o *Part) GetPartNumber() *int32

GetPartNumber returns the PartNumber field value If the value is explicit nil, the zero value for int32 will be returned

func (*Part) GetPartNumberOk added in v1.1.0

func (o *Part) GetPartNumberOk() (*int32, bool)

GetPartNumberOk returns a tuple with the PartNumber field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Part) GetSize added in v1.1.0

func (o *Part) GetSize() *int32

GetSize returns the Size field value If the value is explicit nil, the zero value for int32 will be returned

func (*Part) GetSizeOk added in v1.1.0

func (o *Part) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Part) HasETag added in v1.1.0

func (o *Part) HasETag() bool

HasETag returns a boolean if a field has been set.

func (*Part) HasLastModified added in v1.1.0

func (o *Part) HasLastModified() bool

HasLastModified returns a boolean if a field has been set.

func (*Part) HasPartNumber added in v1.1.0

func (o *Part) HasPartNumber() bool

HasPartNumber returns a boolean if a field has been set.

func (*Part) HasSize added in v1.1.0

func (o *Part) HasSize() bool

HasSize returns a boolean if a field has been set.

func (Part) MarshalJSON added in v1.1.0

func (o Part) MarshalJSON() ([]byte, error)

func (*Part) SetETag added in v1.1.0

func (o *Part) SetETag(v string)

SetETag sets field value

func (*Part) SetLastModified added in v1.1.0

func (o *Part) SetLastModified(v time.Time)

SetLastModified sets field value

func (*Part) SetPartNumber added in v1.1.0

func (o *Part) SetPartNumber(v int32)

SetPartNumber sets field value

func (*Part) SetSize added in v1.1.0

func (o *Part) SetSize(v int32)

SetSize sets field value

type PolicyApiService

type PolicyApiService service

PolicyApiService PolicyApi service

func (*PolicyApiService) DeleteBucketPolicy

func (a *PolicyApiService) DeleteBucketPolicy(ctx context.Context, bucket string) ApiDeleteBucketPolicyRequest

DeleteBucketPolicy DeleteBucketPolicy

Deletes the policy of a specified bucket.

#### Permissions You must be the contract owner or an administrator to perform this operation. If not, they can grant you permission to perform the `s3:DeleteBucketPolicy` operation using [Bucket Policy](#tag/Policy/operation/PutBucketPolicy). **Note:** The bucket owner can always perform this operation, even if the policy explicitly denies access to it.

#### S3 API Compatibility - The `x-amz-expected-bucket-owner` header isn't supported.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiDeleteBucketPolicyRequest

func (*PolicyApiService) DeleteBucketPolicyExecute

func (a *PolicyApiService) DeleteBucketPolicyExecute(r ApiDeleteBucketPolicyRequest) (*APIResponse, error)

Execute executes the request

func (*PolicyApiService) GetBucketPolicy

func (a *PolicyApiService) GetBucketPolicy(ctx context.Context, bucket string) ApiGetBucketPolicyRequest

GetBucketPolicy GetBucketPolicy

Returns the policy of a specified bucket.

#### Permissions You must be the contract owner or an administrator to perform this operation. If not, they can grant you permission to perform the `s3:GetBucketPolicy` operation using [Bucket Policy](#tag/Policy/operation/PutBucketPolicy). **Note:** The bucket owner can always perform this operation, even if the policy explicitly denies access to it.

#### S3 API Compatibility - The `x-amz-expected-bucket-owner` header isn't supported.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiGetBucketPolicyRequest

func (*PolicyApiService) GetBucketPolicyExecute

func (a *PolicyApiService) GetBucketPolicyExecute(r ApiGetBucketPolicyRequest) (*BucketPolicy, *APIResponse, error)

Execute executes the request

@return BucketPolicy

func (*PolicyApiService) GetBucketPolicyStatus

func (a *PolicyApiService) GetBucketPolicyStatus(ctx context.Context, bucket string) ApiGetBucketPolicyStatusRequest

GetBucketPolicyStatus GetBucketPolicyStatus

Retrieves the policy status of a bucket, indicating whether the bucket is public.

IONOS S3 Object Storage considers a bucket policy to be "public" if any statement in the policy is public. A statement is considered public if the `Effect` is `Allow` and the `Principal` has a wildcard -- unless there is an `IpAddress:{aws:SourceIp}` condition associated with the statement that restricts the requesting source IP to one or more specified IP addresses.

#### Permissions You must be the contract owner or an administrator to perform this operation. If not, they can grant you permission to perform the `s3:GetBucketPolicyStatus` operation using [Bucket Policy](#tag/Policy/operation/PutBucketPolicy).

#### S3 API Compatibility - The `x-amz-expected-bucket-owner` header isn't supported.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiGetBucketPolicyStatusRequest

func (*PolicyApiService) GetBucketPolicyStatusExecute

func (a *PolicyApiService) GetBucketPolicyStatusExecute(r ApiGetBucketPolicyStatusRequest) (*PolicyStatus, *APIResponse, error)

Execute executes the request

@return PolicyStatus

func (*PolicyApiService) PutBucketPolicy

func (a *PolicyApiService) PutBucketPolicy(ctx context.Context, bucket string) ApiPutBucketPolicyRequest

PutBucketPolicy PutBucketPolicy

Applies a bucket policy to a bucket.

#### Permissions You must be the contract owner or an administrator to perform this operation. If not, they can grant you permission to perform the `s3:PutBucketPolicy` operation using [Bucket Policy](#tag/Policy/operation/PutBucketPolicy). **Note:** The bucket owner can always perform this operation, even if the policy explicitly denies access to it.

#### S3 API Compatibility - The `x-amz-expected-bucket-owner` header isn't supported. - The `x-amz-confirm-remove-self-bucket-access` header isn't supported.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiPutBucketPolicyRequest

func (*PolicyApiService) PutBucketPolicyExecute

func (a *PolicyApiService) PutBucketPolicyExecute(r ApiPutBucketPolicyRequest) (*APIResponse, error)

Execute executes the request

type PolicyStatus

type PolicyStatus struct {
	XMLName xml.Name `xml:"PolicyStatus"`
	// The policy status for this bucket: - `true` indicates that this bucket is public. - `false` indicates that this bucket is private.
	IsPublic *bool `json:"IsPublic,omitempty" xml:"IsPublic"`
}

PolicyStatus The container element for a bucket's policy status.

func NewPolicyStatus

func NewPolicyStatus() *PolicyStatus

NewPolicyStatus instantiates a new PolicyStatus 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 NewPolicyStatusWithDefaults

func NewPolicyStatusWithDefaults() *PolicyStatus

NewPolicyStatusWithDefaults instantiates a new PolicyStatus 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 (*PolicyStatus) GetIsPublic

func (o *PolicyStatus) GetIsPublic() *bool

GetIsPublic returns the IsPublic field value If the value is explicit nil, the zero value for bool will be returned

func (*PolicyStatus) GetIsPublicOk

func (o *PolicyStatus) GetIsPublicOk() (*bool, bool)

GetIsPublicOk returns a tuple with the IsPublic field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PolicyStatus) HasIsPublic

func (o *PolicyStatus) HasIsPublic() bool

HasIsPublic returns a boolean if a field has been set.

func (PolicyStatus) MarshalJSON

func (o PolicyStatus) MarshalJSON() ([]byte, error)

func (*PolicyStatus) SetIsPublic

func (o *PolicyStatus) SetIsPublic(v bool)

SetIsPublic sets field value

type Principal

type Principal struct {
	XMLName xml.Name  `xml:"Principal"`
	AWS     *[]string `json:"AWS" xml:"AWS"`
}

Principal struct for Principal

func NewPrincipal

func NewPrincipal(aWS []string) *Principal

NewPrincipal instantiates a new Principal 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 NewPrincipalWithDefaults

func NewPrincipalWithDefaults() *Principal

NewPrincipalWithDefaults instantiates a new Principal 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 (*Principal) GetAWS

func (o *Principal) GetAWS() *[]string

GetAWS returns the AWS field value If the value is explicit nil, the zero value for []string will be returned

func (*Principal) GetAWSOk

func (o *Principal) GetAWSOk() (*[]string, bool)

GetAWSOk returns a tuple with the AWS field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Principal) HasAWS

func (o *Principal) HasAWS() bool

HasAWS returns a boolean if a field has been set.

func (Principal) MarshalJSON

func (o Principal) MarshalJSON() ([]byte, error)

func (*Principal) SetAWS

func (o *Principal) SetAWS(v []string)

SetAWS sets field value

type PrincipalAllOf added in v1.1.0

type PrincipalAllOf struct {
	XMLName xml.Name  `xml:"PrincipalAllOf"`
	AWS     *[]string `json:"AWS" xml:"AWS"`
}

PrincipalAllOf Statement applies to the specified IONOS S3 Object Storage users.

func NewPrincipalAllOf added in v1.1.0

func NewPrincipalAllOf(aWS []string) *PrincipalAllOf

NewPrincipalAllOf instantiates a new PrincipalAllOf 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 NewPrincipalAllOfWithDefaults added in v1.1.0

func NewPrincipalAllOfWithDefaults() *PrincipalAllOf

NewPrincipalAllOfWithDefaults instantiates a new PrincipalAllOf 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 (*PrincipalAllOf) GetAWS added in v1.1.0

func (o *PrincipalAllOf) GetAWS() *[]string

GetAWS returns the AWS field value If the value is explicit nil, the zero value for []string will be returned

func (*PrincipalAllOf) GetAWSOk added in v1.1.0

func (o *PrincipalAllOf) GetAWSOk() (*[]string, bool)

GetAWSOk returns a tuple with the AWS field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PrincipalAllOf) HasAWS added in v1.1.0

func (o *PrincipalAllOf) HasAWS() bool

HasAWS returns a boolean if a field has been set.

func (PrincipalAllOf) MarshalJSON added in v1.1.0

func (o PrincipalAllOf) MarshalJSON() ([]byte, error)

func (*PrincipalAllOf) SetAWS added in v1.1.0

func (o *PrincipalAllOf) SetAWS(v []string)

SetAWS sets field value

type PublicAccessBlockApiService

type PublicAccessBlockApiService service

PublicAccessBlockApiService PublicAccessBlockApi service

func (*PublicAccessBlockApiService) DeletePublicAccessBlock

DeletePublicAccessBlock DeletePublicAccessBlock

Deletes the public access configuration for an S3 bucket.

#### Permissions You must be the contract owner or an administrator to perform this operation. If not, they can grant you permission to perform the `s3:DeleteBucketPublicAccessBlock` operation using [Bucket Policy](#tag/Policy/operation/PutBucketPolicy).

#### S3 API Compatibility - The `x-amz-expected-bucket-owner` header isn't supported.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiDeletePublicAccessBlockRequest

func (*PublicAccessBlockApiService) DeletePublicAccessBlockExecute

func (a *PublicAccessBlockApiService) DeletePublicAccessBlockExecute(r ApiDeletePublicAccessBlockRequest) (*APIResponse, error)

Execute executes the request

func (*PublicAccessBlockApiService) GetPublicAccessBlock

GetPublicAccessBlock GetPublicAccessBlock

Retrieves the public access configuration for a bucket.

#### Permissions You must be the contract owner or an administrator to perform this operation. If not, they can grant you permission to perform the `s3:GetBucketPublicAccessBlock` operation using [Bucket Policy](#tag/Policy/operation/PutBucketPolicy).

#### S3 API Compatibility - The `x-amz-expected-bucket-owner` header isn't supported.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiGetPublicAccessBlockRequest

func (*PublicAccessBlockApiService) GetPublicAccessBlockExecute

Execute executes the request

@return BlockPublicAccessOutput

func (*PublicAccessBlockApiService) PutPublicAccessBlock

PutPublicAccessBlock PutPublicAccessBlock

Blocks public access to an S3 bucket based on the specified parameters.

This operation modifies the bucket's settings to either prevent public access entirely or impose restrictions based on specific conditions.

#### Permissions You must be the contract owner or an administrator to perform this operation. If not, they can grant you permission to perform the `s3:PutBucketPublicAccessBlock` operation using [Bucket Policy](#tag/Policy/operation/PutBucketPolicy). **Note:** The bucket owner can always perform this operation, even if the policy explicitly denies access to it.

#### S3 API Compatibility - The `x-amz-expected-bucket-owner` header isn't supported. - The `x-amz-confirm-remove-self-bucket-access` header isn't supported.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiPutPublicAccessBlockRequest

func (*PublicAccessBlockApiService) PutPublicAccessBlockExecute

func (a *PublicAccessBlockApiService) PutPublicAccessBlockExecute(r ApiPutPublicAccessBlockRequest) (*APIResponse, error)

Execute executes the request

type PutBucketCorsRequest added in v1.1.0

type PutBucketCorsRequest struct {
	XMLName xml.Name `xml:"CORSConfiguration"`
	// A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration.
	CORSRules *[]CORSRule `json:"CORSRules,omitempty" xml:"CORSRule"`
}

PutBucketCorsRequest Describes the cross-origin access configuration for objects in an IONOS S3 Object Storage bucket.

func NewPutBucketCorsRequest added in v1.1.0

func NewPutBucketCorsRequest() *PutBucketCorsRequest

NewPutBucketCorsRequest instantiates a new PutBucketCorsRequest 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 NewPutBucketCorsRequestWithDefaults added in v1.1.0

func NewPutBucketCorsRequestWithDefaults() *PutBucketCorsRequest

NewPutBucketCorsRequestWithDefaults instantiates a new PutBucketCorsRequest 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 (*PutBucketCorsRequest) GetCORSRules added in v1.1.0

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

GetCORSRules returns the CORSRules field value If the value is explicit nil, the zero value for []CORSRule will be returned

func (*PutBucketCorsRequest) GetCORSRulesOk added in v1.1.0

func (o *PutBucketCorsRequest) GetCORSRulesOk() (*[]CORSRule, bool)

GetCORSRulesOk returns a tuple with the CORSRules field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutBucketCorsRequest) HasCORSRules added in v1.1.0

func (o *PutBucketCorsRequest) HasCORSRules() bool

HasCORSRules returns a boolean if a field has been set.

func (PutBucketCorsRequest) MarshalJSON added in v1.1.0

func (o PutBucketCorsRequest) MarshalJSON() ([]byte, error)

func (*PutBucketCorsRequest) SetCORSRules added in v1.1.0

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

SetCORSRules sets field value

type PutBucketEncryptionRequest added in v1.1.0

type PutBucketEncryptionRequest struct {
	XMLName xml.Name                    `xml:"ServerSideEncryptionConfiguration"`
	Rules   *[]ServerSideEncryptionRule `json:"Rules,omitempty" xml:"Rule"`
}

PutBucketEncryptionRequest Specifies the default server-side-encryption configuration. The valid value is AES256.

func NewPutBucketEncryptionRequest added in v1.1.0

func NewPutBucketEncryptionRequest() *PutBucketEncryptionRequest

NewPutBucketEncryptionRequest instantiates a new PutBucketEncryptionRequest 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 NewPutBucketEncryptionRequestWithDefaults added in v1.1.0

func NewPutBucketEncryptionRequestWithDefaults() *PutBucketEncryptionRequest

NewPutBucketEncryptionRequestWithDefaults instantiates a new PutBucketEncryptionRequest 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 (*PutBucketEncryptionRequest) GetRules added in v1.1.0

GetRules returns the Rules field value If the value is explicit nil, the zero value for []ServerSideEncryptionRule will be returned

func (*PutBucketEncryptionRequest) GetRulesOk added in v1.1.0

GetRulesOk returns a tuple with the Rules field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutBucketEncryptionRequest) HasRules added in v1.1.0

func (o *PutBucketEncryptionRequest) HasRules() bool

HasRules returns a boolean if a field has been set.

func (PutBucketEncryptionRequest) MarshalJSON added in v1.1.0

func (o PutBucketEncryptionRequest) MarshalJSON() ([]byte, error)

func (*PutBucketEncryptionRequest) SetRules added in v1.1.0

SetRules sets field value

type PutBucketLifecycleRequest added in v1.1.0

type PutBucketLifecycleRequest struct {
	XMLName xml.Name `xml:"LifecycleConfiguration"`
	// Container for a lifecycle rules.
	Rules *[]Rule `json:"Rules,omitempty" xml:"Rule"`
}

PutBucketLifecycleRequest Container for lifecycle rules. You can add as many as 1000 rules.

func NewPutBucketLifecycleRequest added in v1.1.0

func NewPutBucketLifecycleRequest() *PutBucketLifecycleRequest

NewPutBucketLifecycleRequest instantiates a new PutBucketLifecycleRequest 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 NewPutBucketLifecycleRequestWithDefaults added in v1.1.0

func NewPutBucketLifecycleRequestWithDefaults() *PutBucketLifecycleRequest

NewPutBucketLifecycleRequestWithDefaults instantiates a new PutBucketLifecycleRequest 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 (*PutBucketLifecycleRequest) GetRules added in v1.1.0

func (o *PutBucketLifecycleRequest) GetRules() *[]Rule

GetRules returns the Rules field value If the value is explicit nil, the zero value for []Rule will be returned

func (*PutBucketLifecycleRequest) GetRulesOk added in v1.1.0

func (o *PutBucketLifecycleRequest) GetRulesOk() (*[]Rule, bool)

GetRulesOk returns a tuple with the Rules field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutBucketLifecycleRequest) HasRules added in v1.1.0

func (o *PutBucketLifecycleRequest) HasRules() bool

HasRules returns a boolean if a field has been set.

func (PutBucketLifecycleRequest) MarshalJSON added in v1.1.0

func (o PutBucketLifecycleRequest) MarshalJSON() ([]byte, error)

func (*PutBucketLifecycleRequest) SetRules added in v1.1.0

func (o *PutBucketLifecycleRequest) SetRules(v []Rule)

SetRules sets field value

type PutBucketTaggingRequest

type PutBucketTaggingRequest struct {
	XMLName xml.Name `xml:"Tagging"`
	// Contains the tag set.
	TagSet *[]Tag `json:"TagSet,omitempty" xml:"TagSet>Tag"`
}

PutBucketTaggingRequest Container for `TagSet` elements.

func NewPutBucketTaggingRequest

func NewPutBucketTaggingRequest() *PutBucketTaggingRequest

NewPutBucketTaggingRequest instantiates a new PutBucketTaggingRequest 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 NewPutBucketTaggingRequestWithDefaults

func NewPutBucketTaggingRequestWithDefaults() *PutBucketTaggingRequest

NewPutBucketTaggingRequestWithDefaults instantiates a new PutBucketTaggingRequest 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 (*PutBucketTaggingRequest) GetTagSet added in v1.1.0

func (o *PutBucketTaggingRequest) GetTagSet() *[]Tag

GetTagSet returns the TagSet field value If the value is explicit nil, the zero value for []Tag will be returned

func (*PutBucketTaggingRequest) GetTagSetOk added in v1.1.0

func (o *PutBucketTaggingRequest) GetTagSetOk() (*[]Tag, bool)

GetTagSetOk returns a tuple with the TagSet field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutBucketTaggingRequest) HasTagSet added in v1.1.0

func (o *PutBucketTaggingRequest) HasTagSet() bool

HasTagSet returns a boolean if a field has been set.

func (PutBucketTaggingRequest) MarshalJSON

func (o PutBucketTaggingRequest) MarshalJSON() ([]byte, error)

func (*PutBucketTaggingRequest) SetTagSet added in v1.1.0

func (o *PutBucketTaggingRequest) SetTagSet(v []Tag)

SetTagSet sets field value

type PutBucketVersioningRequest added in v1.1.0

type PutBucketVersioningRequest struct {
	XMLName   xml.Name                `xml:"VersioningConfiguration"`
	Status    *BucketVersioningStatus `json:"Status,omitempty" xml:"Status"`
	MfaDelete *MfaDeleteStatus        `json:"MfaDelete,omitempty" xml:"MfaDelete"`
}

PutBucketVersioningRequest struct for PutBucketVersioningRequest

func NewPutBucketVersioningRequest added in v1.1.0

func NewPutBucketVersioningRequest() *PutBucketVersioningRequest

NewPutBucketVersioningRequest instantiates a new PutBucketVersioningRequest 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 NewPutBucketVersioningRequestWithDefaults added in v1.1.0

func NewPutBucketVersioningRequestWithDefaults() *PutBucketVersioningRequest

NewPutBucketVersioningRequestWithDefaults instantiates a new PutBucketVersioningRequest 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 (*PutBucketVersioningRequest) GetMfaDelete added in v1.1.0

func (o *PutBucketVersioningRequest) GetMfaDelete() *MfaDeleteStatus

GetMfaDelete returns the MfaDelete field value If the value is explicit nil, the zero value for MfaDeleteStatus will be returned

func (*PutBucketVersioningRequest) GetMfaDeleteOk added in v1.1.0

func (o *PutBucketVersioningRequest) GetMfaDeleteOk() (*MfaDeleteStatus, bool)

GetMfaDeleteOk returns a tuple with the MfaDelete field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutBucketVersioningRequest) GetStatus added in v1.1.0

GetStatus returns the Status field value If the value is explicit nil, the zero value for BucketVersioningStatus will be returned

func (*PutBucketVersioningRequest) GetStatusOk added in v1.1.0

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutBucketVersioningRequest) HasMfaDelete added in v1.1.0

func (o *PutBucketVersioningRequest) HasMfaDelete() bool

HasMfaDelete returns a boolean if a field has been set.

func (*PutBucketVersioningRequest) HasStatus added in v1.1.0

func (o *PutBucketVersioningRequest) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (PutBucketVersioningRequest) MarshalJSON added in v1.1.0

func (o PutBucketVersioningRequest) MarshalJSON() ([]byte, error)

func (*PutBucketVersioningRequest) SetMfaDelete added in v1.1.0

func (o *PutBucketVersioningRequest) SetMfaDelete(v MfaDeleteStatus)

SetMfaDelete sets field value

func (*PutBucketVersioningRequest) SetStatus added in v1.1.0

SetStatus sets field value

type PutBucketWebsiteRequest added in v1.1.0

type PutBucketWebsiteRequest struct {
	XMLName               xml.Name               `xml:"WebsiteConfiguration"`
	ErrorDocument         *ErrorDocument         `json:"ErrorDocument,omitempty" xml:"ErrorDocument"`
	IndexDocument         *IndexDocument         `json:"IndexDocument,omitempty" xml:"IndexDocument"`
	RedirectAllRequestsTo *RedirectAllRequestsTo `json:"RedirectAllRequestsTo,omitempty" xml:"RedirectAllRequestsTo"`
	RoutingRules          *[]RoutingRule         `json:"RoutingRules,omitempty" xml:"RoutingRules"`
}

PutBucketWebsiteRequest Specifies website configuration parameters for an IONOS S3 Object Storage bucket.

func NewPutBucketWebsiteRequest added in v1.1.0

func NewPutBucketWebsiteRequest() *PutBucketWebsiteRequest

NewPutBucketWebsiteRequest instantiates a new PutBucketWebsiteRequest 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 NewPutBucketWebsiteRequestWithDefaults added in v1.1.0

func NewPutBucketWebsiteRequestWithDefaults() *PutBucketWebsiteRequest

NewPutBucketWebsiteRequestWithDefaults instantiates a new PutBucketWebsiteRequest 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 (*PutBucketWebsiteRequest) GetErrorDocument added in v1.1.0

func (o *PutBucketWebsiteRequest) GetErrorDocument() *ErrorDocument

GetErrorDocument returns the ErrorDocument field value If the value is explicit nil, the zero value for ErrorDocument will be returned

func (*PutBucketWebsiteRequest) GetErrorDocumentOk added in v1.1.0

func (o *PutBucketWebsiteRequest) GetErrorDocumentOk() (*ErrorDocument, bool)

GetErrorDocumentOk returns a tuple with the ErrorDocument field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutBucketWebsiteRequest) GetIndexDocument added in v1.1.0

func (o *PutBucketWebsiteRequest) GetIndexDocument() *IndexDocument

GetIndexDocument returns the IndexDocument field value If the value is explicit nil, the zero value for IndexDocument will be returned

func (*PutBucketWebsiteRequest) GetIndexDocumentOk added in v1.1.0

func (o *PutBucketWebsiteRequest) GetIndexDocumentOk() (*IndexDocument, bool)

GetIndexDocumentOk returns a tuple with the IndexDocument field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutBucketWebsiteRequest) GetRedirectAllRequestsTo added in v1.1.0

func (o *PutBucketWebsiteRequest) GetRedirectAllRequestsTo() *RedirectAllRequestsTo

GetRedirectAllRequestsTo returns the RedirectAllRequestsTo field value If the value is explicit nil, the zero value for RedirectAllRequestsTo will be returned

func (*PutBucketWebsiteRequest) GetRedirectAllRequestsToOk added in v1.1.0

func (o *PutBucketWebsiteRequest) GetRedirectAllRequestsToOk() (*RedirectAllRequestsTo, bool)

GetRedirectAllRequestsToOk returns a tuple with the RedirectAllRequestsTo field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutBucketWebsiteRequest) GetRoutingRules added in v1.1.0

func (o *PutBucketWebsiteRequest) GetRoutingRules() *[]RoutingRule

GetRoutingRules returns the RoutingRules field value If the value is explicit nil, the zero value for []RoutingRule will be returned

func (*PutBucketWebsiteRequest) GetRoutingRulesOk added in v1.1.0

func (o *PutBucketWebsiteRequest) GetRoutingRulesOk() (*[]RoutingRule, bool)

GetRoutingRulesOk returns a tuple with the RoutingRules field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutBucketWebsiteRequest) HasErrorDocument added in v1.1.0

func (o *PutBucketWebsiteRequest) HasErrorDocument() bool

HasErrorDocument returns a boolean if a field has been set.

func (*PutBucketWebsiteRequest) HasIndexDocument added in v1.1.0

func (o *PutBucketWebsiteRequest) HasIndexDocument() bool

HasIndexDocument returns a boolean if a field has been set.

func (*PutBucketWebsiteRequest) HasRedirectAllRequestsTo added in v1.1.0

func (o *PutBucketWebsiteRequest) HasRedirectAllRequestsTo() bool

HasRedirectAllRequestsTo returns a boolean if a field has been set.

func (*PutBucketWebsiteRequest) HasRoutingRules added in v1.1.0

func (o *PutBucketWebsiteRequest) HasRoutingRules() bool

HasRoutingRules returns a boolean if a field has been set.

func (PutBucketWebsiteRequest) MarshalJSON added in v1.1.0

func (o PutBucketWebsiteRequest) MarshalJSON() ([]byte, error)

func (*PutBucketWebsiteRequest) SetErrorDocument added in v1.1.0

func (o *PutBucketWebsiteRequest) SetErrorDocument(v ErrorDocument)

SetErrorDocument sets field value

func (*PutBucketWebsiteRequest) SetIndexDocument added in v1.1.0

func (o *PutBucketWebsiteRequest) SetIndexDocument(v IndexDocument)

SetIndexDocument sets field value

func (*PutBucketWebsiteRequest) SetRedirectAllRequestsTo added in v1.1.0

func (o *PutBucketWebsiteRequest) SetRedirectAllRequestsTo(v RedirectAllRequestsTo)

SetRedirectAllRequestsTo sets field value

func (*PutBucketWebsiteRequest) SetRoutingRules added in v1.1.0

func (o *PutBucketWebsiteRequest) SetRoutingRules(v []RoutingRule)

SetRoutingRules sets field value

type PutObjectLockConfigurationRequest added in v1.1.0

type PutObjectLockConfigurationRequest struct {
	XMLName           xml.Name                               `xml:"ObjectLockConfiguration"`
	ObjectLockEnabled *string                                `json:"ObjectLockEnabled,omitempty" xml:"ObjectLockEnabled"`
	Rule              *PutObjectLockConfigurationRequestRule `json:"Rule,omitempty" xml:"Rule"`
}

PutObjectLockConfigurationRequest A container for an object lock configuration.

func NewPutObjectLockConfigurationRequest added in v1.1.0

func NewPutObjectLockConfigurationRequest() *PutObjectLockConfigurationRequest

NewPutObjectLockConfigurationRequest instantiates a new PutObjectLockConfigurationRequest 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 NewPutObjectLockConfigurationRequestWithDefaults added in v1.1.0

func NewPutObjectLockConfigurationRequestWithDefaults() *PutObjectLockConfigurationRequest

NewPutObjectLockConfigurationRequestWithDefaults instantiates a new PutObjectLockConfigurationRequest 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 (*PutObjectLockConfigurationRequest) GetObjectLockEnabled added in v1.1.0

func (o *PutObjectLockConfigurationRequest) GetObjectLockEnabled() *string

GetObjectLockEnabled returns the ObjectLockEnabled field value If the value is explicit nil, the zero value for string will be returned

func (*PutObjectLockConfigurationRequest) GetObjectLockEnabledOk added in v1.1.0

func (o *PutObjectLockConfigurationRequest) GetObjectLockEnabledOk() (*string, bool)

GetObjectLockEnabledOk returns a tuple with the ObjectLockEnabled field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutObjectLockConfigurationRequest) GetRule added in v1.1.0

GetRule returns the Rule field value If the value is explicit nil, the zero value for PutObjectLockConfigurationRequestRule will be returned

func (*PutObjectLockConfigurationRequest) GetRuleOk added in v1.1.0

GetRuleOk returns a tuple with the Rule field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutObjectLockConfigurationRequest) HasObjectLockEnabled added in v1.1.0

func (o *PutObjectLockConfigurationRequest) HasObjectLockEnabled() bool

HasObjectLockEnabled returns a boolean if a field has been set.

func (*PutObjectLockConfigurationRequest) HasRule added in v1.1.0

HasRule returns a boolean if a field has been set.

func (PutObjectLockConfigurationRequest) MarshalJSON added in v1.1.0

func (o PutObjectLockConfigurationRequest) MarshalJSON() ([]byte, error)

func (*PutObjectLockConfigurationRequest) SetObjectLockEnabled added in v1.1.0

func (o *PutObjectLockConfigurationRequest) SetObjectLockEnabled(v string)

SetObjectLockEnabled sets field value

func (*PutObjectLockConfigurationRequest) SetRule added in v1.1.0

SetRule sets field value

type PutObjectLockConfigurationRequestRule added in v1.1.0

type PutObjectLockConfigurationRequestRule struct {
	XMLName          xml.Name          `xml:"Rule"`
	DefaultRetention *DefaultRetention `json:"DefaultRetention,omitempty" xml:"DefaultRetention"`
}

PutObjectLockConfigurationRequestRule Specifies Object Lock rule for the specified object. Enable this rule when you apply `ObjectLockConfiguration` to a bucket. Bucket settings require both a mode and a period. Specify the period either in `Days` or `Years`, and not both at the same time.

func NewPutObjectLockConfigurationRequestRule added in v1.1.0

func NewPutObjectLockConfigurationRequestRule() *PutObjectLockConfigurationRequestRule

NewPutObjectLockConfigurationRequestRule instantiates a new PutObjectLockConfigurationRequestRule 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 NewPutObjectLockConfigurationRequestRuleWithDefaults added in v1.1.0

func NewPutObjectLockConfigurationRequestRuleWithDefaults() *PutObjectLockConfigurationRequestRule

NewPutObjectLockConfigurationRequestRuleWithDefaults instantiates a new PutObjectLockConfigurationRequestRule 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 (*PutObjectLockConfigurationRequestRule) GetDefaultRetention added in v1.1.0

func (o *PutObjectLockConfigurationRequestRule) GetDefaultRetention() *DefaultRetention

GetDefaultRetention returns the DefaultRetention field value If the value is explicit nil, the zero value for DefaultRetention will be returned

func (*PutObjectLockConfigurationRequestRule) GetDefaultRetentionOk added in v1.1.0

func (o *PutObjectLockConfigurationRequestRule) GetDefaultRetentionOk() (*DefaultRetention, bool)

GetDefaultRetentionOk returns a tuple with the DefaultRetention field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutObjectLockConfigurationRequestRule) HasDefaultRetention added in v1.1.0

func (o *PutObjectLockConfigurationRequestRule) HasDefaultRetention() bool

HasDefaultRetention returns a boolean if a field has been set.

func (PutObjectLockConfigurationRequestRule) MarshalJSON added in v1.1.0

func (o PutObjectLockConfigurationRequestRule) MarshalJSON() ([]byte, error)

func (*PutObjectLockConfigurationRequestRule) SetDefaultRetention added in v1.1.0

func (o *PutObjectLockConfigurationRequestRule) SetDefaultRetention(v DefaultRetention)

SetDefaultRetention sets field value

type PutObjectRetentionRequest added in v1.1.0

type PutObjectRetentionRequest struct {
	XMLName xml.Name `xml:"Retention"`
	// Indicates the Retention mode for the specified object.
	Mode *string `json:"Mode,omitempty" xml:"Mode"`
	// The date on which this Object Lock Retention will expire.
	RetainUntilDate *string `json:"RetainUntilDate,omitempty" xml:"RetainUntilDate"`
}

PutObjectRetentionRequest A Retention configuration for an object.

func NewPutObjectRetentionRequest added in v1.1.0

func NewPutObjectRetentionRequest() *PutObjectRetentionRequest

NewPutObjectRetentionRequest instantiates a new PutObjectRetentionRequest 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 NewPutObjectRetentionRequestWithDefaults added in v1.1.0

func NewPutObjectRetentionRequestWithDefaults() *PutObjectRetentionRequest

NewPutObjectRetentionRequestWithDefaults instantiates a new PutObjectRetentionRequest 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 (*PutObjectRetentionRequest) GetMode added in v1.1.0

func (o *PutObjectRetentionRequest) GetMode() *string

GetMode returns the Mode field value If the value is explicit nil, the zero value for string will be returned

func (*PutObjectRetentionRequest) GetModeOk added in v1.1.0

func (o *PutObjectRetentionRequest) GetModeOk() (*string, bool)

GetModeOk returns a tuple with the Mode field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutObjectRetentionRequest) GetRetainUntilDate added in v1.1.0

func (o *PutObjectRetentionRequest) GetRetainUntilDate() *string

GetRetainUntilDate returns the RetainUntilDate field value If the value is explicit nil, the zero value for string will be returned

func (*PutObjectRetentionRequest) GetRetainUntilDateOk added in v1.1.0

func (o *PutObjectRetentionRequest) GetRetainUntilDateOk() (*string, bool)

GetRetainUntilDateOk returns a tuple with the RetainUntilDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutObjectRetentionRequest) HasMode added in v1.1.0

func (o *PutObjectRetentionRequest) HasMode() bool

HasMode returns a boolean if a field has been set.

func (*PutObjectRetentionRequest) HasRetainUntilDate added in v1.1.0

func (o *PutObjectRetentionRequest) HasRetainUntilDate() bool

HasRetainUntilDate returns a boolean if a field has been set.

func (PutObjectRetentionRequest) MarshalJSON added in v1.1.0

func (o PutObjectRetentionRequest) MarshalJSON() ([]byte, error)

func (*PutObjectRetentionRequest) SetMode added in v1.1.0

func (o *PutObjectRetentionRequest) SetMode(v string)

SetMode sets field value

func (*PutObjectRetentionRequest) SetRetainUntilDate added in v1.1.0

func (o *PutObjectRetentionRequest) SetRetainUntilDate(v string)

SetRetainUntilDate sets field value

type PutObjectTaggingRequest

type PutObjectTaggingRequest struct {
	XMLName xml.Name `xml:"Tagging"`
	// Contains the tag set.
	TagSet *[]Tag `json:"TagSet,omitempty" xml:"TagSet>Tag"`
}

PutObjectTaggingRequest Container for `TagSet` elements.

func NewPutObjectTaggingRequest

func NewPutObjectTaggingRequest() *PutObjectTaggingRequest

NewPutObjectTaggingRequest instantiates a new PutObjectTaggingRequest 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 NewPutObjectTaggingRequestWithDefaults

func NewPutObjectTaggingRequestWithDefaults() *PutObjectTaggingRequest

NewPutObjectTaggingRequestWithDefaults instantiates a new PutObjectTaggingRequest 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 (*PutObjectTaggingRequest) GetTagSet added in v1.1.0

func (o *PutObjectTaggingRequest) GetTagSet() *[]Tag

GetTagSet returns the TagSet field value If the value is explicit nil, the zero value for []Tag will be returned

func (*PutObjectTaggingRequest) GetTagSetOk added in v1.1.0

func (o *PutObjectTaggingRequest) GetTagSetOk() (*[]Tag, bool)

GetTagSetOk returns a tuple with the TagSet field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutObjectTaggingRequest) HasTagSet added in v1.1.0

func (o *PutObjectTaggingRequest) HasTagSet() bool

HasTagSet returns a boolean if a field has been set.

func (PutObjectTaggingRequest) MarshalJSON

func (o PutObjectTaggingRequest) MarshalJSON() ([]byte, error)

func (*PutObjectTaggingRequest) SetTagSet added in v1.1.0

func (o *PutObjectTaggingRequest) SetTagSet(v []Tag)

SetTagSet sets field value

type Redirect added in v1.1.0

type Redirect struct {
	XMLName xml.Name `xml:"Redirect"`
	// The host name to use in the redirect request.
	HostName *string `json:"HostName,omitempty" xml:"HostName"`
	// The HTTP redirect code to use on the response. Not required if one of the siblings is present.
	HttpRedirectCode *string `json:"HttpRedirectCode,omitempty" xml:"HttpRedirectCode"`
	// Protocol to use when redirecting requests. The default is the protocol that is used in the original request.
	Protocol *string `json:"Protocol,omitempty" xml:"Protocol"`
	// <p>The object key prefix to use in the redirect request. For example, to redirect requests for all pages with prefix `docs/` (objects in the `docs/` folder) to `documents/`, you can set a condition block with `KeyPrefixEquals` set to `docs/` and in the Redirect set `ReplaceKeyPrefixWith` to `/documents`. Not required if one of the siblings is present. Can be present only if `ReplaceKeyWith` is not provided.</p> <p>Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. </p>
	ReplaceKeyPrefixWith *string `json:"ReplaceKeyPrefixWith,omitempty" xml:"ReplaceKeyPrefixWith"`
	// The specific object key to use in the redirect request. For example, redirect request to `error.html`. Not required if one of the siblings is present. Can be present only if `ReplaceKeyPrefixWith` is not provided. Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests.
	ReplaceKeyWith *string `json:"ReplaceKeyWith,omitempty" xml:"ReplaceKeyWith"`
}

Redirect Container for redirect information. You can redirect requests to another host, to another page, or with another protocol. In the event of an error, you can specify a different error code to return.

func NewRedirect added in v1.1.0

func NewRedirect() *Redirect

NewRedirect instantiates a new Redirect 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 NewRedirectWithDefaults added in v1.1.0

func NewRedirectWithDefaults() *Redirect

NewRedirectWithDefaults instantiates a new Redirect 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 (*Redirect) GetHostName added in v1.1.0

func (o *Redirect) GetHostName() *string

GetHostName returns the HostName field value If the value is explicit nil, the zero value for string will be returned

func (*Redirect) GetHostNameOk added in v1.1.0

func (o *Redirect) GetHostNameOk() (*string, bool)

GetHostNameOk returns a tuple with the HostName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Redirect) GetHttpRedirectCode added in v1.1.0

func (o *Redirect) GetHttpRedirectCode() *string

GetHttpRedirectCode returns the HttpRedirectCode field value If the value is explicit nil, the zero value for string will be returned

func (*Redirect) GetHttpRedirectCodeOk added in v1.1.0

func (o *Redirect) GetHttpRedirectCodeOk() (*string, bool)

GetHttpRedirectCodeOk returns a tuple with the HttpRedirectCode field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Redirect) GetProtocol added in v1.1.0

func (o *Redirect) GetProtocol() *string

GetProtocol returns the Protocol field value If the value is explicit nil, the zero value for string will be returned

func (*Redirect) GetProtocolOk added in v1.1.0

func (o *Redirect) GetProtocolOk() (*string, bool)

GetProtocolOk returns a tuple with the Protocol field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Redirect) GetReplaceKeyPrefixWith added in v1.1.0

func (o *Redirect) GetReplaceKeyPrefixWith() *string

GetReplaceKeyPrefixWith returns the ReplaceKeyPrefixWith field value If the value is explicit nil, the zero value for string will be returned

func (*Redirect) GetReplaceKeyPrefixWithOk added in v1.1.0

func (o *Redirect) GetReplaceKeyPrefixWithOk() (*string, bool)

GetReplaceKeyPrefixWithOk returns a tuple with the ReplaceKeyPrefixWith field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Redirect) GetReplaceKeyWith added in v1.1.0

func (o *Redirect) GetReplaceKeyWith() *string

GetReplaceKeyWith returns the ReplaceKeyWith field value If the value is explicit nil, the zero value for string will be returned

func (*Redirect) GetReplaceKeyWithOk added in v1.1.0

func (o *Redirect) GetReplaceKeyWithOk() (*string, bool)

GetReplaceKeyWithOk returns a tuple with the ReplaceKeyWith field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Redirect) HasHostName added in v1.1.0

func (o *Redirect) HasHostName() bool

HasHostName returns a boolean if a field has been set.

func (*Redirect) HasHttpRedirectCode added in v1.1.0

func (o *Redirect) HasHttpRedirectCode() bool

HasHttpRedirectCode returns a boolean if a field has been set.

func (*Redirect) HasProtocol added in v1.1.0

func (o *Redirect) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (*Redirect) HasReplaceKeyPrefixWith added in v1.1.0

func (o *Redirect) HasReplaceKeyPrefixWith() bool

HasReplaceKeyPrefixWith returns a boolean if a field has been set.

func (*Redirect) HasReplaceKeyWith added in v1.1.0

func (o *Redirect) HasReplaceKeyWith() bool

HasReplaceKeyWith returns a boolean if a field has been set.

func (Redirect) MarshalJSON added in v1.1.0

func (o Redirect) MarshalJSON() ([]byte, error)

func (*Redirect) SetHostName added in v1.1.0

func (o *Redirect) SetHostName(v string)

SetHostName sets field value

func (*Redirect) SetHttpRedirectCode added in v1.1.0

func (o *Redirect) SetHttpRedirectCode(v string)

SetHttpRedirectCode sets field value

func (*Redirect) SetProtocol added in v1.1.0

func (o *Redirect) SetProtocol(v string)

SetProtocol sets field value

func (*Redirect) SetReplaceKeyPrefixWith added in v1.1.0

func (o *Redirect) SetReplaceKeyPrefixWith(v string)

SetReplaceKeyPrefixWith sets field value

func (*Redirect) SetReplaceKeyWith added in v1.1.0

func (o *Redirect) SetReplaceKeyWith(v string)

SetReplaceKeyWith sets field value

type RedirectAllRequestsTo added in v1.1.0

type RedirectAllRequestsTo struct {
	XMLName xml.Name `xml:"RedirectAllRequestsTo"`
	// Name of the host where requests are redirected.
	HostName *string `json:"HostName" xml:"HostName"`
	// Protocol to use when redirecting requests. The default is the protocol that is used in the original request.
	Protocol *string `json:"Protocol,omitempty" xml:"Protocol"`
}

RedirectAllRequestsTo Specifies the redirect behavior of all requests to a website endpoint of an IONOS S3 Object Storage bucket.

func NewRedirectAllRequestsTo added in v1.1.0

func NewRedirectAllRequestsTo(hostName string) *RedirectAllRequestsTo

NewRedirectAllRequestsTo instantiates a new RedirectAllRequestsTo 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 NewRedirectAllRequestsToWithDefaults added in v1.1.0

func NewRedirectAllRequestsToWithDefaults() *RedirectAllRequestsTo

NewRedirectAllRequestsToWithDefaults instantiates a new RedirectAllRequestsTo 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 (*RedirectAllRequestsTo) GetHostName added in v1.1.0

func (o *RedirectAllRequestsTo) GetHostName() *string

GetHostName returns the HostName field value If the value is explicit nil, the zero value for string will be returned

func (*RedirectAllRequestsTo) GetHostNameOk added in v1.1.0

func (o *RedirectAllRequestsTo) GetHostNameOk() (*string, bool)

GetHostNameOk returns a tuple with the HostName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RedirectAllRequestsTo) GetProtocol added in v1.1.0

func (o *RedirectAllRequestsTo) GetProtocol() *string

GetProtocol returns the Protocol field value If the value is explicit nil, the zero value for string will be returned

func (*RedirectAllRequestsTo) GetProtocolOk added in v1.1.0

func (o *RedirectAllRequestsTo) GetProtocolOk() (*string, bool)

GetProtocolOk returns a tuple with the Protocol field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RedirectAllRequestsTo) HasHostName added in v1.1.0

func (o *RedirectAllRequestsTo) HasHostName() bool

HasHostName returns a boolean if a field has been set.

func (*RedirectAllRequestsTo) HasProtocol added in v1.1.0

func (o *RedirectAllRequestsTo) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (RedirectAllRequestsTo) MarshalJSON added in v1.1.0

func (o RedirectAllRequestsTo) MarshalJSON() ([]byte, error)

func (*RedirectAllRequestsTo) SetHostName added in v1.1.0

func (o *RedirectAllRequestsTo) SetHostName(v string)

SetHostName sets field value

func (*RedirectAllRequestsTo) SetProtocol added in v1.1.0

func (o *RedirectAllRequestsTo) SetProtocol(v string)

SetProtocol sets field value

type ReplicaModificationsStatus added in v1.1.0

type ReplicaModificationsStatus string

ReplicaModificationsStatus the model 'ReplicaModificationsStatus'

const (
	REPLICAMODIFICATIONSSTATUS_ENABLED  ReplicaModificationsStatus = "Enabled"
	REPLICAMODIFICATIONSSTATUS_DISABLED ReplicaModificationsStatus = "Disabled"
)

List of ReplicaModificationsStatus

func (ReplicaModificationsStatus) Ptr added in v1.1.0

Ptr returns reference to ReplicaModificationsStatus value

func (*ReplicaModificationsStatus) UnmarshalJSON added in v1.1.0

func (v *ReplicaModificationsStatus) UnmarshalJSON(src []byte) error

type ReplicationApiService added in v1.1.0

type ReplicationApiService service

ReplicationApiService ReplicationApi service

func (*ReplicationApiService) GetBucketReplication added in v1.1.0

func (a *ReplicationApiService) GetBucketReplication(ctx context.Context, bucket string) ApiGetBucketReplicationRequest

GetBucketReplication GetBucketReplication

Returns the replication configuration of a bucket.

The replication configuration may take a while to propagate to all IONOS S3 Object Storage systems. For example, when you apply a new configuration with a PUT request or delete a configuration using a DELETE request. Similarly, a GET request may retrieve the previous state of the configuration, or it may still exist if you use a DELETE request.

#### Permissions You must be the contract owner or an administrator to perform this operation. If not, they can grant you permission to perform the `s3:GetBucketReplication` operation using [Bucket Policy](#tag/Policy/operation/PutBucketPolicy).

#### S3 API Compatibility - The `x-amz-expected-bucket-owner` header isn't supported.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiGetBucketReplicationRequest

func (*ReplicationApiService) GetBucketReplicationExecute added in v1.1.0

Execute executes the request

@return GetBucketReplicationOutput

type ReplicationConfiguration added in v1.1.0

type ReplicationConfiguration struct {
	XMLName xml.Name `xml:"ReplicationConfiguration"`
	// The Resource Name of the Identity and Access Management (IAM) role that IONOS S3 Object Storage assumes when replicating objects.
	Role  *string            `json:"Role" xml:"Role"`
	Rules *[]ReplicationRule `json:"Rules" xml:"Rules"`
}

ReplicationConfiguration A container for replication rules. You can add up to 1,000 rules. The maximum size of a replication configuration is 2 MB.

func NewReplicationConfiguration added in v1.1.0

func NewReplicationConfiguration(role string, rules []ReplicationRule) *ReplicationConfiguration

NewReplicationConfiguration instantiates a new ReplicationConfiguration 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 NewReplicationConfigurationWithDefaults added in v1.1.0

func NewReplicationConfigurationWithDefaults() *ReplicationConfiguration

NewReplicationConfigurationWithDefaults instantiates a new ReplicationConfiguration 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 (*ReplicationConfiguration) GetRole added in v1.1.0

func (o *ReplicationConfiguration) GetRole() *string

GetRole returns the Role field value If the value is explicit nil, the zero value for string will be returned

func (*ReplicationConfiguration) GetRoleOk added in v1.1.0

func (o *ReplicationConfiguration) GetRoleOk() (*string, bool)

GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ReplicationConfiguration) GetRules added in v1.1.0

func (o *ReplicationConfiguration) GetRules() *[]ReplicationRule

GetRules returns the Rules field value If the value is explicit nil, the zero value for []ReplicationRule will be returned

func (*ReplicationConfiguration) GetRulesOk added in v1.1.0

func (o *ReplicationConfiguration) GetRulesOk() (*[]ReplicationRule, bool)

GetRulesOk returns a tuple with the Rules field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ReplicationConfiguration) HasRole added in v1.1.0

func (o *ReplicationConfiguration) HasRole() bool

HasRole returns a boolean if a field has been set.

func (*ReplicationConfiguration) HasRules added in v1.1.0

func (o *ReplicationConfiguration) HasRules() bool

HasRules returns a boolean if a field has been set.

func (ReplicationConfiguration) MarshalJSON added in v1.1.0

func (o ReplicationConfiguration) MarshalJSON() ([]byte, error)

func (*ReplicationConfiguration) SetRole added in v1.1.0

func (o *ReplicationConfiguration) SetRole(v string)

SetRole sets field value

func (*ReplicationConfiguration) SetRules added in v1.1.0

func (o *ReplicationConfiguration) SetRules(v []ReplicationRule)

SetRules sets field value

type ReplicationRule added in v1.1.0

type ReplicationRule struct {
	XMLName xml.Name `xml:"ReplicationRule"`
	// Container for the Contract Number of the owner.
	ID *int32 `json:"ID,omitempty" xml:"ID"`
	// An object key name prefix that identifies the subset of objects to which the rule applies. Replace the Object keys containing special characters, such as carriage returns, when using XML requests.
	Prefix *string `json:"Prefix,omitempty" xml:"Prefix"`
	// Specifies whether the rule is enabled.
	Status      *string      `json:"Status" xml:"Status"`
	Destination *Destination `json:"Destination" xml:"Destination"`
}

ReplicationRule Specifies which IONOS S3 Object Storage objects to replicate and where to store the replicas.

func NewReplicationRule added in v1.1.0

func NewReplicationRule(status string, destination Destination) *ReplicationRule

NewReplicationRule instantiates a new ReplicationRule 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 NewReplicationRuleWithDefaults added in v1.1.0

func NewReplicationRuleWithDefaults() *ReplicationRule

NewReplicationRuleWithDefaults instantiates a new ReplicationRule 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 (*ReplicationRule) GetDestination added in v1.1.0

func (o *ReplicationRule) GetDestination() *Destination

GetDestination returns the Destination field value If the value is explicit nil, the zero value for Destination will be returned

func (*ReplicationRule) GetDestinationOk added in v1.1.0

func (o *ReplicationRule) GetDestinationOk() (*Destination, bool)

GetDestinationOk returns a tuple with the Destination field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ReplicationRule) GetID added in v1.1.0

func (o *ReplicationRule) GetID() *int32

GetID returns the ID field value If the value is explicit nil, the zero value for int32 will be returned

func (*ReplicationRule) GetIDOk added in v1.1.0

func (o *ReplicationRule) GetIDOk() (*int32, bool)

GetIDOk returns a tuple with the ID field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ReplicationRule) GetPrefix added in v1.1.0

func (o *ReplicationRule) GetPrefix() *string

GetPrefix returns the Prefix field value If the value is explicit nil, the zero value for string will be returned

func (*ReplicationRule) GetPrefixOk added in v1.1.0

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

GetPrefixOk returns a tuple with the Prefix field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ReplicationRule) GetStatus added in v1.1.0

func (o *ReplicationRule) GetStatus() *string

GetStatus returns the Status field value If the value is explicit nil, the zero value for string will be returned

func (*ReplicationRule) GetStatusOk added in v1.1.0

func (o *ReplicationRule) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ReplicationRule) HasDestination added in v1.1.0

func (o *ReplicationRule) HasDestination() bool

HasDestination returns a boolean if a field has been set.

func (*ReplicationRule) HasID added in v1.1.0

func (o *ReplicationRule) HasID() bool

HasID returns a boolean if a field has been set.

func (*ReplicationRule) HasPrefix added in v1.1.0

func (o *ReplicationRule) HasPrefix() bool

HasPrefix returns a boolean if a field has been set.

func (*ReplicationRule) HasStatus added in v1.1.0

func (o *ReplicationRule) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (ReplicationRule) MarshalJSON added in v1.1.0

func (o ReplicationRule) MarshalJSON() ([]byte, error)

func (*ReplicationRule) SetDestination added in v1.1.0

func (o *ReplicationRule) SetDestination(v Destination)

SetDestination sets field value

func (*ReplicationRule) SetID added in v1.1.0

func (o *ReplicationRule) SetID(v int32)

SetID sets field value

func (*ReplicationRule) SetPrefix added in v1.1.0

func (o *ReplicationRule) SetPrefix(v string)

SetPrefix sets field value

func (*ReplicationRule) SetStatus added in v1.1.0

func (o *ReplicationRule) SetStatus(v string)

SetStatus sets field value

type ResponseMiddlewareFunction

type ResponseMiddlewareFunction func(*http.Response, []byte) error

ResponseMiddlewareFunction provides way to implement custom middleware with errors after the response is received

type RoutingRule added in v1.1.0

type RoutingRule struct {
	XMLName   xml.Name              `xml:"RoutingRule"`
	Condition *RoutingRuleCondition `json:"Condition,omitempty" xml:"Condition"`
	Redirect  *Redirect             `json:"Redirect" xml:"Redirect"`
}

RoutingRule Specifies the redirect behavior and when a redirect is applied.

func NewRoutingRule added in v1.1.0

func NewRoutingRule(redirect Redirect) *RoutingRule

NewRoutingRule instantiates a new RoutingRule 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 NewRoutingRuleWithDefaults added in v1.1.0

func NewRoutingRuleWithDefaults() *RoutingRule

NewRoutingRuleWithDefaults instantiates a new RoutingRule 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 (*RoutingRule) GetCondition added in v1.1.0

func (o *RoutingRule) GetCondition() *RoutingRuleCondition

GetCondition returns the Condition field value If the value is explicit nil, the zero value for RoutingRuleCondition will be returned

func (*RoutingRule) GetConditionOk added in v1.1.0

func (o *RoutingRule) GetConditionOk() (*RoutingRuleCondition, bool)

GetConditionOk returns a tuple with the Condition field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RoutingRule) GetRedirect added in v1.1.0

func (o *RoutingRule) GetRedirect() *Redirect

GetRedirect returns the Redirect field value If the value is explicit nil, the zero value for Redirect will be returned

func (*RoutingRule) GetRedirectOk added in v1.1.0

func (o *RoutingRule) GetRedirectOk() (*Redirect, bool)

GetRedirectOk returns a tuple with the Redirect field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RoutingRule) HasCondition added in v1.1.0

func (o *RoutingRule) HasCondition() bool

HasCondition returns a boolean if a field has been set.

func (*RoutingRule) HasRedirect added in v1.1.0

func (o *RoutingRule) HasRedirect() bool

HasRedirect returns a boolean if a field has been set.

func (RoutingRule) MarshalJSON added in v1.1.0

func (o RoutingRule) MarshalJSON() ([]byte, error)

func (*RoutingRule) SetCondition added in v1.1.0

func (o *RoutingRule) SetCondition(v RoutingRuleCondition)

SetCondition sets field value

func (*RoutingRule) SetRedirect added in v1.1.0

func (o *RoutingRule) SetRedirect(v Redirect)

SetRedirect sets field value

type RoutingRuleCondition added in v1.1.0

type RoutingRuleCondition struct {
	XMLName xml.Name `xml:"Condition"`
	// The HTTP error code when the redirect is applied. In the event of an error, if the error code equals this value, then the specified redirect is applied. Required when parent element `Condition` is specified and sibling `KeyPrefixEquals` is not specified. If both are specified, then both must be true for the redirect to be applied.
	HttpErrorCodeReturnedEquals *string `json:"HttpErrorCodeReturnedEquals,omitempty" xml:"HttpErrorCodeReturnedEquals"`
	// <p>The object key name prefix when the redirect is applied. For example, to redirect requests for `ExamplePage.html`, the key prefix will be `ExamplePage.html`. To redirect request for all pages with the prefix `docs/`, the key prefix will be `/docs`, which identifies all objects in the `docs/` folder. Required when the parent element `Condition` is specified and sibling `HttpErrorCodeReturnedEquals` is not specified. If both conditions are specified, both must be true for the redirect to be applied.</p> <important> <p>Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests.</p> </important>
	KeyPrefixEquals *string `json:"KeyPrefixEquals,omitempty" xml:"KeyPrefixEquals"`
}

RoutingRuleCondition A container for describing a condition that must be met for the specified redirect to apply. For example, 1. If request is for pages in the `/docs` folder, redirect to the `/documents` folder. 2. If request results in HTTP error 4xx, redirect request to another host where you might process the error.

func NewRoutingRuleCondition added in v1.1.0

func NewRoutingRuleCondition() *RoutingRuleCondition

NewRoutingRuleCondition instantiates a new RoutingRuleCondition 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 NewRoutingRuleConditionWithDefaults added in v1.1.0

func NewRoutingRuleConditionWithDefaults() *RoutingRuleCondition

NewRoutingRuleConditionWithDefaults instantiates a new RoutingRuleCondition 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 (*RoutingRuleCondition) GetHttpErrorCodeReturnedEquals added in v1.1.0

func (o *RoutingRuleCondition) GetHttpErrorCodeReturnedEquals() *string

GetHttpErrorCodeReturnedEquals returns the HttpErrorCodeReturnedEquals field value If the value is explicit nil, the zero value for string will be returned

func (*RoutingRuleCondition) GetHttpErrorCodeReturnedEqualsOk added in v1.1.0

func (o *RoutingRuleCondition) GetHttpErrorCodeReturnedEqualsOk() (*string, bool)

GetHttpErrorCodeReturnedEqualsOk returns a tuple with the HttpErrorCodeReturnedEquals field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RoutingRuleCondition) GetKeyPrefixEquals added in v1.1.0

func (o *RoutingRuleCondition) GetKeyPrefixEquals() *string

GetKeyPrefixEquals returns the KeyPrefixEquals field value If the value is explicit nil, the zero value for string will be returned

func (*RoutingRuleCondition) GetKeyPrefixEqualsOk added in v1.1.0

func (o *RoutingRuleCondition) GetKeyPrefixEqualsOk() (*string, bool)

GetKeyPrefixEqualsOk returns a tuple with the KeyPrefixEquals field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RoutingRuleCondition) HasHttpErrorCodeReturnedEquals added in v1.1.0

func (o *RoutingRuleCondition) HasHttpErrorCodeReturnedEquals() bool

HasHttpErrorCodeReturnedEquals returns a boolean if a field has been set.

func (*RoutingRuleCondition) HasKeyPrefixEquals added in v1.1.0

func (o *RoutingRuleCondition) HasKeyPrefixEquals() bool

HasKeyPrefixEquals returns a boolean if a field has been set.

func (RoutingRuleCondition) MarshalJSON added in v1.1.0

func (o RoutingRuleCondition) MarshalJSON() ([]byte, error)

func (*RoutingRuleCondition) SetHttpErrorCodeReturnedEquals added in v1.1.0

func (o *RoutingRuleCondition) SetHttpErrorCodeReturnedEquals(v string)

SetHttpErrorCodeReturnedEquals sets field value

func (*RoutingRuleCondition) SetKeyPrefixEquals added in v1.1.0

func (o *RoutingRuleCondition) SetKeyPrefixEquals(v string)

SetKeyPrefixEquals sets field value

type Rule added in v1.1.0

type Rule struct {
	XMLName xml.Name `xml:"Rule"`
	// Unique identifier for the rule. The value can't be longer than 255 characters.
	ID *string `json:"ID,omitempty" xml:"ID"`
	// 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.
	Prefix                         *string                         `json:"Prefix" xml:"Prefix"`
	Status                         *ExpirationStatus               `json:"Status" xml:"Status"`
	Expiration                     *LifecycleExpiration            `json:"Expiration,omitempty" xml:"Expiration"`
	NoncurrentVersionExpiration    *NoncurrentVersionExpiration    `json:"NoncurrentVersionExpiration,omitempty" xml:"NoncurrentVersionExpiration"`
	AbortIncompleteMultipartUpload *AbortIncompleteMultipartUpload `json:"AbortIncompleteMultipartUpload,omitempty" xml:"AbortIncompleteMultipartUpload"`
}

Rule Specifies lifecycle rules for an IONOS S3 Object Storage bucket.

func NewRule added in v1.1.0

func NewRule(prefix string, status ExpirationStatus) *Rule

NewRule instantiates a new Rule 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 NewRuleWithDefaults added in v1.1.0

func NewRuleWithDefaults() *Rule

NewRuleWithDefaults instantiates a new Rule 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 (*Rule) GetAbortIncompleteMultipartUpload added in v1.1.0

func (o *Rule) GetAbortIncompleteMultipartUpload() *AbortIncompleteMultipartUpload

GetAbortIncompleteMultipartUpload returns the AbortIncompleteMultipartUpload field value If the value is explicit nil, the zero value for AbortIncompleteMultipartUpload will be returned

func (*Rule) GetAbortIncompleteMultipartUploadOk added in v1.1.0

func (o *Rule) GetAbortIncompleteMultipartUploadOk() (*AbortIncompleteMultipartUpload, bool)

GetAbortIncompleteMultipartUploadOk returns a tuple with the AbortIncompleteMultipartUpload field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Rule) GetExpiration added in v1.1.0

func (o *Rule) GetExpiration() *LifecycleExpiration

GetExpiration returns the Expiration field value If the value is explicit nil, the zero value for LifecycleExpiration will be returned

func (*Rule) GetExpirationOk added in v1.1.0

func (o *Rule) GetExpirationOk() (*LifecycleExpiration, bool)

GetExpirationOk returns a tuple with the Expiration field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Rule) GetID added in v1.1.0

func (o *Rule) GetID() *string

GetID returns the ID field value If the value is explicit nil, the zero value for string will be returned

func (*Rule) GetIDOk added in v1.1.0

func (o *Rule) GetIDOk() (*string, bool)

GetIDOk returns a tuple with the ID field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Rule) GetNoncurrentVersionExpiration added in v1.1.0

func (o *Rule) GetNoncurrentVersionExpiration() *NoncurrentVersionExpiration

GetNoncurrentVersionExpiration returns the NoncurrentVersionExpiration field value If the value is explicit nil, the zero value for NoncurrentVersionExpiration will be returned

func (*Rule) GetNoncurrentVersionExpirationOk added in v1.1.0

func (o *Rule) GetNoncurrentVersionExpirationOk() (*NoncurrentVersionExpiration, bool)

GetNoncurrentVersionExpirationOk returns a tuple with the NoncurrentVersionExpiration field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Rule) GetPrefix added in v1.1.0

func (o *Rule) GetPrefix() *string

GetPrefix returns the Prefix field value If the value is explicit nil, the zero value for string will be returned

func (*Rule) GetPrefixOk added in v1.1.0

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

GetPrefixOk returns a tuple with the Prefix field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Rule) GetStatus added in v1.1.0

func (o *Rule) GetStatus() *ExpirationStatus

GetStatus returns the Status field value If the value is explicit nil, the zero value for ExpirationStatus will be returned

func (*Rule) GetStatusOk added in v1.1.0

func (o *Rule) GetStatusOk() (*ExpirationStatus, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Rule) HasAbortIncompleteMultipartUpload added in v1.1.0

func (o *Rule) HasAbortIncompleteMultipartUpload() bool

HasAbortIncompleteMultipartUpload returns a boolean if a field has been set.

func (*Rule) HasExpiration added in v1.1.0

func (o *Rule) HasExpiration() bool

HasExpiration returns a boolean if a field has been set.

func (*Rule) HasID added in v1.1.0

func (o *Rule) HasID() bool

HasID returns a boolean if a field has been set.

func (*Rule) HasNoncurrentVersionExpiration added in v1.1.0

func (o *Rule) HasNoncurrentVersionExpiration() bool

HasNoncurrentVersionExpiration returns a boolean if a field has been set.

func (*Rule) HasPrefix added in v1.1.0

func (o *Rule) HasPrefix() bool

HasPrefix returns a boolean if a field has been set.

func (*Rule) HasStatus added in v1.1.0

func (o *Rule) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (Rule) MarshalJSON added in v1.1.0

func (o Rule) MarshalJSON() ([]byte, error)

func (*Rule) SetAbortIncompleteMultipartUpload added in v1.1.0

func (o *Rule) SetAbortIncompleteMultipartUpload(v AbortIncompleteMultipartUpload)

SetAbortIncompleteMultipartUpload sets field value

func (*Rule) SetExpiration added in v1.1.0

func (o *Rule) SetExpiration(v LifecycleExpiration)

SetExpiration sets field value

func (*Rule) SetID added in v1.1.0

func (o *Rule) SetID(v string)

SetID sets field value

func (*Rule) SetNoncurrentVersionExpiration added in v1.1.0

func (o *Rule) SetNoncurrentVersionExpiration(v NoncurrentVersionExpiration)

SetNoncurrentVersionExpiration sets field value

func (*Rule) SetPrefix added in v1.1.0

func (o *Rule) SetPrefix(v string)

SetPrefix sets field value

func (*Rule) SetStatus added in v1.1.0

func (o *Rule) SetStatus(v ExpirationStatus)

SetStatus sets field value

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerSideEncryption added in v1.1.0

type ServerSideEncryption string

ServerSideEncryption Server-side encryption algorithm for the default encryption. The valid value is `AES256`.

const (
	SERVERSIDEENCRYPTION_AES256 ServerSideEncryption = "AES256"
)

List of ServerSideEncryption

func (ServerSideEncryption) Ptr added in v1.1.0

Ptr returns reference to ServerSideEncryption value

func (*ServerSideEncryption) UnmarshalJSON added in v1.1.0

func (v *ServerSideEncryption) UnmarshalJSON(src []byte) error

type ServerSideEncryptionByDefault added in v1.1.0

type ServerSideEncryptionByDefault struct {
	XMLName      xml.Name              `xml:"ApplyServerSideEncryptionByDefault"`
	SSEAlgorithm *ServerSideEncryption `json:"SSEAlgorithm" xml:"SSEAlgorithm"`
}

ServerSideEncryptionByDefault Describes the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied.

func NewServerSideEncryptionByDefault added in v1.1.0

func NewServerSideEncryptionByDefault(sSEAlgorithm ServerSideEncryption) *ServerSideEncryptionByDefault

NewServerSideEncryptionByDefault instantiates a new ServerSideEncryptionByDefault 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 NewServerSideEncryptionByDefaultWithDefaults added in v1.1.0

func NewServerSideEncryptionByDefaultWithDefaults() *ServerSideEncryptionByDefault

NewServerSideEncryptionByDefaultWithDefaults instantiates a new ServerSideEncryptionByDefault 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 (*ServerSideEncryptionByDefault) GetSSEAlgorithm added in v1.1.0

GetSSEAlgorithm returns the SSEAlgorithm field value If the value is explicit nil, the zero value for ServerSideEncryption will be returned

func (*ServerSideEncryptionByDefault) GetSSEAlgorithmOk added in v1.1.0

func (o *ServerSideEncryptionByDefault) GetSSEAlgorithmOk() (*ServerSideEncryption, bool)

GetSSEAlgorithmOk returns a tuple with the SSEAlgorithm field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ServerSideEncryptionByDefault) HasSSEAlgorithm added in v1.1.0

func (o *ServerSideEncryptionByDefault) HasSSEAlgorithm() bool

HasSSEAlgorithm returns a boolean if a field has been set.

func (ServerSideEncryptionByDefault) MarshalJSON added in v1.1.0

func (o ServerSideEncryptionByDefault) MarshalJSON() ([]byte, error)

func (*ServerSideEncryptionByDefault) SetSSEAlgorithm added in v1.1.0

SetSSEAlgorithm sets field value

type ServerSideEncryptionConfiguration added in v1.1.0

type ServerSideEncryptionConfiguration struct {
	XMLName xml.Name                    `xml:"ServerSideEncryptionConfiguration"`
	Rules   *[]ServerSideEncryptionRule `json:"Rules" xml:"Rule"`
}

ServerSideEncryptionConfiguration Specifies the default server-side-encryption configuration.

func NewServerSideEncryptionConfiguration added in v1.1.0

func NewServerSideEncryptionConfiguration(rules []ServerSideEncryptionRule) *ServerSideEncryptionConfiguration

NewServerSideEncryptionConfiguration instantiates a new ServerSideEncryptionConfiguration 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 NewServerSideEncryptionConfigurationWithDefaults added in v1.1.0

func NewServerSideEncryptionConfigurationWithDefaults() *ServerSideEncryptionConfiguration

NewServerSideEncryptionConfigurationWithDefaults instantiates a new ServerSideEncryptionConfiguration 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 (*ServerSideEncryptionConfiguration) GetRules added in v1.1.0

GetRules returns the Rules field value If the value is explicit nil, the zero value for []ServerSideEncryptionRule will be returned

func (*ServerSideEncryptionConfiguration) GetRulesOk added in v1.1.0

GetRulesOk returns a tuple with the Rules field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ServerSideEncryptionConfiguration) HasRules added in v1.1.0

HasRules returns a boolean if a field has been set.

func (ServerSideEncryptionConfiguration) MarshalJSON added in v1.1.0

func (o ServerSideEncryptionConfiguration) MarshalJSON() ([]byte, error)

func (*ServerSideEncryptionConfiguration) SetRules added in v1.1.0

SetRules sets field value

type ServerSideEncryptionRule added in v1.1.0

type ServerSideEncryptionRule struct {
	XMLName                            xml.Name                       `xml:"Rule"`
	ApplyServerSideEncryptionByDefault *ServerSideEncryptionByDefault `json:"ApplyServerSideEncryptionByDefault,omitempty" xml:"ApplyServerSideEncryptionByDefault"`
}

ServerSideEncryptionRule Specifies the default server-side encryption configuration.

func NewServerSideEncryptionRule added in v1.1.0

func NewServerSideEncryptionRule() *ServerSideEncryptionRule

NewServerSideEncryptionRule instantiates a new ServerSideEncryptionRule 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 NewServerSideEncryptionRuleWithDefaults added in v1.1.0

func NewServerSideEncryptionRuleWithDefaults() *ServerSideEncryptionRule

NewServerSideEncryptionRuleWithDefaults instantiates a new ServerSideEncryptionRule 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 (*ServerSideEncryptionRule) GetApplyServerSideEncryptionByDefault added in v1.1.0

func (o *ServerSideEncryptionRule) GetApplyServerSideEncryptionByDefault() *ServerSideEncryptionByDefault

GetApplyServerSideEncryptionByDefault returns the ApplyServerSideEncryptionByDefault field value If the value is explicit nil, the zero value for ServerSideEncryptionByDefault will be returned

func (*ServerSideEncryptionRule) GetApplyServerSideEncryptionByDefaultOk added in v1.1.0

func (o *ServerSideEncryptionRule) GetApplyServerSideEncryptionByDefaultOk() (*ServerSideEncryptionByDefault, bool)

GetApplyServerSideEncryptionByDefaultOk returns a tuple with the ApplyServerSideEncryptionByDefault field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ServerSideEncryptionRule) HasApplyServerSideEncryptionByDefault added in v1.1.0

func (o *ServerSideEncryptionRule) HasApplyServerSideEncryptionByDefault() bool

HasApplyServerSideEncryptionByDefault returns a boolean if a field has been set.

func (ServerSideEncryptionRule) MarshalJSON added in v1.1.0

func (o ServerSideEncryptionRule) MarshalJSON() ([]byte, error)

func (*ServerSideEncryptionRule) SetApplyServerSideEncryptionByDefault added in v1.1.0

func (o *ServerSideEncryptionRule) SetApplyServerSideEncryptionByDefault(v ServerSideEncryptionByDefault)

SetApplyServerSideEncryptionByDefault sets field value

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type StorageClass added in v1.1.0

type StorageClass string

StorageClass Currently, only one storage class is available – `STANDARD`.

const (
	STORAGECLASS_STANDARD StorageClass = "STANDARD"
)

List of StorageClass

func (StorageClass) Ptr added in v1.1.0

func (v StorageClass) Ptr() *StorageClass

Ptr returns reference to StorageClass value

func (*StorageClass) UnmarshalJSON added in v1.1.0

func (v *StorageClass) UnmarshalJSON(src []byte) error

type Tag

type Tag struct {
	XMLName xml.Name `xml:"Tag"`
	// The object key.
	Key *string `json:"Key" xml:"Key"`
	// Value of the tag.
	Value *string `json:"Value" xml:"Value"`
}

Tag A container of a key value name pair.

func NewTag

func NewTag(key string, value string) *Tag

NewTag instantiates a new Tag 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 NewTagWithDefaults

func NewTagWithDefaults() *Tag

NewTagWithDefaults instantiates a new Tag 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 (*Tag) GetKey

func (o *Tag) GetKey() *string

GetKey returns the Key field value If the value is explicit nil, the zero value for string will be returned

func (*Tag) GetKeyOk

func (o *Tag) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Tag) GetValue

func (o *Tag) GetValue() *string

GetValue returns the Value field value If the value is explicit nil, the zero value for string will be returned

func (*Tag) GetValueOk

func (o *Tag) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Tag) HasKey

func (o *Tag) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*Tag) HasValue

func (o *Tag) HasValue() bool

HasValue returns a boolean if a field has been set.

func (Tag) MarshalJSON

func (o Tag) MarshalJSON() ([]byte, error)

func (*Tag) SetKey

func (o *Tag) SetKey(v string)

SetKey sets field value

func (*Tag) SetValue

func (o *Tag) SetValue(v string)

SetValue sets field value

type TaggingApiService

type TaggingApiService service

TaggingApiService TaggingApi service

func (*TaggingApiService) DeleteBucketTagging

func (a *TaggingApiService) DeleteBucketTagging(ctx context.Context, bucket string) ApiDeleteBucketTaggingRequest

DeleteBucketTagging DeleteBucketTagging

<p>Deletes the tags from the bucket.</p> <p>To use this operation, you must have permission to perform the `PutBucketTagging` operation. By default, the bucket owner has this permission and can grant this permission to others.</p>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiDeleteBucketTaggingRequest

func (*TaggingApiService) DeleteBucketTaggingExecute

func (a *TaggingApiService) DeleteBucketTaggingExecute(r ApiDeleteBucketTaggingRequest) (*APIResponse, error)

Execute executes the request

func (*TaggingApiService) DeleteObjectTagging

func (a *TaggingApiService) DeleteObjectTagging(ctx context.Context, bucket string, key string) ApiDeleteObjectTaggingRequest

DeleteObjectTagging DeleteObjectTagging

<p>Removes the entire tag set from the specified object.</p> <p>To use this operation, you must have permission to perform the `DeleteObjectTagging` operation.</p> <p>To delete tags of a specific object version, add the `versionId` query parameter in the request. You will need permission for the `DeleteObjectVersionTagging` operation.</p>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@param key The key that identifies the object in the bucket from which to remove all tags.
@return ApiDeleteObjectTaggingRequest

func (*TaggingApiService) DeleteObjectTaggingExecute

func (a *TaggingApiService) DeleteObjectTaggingExecute(r ApiDeleteObjectTaggingRequest) (map[string]interface{}, *APIResponse, error)

Execute executes the request

@return map[string]interface{}

func (*TaggingApiService) GetBucketTagging

func (a *TaggingApiService) GetBucketTagging(ctx context.Context, bucket string) ApiGetBucketTaggingRequest

GetBucketTagging GetBucketTagging

<p>Returns the tag set associated with the bucket.</p> <p>To use this operation, you must have permission to perform the `GetBucketTagging` operation. By default, the bucket owner has this permission and can grant this permission to others.</p> <p> `GetBucketTagging` has the following special error:</p> <ul> <li> <p>Error code: `NoSuchTagSetError` </p> <ul> <li> <p>Description: There is no tag set associated with the bucket.</p> </li> </ul> </li> </ul>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiGetBucketTaggingRequest

func (*TaggingApiService) GetBucketTaggingExecute

Execute executes the request

@return GetBucketTaggingOutput

func (*TaggingApiService) GetObjectTagging

func (a *TaggingApiService) GetObjectTagging(ctx context.Context, bucket string, key string) ApiGetObjectTaggingRequest

GetObjectTagging GetObjectTagging

<p>Returns the tag-set of an object. You send the GET request against the tagging subresource associated with the object.</p> <p>To use this operation, you must have permission to perform the `GetObjectTagging` operation. By default, the GET operation returns information about current version of an object. For a versioned bucket, you can have multiple versions of an object in your bucket. To retrieve tags of any other version, use the versionId query parameter. You also need permission for the `GetObjectVersionTagging` operation.</p> <p> By default, the bucket owner has this permission and can grant this permission to others.</p>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@param key Object key for which to get the tagging information.
@return ApiGetObjectTaggingRequest

func (*TaggingApiService) GetObjectTaggingExecute

Execute executes the request

@return GetObjectTaggingOutput

func (*TaggingApiService) PutBucketTagging

func (a *TaggingApiService) PutBucketTagging(ctx context.Context, bucket string) ApiPutBucketTaggingRequest

PutBucketTagging PutBucketTagging

<p>Sets the tags for a bucket.</p> <note> <p> When this operation sets the tags for a bucket, it will overwrite any current tags the bucket already has. You cannot use this operation to add tags to an existing list of tags.</p> </note> <p>To use this operation, you must have permissions to perform the `PutBucketTagging` operation. The bucket owner has this permission by default and can grant this permission to others. </p> <p> `PutBucketTagging` has the following special errors:</p> <ul> <li> <p>Error code: `InvalidTagError` </p> <ul> <li> <p>Description: The tag provided was not a valid tag. This error can occur if the tag did not pass input validation. </p> </li> </ul> </li> <li> <p>Error code: `MalformedXMLError` </p> <ul> <li> <p>Description: The XML provided does not match the schema.</p> </li> </ul> </li> <li> <p>Error code: `OperationAbortedError ` </p> <ul> <li> <p>Description: A conflicting conditional operation is currently in progress against this resource. Please try again.</p> </li> </ul> </li> <li> <p>Error code: `InternalError` </p> <ul> <li> <p>Description: The service was unable to apply the provided tag to the bucket.</p> </li> </ul> </li> </ul>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiPutBucketTaggingRequest

func (*TaggingApiService) PutBucketTaggingExecute

func (a *TaggingApiService) PutBucketTaggingExecute(r ApiPutBucketTaggingRequest) (*APIResponse, error)

Execute executes the request

func (*TaggingApiService) PutObjectTagging

func (a *TaggingApiService) PutObjectTagging(ctx context.Context, bucket string, key string) ApiPutObjectTaggingRequest

PutObjectTagging PutObjectTagging

<p>Sets the supplied tag-set to an object that already exists in a bucket.</p> <p>A tag is a key-value pair. You can associate tags with an object by sending a PUT request against the tagging subresource that is associated with the object. You can retrieve tags by sending a GET request.</p> <p>Note that IONOS S3 Object Storage limits the maximum number of tags to 10 tags per object.</p> <p>To use this operation, you must have permission to perform the `PutObjectTagging` operation. By default, the bucket owner has this permission and can grant this permission to others.</p> <p>To put tags of any other version, use the `versionId` query parameter. You also need permission for the `PutObjectVersionTagging` operation.</p> <p class="title"> <b>Special Errors</b> </p> <ul> <li> <ul> <li> <p> <i>Code: InvalidTagError </i> </p> </li> <li> <p> <i>Cause: The tag provided was not a valid tag. This error can occur if the tag did not pass input validation.</i> </p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code: MalformedXMLError </i> </p> </li> <li> <p> <i>Cause: The XML provided does not match the schema.</i> </p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code: OperationAbortedError </i> </p> </li> <li> <p> <i>Cause: A conflicting conditional operation is currently in progress against this resource. Please try again.</i> </p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code: InternalError</i> </p> </li> <li> <p> <i>Cause: The service was unable to apply the provided tag to the object.</i> </p> </li> </ul> </li> </ul>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@param key Name of the object key.
@return ApiPutObjectTaggingRequest

func (*TaggingApiService) PutObjectTaggingExecute

func (a *TaggingApiService) PutObjectTaggingExecute(r ApiPutObjectTaggingRequest) (map[string]interface{}, *APIResponse, error)

Execute executes the request

@return map[string]interface{}

type UploadPartCopyOutput added in v1.1.0

type UploadPartCopyOutput struct {
	XMLName        xml.Name        `xml:"UploadPartCopyOutput"`
	CopyPartResult *CopyPartResult `json:"CopyPartResult,omitempty" xml:"CopyPartResult"`
}

UploadPartCopyOutput struct for UploadPartCopyOutput

func NewUploadPartCopyOutput added in v1.1.0

func NewUploadPartCopyOutput() *UploadPartCopyOutput

NewUploadPartCopyOutput instantiates a new UploadPartCopyOutput 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 NewUploadPartCopyOutputWithDefaults added in v1.1.0

func NewUploadPartCopyOutputWithDefaults() *UploadPartCopyOutput

NewUploadPartCopyOutputWithDefaults instantiates a new UploadPartCopyOutput 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 (*UploadPartCopyOutput) GetCopyPartResult added in v1.1.0

func (o *UploadPartCopyOutput) GetCopyPartResult() *CopyPartResult

GetCopyPartResult returns the CopyPartResult field value If the value is explicit nil, the zero value for CopyPartResult will be returned

func (*UploadPartCopyOutput) GetCopyPartResultOk added in v1.1.0

func (o *UploadPartCopyOutput) GetCopyPartResultOk() (*CopyPartResult, bool)

GetCopyPartResultOk returns a tuple with the CopyPartResult field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UploadPartCopyOutput) HasCopyPartResult added in v1.1.0

func (o *UploadPartCopyOutput) HasCopyPartResult() bool

HasCopyPartResult returns a boolean if a field has been set.

func (UploadPartCopyOutput) MarshalJSON added in v1.1.0

func (o UploadPartCopyOutput) MarshalJSON() ([]byte, error)

func (*UploadPartCopyOutput) SetCopyPartResult added in v1.1.0

func (o *UploadPartCopyOutput) SetCopyPartResult(v CopyPartResult)

SetCopyPartResult sets field value

type UploadPartRequest

type UploadPartRequest struct {
	XMLName xml.Name `xml:"UploadPartRequest"`
	// Object data.
	Body *string `json:"Body,omitempty" xml:"Body"`
}

UploadPartRequest struct for UploadPartRequest

func NewUploadPartRequest

func NewUploadPartRequest() *UploadPartRequest

NewUploadPartRequest instantiates a new UploadPartRequest 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 NewUploadPartRequestWithDefaults

func NewUploadPartRequestWithDefaults() *UploadPartRequest

NewUploadPartRequestWithDefaults instantiates a new UploadPartRequest 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 (*UploadPartRequest) GetBody

func (o *UploadPartRequest) GetBody() *string

GetBody returns the Body field value If the value is explicit nil, the zero value for string will be returned

func (*UploadPartRequest) GetBodyOk

func (o *UploadPartRequest) GetBodyOk() (*string, bool)

GetBodyOk returns a tuple with the Body field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UploadPartRequest) HasBody

func (o *UploadPartRequest) HasBody() bool

HasBody returns a boolean if a field has been set.

func (UploadPartRequest) MarshalJSON

func (o UploadPartRequest) MarshalJSON() ([]byte, error)

func (*UploadPartRequest) SetBody

func (o *UploadPartRequest) SetBody(v string)

SetBody sets field value

type UploadsApiService added in v1.1.0

type UploadsApiService service

UploadsApiService UploadsApi service

func (*UploadsApiService) AbortMultipartUpload added in v1.1.0

func (a *UploadsApiService) AbortMultipartUpload(ctx context.Context, bucket string, key string) ApiAbortMultipartUploadRequest

AbortMultipartUpload AbortMultipartUpload

<p>This operation aborts a multipart upload. After a multipart upload is aborted, no additional parts can be uploaded using that upload ID. The storage consumed by any previously uploaded parts will be freed. However, if any part uploads are currently in progress, those part uploads might or might not succeed. As a result, it might be necessary to abort a given multipart upload multiple times in order to completely free all storage consumed by all parts. </p>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@param key Key of the object for which the multipart upload was initiated. <p> **Possible values:** length ≥ 1 </p>
@return ApiAbortMultipartUploadRequest

func (*UploadsApiService) AbortMultipartUploadExecute added in v1.1.0

func (a *UploadsApiService) AbortMultipartUploadExecute(r ApiAbortMultipartUploadRequest) (map[string]interface{}, *APIResponse, error)

Execute executes the request

@return map[string]interface{}

func (*UploadsApiService) CompleteMultipartUpload added in v1.1.0

func (a *UploadsApiService) CompleteMultipartUpload(ctx context.Context, bucket string, key string) ApiCompleteMultipartUploadRequest

CompleteMultipartUpload CompleteMultipartUpload

<p>Completes a multipart upload by assembling previously uploaded parts.</p> <p>After successfully uploading all relevant parts of an upload, you call this operation to complete the upload. When IONOS S3 Object Storage receives this request, it concatenates all the parts in ascending order by part number to create a new object. The parts list must be included in the Complete Multipart Upload request. You must ensure that the parts list is complete. This operation concatenates the parts that you provide in the list. For each part in the list, you must provide the part number and the `ETag` value, returned after that part was uploaded.</p> <p>A Complete Multipart Upload request could take several minutes to process. After IONOS S3 Object Storage begins processing the request, it sends an HTTP response header indicating a 200 OK response. While processing is in progress, IONOS S3 Object Storage sends white space characters on a regular basis to keep the connection from timing out. Because a request may fail after receiving the initial 200 OK response, it is advisable to check the response body to establish whether the request was successful.</p> <p> `CompleteMultipartUpload` has the following special errors:</p> <ul> <li> <p>Error code: `EntityTooSmall` </p> <ul> <li> <p>Description: Your proposed upload is smaller than the minimum allowed object size. Each part must be at least 5 MB in size, except the last part.</p> </li> <li> <p>400 Bad Request</p> </li> </ul> </li> <li> <p>Error code: `InvalidPart` </p> <ul> <li> <p>Description: One or more of the specified parts could not be found. The part might not have been uploaded, or the specified entity tag might not have matched the part's entity tag.</p> </li> <li> <p>400 Bad Request</p> </li> </ul> </li> <li> <p>Error code: `InvalidPartOrder` </p> <ul> <li> <p>Description: The list of parts was not in ascending order. The parts list must be specified in order by part number.</p> </li> <li> <p>400 Bad Request</p> </li> </ul> </li> <li> <p>Error code: `NoSuchUpload` </p> <ul> <li> <p>Description: The specified multipart upload does not exist. The upload ID might be invalid, or the multipart upload might have been aborted or completed.</p> </li> <li> <p>404 Not Found</p> </li> </ul> </li> </ul>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@param key Object key for which the multipart upload was initiated.
@return ApiCompleteMultipartUploadRequest

func (*UploadsApiService) CompleteMultipartUploadExecute added in v1.1.0

Execute executes the request

@return CompleteMultipartUploadOutput

func (*UploadsApiService) CreateMultipartUpload added in v1.1.0

func (a *UploadsApiService) CreateMultipartUpload(ctx context.Context, bucket string, key string) ApiCreateMultipartUploadRequest

CreateMultipartUpload CreateMultipartUpload

<p>This operation initiates a multipart upload and returns an upload ID. This upload ID is used to associate all of the parts in the specific multipart upload. You specify this upload ID in each of your subsequent upload part requests. You also include this upload ID in the final request to either complete or abort the multipart upload request.</p>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@param key Object key for which the multipart upload is to be initiated.
@return ApiCreateMultipartUploadRequest

func (*UploadsApiService) CreateMultipartUploadExecute added in v1.1.0

Execute executes the request

@return CreateMultipartUploadOutput

func (*UploadsApiService) ListMultipartUploads added in v1.1.0

func (a *UploadsApiService) ListMultipartUploads(ctx context.Context, bucket string) ApiListMultipartUploadsRequest

ListMultipartUploads ListMultipartUploads

<p>This operation lists in-progress multipart uploads. An in-progress multipart upload is a multipart upload that has been initiated using the Initiate Multipart Upload request, but has not yet been completed or aborted.</p> <p>This operation returns at most 1,000 multipart uploads in the response. 1,000 multipart uploads is the maximum number of uploads a response can include, which is also the default value. You can further limit the number of uploads in a response by specifying the `max-uploads` parameter in the response. If additional multipart uploads satisfy the list criteria, the response will contain an `IsTruncated` element with the value true. To list the additional multipart uploads, use the `key-marker` and `upload-id-marker` request parameters.</p> <p>In the response, the uploads are sorted by key. If your application has initiated more than one multipart upload using the same object key, then uploads in the response are first sorted by key. Additionally, uploads are sorted in ascending order within each key by the upload initiation time.</p>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiListMultipartUploadsRequest

func (*UploadsApiService) ListMultipartUploadsExecute added in v1.1.0

Execute executes the request

@return ListMultipartUploadsOutput

func (*UploadsApiService) ListParts added in v1.1.0

func (a *UploadsApiService) ListParts(ctx context.Context, bucket string, key string) ApiListPartsRequest

ListParts ListParts

<p>Lists the parts that have been uploaded for a specific multipart upload. This operation must include the upload ID, which you obtain by sending the initiate multipart upload request. This request returns a maximum of 1,000 uploaded parts. The default number of parts returned is 1,000 parts. You can restrict the number of parts returned by specifying the `max-parts` request parameter. If your multipart upload consists of more than 1,000 parts, the response returns an `IsTruncated` field with the value of true, and a `NextPartNumberMarker` element. In subsequent `ListParts` requests you can include the part-number-marker query string parameter and set its value to the `NextPartNumberMarker` field value from the previous response.</p>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@param key Object key for which the multipart upload was initiated.
@return ApiListPartsRequest

func (*UploadsApiService) ListPartsExecute added in v1.1.0

Execute executes the request

@return ListPartsOutput

func (*UploadsApiService) UploadPart added in v1.1.0

func (a *UploadsApiService) UploadPart(ctx context.Context, bucket string, key string) ApiUploadPartRequest

UploadPart UploadPart

<p>Uploads a part in a multipart upload.</p> <note> <p>In this operation, you provide part data in your request. However, you have an option to specify your existing IONOS S3 Object Storage object as a data source for the part you are uploading. To upload a part from an existing object, you use the `UploadPartCopy` operation. </p> </note> <p>You must initiate a multipart upload (see `CreateMultipartUpload`) before you can upload any part. In response to your initiate request, IONOS S3 Object Storage returns an upload ID, a unique identifier, that you must include in your upload part request.</p> <p>Part numbers can be any number from 1 to 10,000, inclusive. A part number uniquely identifies a part and also defines its position within the object being created. If you upload a new part using the same part number that was used with a previous part, the previously uploaded part is overwritten. Each part must be at least 5 MB in size, except the last part. There is no size limit on the last part of your multipart upload.</p> <p>To ensure that data is not corrupted when traversing the network, specify the `Content-MD5` header in the upload part request. IONOS S3 Object Storage checks the part data against the provided MD5 value. If they do not match, IONOS S3 Object Storage returns an error. </p> <p>If the upload request is signed with Signature Version 4, then IONOS S3 Object Storage S3 uses the `x-amz-content-sha256` header as a checksum instead of `Content-MD5`. </p> <p> <b>Note:</b> After you initiate multipart upload and upload one or more parts, you must either complete or abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after you either complete or abort multipart upload, IONOS S3 Object Storage frees up the parts storage and stops charging you for the parts storage.</p>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@param key Object key for which the multipart upload was initiated.
@return ApiUploadPartRequest

func (*UploadsApiService) UploadPartCopy added in v1.1.0

func (a *UploadsApiService) UploadPartCopy(ctx context.Context, bucket string, key string) ApiUploadPartCopyRequest

UploadPartCopy UploadPartCopy

<p>Uploads a part by copying data from an existing object as data source. You specify the data source by adding the request header `x-amz-copy-source` in your request and a byte range by adding the request header `x-amz-copy-source-range` in your request. </p> <p>The minimum allowable part size for a multipart upload is 5 MB.</p> <note> <p>Instead of using an existing object as part data, you might use the `UploadPart` operation and provide data in your request.</p> </note> <p>You must initiate a multipart upload before you can upload any part. In response to your initiate request. IONOS S3 Object Storage returns a unique identifier, the upload ID, that you must include in your upload part request.</p>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@param key Object key for which the multipart upload was initiated.
@return ApiUploadPartCopyRequest

func (*UploadsApiService) UploadPartCopyExecute added in v1.1.0

Execute executes the request

@return UploadPartCopyOutput

func (*UploadsApiService) UploadPartExecute added in v1.1.0

func (a *UploadsApiService) UploadPartExecute(r ApiUploadPartRequest) (map[string]interface{}, *APIResponse, error)

Execute executes the request

@return map[string]interface{}

type VersioningApiService added in v1.1.0

type VersioningApiService service

VersioningApiService VersioningApi service

func (*VersioningApiService) GetBucketVersioning added in v1.1.0

func (a *VersioningApiService) GetBucketVersioning(ctx context.Context, bucket string) ApiGetBucketVersioningRequest

GetBucketVersioning GetBucketVersioning

Returns the versioning state of a bucket.

#### Permissions You must be the contract owner or an administrator to perform this operation. If not, they can grant you permission to perform the `s3:GetBucketVersioning` operation using [Bucket Policy](#tag/Policy/operation/PutBucketPolicy).

#### S3 API Compatibility - The `x-amz-expected-bucket-owner` header isn't supported.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiGetBucketVersioningRequest

func (*VersioningApiService) GetBucketVersioningExecute added in v1.1.0

Execute executes the request

@return GetBucketVersioningOutput

func (*VersioningApiService) PutBucketVersioning added in v1.1.0

func (a *VersioningApiService) PutBucketVersioning(ctx context.Context, bucket string) ApiPutBucketVersioningRequest

PutBucketVersioning PutBucketVersioning

Configures the versioning state of an S3 bucket. Versioning allows keeping multiple variants of an object in the same bucket.

The versioning state can be one of the following: - `Enabled`: Activates versioning for the bucket. All objects added receive a unique version ID. - `Suspended`: Deactivates versioning. New objects get a null version ID. However, previously created version IDs persist.

#### Lifecycle configuration for versioned buckets With Versioning, a bucket maintains one current version of an object and potentially multiple noncurrent (previous) versions, requiring additional management to handle noncurrent object version deletions using a Lifecycle Configuration.

#### Permissions You must be the contract owner or an administrator to perform this operation. If not, they can grant you permission to perform the `s3:PutBucketVersioning` operation using [Bucket Policy](#tag/Policy/operation/PutBucketPolicy).

#### S3 API Compatibility - The `x-amz-mfa` header is not supported. - The `MfaDelete` setting is ignored in the PUT request.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiPutBucketVersioningRequest

func (*VersioningApiService) PutBucketVersioningExecute added in v1.1.0

func (a *VersioningApiService) PutBucketVersioningExecute(r ApiPutBucketVersioningRequest) (*APIResponse, error)

Execute executes the request

type VersionsApiService added in v1.1.0

type VersionsApiService service

VersionsApiService VersionsApi service

func (*VersionsApiService) ListObjectVersions added in v1.1.0

func (a *VersionsApiService) ListObjectVersions(ctx context.Context, bucket string) ApiListObjectVersionsRequest

ListObjectVersions ListObjectVersions

<p>Returns metadata about all versions of the objects in a bucket. You can also use request parameters as selection criteria to return metadata about a subset of all the object versions.</p> <important> <p> To use this operation, you must have permissions to perform the `ListBucketVersions` operation. Be aware of the name difference. </p> </important> <note> <p> A 200 OK response can contain valid or invalid XML. Make sure to design your application to parse the contents of the response and handle it appropriately.</p> </note> <p>To use this operation, you must have READ access to the bucket.</p>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiListObjectVersionsRequest

func (*VersionsApiService) ListObjectVersionsExecute added in v1.1.0

Execute executes the request

@return ListObjectVersionsOutput

type WebsiteApiService added in v1.1.0

type WebsiteApiService service

WebsiteApiService WebsiteApi service

func (*WebsiteApiService) DeleteBucketWebsite added in v1.1.0

func (a *WebsiteApiService) DeleteBucketWebsite(ctx context.Context, bucket string) ApiDeleteBucketWebsiteRequest

DeleteBucketWebsite DeleteBucketWebsite

<p>This operation removes the website configuration for a bucket. IONOS S3 Object Storage returns a `200 OK` response upon successfully deleting a website configuration on the specified bucket. You will get a `200 OK` response if the website configuration you are trying to delete does not exist on the bucket. IONOS S3 Object Storage returns a `404` response if the bucket specified in the request does not exist.</p> <p>This DELETE operation requires the `DeleteBucketWebsite` permission. By default, only the bucket owner can delete the website configuration attached to a bucket. However, bucket owners can grant other users permission to delete the website configuration by writing a bucket policy granting them the `DeleteBucketWebsite` permission.</p>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiDeleteBucketWebsiteRequest

func (*WebsiteApiService) DeleteBucketWebsiteExecute added in v1.1.0

func (a *WebsiteApiService) DeleteBucketWebsiteExecute(r ApiDeleteBucketWebsiteRequest) (*APIResponse, error)

Execute executes the request

func (*WebsiteApiService) GetBucketWebsite added in v1.1.0

func (a *WebsiteApiService) GetBucketWebsite(ctx context.Context, bucket string) ApiGetBucketWebsiteRequest

GetBucketWebsite GetBucketWebsite

<p>Returns the website configuration for a bucket. </p> <p>This GET operation requires the `GetBucketWebsite` permission. By default, only the bucket owner can read the bucket website configuration. However, bucket owners can allow other users to read the website configuration by writing a bucket policy granting them the `GetBucketWebsite` permission.</p>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiGetBucketWebsiteRequest

func (*WebsiteApiService) GetBucketWebsiteExecute added in v1.1.0

Execute executes the request

@return GetBucketWebsiteOutput

func (*WebsiteApiService) PutBucketWebsite added in v1.1.0

func (a *WebsiteApiService) PutBucketWebsite(ctx context.Context, bucket string) ApiPutBucketWebsiteRequest

PutBucketWebsite PutBucketWebsite

<p>Sets the configuration of the website that is specified in the `website` subresource. To configure a bucket as a website, you can add this subresource on the bucket with website configuration information such as the file name of the index document and any redirect rules. </p> <p>This PUT operation requires the `PutBucketWebsite` permission. By default, only the bucket owner can configure the website attached to a bucket; however, bucket owners can allow other users to set the website configuration by writing a bucket policy that grants them the `PutBucketWebsite` permission.</p> <p>To redirect all website requests sent to the bucket's website endpoint, you add a website configuration with the following elements. Because all requests are sent to another website, you don't need to provide index document name for the bucket.</p> <ul> <li> <p> `WebsiteConfiguration` </p> </li> <li> <p> `RedirectAllRequestsTo` </p> </li> <li> <p> `HostName` </p> </li> <li> <p> `Protocol` </p> </li> </ul> <p>If you want granular control over redirects, you can use the following elements to add routing rules that describe conditions for redirecting requests and information about the redirect destination. In this case, the website configuration must provide an index document for the bucket, because some requests might not be redirected. </p> <ul> <li> <p> `WebsiteConfiguration` </p> </li> <li> <p> `IndexDocument` </p> </li> <li> <p> `Suffix` </p> </li> <li> <p> `ErrorDocument` </p> </li> <li> <p> `Key` </p> </li> <li> <p> `RoutingRules` </p> </li> <li> <p> `RoutingRule` </p> </li> <li> <p> `Condition` </p> </li> <li> <p> `HttpErrorCodeReturnedEquals` </p> </li> <li> <p> `KeyPrefixEquals` </p> </li> <li> <p> `Redirect` </p> </li> <li> <p> `Protocol` </p> </li> <li> <p> `HostName` </p> </li> <li> <p> `ReplaceKeyPrefixWith` </p> </li> <li> <p> `ReplaceKeyWith` </p> </li> <li> <p> `HttpRedirectCode` </p> </li> </ul>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bucket
@return ApiPutBucketWebsiteRequest

func (*WebsiteApiService) PutBucketWebsiteExecute added in v1.1.0

func (a *WebsiteApiService) PutBucketWebsiteExecute(r ApiPutBucketWebsiteRequest) (*APIResponse, error)

Execute executes the request

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL