ionoscloud

package module
v1.1.0 Latest Latest
Warning

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

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

README

Go API client for ionoscloud

Overview

The IONOS 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 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-object-storage"

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"
	IonosApiUrlEnvVar   = "IONOS_API_URL"

	DefaultIonosServerUrl = "https://s3.eu-central-3.ionoscloud.com"
	DefaultIonosBasePath  = ""
)

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

type AbortIncompleteMultipartUpload struct {
	XMLName xml.Name `xml:"AbortIncompleteMultipartUpload"`
	// Specifies the number of days after which IONOS 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 Object Storage will wait before permanently removing all parts of the upload.

func NewAbortIncompleteMultipartUpload

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

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

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

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

func (o *AbortIncompleteMultipartUpload) HasDaysAfterInitiation() bool

HasDaysAfterInitiation returns a boolean if a field has been set.

func (AbortIncompleteMultipartUpload) MarshalJSON

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

func (*AbortIncompleteMultipartUpload) SetDaysAfterInitiation

func (o *AbortIncompleteMultipartUpload) SetDaysAfterInitiation(v int32)

SetDaysAfterInitiation sets field value

type ApiAbortMultipartUploadRequest

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

func (ApiAbortMultipartUploadRequest) Execute

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

func (ApiAbortMultipartUploadRequest) UploadId

Upload ID that identifies the multipart upload.

type ApiCompleteMultipartUploadRequest

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

func (ApiCompleteMultipartUploadRequest) Example

func (ApiCompleteMultipartUploadRequest) Execute

func (ApiCompleteMultipartUploadRequest) UploadId

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 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 Object Storage uses this header for a message integrity check to ensure that the encryption key was transmitted without error.

func (ApiCopyObjectRequest) XAmzMeta

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 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 Object Storage to use in encrypting data. This value is used to store the object and then it is discarded; IONOS 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 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 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 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

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

func (ApiCreateMultipartUploadRequest) CacheControl

Specifies caching behavior along the request/reply chain.

func (ApiCreateMultipartUploadRequest) ContentDisposition

func (r ApiCreateMultipartUploadRequest) ContentDisposition(contentDisposition string) ApiCreateMultipartUploadRequest

Specifies presentational information for the object.

func (ApiCreateMultipartUploadRequest) ContentEncoding

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

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

func (ApiCreateMultipartUploadRequest) Execute

func (ApiCreateMultipartUploadRequest) Expires

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

func (ApiCreateMultipartUploadRequest) Uploads

func (ApiCreateMultipartUploadRequest) XAmzMeta

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

func (ApiCreateMultipartUploadRequest) XAmzObjectLockLegalHold

func (r ApiCreateMultipartUploadRequest) XAmzObjectLockLegalHold(xAmzObjectLockLegalHold string) ApiCreateMultipartUploadRequest

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

func (ApiCreateMultipartUploadRequest) XAmzObjectLockMode

func (r ApiCreateMultipartUploadRequest) XAmzObjectLockMode(xAmzObjectLockMode string) ApiCreateMultipartUploadRequest

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

func (ApiCreateMultipartUploadRequest) XAmzObjectLockRetainUntilDate

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

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

func (ApiCreateMultipartUploadRequest) XAmzServerSideEncryption

func (r ApiCreateMultipartUploadRequest) XAmzServerSideEncryption(xAmzServerSideEncryption string) ApiCreateMultipartUploadRequest

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

func (ApiCreateMultipartUploadRequest) XAmzServerSideEncryptionCustomerAlgorithm

func (r ApiCreateMultipartUploadRequest) XAmzServerSideEncryptionCustomerAlgorithm(xAmzServerSideEncryptionCustomerAlgorithm string) ApiCreateMultipartUploadRequest

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

func (ApiCreateMultipartUploadRequest) XAmzServerSideEncryptionCustomerKey

func (r ApiCreateMultipartUploadRequest) XAmzServerSideEncryptionCustomerKey(xAmzServerSideEncryptionCustomerKey string) ApiCreateMultipartUploadRequest

Specifies the customer-provided encryption key for IONOS Object Storage to use in encrypting data. This value is used to store the object and then it is discarded; IONOS 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

func (r ApiCreateMultipartUploadRequest) XAmzServerSideEncryptionCustomerKeyMD5(xAmzServerSideEncryptionCustomerKeyMD5 string) ApiCreateMultipartUploadRequest

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

func (ApiCreateMultipartUploadRequest) XAmzStorageClass

func (r ApiCreateMultipartUploadRequest) XAmzStorageClass(xAmzStorageClass string) ApiCreateMultipartUploadRequest

IONOS 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

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 Object Storage stores the value of this header in the object metadata.

type ApiDeleteBucketCorsRequest

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

func (ApiDeleteBucketCorsRequest) Execute

type ApiDeleteBucketEncryptionRequest

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

func (ApiDeleteBucketEncryptionRequest) Execute

type ApiDeleteBucketLifecycleRequest

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

func (ApiDeleteBucketLifecycleRequest) Execute

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

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

func (ApiDeleteBucketWebsiteRequest) Execute

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

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

func (ApiGetBucketCorsRequest) Execute

type ApiGetBucketEncryptionRequest

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

func (ApiGetBucketEncryptionRequest) Execute

type ApiGetBucketLifecycleRequest

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

func (ApiGetBucketLifecycleRequest) Execute

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

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

func (ApiGetBucketReplicationRequest) Execute

func (ApiGetBucketReplicationRequest) Replication

type ApiGetBucketTaggingRequest

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

func (ApiGetBucketTaggingRequest) Execute

type ApiGetBucketVersioningRequest

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

func (ApiGetBucketVersioningRequest) Execute

type ApiGetBucketWebsiteRequest

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

func (ApiGetBucketWebsiteRequest) Execute

type ApiGetObjectLegalHoldRequest

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

func (ApiGetObjectLegalHoldRequest) Execute

func (ApiGetObjectLegalHoldRequest) VersionId

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

type ApiGetObjectLockConfigurationRequest

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

func (ApiGetObjectLockConfigurationRequest) Execute

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 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 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 Object Storage uses this header for a message integrity check to ensure that the encryption key was transmitted without error.

type ApiGetObjectRetentionRequest

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

func (ApiGetObjectRetentionRequest) Execute

func (ApiGetObjectRetentionRequest) VersionId

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 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 Object Storage to use in encrypting data. This value is used to store the object and then it is discarded; IONOS 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 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

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

func (ApiListMultipartUploadsRequest) Delimiter

<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

func (ApiListMultipartUploadsRequest) Execute

func (ApiListMultipartUploadsRequest) KeyMarker

<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

Pagination token

func (ApiListMultipartUploadsRequest) MaxUploads

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

Pagination limit

func (ApiListMultipartUploadsRequest) Prefix

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

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

func (r ApiListMultipartUploadsRequest) UploadIdMarker2(uploadIdMarker2 string) ApiListMultipartUploadsRequest

Pagination token

func (ApiListMultipartUploadsRequest) Uploads

type ApiListObjectVersionsRequest

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

func (ApiListObjectVersionsRequest) Delimiter

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

func (ApiListObjectVersionsRequest) Execute

func (ApiListObjectVersionsRequest) KeyMarker

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

func (ApiListObjectVersionsRequest) KeyMarker2

Pagination token

func (ApiListObjectVersionsRequest) 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. 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

Pagination limit

func (ApiListObjectVersionsRequest) Prefix

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

func (r ApiListObjectVersionsRequest) VersionIdMarker(versionIdMarker string) ApiListObjectVersionsRequest

Specifies the object version you want to start listing from.

func (ApiListObjectVersionsRequest) VersionIdMarker2

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 Object Storage to start listing from. IONOS 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 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 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 Object Storage starts listing after this specified key. StartAfter can be any key in the bucket.

type ApiListPartsRequest

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

func (ApiListPartsRequest) Execute

func (ApiListPartsRequest) MaxParts

func (r ApiListPartsRequest) MaxParts(maxParts int32) ApiListPartsRequest

Sets the maximum number of parts to return.

func (ApiListPartsRequest) PartNumberMarker

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

func (r ApiListPartsRequest) PartNumberMarker2(partNumberMarker2 string) ApiListPartsRequest

Pagination token

func (ApiListPartsRequest) UploadId

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 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 Object Storage (AES256).

func (ApiPOSTObjectRequest) XAmzServerSideEncryptionBucketKeyEnabled

func (r ApiPOSTObjectRequest) XAmzServerSideEncryptionBucketKeyEnabled(xAmzServerSideEncryptionBucketKeyEnabled bool) ApiPOSTObjectRequest

<p>Specifies whether IONOS Object Storage should use an S3 Bucket Key for object encryption with server-side encryption. Setting this header to `true` causes IONOS Object Storage to use an Object Storage 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 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 Object Storage to use in encrypting data. This value is used to store the object and then it is discarded; IONOS 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 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 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 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

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

func (ApiPutBucketCorsRequest) ContentMD5

func (r ApiPutBucketCorsRequest) ContentMD5(contentMD5 string) ApiPutBucketCorsRequest

func (ApiPutBucketCorsRequest) Execute

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

func (ApiPutBucketCorsRequest) PutBucketCorsRequest

func (r ApiPutBucketCorsRequest) PutBucketCorsRequest(putBucketCorsRequest PutBucketCorsRequest) ApiPutBucketCorsRequest

type ApiPutBucketEncryptionRequest

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

func (ApiPutBucketEncryptionRequest) Execute

func (ApiPutBucketEncryptionRequest) PutBucketEncryptionRequest

func (r ApiPutBucketEncryptionRequest) PutBucketEncryptionRequest(putBucketEncryptionRequest PutBucketEncryptionRequest) ApiPutBucketEncryptionRequest

type ApiPutBucketLifecycleRequest

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

func (ApiPutBucketLifecycleRequest) ContentMD5

func (ApiPutBucketLifecycleRequest) Execute

func (ApiPutBucketLifecycleRequest) PutBucketLifecycleRequest

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

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

func (ApiPutBucketVersioningRequest) ContentMD5

func (ApiPutBucketVersioningRequest) Execute

func (ApiPutBucketVersioningRequest) PutBucketVersioningRequest

func (r ApiPutBucketVersioningRequest) PutBucketVersioningRequest(putBucketVersioningRequest PutBucketVersioningRequest) ApiPutBucketVersioningRequest

type ApiPutBucketWebsiteRequest

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

func (ApiPutBucketWebsiteRequest) ContentMD5

func (ApiPutBucketWebsiteRequest) Execute

func (ApiPutBucketWebsiteRequest) PutBucketWebsiteRequest

func (r ApiPutBucketWebsiteRequest) PutBucketWebsiteRequest(putBucketWebsiteRequest PutBucketWebsiteRequest) ApiPutBucketWebsiteRequest

type ApiPutObjectLegalHoldRequest

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

func (ApiPutObjectLegalHoldRequest) ContentMD5

func (ApiPutObjectLegalHoldRequest) Execute

func (ApiPutObjectLegalHoldRequest) ObjectLegalHoldConfiguration

func (r ApiPutObjectLegalHoldRequest) ObjectLegalHoldConfiguration(objectLegalHoldConfiguration ObjectLegalHoldConfiguration) ApiPutObjectLegalHoldRequest

func (ApiPutObjectLegalHoldRequest) VersionId

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

type ApiPutObjectLockConfigurationRequest

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

func (ApiPutObjectLockConfigurationRequest) ContentMD5

func (ApiPutObjectLockConfigurationRequest) Execute

func (ApiPutObjectLockConfigurationRequest) PutObjectLockConfigurationRequest

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 Object Storage (AES256).

func (ApiPutObjectRequest) XAmzServerSideEncryptionContext

func (r ApiPutObjectRequest) XAmzServerSideEncryptionContext(xAmzServerSideEncryptionContext string) ApiPutObjectRequest

Specifies the IONOS 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 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 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

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

func (ApiPutObjectRetentionRequest) ContentMD5

func (ApiPutObjectRetentionRequest) Execute

func (ApiPutObjectRetentionRequest) PutObjectRetentionRequest

func (r ApiPutObjectRetentionRequest) PutObjectRetentionRequest(putObjectRetentionRequest PutObjectRetentionRequest) ApiPutObjectRetentionRequest

func (ApiPutObjectRetentionRequest) VersionId

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

func (ApiPutObjectRetentionRequest) XAmzBypassGovernanceRetention

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

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

func (ApiUploadPartCopyRequest) Execute

func (ApiUploadPartCopyRequest) PartNumber

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

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

func (ApiUploadPartCopyRequest) XAmzCopySource

func (r ApiUploadPartCopyRequest) XAmzCopySource(xAmzCopySource string) ApiUploadPartCopyRequest

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

func (ApiUploadPartCopyRequest) XAmzCopySourceIfMatch

func (r ApiUploadPartCopyRequest) XAmzCopySourceIfMatch(xAmzCopySourceIfMatch string) ApiUploadPartCopyRequest

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

func (ApiUploadPartCopyRequest) XAmzCopySourceIfModifiedSince

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

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

func (ApiUploadPartCopyRequest) XAmzCopySourceIfNoneMatch

func (r ApiUploadPartCopyRequest) XAmzCopySourceIfNoneMatch(xAmzCopySourceIfNoneMatch string) ApiUploadPartCopyRequest

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

func (ApiUploadPartCopyRequest) XAmzCopySourceIfUnmodifiedSince

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

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

func (ApiUploadPartCopyRequest) XAmzCopySourceRange

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

func (r ApiUploadPartCopyRequest) XAmzServerSideEncryptionCustomerAlgorithm(xAmzServerSideEncryptionCustomerAlgorithm string) ApiUploadPartCopyRequest

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

type ApiUploadPartRequest

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

func (ApiUploadPartRequest) ContentLength

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

func (r ApiUploadPartRequest) ContentMD5(contentMD5 string) ApiUploadPartRequest

func (ApiUploadPartRequest) Execute

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

func (ApiUploadPartRequest) PartNumber

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

func (r ApiUploadPartRequest) UploadId(uploadId string) ApiUploadPartRequest

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

func (ApiUploadPartRequest) UploadPartRequest

func (r ApiUploadPartRequest) UploadPartRequest(uploadPartRequest UploadPartRequest) ApiUploadPartRequest

func (ApiUploadPartRequest) XAmzServerSideEncryptionCustomerAlgorithm

func (r ApiUploadPartRequest) XAmzServerSideEncryptionCustomerAlgorithm(xAmzServerSideEncryptionCustomerAlgorithm string) ApiUploadPartRequest

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

func (ApiUploadPartRequest) XAmzServerSideEncryptionCustomerKey

func (r ApiUploadPartRequest) XAmzServerSideEncryptionCustomerKey(xAmzServerSideEncryptionCustomerKey string) ApiUploadPartRequest

Specifies the customer-provided encryption key for IONOS Object Storage to use in encrypting data. This value is used to store the object and then it is discarded; IONOS 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

func (r ApiUploadPartRequest) XAmzServerSideEncryptionCustomerKeyMD5(xAmzServerSideEncryptionCustomerKeyMD5 string) ApiUploadPartRequest

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. IONOS 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 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 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 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

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

Ptr returns reference to BucketVersioningStatus value

func (*BucketVersioningStatus) UnmarshalJSON

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 Object Storage bucket.

To create a bucket, you must register with IONOS 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

type CORSApiService service

CORSApiService CORSApi service

func (*CORSApiService) DeleteBucketCors

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

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

Execute executes the request

func (*CORSApiService) GetBucketCors

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

Execute executes the request

@return GetBucketCorsOutput

func (*CORSApiService) PutBucketCors

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

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

Execute executes the request

type CORSRule

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 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 Object Storage bucket.

func NewCORSRule

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (o *CORSRule) HasAllowedHeaders() bool

HasAllowedHeaders returns a boolean if a field has been set.

func (*CORSRule) HasAllowedMethods

func (o *CORSRule) HasAllowedMethods() bool

HasAllowedMethods returns a boolean if a field has been set.

func (*CORSRule) HasAllowedOrigins

func (o *CORSRule) HasAllowedOrigins() bool

HasAllowedOrigins returns a boolean if a field has been set.

func (*CORSRule) HasExposeHeaders

func (o *CORSRule) HasExposeHeaders() bool

HasExposeHeaders returns a boolean if a field has been set.

func (*CORSRule) HasID

func (o *CORSRule) HasID() bool

HasID returns a boolean if a field has been set.

func (*CORSRule) HasMaxAgeSeconds

func (o *CORSRule) HasMaxAgeSeconds() bool

HasMaxAgeSeconds returns a boolean if a field has been set.

func (CORSRule) MarshalJSON

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

func (*CORSRule) SetAllowedHeaders

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

SetAllowedHeaders sets field value

func (*CORSRule) SetAllowedMethods

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

SetAllowedMethods sets field value

func (*CORSRule) SetAllowedOrigins

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

SetAllowedOrigins sets field value

func (*CORSRule) SetExposeHeaders

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

SetExposeHeaders sets field value

func (*CORSRule) SetID

func (o *CORSRule) SetID(v int32)

SetID sets field value

func (*CORSRule) SetMaxAgeSeconds

func (o *CORSRule) SetMaxAgeSeconds(v int32)

SetMaxAgeSeconds sets field value

type CSVInput

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (o *CSVInput) HasAllowQuotedRecordDelimiter() bool

HasAllowQuotedRecordDelimiter returns a boolean if a field has been set.

func (*CSVInput) HasComments

func (o *CSVInput) HasComments() bool

HasComments returns a boolean if a field has been set.

func (*CSVInput) HasFieldDelimiter

func (o *CSVInput) HasFieldDelimiter() bool

HasFieldDelimiter returns a boolean if a field has been set.

func (*CSVInput) HasFileHeaderInfo

func (o *CSVInput) HasFileHeaderInfo() bool

HasFileHeaderInfo returns a boolean if a field has been set.

func (*CSVInput) HasQuoteCharacter

func (o *CSVInput) HasQuoteCharacter() bool

HasQuoteCharacter returns a boolean if a field has been set.

func (*CSVInput) HasQuoteEscapeCharacter

func (o *CSVInput) HasQuoteEscapeCharacter() bool

HasQuoteEscapeCharacter returns a boolean if a field has been set.

func (*CSVInput) HasRecordDelimiter

func (o *CSVInput) HasRecordDelimiter() bool

HasRecordDelimiter returns a boolean if a field has been set.

func (CSVInput) MarshalJSON

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

func (*CSVInput) SetAllowQuotedRecordDelimiter

func (o *CSVInput) SetAllowQuotedRecordDelimiter(v bool)

SetAllowQuotedRecordDelimiter sets field value

func (*CSVInput) SetComments

func (o *CSVInput) SetComments(v string)

SetComments sets field value

func (*CSVInput) SetFieldDelimiter

func (o *CSVInput) SetFieldDelimiter(v string)

SetFieldDelimiter sets field value

func (*CSVInput) SetFileHeaderInfo

func (o *CSVInput) SetFileHeaderInfo(v string)

SetFileHeaderInfo sets field value

func (*CSVInput) SetQuoteCharacter

func (o *CSVInput) SetQuoteCharacter(v string)

SetQuoteCharacter sets field value

func (*CSVInput) SetQuoteEscapeCharacter

func (o *CSVInput) SetQuoteEscapeCharacter(v string)

SetQuoteEscapeCharacter sets field value

func (*CSVInput) SetRecordDelimiter

func (o *CSVInput) SetRecordDelimiter(v string)

SetRecordDelimiter sets field value

type CSVOutput

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

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

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

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

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

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

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

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

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

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

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

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

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

func (o *CSVOutput) HasFieldDelimiter() bool

HasFieldDelimiter returns a boolean if a field has been set.

func (*CSVOutput) HasQuoteCharacter

func (o *CSVOutput) HasQuoteCharacter() bool

HasQuoteCharacter returns a boolean if a field has been set.

func (*CSVOutput) HasQuoteEscapeCharacter

func (o *CSVOutput) HasQuoteEscapeCharacter() bool

HasQuoteEscapeCharacter returns a boolean if a field has been set.

func (*CSVOutput) HasQuoteFields

func (o *CSVOutput) HasQuoteFields() bool

HasQuoteFields returns a boolean if a field has been set.

func (*CSVOutput) HasRecordDelimiter

func (o *CSVOutput) HasRecordDelimiter() bool

HasRecordDelimiter returns a boolean if a field has been set.

func (CSVOutput) MarshalJSON

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

func (*CSVOutput) SetFieldDelimiter

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

SetFieldDelimiter sets field value

func (*CSVOutput) SetQuoteCharacter

func (o *CSVOutput) SetQuoteCharacter(v string)

SetQuoteCharacter sets field value

func (*CSVOutput) SetQuoteEscapeCharacter

func (o *CSVOutput) SetQuoteEscapeCharacter(v string)

SetQuoteEscapeCharacter sets field value

func (*CSVOutput) SetQuoteFields

func (o *CSVOutput) SetQuoteFields(v string)

SetQuoteFields sets field value

func (*CSVOutput) SetRecordDelimiter

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

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

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

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

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

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

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

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

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

func (*CompleteMultipartUploadOutput) GetKeyOk

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

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

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

func (o *CompleteMultipartUploadOutput) HasBucket() bool

HasBucket returns a boolean if a field has been set.

func (*CompleteMultipartUploadOutput) HasETag

func (o *CompleteMultipartUploadOutput) HasETag() bool

HasETag returns a boolean if a field has been set.

func (*CompleteMultipartUploadOutput) HasKey

func (o *CompleteMultipartUploadOutput) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*CompleteMultipartUploadOutput) HasLocation

func (o *CompleteMultipartUploadOutput) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (CompleteMultipartUploadOutput) MarshalJSON

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

func (*CompleteMultipartUploadOutput) SetBucket

func (o *CompleteMultipartUploadOutput) SetBucket(v string)

SetBucket sets field value

func (*CompleteMultipartUploadOutput) SetETag

func (o *CompleteMultipartUploadOutput) SetETag(v string)

SetETag sets field value

func (*CompleteMultipartUploadOutput) SetKey

SetKey sets field value

func (*CompleteMultipartUploadOutput) SetLocation

func (o *CompleteMultipartUploadOutput) SetLocation(v string)

SetLocation sets field value

type CompletedPart

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

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

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

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

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

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

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

func (o *CompletedPart) HasETag() bool

HasETag returns a boolean if a field has been set.

func (*CompletedPart) HasPartNumber

func (o *CompletedPart) HasPartNumber() bool

HasPartNumber returns a boolean if a field has been set.

func (CompletedPart) MarshalJSON

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

func (*CompletedPart) SetETag

func (o *CompletedPart) SetETag(v string)

SetETag sets field value

func (*CompletedPart) SetPartNumber

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(hostUrl string) *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

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

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

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

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

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

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

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

func (o *CopyPartResult) HasETag() bool

HasETag returns a boolean if a field has been set.

func (*CopyPartResult) HasLastModified

func (o *CopyPartResult) HasLastModified() bool

HasLastModified returns a boolean if a field has been set.

func (CopyPartResult) MarshalJSON

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

func (*CopyPartResult) SetETag

func (o *CopyPartResult) SetETag(v string)

SetETag sets field value

func (*CopyPartResult) SetLastModified

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

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

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

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

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

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

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

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

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

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

func (o *CreateMultipartUploadOutput) HasBucket() bool

HasBucket returns a boolean if a field has been set.

func (*CreateMultipartUploadOutput) HasKey

func (o *CreateMultipartUploadOutput) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*CreateMultipartUploadOutput) HasUploadId

func (o *CreateMultipartUploadOutput) HasUploadId() bool

HasUploadId returns a boolean if a field has been set.

func (CreateMultipartUploadOutput) MarshalJSON

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

func (*CreateMultipartUploadOutput) SetBucket

func (o *CreateMultipartUploadOutput) SetBucket(v string)

SetBucket sets field value

func (*CreateMultipartUploadOutput) SetKey

func (o *CreateMultipartUploadOutput) SetKey(v string)

SetKey sets field value

func (*CreateMultipartUploadOutput) SetUploadId

func (o *CreateMultipartUploadOutput) SetUploadId(v string)

SetUploadId sets field value

type DefaultRetention

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

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

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

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

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

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

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

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

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

func (o *DefaultRetention) HasDays() bool

HasDays returns a boolean if a field has been set.

func (*DefaultRetention) HasMode

func (o *DefaultRetention) HasMode() bool

HasMode returns a boolean if a field has been set.

func (*DefaultRetention) HasYears

func (o *DefaultRetention) HasYears() bool

HasYears returns a boolean if a field has been set.

func (DefaultRetention) MarshalJSON

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

func (*DefaultRetention) SetDays

func (o *DefaultRetention) SetDays(v int32)

SetDays sets field value

func (*DefaultRetention) SetMode

func (o *DefaultRetention) SetMode(v string)

SetMode sets field value

func (*DefaultRetention) SetYears

func (o *DefaultRetention) SetYears(v int32)

SetYears sets field value

type DeleteMarkerEntry

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

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

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

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

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

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

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

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

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

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

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

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

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

func (o *DeleteMarkerEntry) HasIsLatest() bool

HasIsLatest returns a boolean if a field has been set.

func (*DeleteMarkerEntry) HasKey

func (o *DeleteMarkerEntry) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*DeleteMarkerEntry) HasLastModified

func (o *DeleteMarkerEntry) HasLastModified() bool

HasLastModified returns a boolean if a field has been set.

func (*DeleteMarkerEntry) HasOwner

func (o *DeleteMarkerEntry) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*DeleteMarkerEntry) HasVersionId

func (o *DeleteMarkerEntry) HasVersionId() bool

HasVersionId returns a boolean if a field has been set.

func (DeleteMarkerEntry) MarshalJSON

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

func (*DeleteMarkerEntry) SetIsLatest

func (o *DeleteMarkerEntry) SetIsLatest(v bool)

SetIsLatest sets field value

func (*DeleteMarkerEntry) SetKey

func (o *DeleteMarkerEntry) SetKey(v string)

SetKey sets field value

func (*DeleteMarkerEntry) SetLastModified

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

SetLastModified sets field value

func (*DeleteMarkerEntry) SetOwner

func (o *DeleteMarkerEntry) SetOwner(v Owner)

SetOwner sets field value

func (*DeleteMarkerEntry) SetVersionId

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

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

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

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

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

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

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

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

func (o *Destination) HasBucket() bool

HasBucket returns a boolean if a field has been set.

func (*Destination) HasStorageClass

func (o *Destination) HasStorageClass() bool

HasStorageClass returns a boolean if a field has been set.

func (Destination) MarshalJSON

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

func (*Destination) SetBucket

func (o *Destination) SetBucket(v string)

SetBucket sets field value

func (*Destination) SetStorageClass

func (o *Destination) SetStorageClass(v StorageClass)

SetStorageClass sets field value

type EncodingType

type EncodingType string

EncodingType Encoding type used by IONOS Object Storage to encode object key names in the XML response. If you specify encoding-type request parameter, IONOS 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

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

Encryption struct for Encryption

func NewEncryption

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

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

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

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

func (o *Encryption) HasEncryptionType() bool

HasEncryptionType returns a boolean if a field has been set.

func (Encryption) MarshalJSON

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

func (*Encryption) SetEncryptionType

func (o *Encryption) SetEncryptionType(v string)

SetEncryptionType sets field value

type EncryptionApiService

type EncryptionApiService service

EncryptionApiService EncryptionApi service

func (*EncryptionApiService) DeleteBucketEncryption

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

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

Execute executes the request

func (*EncryptionApiService) GetBucketEncryption

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

Execute executes the request

@return ServerSideEncryptionConfiguration

func (*EncryptionApiService) PutBucketEncryption

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

PutBucketEncryption PutBucketEncryption

<p>Sets the AES256 server-side encryption for a bucket with IONOS Object Storage 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 Object Storage 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

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 Object Storage error codes - AccessDenied   - Description: Access Denied   - HTTPStatus Code: 403 Forbidden - AccountProblem   - Description: There is a problem with your IONOS 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 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

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

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

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

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

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

func (o *ErrorDocument) HasKey() bool

HasKey returns a boolean if a field has been set.

func (ErrorDocument) MarshalJSON

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

func (*ErrorDocument) SetKey

func (o *ErrorDocument) SetKey(v string)

SetKey sets field value

type Example

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

Example struct for Example

func NewExample

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

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

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

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

func (o *Example) HasCompleteMultipartUpload() bool

HasCompleteMultipartUpload returns a boolean if a field has been set.

func (Example) MarshalJSON

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

func (*Example) SetCompleteMultipartUpload

func (o *Example) SetCompleteMultipartUpload(v ExampleCompleteMultipartUpload)

SetCompleteMultipartUpload sets field value

type ExampleCompleteMultipartUpload

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

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

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

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

func (*ExampleCompleteMultipartUpload) GetPartsOk

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

func (o *ExampleCompleteMultipartUpload) HasParts() bool

HasParts returns a boolean if a field has been set.

func (ExampleCompleteMultipartUpload) MarshalJSON

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

func (*ExampleCompleteMultipartUpload) SetParts

SetParts sets field value

type ExpirationStatus

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

Ptr returns reference to ExpirationStatus value

func (*ExpirationStatus) UnmarshalJSON

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

type ExpressionType

type ExpressionType string

ExpressionType the model 'ExpressionType'

const (
	EXPRESSIONTYPE_SQL ExpressionType = "SQL"
)

List of ExpressionType

func (ExpressionType) Ptr

func (v ExpressionType) Ptr() *ExpressionType

Ptr returns reference to ExpressionType value

func (*ExpressionType) UnmarshalJSON

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

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

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

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

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

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

func (o *GetBucketCorsOutput) HasCORSRules() bool

HasCORSRules returns a boolean if a field has been set.

func (GetBucketCorsOutput) MarshalJSON

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

func (*GetBucketCorsOutput) SetCORSRules

func (o *GetBucketCorsOutput) SetCORSRules(v []CORSRule)

SetCORSRules sets field value

type GetBucketLifecycleOutput

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

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

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

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

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

func (o *GetBucketLifecycleOutput) HasRules() bool

HasRules returns a boolean if a field has been set.

func (GetBucketLifecycleOutput) MarshalJSON

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

func (*GetBucketLifecycleOutput) SetRules

func (o *GetBucketLifecycleOutput) SetRules(v []Rule)

SetRules sets field value

type GetBucketReplicationOutput

type GetBucketReplicationOutput struct {
	XMLName                  xml.Name                  `xml:"GetBucketReplicationOutput"`
	ReplicationConfiguration *ReplicationConfiguration `json:"ReplicationConfiguration,omitempty" xml:"ReplicationConfiguration"`
}

GetBucketReplicationOutput struct for GetBucketReplicationOutput

func NewGetBucketReplicationOutput

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

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

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

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

func (o *GetBucketReplicationOutput) HasReplicationConfiguration() bool

HasReplicationConfiguration returns a boolean if a field has been set.

func (GetBucketReplicationOutput) MarshalJSON

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

func (*GetBucketReplicationOutput) SetReplicationConfiguration

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

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

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

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

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

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

GetStatus returns the Status field value If the value is explicit nil, the zero value for BucketVersioningStatus will be returned

func (*GetBucketVersioningOutput) GetStatusOk

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

func (o *GetBucketVersioningOutput) HasMfaDelete() bool

HasMfaDelete returns a boolean if a field has been set.

func (*GetBucketVersioningOutput) HasStatus

func (o *GetBucketVersioningOutput) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (GetBucketVersioningOutput) MarshalJSON

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

func (*GetBucketVersioningOutput) SetMfaDelete

func (o *GetBucketVersioningOutput) SetMfaDelete(v MfaDeleteStatus)

SetMfaDelete sets field value

func (*GetBucketVersioningOutput) SetStatus

SetStatus sets field value

type GetBucketWebsiteOutput

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

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

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

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

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

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

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

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

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

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

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

func (o *GetBucketWebsiteOutput) HasErrorDocument() bool

HasErrorDocument returns a boolean if a field has been set.

func (*GetBucketWebsiteOutput) HasIndexDocument

func (o *GetBucketWebsiteOutput) HasIndexDocument() bool

HasIndexDocument returns a boolean if a field has been set.

func (*GetBucketWebsiteOutput) HasRedirectAllRequestsTo

func (o *GetBucketWebsiteOutput) HasRedirectAllRequestsTo() bool

HasRedirectAllRequestsTo returns a boolean if a field has been set.

func (*GetBucketWebsiteOutput) HasRoutingRules

func (o *GetBucketWebsiteOutput) HasRoutingRules() bool

HasRoutingRules returns a boolean if a field has been set.

func (GetBucketWebsiteOutput) MarshalJSON

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

func (*GetBucketWebsiteOutput) SetErrorDocument

func (o *GetBucketWebsiteOutput) SetErrorDocument(v ErrorDocument)

SetErrorDocument sets field value

func (*GetBucketWebsiteOutput) SetIndexDocument

func (o *GetBucketWebsiteOutput) SetIndexDocument(v IndexDocument)

SetIndexDocument sets field value

func (*GetBucketWebsiteOutput) SetRedirectAllRequestsTo

func (o *GetBucketWebsiteOutput) SetRedirectAllRequestsTo(v RedirectAllRequestsTo)

SetRedirectAllRequestsTo sets field value

func (*GetBucketWebsiteOutput) SetRoutingRules

func (o *GetBucketWebsiteOutput) SetRoutingRules(v []RoutingRule)

SetRoutingRules sets field value

type GetObjectLockConfigurationOutput

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

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

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

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

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

GetRule returns the Rule field value If the value is explicit nil, the zero value for ObjectLockRule will be returned

func (*GetObjectLockConfigurationOutput) GetRuleOk

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

func (o *GetObjectLockConfigurationOutput) HasObjectLockEnabled() bool

HasObjectLockEnabled returns a boolean if a field has been set.

func (*GetObjectLockConfigurationOutput) HasRule

HasRule returns a boolean if a field has been set.

func (GetObjectLockConfigurationOutput) MarshalJSON

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

func (*GetObjectLockConfigurationOutput) SetObjectLockEnabled

func (o *GetObjectLockConfigurationOutput) SetObjectLockEnabled(v string)

SetObjectLockEnabled sets field value

func (*GetObjectLockConfigurationOutput) SetRule

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

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

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

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

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

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

func (o *IndexDocument) HasSuffix() bool

HasSuffix returns a boolean if a field has been set.

func (IndexDocument) MarshalJSON

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

func (*IndexDocument) SetSuffix

func (o *IndexDocument) SetSuffix(v string)

SetSuffix sets field value

type Initiator

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

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

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

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

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

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

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

func (o *Initiator) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*Initiator) HasID

func (o *Initiator) HasID() bool

HasID returns a boolean if a field has been set.

func (Initiator) MarshalJSON

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

func (*Initiator) SetDisplayName

func (o *Initiator) SetDisplayName(v string)

SetDisplayName sets field value

func (*Initiator) SetID

func (o *Initiator) SetID(v int32)

SetID sets field value

type InputSerialization

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

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

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

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

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

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

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

GetJSON returns the JSON field value If the value is explicit nil, the zero value for InputSerializationJSON will be returned

func (*InputSerialization) GetJSONOk

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

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

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

func (o *InputSerialization) HasCSV() bool

HasCSV returns a boolean if a field has been set.

func (*InputSerialization) HasCompressionType

func (o *InputSerialization) HasCompressionType() bool

HasCompressionType returns a boolean if a field has been set.

func (*InputSerialization) HasJSON

func (o *InputSerialization) HasJSON() bool

HasJSON returns a boolean if a field has been set.

func (*InputSerialization) HasParquet

func (o *InputSerialization) HasParquet() bool

HasParquet returns a boolean if a field has been set.

func (InputSerialization) MarshalJSON

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

func (*InputSerialization) SetCSV

func (o *InputSerialization) SetCSV(v CSVInput)

SetCSV sets field value

func (*InputSerialization) SetCompressionType

func (o *InputSerialization) SetCompressionType(v string)

SetCompressionType sets field value

func (*InputSerialization) SetJSON

SetJSON sets field value

func (*InputSerialization) SetParquet

func (o *InputSerialization) SetParquet(v map[string]interface{})

SetParquet sets field value

type InputSerializationJSON

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

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

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

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

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

func (o *InputSerializationJSON) HasType() bool

HasType returns a boolean if a field has been set.

func (InputSerializationJSON) MarshalJSON

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

func (*InputSerializationJSON) SetType

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

type JSONOutput struct {
	XMLName xml.Name `xml:"JSONOutput"`
	// The value used to separate individual records in the output. If no value is specified, IONOS 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

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

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

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

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

func (o *JSONOutput) HasRecordDelimiter() bool

HasRecordDelimiter returns a boolean if a field has been set.

func (JSONOutput) MarshalJSON

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

func (*JSONOutput) SetRecordDelimiter

func (o *JSONOutput) SetRecordDelimiter(v string)

SetRecordDelimiter sets field value

type LifecycleApiService

type LifecycleApiService service

LifecycleApiService LifecycleApi service

func (*LifecycleApiService) DeleteBucketLifecycle

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

func (a *LifecycleApiService) DeleteBucketLifecycleExecute(r ApiDeleteBucketLifecycleRequest) (*APIResponse, error)

Execute executes the request

func (*LifecycleApiService) GetBucketLifecycle

func (a *LifecycleApiService) GetBucketLifecycle(ctx context.Context, bucket string) ApiGetBucketLifecycleRequest

GetBucketLifecycle GetBucketLifecycle

Returns the lifecycle configuration for the specified Object Storage 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

Execute executes the request

@return GetBucketLifecycleOutput

func (*LifecycleApiService) PutBucketLifecycle

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

func (a *LifecycleApiService) PutBucketLifecycleExecute(r ApiPutBucketLifecycleRequest) (*APIResponse, error)

Execute executes the request

type LifecycleExpiration

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

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

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

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

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

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

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

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

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

func (o *LifecycleExpiration) HasDate() bool

HasDate returns a boolean if a field has been set.

func (*LifecycleExpiration) HasDays

func (o *LifecycleExpiration) HasDays() bool

HasDays returns a boolean if a field has been set.

func (*LifecycleExpiration) HasExpiredObjectDeleteMarker

func (o *LifecycleExpiration) HasExpiredObjectDeleteMarker() bool

HasExpiredObjectDeleteMarker returns a boolean if a field has been set.

func (LifecycleExpiration) MarshalJSON

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

func (*LifecycleExpiration) SetDate

func (o *LifecycleExpiration) SetDate(v string)

SetDate sets field value

func (*LifecycleExpiration) SetDays

func (o *LifecycleExpiration) SetDays(v int32)

SetDays sets field value

func (*LifecycleExpiration) SetExpiredObjectDeleteMarker

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (o *ListMultipartUploadsOutput) HasBucket() bool

HasBucket returns a boolean if a field has been set.

func (*ListMultipartUploadsOutput) HasCommonPrefixes

func (o *ListMultipartUploadsOutput) HasCommonPrefixes() bool

HasCommonPrefixes returns a boolean if a field has been set.

func (*ListMultipartUploadsOutput) HasDelimiter

func (o *ListMultipartUploadsOutput) HasDelimiter() bool

HasDelimiter returns a boolean if a field has been set.

func (*ListMultipartUploadsOutput) HasEncodingType

func (o *ListMultipartUploadsOutput) HasEncodingType() bool

HasEncodingType returns a boolean if a field has been set.

func (*ListMultipartUploadsOutput) HasIsTruncated

func (o *ListMultipartUploadsOutput) HasIsTruncated() bool

HasIsTruncated returns a boolean if a field has been set.

func (*ListMultipartUploadsOutput) HasKeyMarker

func (o *ListMultipartUploadsOutput) HasKeyMarker() bool

HasKeyMarker returns a boolean if a field has been set.

func (*ListMultipartUploadsOutput) HasMaxUploads

func (o *ListMultipartUploadsOutput) HasMaxUploads() bool

HasMaxUploads returns a boolean if a field has been set.

func (*ListMultipartUploadsOutput) HasNextKeyMarker

func (o *ListMultipartUploadsOutput) HasNextKeyMarker() bool

HasNextKeyMarker returns a boolean if a field has been set.

func (*ListMultipartUploadsOutput) HasNextUploadIdMarker

func (o *ListMultipartUploadsOutput) HasNextUploadIdMarker() bool

HasNextUploadIdMarker returns a boolean if a field has been set.

func (*ListMultipartUploadsOutput) HasPrefix

func (o *ListMultipartUploadsOutput) HasPrefix() bool

HasPrefix returns a boolean if a field has been set.

func (*ListMultipartUploadsOutput) HasUploadIdMarker

func (o *ListMultipartUploadsOutput) HasUploadIdMarker() bool

HasUploadIdMarker returns a boolean if a field has been set.

func (*ListMultipartUploadsOutput) HasUploads

func (o *ListMultipartUploadsOutput) HasUploads() bool

HasUploads returns a boolean if a field has been set.

func (ListMultipartUploadsOutput) MarshalJSON

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

func (*ListMultipartUploadsOutput) SetBucket

func (o *ListMultipartUploadsOutput) SetBucket(v string)

SetBucket sets field value

func (*ListMultipartUploadsOutput) SetCommonPrefixes

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

SetCommonPrefixes sets field value

func (*ListMultipartUploadsOutput) SetDelimiter

func (o *ListMultipartUploadsOutput) SetDelimiter(v string)

SetDelimiter sets field value

func (*ListMultipartUploadsOutput) SetEncodingType

func (o *ListMultipartUploadsOutput) SetEncodingType(v EncodingType)

SetEncodingType sets field value

func (*ListMultipartUploadsOutput) SetIsTruncated

func (o *ListMultipartUploadsOutput) SetIsTruncated(v bool)

SetIsTruncated sets field value

func (*ListMultipartUploadsOutput) SetKeyMarker

func (o *ListMultipartUploadsOutput) SetKeyMarker(v string)

SetKeyMarker sets field value

func (*ListMultipartUploadsOutput) SetMaxUploads

func (o *ListMultipartUploadsOutput) SetMaxUploads(v int32)

SetMaxUploads sets field value

func (*ListMultipartUploadsOutput) SetNextKeyMarker

func (o *ListMultipartUploadsOutput) SetNextKeyMarker(v string)

SetNextKeyMarker sets field value

func (*ListMultipartUploadsOutput) SetNextUploadIdMarker

func (o *ListMultipartUploadsOutput) SetNextUploadIdMarker(v string)

SetNextUploadIdMarker sets field value

func (*ListMultipartUploadsOutput) SetPrefix

func (o *ListMultipartUploadsOutput) SetPrefix(v string)

SetPrefix sets field value

func (*ListMultipartUploadsOutput) SetUploadIdMarker

func (o *ListMultipartUploadsOutput) SetUploadIdMarker(v string)

SetUploadIdMarker sets field value

func (*ListMultipartUploadsOutput) SetUploads

func (o *ListMultipartUploadsOutput) SetUploads(v []MultipartUpload)

SetUploads sets field value

type ListObjectVersionsOutput

type ListObjectVersionsOutput struct {
	XMLName xml.Name `xml:"ListVersionsResult"`
	// A flag that indicates whether IONOS 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (o *ListObjectVersionsOutput) HasCommonPrefixes() bool

HasCommonPrefixes returns a boolean if a field has been set.

func (*ListObjectVersionsOutput) HasDeleteMarkers

func (o *ListObjectVersionsOutput) HasDeleteMarkers() bool

HasDeleteMarkers returns a boolean if a field has been set.

func (*ListObjectVersionsOutput) HasDelimiter

func (o *ListObjectVersionsOutput) HasDelimiter() bool

HasDelimiter returns a boolean if a field has been set.

func (*ListObjectVersionsOutput) HasEncodingType

func (o *ListObjectVersionsOutput) HasEncodingType() bool

HasEncodingType returns a boolean if a field has been set.

func (*ListObjectVersionsOutput) HasIsTruncated

func (o *ListObjectVersionsOutput) HasIsTruncated() bool

HasIsTruncated returns a boolean if a field has been set.

func (*ListObjectVersionsOutput) HasKeyMarker

func (o *ListObjectVersionsOutput) HasKeyMarker() bool

HasKeyMarker returns a boolean if a field has been set.

func (*ListObjectVersionsOutput) HasMaxKeys

func (o *ListObjectVersionsOutput) HasMaxKeys() bool

HasMaxKeys returns a boolean if a field has been set.

func (*ListObjectVersionsOutput) HasName

func (o *ListObjectVersionsOutput) HasName() bool

HasName returns a boolean if a field has been set.

func (*ListObjectVersionsOutput) HasNextKeyMarker

func (o *ListObjectVersionsOutput) HasNextKeyMarker() bool

HasNextKeyMarker returns a boolean if a field has been set.

func (*ListObjectVersionsOutput) HasNextVersionIdMarker

func (o *ListObjectVersionsOutput) HasNextVersionIdMarker() bool

HasNextVersionIdMarker returns a boolean if a field has been set.

func (*ListObjectVersionsOutput) HasPrefix

func (o *ListObjectVersionsOutput) HasPrefix() bool

HasPrefix returns a boolean if a field has been set.

func (*ListObjectVersionsOutput) HasVersionIdMarker

func (o *ListObjectVersionsOutput) HasVersionIdMarker() bool

HasVersionIdMarker returns a boolean if a field has been set.

func (*ListObjectVersionsOutput) HasVersions

func (o *ListObjectVersionsOutput) HasVersions() bool

HasVersions returns a boolean if a field has been set.

func (ListObjectVersionsOutput) MarshalJSON

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

func (*ListObjectVersionsOutput) SetCommonPrefixes

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

SetCommonPrefixes sets field value

func (*ListObjectVersionsOutput) SetDeleteMarkers

func (o *ListObjectVersionsOutput) SetDeleteMarkers(v []DeleteMarkerEntry)

SetDeleteMarkers sets field value

func (*ListObjectVersionsOutput) SetDelimiter

func (o *ListObjectVersionsOutput) SetDelimiter(v string)

SetDelimiter sets field value

func (*ListObjectVersionsOutput) SetEncodingType

func (o *ListObjectVersionsOutput) SetEncodingType(v EncodingType)

SetEncodingType sets field value

func (*ListObjectVersionsOutput) SetIsTruncated

func (o *ListObjectVersionsOutput) SetIsTruncated(v bool)

SetIsTruncated sets field value

func (*ListObjectVersionsOutput) SetKeyMarker

func (o *ListObjectVersionsOutput) SetKeyMarker(v string)

SetKeyMarker sets field value

func (*ListObjectVersionsOutput) SetMaxKeys

func (o *ListObjectVersionsOutput) SetMaxKeys(v int32)

SetMaxKeys sets field value

func (*ListObjectVersionsOutput) SetName

func (o *ListObjectVersionsOutput) SetName(v string)

SetName sets field value

func (*ListObjectVersionsOutput) SetNextKeyMarker

func (o *ListObjectVersionsOutput) SetNextKeyMarker(v string)

SetNextKeyMarker sets field value

func (*ListObjectVersionsOutput) SetNextVersionIdMarker

func (o *ListObjectVersionsOutput) SetNextVersionIdMarker(v string)

SetNextVersionIdMarker sets field value

func (*ListObjectVersionsOutput) SetPrefix

func (o *ListObjectVersionsOutput) SetPrefix(v string)

SetPrefix sets field value

func (*ListObjectVersionsOutput) SetVersionIdMarker

func (o *ListObjectVersionsOutput) SetVersionIdMarker(v string)

SetVersionIdMarker sets field value

func (*ListObjectVersionsOutput) SetVersions

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (o *ListPartsOutput) HasBucket() bool

HasBucket returns a boolean if a field has been set.

func (*ListPartsOutput) HasInitiator

func (o *ListPartsOutput) HasInitiator() bool

HasInitiator returns a boolean if a field has been set.

func (*ListPartsOutput) HasIsTruncated

func (o *ListPartsOutput) HasIsTruncated() bool

HasIsTruncated returns a boolean if a field has been set.

func (*ListPartsOutput) HasKey

func (o *ListPartsOutput) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*ListPartsOutput) HasMaxParts

func (o *ListPartsOutput) HasMaxParts() bool

HasMaxParts returns a boolean if a field has been set.

func (*ListPartsOutput) HasNextPartNumberMarker

func (o *ListPartsOutput) HasNextPartNumberMarker() bool

HasNextPartNumberMarker returns a boolean if a field has been set.

func (*ListPartsOutput) HasOwner

func (o *ListPartsOutput) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*ListPartsOutput) HasPartNumberMarker

func (o *ListPartsOutput) HasPartNumberMarker() bool

HasPartNumberMarker returns a boolean if a field has been set.

func (*ListPartsOutput) HasParts

func (o *ListPartsOutput) HasParts() bool

HasParts returns a boolean if a field has been set.

func (*ListPartsOutput) HasStorageClass

func (o *ListPartsOutput) HasStorageClass() bool

HasStorageClass returns a boolean if a field has been set.

func (*ListPartsOutput) HasUploadId

func (o *ListPartsOutput) HasUploadId() bool

HasUploadId returns a boolean if a field has been set.

func (ListPartsOutput) MarshalJSON

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

func (*ListPartsOutput) SetBucket

func (o *ListPartsOutput) SetBucket(v string)

SetBucket sets field value

func (*ListPartsOutput) SetInitiator

func (o *ListPartsOutput) SetInitiator(v Initiator)

SetInitiator sets field value

func (*ListPartsOutput) SetIsTruncated

func (o *ListPartsOutput) SetIsTruncated(v bool)

SetIsTruncated sets field value

func (*ListPartsOutput) SetKey

func (o *ListPartsOutput) SetKey(v string)

SetKey sets field value

func (*ListPartsOutput) SetMaxParts

func (o *ListPartsOutput) SetMaxParts(v string)

SetMaxParts sets field value

func (*ListPartsOutput) SetNextPartNumberMarker

func (o *ListPartsOutput) SetNextPartNumberMarker(v string)

SetNextPartNumberMarker sets field value

func (*ListPartsOutput) SetOwner

func (o *ListPartsOutput) SetOwner(v Owner)

SetOwner sets field value

func (*ListPartsOutput) SetPartNumberMarker

func (o *ListPartsOutput) SetPartNumberMarker(v int32)

SetPartNumberMarker sets field value

func (*ListPartsOutput) SetParts

func (o *ListPartsOutput) SetParts(v []Part)

SetParts sets field value

func (*ListPartsOutput) SetStorageClass

func (o *ListPartsOutput) SetStorageClass(v StorageClass)

SetStorageClass sets field value

func (*ListPartsOutput) SetUploadId

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

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

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

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

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

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

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

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

func (o *MetadataEntry) HasName() bool

HasName returns a boolean if a field has been set.

func (*MetadataEntry) HasValue

func (o *MetadataEntry) HasValue() bool

HasValue returns a boolean if a field has been set.

func (MetadataEntry) MarshalJSON

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

func (*MetadataEntry) SetName

func (o *MetadataEntry) SetName(v string)

SetName sets field value

func (*MetadataEntry) SetValue

func (o *MetadataEntry) SetValue(v string)

SetValue sets field value

type MfaDeleteStatus

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

Ptr returns reference to MfaDeleteStatus value

func (*MfaDeleteStatus) UnmarshalJSON

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

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 Object Storage object.

func NewMultipartUpload

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (o *MultipartUpload) HasInitiated() bool

HasInitiated returns a boolean if a field has been set.

func (*MultipartUpload) HasInitiator

func (o *MultipartUpload) HasInitiator() bool

HasInitiator returns a boolean if a field has been set.

func (*MultipartUpload) HasKey

func (o *MultipartUpload) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*MultipartUpload) HasOwner

func (o *MultipartUpload) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*MultipartUpload) HasStorageClass

func (o *MultipartUpload) HasStorageClass() bool

HasStorageClass returns a boolean if a field has been set.

func (*MultipartUpload) HasUploadId

func (o *MultipartUpload) HasUploadId() bool

HasUploadId returns a boolean if a field has been set.

func (MultipartUpload) MarshalJSON

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

func (*MultipartUpload) SetInitiated

func (o *MultipartUpload) SetInitiated(v time.Time)

SetInitiated sets field value

func (*MultipartUpload) SetInitiator

func (o *MultipartUpload) SetInitiator(v Initiator)

SetInitiator sets field value

func (*MultipartUpload) SetKey

func (o *MultipartUpload) SetKey(v string)

SetKey sets field value

func (*MultipartUpload) SetOwner

func (o *MultipartUpload) SetOwner(v Owner)

SetOwner sets field value

func (*MultipartUpload) SetStorageClass

func (o *MultipartUpload) SetStorageClass(v StorageClass)

SetStorageClass sets field value

func (*MultipartUpload) SetUploadId

func (o *MultipartUpload) SetUploadId(v string)

SetUploadId sets field value

type NoncurrentVersionExpiration

type NoncurrentVersionExpiration struct {
	XMLName xml.Name `xml:"NoncurrentVersionExpiration"`
	// Specifies the number of days an object is noncurrent before IONOS Object Storage can perform the associated operation.
	NoncurrentDays *int32 `json:"NoncurrentDays,omitempty" xml:"NoncurrentDays"`
}

NoncurrentVersionExpiration Specifies when noncurrent object versions expire. Upon expiration, IONOS 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 Object Storage delete noncurrent object versions at a specific period in the object's lifetime.

func NewNoncurrentVersionExpiration

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

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

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

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

func (o *NoncurrentVersionExpiration) HasNoncurrentDays() bool

HasNoncurrentDays returns a boolean if a field has been set.

func (NoncurrentVersionExpiration) MarshalJSON

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

func (*NoncurrentVersionExpiration) SetNoncurrentDays

func (o *NoncurrentVersionExpiration) SetNoncurrentDays(v int32)

SetNoncurrentDays sets field value

type NullableAbortIncompleteMultipartUpload

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

func (NullableAbortIncompleteMultipartUpload) Get

func (NullableAbortIncompleteMultipartUpload) IsSet

func (NullableAbortIncompleteMultipartUpload) MarshalJSON

func (v NullableAbortIncompleteMultipartUpload) MarshalJSON() ([]byte, error)

func (*NullableAbortIncompleteMultipartUpload) Set

func (*NullableAbortIncompleteMultipartUpload) UnmarshalJSON

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

func (*NullableAbortIncompleteMultipartUpload) Unset

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

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

func (NullableBucketVersioningStatus) Get

func (NullableBucketVersioningStatus) IsSet

func (NullableBucketVersioningStatus) MarshalJSON

func (v NullableBucketVersioningStatus) MarshalJSON() ([]byte, error)

func (*NullableBucketVersioningStatus) Set

func (*NullableBucketVersioningStatus) UnmarshalJSON

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

func (*NullableBucketVersioningStatus) Unset

func (v *NullableBucketVersioningStatus) Unset()

type NullableCORSRule

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

func NewNullableCORSRule

func NewNullableCORSRule(val *CORSRule) *NullableCORSRule

func (NullableCORSRule) Get

func (v NullableCORSRule) Get() *CORSRule

func (NullableCORSRule) IsSet

func (v NullableCORSRule) IsSet() bool

func (NullableCORSRule) MarshalJSON

func (v NullableCORSRule) MarshalJSON() ([]byte, error)

func (*NullableCORSRule) Set

func (v *NullableCORSRule) Set(val *CORSRule)

func (*NullableCORSRule) UnmarshalJSON

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

func (*NullableCORSRule) Unset

func (v *NullableCORSRule) Unset()

type NullableCSVInput

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

func NewNullableCSVInput

func NewNullableCSVInput(val *CSVInput) *NullableCSVInput

func (NullableCSVInput) Get

func (v NullableCSVInput) Get() *CSVInput

func (NullableCSVInput) IsSet

func (v NullableCSVInput) IsSet() bool

func (NullableCSVInput) MarshalJSON

func (v NullableCSVInput) MarshalJSON() ([]byte, error)

func (*NullableCSVInput) Set

func (v *NullableCSVInput) Set(val *CSVInput)

func (*NullableCSVInput) UnmarshalJSON

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

func (*NullableCSVInput) Unset

func (v *NullableCSVInput) Unset()

type NullableCSVOutput

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

func NewNullableCSVOutput

func NewNullableCSVOutput(val *CSVOutput) *NullableCSVOutput

func (NullableCSVOutput) Get

func (v NullableCSVOutput) Get() *CSVOutput

func (NullableCSVOutput) IsSet

func (v NullableCSVOutput) IsSet() bool

func (NullableCSVOutput) MarshalJSON

func (v NullableCSVOutput) MarshalJSON() ([]byte, error)

func (*NullableCSVOutput) Set

func (v *NullableCSVOutput) Set(val *CSVOutput)

func (*NullableCSVOutput) UnmarshalJSON

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

func (*NullableCSVOutput) Unset

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

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

func (NullableCompleteMultipartUploadOutput) Get

func (NullableCompleteMultipartUploadOutput) IsSet

func (NullableCompleteMultipartUploadOutput) MarshalJSON

func (v NullableCompleteMultipartUploadOutput) MarshalJSON() ([]byte, error)

func (*NullableCompleteMultipartUploadOutput) Set

func (*NullableCompleteMultipartUploadOutput) UnmarshalJSON

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

func (*NullableCompleteMultipartUploadOutput) Unset

type NullableCompletedPart

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

func NewNullableCompletedPart

func NewNullableCompletedPart(val *CompletedPart) *NullableCompletedPart

func (NullableCompletedPart) Get

func (NullableCompletedPart) IsSet

func (v NullableCompletedPart) IsSet() bool

func (NullableCompletedPart) MarshalJSON

func (v NullableCompletedPart) MarshalJSON() ([]byte, error)

func (*NullableCompletedPart) Set

func (v *NullableCompletedPart) Set(val *CompletedPart)

func (*NullableCompletedPart) UnmarshalJSON

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

func (*NullableCompletedPart) Unset

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

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

func NewNullableCopyPartResult

func NewNullableCopyPartResult(val *CopyPartResult) *NullableCopyPartResult

func (NullableCopyPartResult) Get

func (NullableCopyPartResult) IsSet

func (v NullableCopyPartResult) IsSet() bool

func (NullableCopyPartResult) MarshalJSON

func (v NullableCopyPartResult) MarshalJSON() ([]byte, error)

func (*NullableCopyPartResult) Set

func (*NullableCopyPartResult) UnmarshalJSON

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

func (*NullableCopyPartResult) Unset

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

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

func (NullableCreateMultipartUploadOutput) Get

func (NullableCreateMultipartUploadOutput) IsSet

func (NullableCreateMultipartUploadOutput) MarshalJSON

func (v NullableCreateMultipartUploadOutput) MarshalJSON() ([]byte, error)

func (*NullableCreateMultipartUploadOutput) Set

func (*NullableCreateMultipartUploadOutput) UnmarshalJSON

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

func (*NullableCreateMultipartUploadOutput) Unset

type NullableDefaultRetention

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

func NewNullableDefaultRetention

func NewNullableDefaultRetention(val *DefaultRetention) *NullableDefaultRetention

func (NullableDefaultRetention) Get

func (NullableDefaultRetention) IsSet

func (v NullableDefaultRetention) IsSet() bool

func (NullableDefaultRetention) MarshalJSON

func (v NullableDefaultRetention) MarshalJSON() ([]byte, error)

func (*NullableDefaultRetention) Set

func (*NullableDefaultRetention) UnmarshalJSON

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

func (*NullableDefaultRetention) Unset

func (v *NullableDefaultRetention) Unset()

type NullableDeleteMarkerEntry

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

func NewNullableDeleteMarkerEntry

func NewNullableDeleteMarkerEntry(val *DeleteMarkerEntry) *NullableDeleteMarkerEntry

func (NullableDeleteMarkerEntry) Get

func (NullableDeleteMarkerEntry) IsSet

func (v NullableDeleteMarkerEntry) IsSet() bool

func (NullableDeleteMarkerEntry) MarshalJSON

func (v NullableDeleteMarkerEntry) MarshalJSON() ([]byte, error)

func (*NullableDeleteMarkerEntry) Set

func (*NullableDeleteMarkerEntry) UnmarshalJSON

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

func (*NullableDeleteMarkerEntry) Unset

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

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

func NewNullableDestination

func NewNullableDestination(val *Destination) *NullableDestination

func (NullableDestination) Get

func (NullableDestination) IsSet

func (v NullableDestination) IsSet() bool

func (NullableDestination) MarshalJSON

func (v NullableDestination) MarshalJSON() ([]byte, error)

func (*NullableDestination) Set

func (v *NullableDestination) Set(val *Destination)

func (*NullableDestination) UnmarshalJSON

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

func (*NullableDestination) Unset

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

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

func NewNullableEncryption

func NewNullableEncryption(val *Encryption) *NullableEncryption

func (NullableEncryption) Get

func (v NullableEncryption) Get() *Encryption

func (NullableEncryption) IsSet

func (v NullableEncryption) IsSet() bool

func (NullableEncryption) MarshalJSON

func (v NullableEncryption) MarshalJSON() ([]byte, error)

func (*NullableEncryption) Set

func (v *NullableEncryption) Set(val *Encryption)

func (*NullableEncryption) UnmarshalJSON

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

func (*NullableEncryption) Unset

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

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

func NewNullableErrorDocument

func NewNullableErrorDocument(val *ErrorDocument) *NullableErrorDocument

func (NullableErrorDocument) Get

func (NullableErrorDocument) IsSet

func (v NullableErrorDocument) IsSet() bool

func (NullableErrorDocument) MarshalJSON

func (v NullableErrorDocument) MarshalJSON() ([]byte, error)

func (*NullableErrorDocument) Set

func (v *NullableErrorDocument) Set(val *ErrorDocument)

func (*NullableErrorDocument) UnmarshalJSON

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

func (*NullableErrorDocument) Unset

func (v *NullableErrorDocument) Unset()

type NullableExample

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

func NewNullableExample

func NewNullableExample(val *Example) *NullableExample

func (NullableExample) Get

func (v NullableExample) Get() *Example

func (NullableExample) IsSet

func (v NullableExample) IsSet() bool

func (NullableExample) MarshalJSON

func (v NullableExample) MarshalJSON() ([]byte, error)

func (*NullableExample) Set

func (v *NullableExample) Set(val *Example)

func (*NullableExample) UnmarshalJSON

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

func (*NullableExample) Unset

func (v *NullableExample) Unset()

type NullableExampleCompleteMultipartUpload

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

func (NullableExampleCompleteMultipartUpload) Get

func (NullableExampleCompleteMultipartUpload) IsSet

func (NullableExampleCompleteMultipartUpload) MarshalJSON

func (v NullableExampleCompleteMultipartUpload) MarshalJSON() ([]byte, error)

func (*NullableExampleCompleteMultipartUpload) Set

func (*NullableExampleCompleteMultipartUpload) UnmarshalJSON

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

func (*NullableExampleCompleteMultipartUpload) Unset

type NullableExpirationStatus

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

func NewNullableExpirationStatus

func NewNullableExpirationStatus(val *ExpirationStatus) *NullableExpirationStatus

func (NullableExpirationStatus) Get

func (NullableExpirationStatus) IsSet

func (v NullableExpirationStatus) IsSet() bool

func (NullableExpirationStatus) MarshalJSON

func (v NullableExpirationStatus) MarshalJSON() ([]byte, error)

func (*NullableExpirationStatus) Set

func (*NullableExpirationStatus) UnmarshalJSON

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

func (*NullableExpirationStatus) Unset

func (v *NullableExpirationStatus) Unset()

type NullableExpressionType

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

func NewNullableExpressionType

func NewNullableExpressionType(val *ExpressionType) *NullableExpressionType

func (NullableExpressionType) Get

func (NullableExpressionType) IsSet

func (v NullableExpressionType) IsSet() bool

func (NullableExpressionType) MarshalJSON

func (v NullableExpressionType) MarshalJSON() ([]byte, error)

func (*NullableExpressionType) Set

func (*NullableExpressionType) UnmarshalJSON

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

func (*NullableExpressionType) Unset

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

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

func NewNullableGetBucketCorsOutput

func NewNullableGetBucketCorsOutput(val *GetBucketCorsOutput) *NullableGetBucketCorsOutput

func (NullableGetBucketCorsOutput) Get

func (NullableGetBucketCorsOutput) IsSet

func (NullableGetBucketCorsOutput) MarshalJSON

func (v NullableGetBucketCorsOutput) MarshalJSON() ([]byte, error)

func (*NullableGetBucketCorsOutput) Set

func (*NullableGetBucketCorsOutput) UnmarshalJSON

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

func (*NullableGetBucketCorsOutput) Unset

func (v *NullableGetBucketCorsOutput) Unset()

type NullableGetBucketLifecycleOutput

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

func (NullableGetBucketLifecycleOutput) Get

func (NullableGetBucketLifecycleOutput) IsSet

func (NullableGetBucketLifecycleOutput) MarshalJSON

func (v NullableGetBucketLifecycleOutput) MarshalJSON() ([]byte, error)

func (*NullableGetBucketLifecycleOutput) Set

func (*NullableGetBucketLifecycleOutput) UnmarshalJSON

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

func (*NullableGetBucketLifecycleOutput) Unset

type NullableGetBucketReplicationOutput

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

func (NullableGetBucketReplicationOutput) Get

func (NullableGetBucketReplicationOutput) IsSet

func (NullableGetBucketReplicationOutput) MarshalJSON

func (v NullableGetBucketReplicationOutput) MarshalJSON() ([]byte, error)

func (*NullableGetBucketReplicationOutput) Set

func (*NullableGetBucketReplicationOutput) UnmarshalJSON

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

func (*NullableGetBucketReplicationOutput) Unset

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

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

func (NullableGetBucketVersioningOutput) Get

func (NullableGetBucketVersioningOutput) IsSet

func (NullableGetBucketVersioningOutput) MarshalJSON

func (v NullableGetBucketVersioningOutput) MarshalJSON() ([]byte, error)

func (*NullableGetBucketVersioningOutput) Set

func (*NullableGetBucketVersioningOutput) UnmarshalJSON

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

func (*NullableGetBucketVersioningOutput) Unset

type NullableGetBucketWebsiteOutput

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

func (NullableGetBucketWebsiteOutput) Get

func (NullableGetBucketWebsiteOutput) IsSet

func (NullableGetBucketWebsiteOutput) MarshalJSON

func (v NullableGetBucketWebsiteOutput) MarshalJSON() ([]byte, error)

func (*NullableGetBucketWebsiteOutput) Set

func (*NullableGetBucketWebsiteOutput) UnmarshalJSON

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

func (*NullableGetBucketWebsiteOutput) Unset

func (v *NullableGetBucketWebsiteOutput) Unset()

type NullableGetObjectLockConfigurationOutput

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

func (NullableGetObjectLockConfigurationOutput) Get

func (NullableGetObjectLockConfigurationOutput) IsSet

func (NullableGetObjectLockConfigurationOutput) MarshalJSON

func (*NullableGetObjectLockConfigurationOutput) Set

func (*NullableGetObjectLockConfigurationOutput) UnmarshalJSON

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

func (*NullableGetObjectLockConfigurationOutput) Unset

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

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

func NewNullableIndexDocument

func NewNullableIndexDocument(val *IndexDocument) *NullableIndexDocument

func (NullableIndexDocument) Get

func (NullableIndexDocument) IsSet

func (v NullableIndexDocument) IsSet() bool

func (NullableIndexDocument) MarshalJSON

func (v NullableIndexDocument) MarshalJSON() ([]byte, error)

func (*NullableIndexDocument) Set

func (v *NullableIndexDocument) Set(val *IndexDocument)

func (*NullableIndexDocument) UnmarshalJSON

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

func (*NullableIndexDocument) Unset

func (v *NullableIndexDocument) Unset()

type NullableInitiator

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

func NewNullableInitiator

func NewNullableInitiator(val *Initiator) *NullableInitiator

func (NullableInitiator) Get

func (v NullableInitiator) Get() *Initiator

func (NullableInitiator) IsSet

func (v NullableInitiator) IsSet() bool

func (NullableInitiator) MarshalJSON

func (v NullableInitiator) MarshalJSON() ([]byte, error)

func (*NullableInitiator) Set

func (v *NullableInitiator) Set(val *Initiator)

func (*NullableInitiator) UnmarshalJSON

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

func (*NullableInitiator) Unset

func (v *NullableInitiator) Unset()

type NullableInputSerialization

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

func NewNullableInputSerialization

func NewNullableInputSerialization(val *InputSerialization) *NullableInputSerialization

func (NullableInputSerialization) Get

func (NullableInputSerialization) IsSet

func (v NullableInputSerialization) IsSet() bool

func (NullableInputSerialization) MarshalJSON

func (v NullableInputSerialization) MarshalJSON() ([]byte, error)

func (*NullableInputSerialization) Set

func (*NullableInputSerialization) UnmarshalJSON

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

func (*NullableInputSerialization) Unset

func (v *NullableInputSerialization) Unset()

type NullableInputSerializationJSON

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

func (NullableInputSerializationJSON) Get

func (NullableInputSerializationJSON) IsSet

func (NullableInputSerializationJSON) MarshalJSON

func (v NullableInputSerializationJSON) MarshalJSON() ([]byte, error)

func (*NullableInputSerializationJSON) Set

func (*NullableInputSerializationJSON) UnmarshalJSON

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

func (*NullableInputSerializationJSON) Unset

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

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

func NewNullableJSONOutput

func NewNullableJSONOutput(val *JSONOutput) *NullableJSONOutput

func (NullableJSONOutput) Get

func (v NullableJSONOutput) Get() *JSONOutput

func (NullableJSONOutput) IsSet

func (v NullableJSONOutput) IsSet() bool

func (NullableJSONOutput) MarshalJSON

func (v NullableJSONOutput) MarshalJSON() ([]byte, error)

func (*NullableJSONOutput) Set

func (v *NullableJSONOutput) Set(val *JSONOutput)

func (*NullableJSONOutput) UnmarshalJSON

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

func (*NullableJSONOutput) Unset

func (v *NullableJSONOutput) Unset()

type NullableLifecycleExpiration

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

func NewNullableLifecycleExpiration

func NewNullableLifecycleExpiration(val *LifecycleExpiration) *NullableLifecycleExpiration

func (NullableLifecycleExpiration) Get

func (NullableLifecycleExpiration) IsSet

func (NullableLifecycleExpiration) MarshalJSON

func (v NullableLifecycleExpiration) MarshalJSON() ([]byte, error)

func (*NullableLifecycleExpiration) Set

func (*NullableLifecycleExpiration) UnmarshalJSON

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

func (*NullableLifecycleExpiration) Unset

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

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

func (NullableListMultipartUploadsOutput) Get

func (NullableListMultipartUploadsOutput) IsSet

func (NullableListMultipartUploadsOutput) MarshalJSON

func (v NullableListMultipartUploadsOutput) MarshalJSON() ([]byte, error)

func (*NullableListMultipartUploadsOutput) Set

func (*NullableListMultipartUploadsOutput) UnmarshalJSON

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

func (*NullableListMultipartUploadsOutput) Unset

type NullableListObjectVersionsOutput

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

func (NullableListObjectVersionsOutput) Get

func (NullableListObjectVersionsOutput) IsSet

func (NullableListObjectVersionsOutput) MarshalJSON

func (v NullableListObjectVersionsOutput) MarshalJSON() ([]byte, error)

func (*NullableListObjectVersionsOutput) Set

func (*NullableListObjectVersionsOutput) UnmarshalJSON

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

func (*NullableListObjectVersionsOutput) Unset

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

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

func NewNullableListPartsOutput

func NewNullableListPartsOutput(val *ListPartsOutput) *NullableListPartsOutput

func (NullableListPartsOutput) Get

func (NullableListPartsOutput) IsSet

func (v NullableListPartsOutput) IsSet() bool

func (NullableListPartsOutput) MarshalJSON

func (v NullableListPartsOutput) MarshalJSON() ([]byte, error)

func (*NullableListPartsOutput) Set

func (*NullableListPartsOutput) UnmarshalJSON

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

func (*NullableListPartsOutput) Unset

func (v *NullableListPartsOutput) Unset()

type NullableMetadataEntry

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

func NewNullableMetadataEntry

func NewNullableMetadataEntry(val *MetadataEntry) *NullableMetadataEntry

func (NullableMetadataEntry) Get

func (NullableMetadataEntry) IsSet

func (v NullableMetadataEntry) IsSet() bool

func (NullableMetadataEntry) MarshalJSON

func (v NullableMetadataEntry) MarshalJSON() ([]byte, error)

func (*NullableMetadataEntry) Set

func (v *NullableMetadataEntry) Set(val *MetadataEntry)

func (*NullableMetadataEntry) UnmarshalJSON

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

func (*NullableMetadataEntry) Unset

func (v *NullableMetadataEntry) Unset()

type NullableMfaDeleteStatus

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

func NewNullableMfaDeleteStatus

func NewNullableMfaDeleteStatus(val *MfaDeleteStatus) *NullableMfaDeleteStatus

func (NullableMfaDeleteStatus) Get

func (NullableMfaDeleteStatus) IsSet

func (v NullableMfaDeleteStatus) IsSet() bool

func (NullableMfaDeleteStatus) MarshalJSON

func (v NullableMfaDeleteStatus) MarshalJSON() ([]byte, error)

func (*NullableMfaDeleteStatus) Set

func (*NullableMfaDeleteStatus) UnmarshalJSON

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

func (*NullableMfaDeleteStatus) Unset

func (v *NullableMfaDeleteStatus) Unset()

type NullableMultipartUpload

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

func NewNullableMultipartUpload

func NewNullableMultipartUpload(val *MultipartUpload) *NullableMultipartUpload

func (NullableMultipartUpload) Get

func (NullableMultipartUpload) IsSet

func (v NullableMultipartUpload) IsSet() bool

func (NullableMultipartUpload) MarshalJSON

func (v NullableMultipartUpload) MarshalJSON() ([]byte, error)

func (*NullableMultipartUpload) Set

func (*NullableMultipartUpload) UnmarshalJSON

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

func (*NullableMultipartUpload) Unset

func (v *NullableMultipartUpload) Unset()

type NullableNoncurrentVersionExpiration

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

func (NullableNoncurrentVersionExpiration) Get

func (NullableNoncurrentVersionExpiration) IsSet

func (NullableNoncurrentVersionExpiration) MarshalJSON

func (v NullableNoncurrentVersionExpiration) MarshalJSON() ([]byte, error)

func (*NullableNoncurrentVersionExpiration) Set

func (*NullableNoncurrentVersionExpiration) UnmarshalJSON

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

func (*NullableNoncurrentVersionExpiration) Unset

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

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

func (NullableObjectLegalHoldConfiguration) Get

func (NullableObjectLegalHoldConfiguration) IsSet

func (NullableObjectLegalHoldConfiguration) MarshalJSON

func (v NullableObjectLegalHoldConfiguration) MarshalJSON() ([]byte, error)

func (*NullableObjectLegalHoldConfiguration) Set

func (*NullableObjectLegalHoldConfiguration) UnmarshalJSON

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

func (*NullableObjectLegalHoldConfiguration) Unset

type NullableObjectLockRetention

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

func NewNullableObjectLockRetention

func NewNullableObjectLockRetention(val *ObjectLockRetention) *NullableObjectLockRetention

func (NullableObjectLockRetention) Get

func (NullableObjectLockRetention) IsSet

func (NullableObjectLockRetention) MarshalJSON

func (v NullableObjectLockRetention) MarshalJSON() ([]byte, error)

func (*NullableObjectLockRetention) Set

func (*NullableObjectLockRetention) UnmarshalJSON

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

func (*NullableObjectLockRetention) Unset

func (v *NullableObjectLockRetention) Unset()

type NullableObjectLockRule

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

func NewNullableObjectLockRule

func NewNullableObjectLockRule(val *ObjectLockRule) *NullableObjectLockRule

func (NullableObjectLockRule) Get

func (NullableObjectLockRule) IsSet

func (v NullableObjectLockRule) IsSet() bool

func (NullableObjectLockRule) MarshalJSON

func (v NullableObjectLockRule) MarshalJSON() ([]byte, error)

func (*NullableObjectLockRule) Set

func (*NullableObjectLockRule) UnmarshalJSON

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

func (*NullableObjectLockRule) Unset

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

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

func NewNullableObjectVersion

func NewNullableObjectVersion(val *ObjectVersion) *NullableObjectVersion

func (NullableObjectVersion) Get

func (NullableObjectVersion) IsSet

func (v NullableObjectVersion) IsSet() bool

func (NullableObjectVersion) MarshalJSON

func (v NullableObjectVersion) MarshalJSON() ([]byte, error)

func (*NullableObjectVersion) Set

func (v *NullableObjectVersion) Set(val *ObjectVersion)

func (*NullableObjectVersion) UnmarshalJSON

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

func (*NullableObjectVersion) Unset

func (v *NullableObjectVersion) Unset()

type NullableObjectVersionStorageClass

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

func (NullableObjectVersionStorageClass) Get

func (NullableObjectVersionStorageClass) IsSet

func (NullableObjectVersionStorageClass) MarshalJSON

func (v NullableObjectVersionStorageClass) MarshalJSON() ([]byte, error)

func (*NullableObjectVersionStorageClass) Set

func (*NullableObjectVersionStorageClass) UnmarshalJSON

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

func (*NullableObjectVersionStorageClass) Unset

type NullableOutputSerialization

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

func NewNullableOutputSerialization

func NewNullableOutputSerialization(val *OutputSerialization) *NullableOutputSerialization

func (NullableOutputSerialization) Get

func (NullableOutputSerialization) IsSet

func (NullableOutputSerialization) MarshalJSON

func (v NullableOutputSerialization) MarshalJSON() ([]byte, error)

func (*NullableOutputSerialization) Set

func (*NullableOutputSerialization) UnmarshalJSON

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

func (*NullableOutputSerialization) Unset

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

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

func NewNullablePart

func NewNullablePart(val *Part) *NullablePart

func (NullablePart) Get

func (v NullablePart) Get() *Part

func (NullablePart) IsSet

func (v NullablePart) IsSet() bool

func (NullablePart) MarshalJSON

func (v NullablePart) MarshalJSON() ([]byte, error)

func (*NullablePart) Set

func (v *NullablePart) Set(val *Part)

func (*NullablePart) UnmarshalJSON

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

func (*NullablePart) Unset

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

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

func NewNullablePrincipalAllOf

func NewNullablePrincipalAllOf(val *PrincipalAllOf) *NullablePrincipalAllOf

func (NullablePrincipalAllOf) Get

func (NullablePrincipalAllOf) IsSet

func (v NullablePrincipalAllOf) IsSet() bool

func (NullablePrincipalAllOf) MarshalJSON

func (v NullablePrincipalAllOf) MarshalJSON() ([]byte, error)

func (*NullablePrincipalAllOf) Set

func (*NullablePrincipalAllOf) UnmarshalJSON

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

func (*NullablePrincipalAllOf) Unset

func (v *NullablePrincipalAllOf) Unset()

type NullablePutBucketCorsRequest

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

func NewNullablePutBucketCorsRequest

func NewNullablePutBucketCorsRequest(val *PutBucketCorsRequest) *NullablePutBucketCorsRequest

func (NullablePutBucketCorsRequest) Get

func (NullablePutBucketCorsRequest) IsSet

func (NullablePutBucketCorsRequest) MarshalJSON

func (v NullablePutBucketCorsRequest) MarshalJSON() ([]byte, error)

func (*NullablePutBucketCorsRequest) Set

func (*NullablePutBucketCorsRequest) UnmarshalJSON

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

func (*NullablePutBucketCorsRequest) Unset

func (v *NullablePutBucketCorsRequest) Unset()

type NullablePutBucketEncryptionRequest

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

func (NullablePutBucketEncryptionRequest) Get

func (NullablePutBucketEncryptionRequest) IsSet

func (NullablePutBucketEncryptionRequest) MarshalJSON

func (v NullablePutBucketEncryptionRequest) MarshalJSON() ([]byte, error)

func (*NullablePutBucketEncryptionRequest) Set

func (*NullablePutBucketEncryptionRequest) UnmarshalJSON

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

func (*NullablePutBucketEncryptionRequest) Unset

type NullablePutBucketLifecycleRequest

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

func (NullablePutBucketLifecycleRequest) Get

func (NullablePutBucketLifecycleRequest) IsSet

func (NullablePutBucketLifecycleRequest) MarshalJSON

func (v NullablePutBucketLifecycleRequest) MarshalJSON() ([]byte, error)

func (*NullablePutBucketLifecycleRequest) Set

func (*NullablePutBucketLifecycleRequest) UnmarshalJSON

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

func (*NullablePutBucketLifecycleRequest) Unset

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

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

func (NullablePutBucketVersioningRequest) Get

func (NullablePutBucketVersioningRequest) IsSet

func (NullablePutBucketVersioningRequest) MarshalJSON

func (v NullablePutBucketVersioningRequest) MarshalJSON() ([]byte, error)

func (*NullablePutBucketVersioningRequest) Set

func (*NullablePutBucketVersioningRequest) UnmarshalJSON

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

func (*NullablePutBucketVersioningRequest) Unset

type NullablePutBucketWebsiteRequest

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

func (NullablePutBucketWebsiteRequest) Get

func (NullablePutBucketWebsiteRequest) IsSet

func (NullablePutBucketWebsiteRequest) MarshalJSON

func (v NullablePutBucketWebsiteRequest) MarshalJSON() ([]byte, error)

func (*NullablePutBucketWebsiteRequest) Set

func (*NullablePutBucketWebsiteRequest) UnmarshalJSON

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

func (*NullablePutBucketWebsiteRequest) Unset

type NullablePutObjectLockConfigurationRequest

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

func (NullablePutObjectLockConfigurationRequest) Get

func (NullablePutObjectLockConfigurationRequest) IsSet

func (NullablePutObjectLockConfigurationRequest) MarshalJSON

func (*NullablePutObjectLockConfigurationRequest) Set

func (*NullablePutObjectLockConfigurationRequest) UnmarshalJSON

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

func (*NullablePutObjectLockConfigurationRequest) Unset

type NullablePutObjectLockConfigurationRequestRule

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

func (NullablePutObjectLockConfigurationRequestRule) Get

func (NullablePutObjectLockConfigurationRequestRule) IsSet

func (NullablePutObjectLockConfigurationRequestRule) MarshalJSON

func (*NullablePutObjectLockConfigurationRequestRule) Set

func (*NullablePutObjectLockConfigurationRequestRule) UnmarshalJSON

func (*NullablePutObjectLockConfigurationRequestRule) Unset

type NullablePutObjectRetentionRequest

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

func (NullablePutObjectRetentionRequest) Get

func (NullablePutObjectRetentionRequest) IsSet

func (NullablePutObjectRetentionRequest) MarshalJSON

func (v NullablePutObjectRetentionRequest) MarshalJSON() ([]byte, error)

func (*NullablePutObjectRetentionRequest) Set

func (*NullablePutObjectRetentionRequest) UnmarshalJSON

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

func (*NullablePutObjectRetentionRequest) Unset

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

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

func NewNullableRedirect

func NewNullableRedirect(val *Redirect) *NullableRedirect

func (NullableRedirect) Get

func (v NullableRedirect) Get() *Redirect

func (NullableRedirect) IsSet

func (v NullableRedirect) IsSet() bool

func (NullableRedirect) MarshalJSON

func (v NullableRedirect) MarshalJSON() ([]byte, error)

func (*NullableRedirect) Set

func (v *NullableRedirect) Set(val *Redirect)

func (*NullableRedirect) UnmarshalJSON

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

func (*NullableRedirect) Unset

func (v *NullableRedirect) Unset()

type NullableRedirectAllRequestsTo

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

func (NullableRedirectAllRequestsTo) Get

func (NullableRedirectAllRequestsTo) IsSet

func (NullableRedirectAllRequestsTo) MarshalJSON

func (v NullableRedirectAllRequestsTo) MarshalJSON() ([]byte, error)

func (*NullableRedirectAllRequestsTo) Set

func (*NullableRedirectAllRequestsTo) UnmarshalJSON

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

func (*NullableRedirectAllRequestsTo) Unset

func (v *NullableRedirectAllRequestsTo) Unset()

type NullableReplicaModificationsStatus

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

func (NullableReplicaModificationsStatus) Get

func (NullableReplicaModificationsStatus) IsSet

func (NullableReplicaModificationsStatus) MarshalJSON

func (v NullableReplicaModificationsStatus) MarshalJSON() ([]byte, error)

func (*NullableReplicaModificationsStatus) Set

func (*NullableReplicaModificationsStatus) UnmarshalJSON

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

func (*NullableReplicaModificationsStatus) Unset

type NullableReplicationConfiguration

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

func (NullableReplicationConfiguration) Get

func (NullableReplicationConfiguration) IsSet

func (NullableReplicationConfiguration) MarshalJSON

func (v NullableReplicationConfiguration) MarshalJSON() ([]byte, error)

func (*NullableReplicationConfiguration) Set

func (*NullableReplicationConfiguration) UnmarshalJSON

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

func (*NullableReplicationConfiguration) Unset

type NullableReplicationRule

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

func NewNullableReplicationRule

func NewNullableReplicationRule(val *ReplicationRule) *NullableReplicationRule

func (NullableReplicationRule) Get

func (NullableReplicationRule) IsSet

func (v NullableReplicationRule) IsSet() bool

func (NullableReplicationRule) MarshalJSON

func (v NullableReplicationRule) MarshalJSON() ([]byte, error)

func (*NullableReplicationRule) Set

func (*NullableReplicationRule) UnmarshalJSON

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

func (*NullableReplicationRule) Unset

func (v *NullableReplicationRule) Unset()

type NullableRoutingRule

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

func NewNullableRoutingRule

func NewNullableRoutingRule(val *RoutingRule) *NullableRoutingRule

func (NullableRoutingRule) Get

func (NullableRoutingRule) IsSet

func (v NullableRoutingRule) IsSet() bool

func (NullableRoutingRule) MarshalJSON

func (v NullableRoutingRule) MarshalJSON() ([]byte, error)

func (*NullableRoutingRule) Set

func (v *NullableRoutingRule) Set(val *RoutingRule)

func (*NullableRoutingRule) UnmarshalJSON

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

func (*NullableRoutingRule) Unset

func (v *NullableRoutingRule) Unset()

type NullableRoutingRuleCondition

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

func NewNullableRoutingRuleCondition

func NewNullableRoutingRuleCondition(val *RoutingRuleCondition) *NullableRoutingRuleCondition

func (NullableRoutingRuleCondition) Get

func (NullableRoutingRuleCondition) IsSet

func (NullableRoutingRuleCondition) MarshalJSON

func (v NullableRoutingRuleCondition) MarshalJSON() ([]byte, error)

func (*NullableRoutingRuleCondition) Set

func (*NullableRoutingRuleCondition) UnmarshalJSON

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

func (*NullableRoutingRuleCondition) Unset

func (v *NullableRoutingRuleCondition) Unset()

type NullableRule

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

func NewNullableRule

func NewNullableRule(val *Rule) *NullableRule

func (NullableRule) Get

func (v NullableRule) Get() *Rule

func (NullableRule) IsSet

func (v NullableRule) IsSet() bool

func (NullableRule) MarshalJSON

func (v NullableRule) MarshalJSON() ([]byte, error)

func (*NullableRule) Set

func (v *NullableRule) Set(val *Rule)

func (*NullableRule) UnmarshalJSON

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

func (*NullableRule) Unset

func (v *NullableRule) Unset()

type NullableServerSideEncryption

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

func NewNullableServerSideEncryption

func NewNullableServerSideEncryption(val *ServerSideEncryption) *NullableServerSideEncryption

func (NullableServerSideEncryption) Get

func (NullableServerSideEncryption) IsSet

func (NullableServerSideEncryption) MarshalJSON

func (v NullableServerSideEncryption) MarshalJSON() ([]byte, error)

func (*NullableServerSideEncryption) Set

func (*NullableServerSideEncryption) UnmarshalJSON

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

func (*NullableServerSideEncryption) Unset

func (v *NullableServerSideEncryption) Unset()

type NullableServerSideEncryptionByDefault

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

func (NullableServerSideEncryptionByDefault) Get

func (NullableServerSideEncryptionByDefault) IsSet

func (NullableServerSideEncryptionByDefault) MarshalJSON

func (v NullableServerSideEncryptionByDefault) MarshalJSON() ([]byte, error)

func (*NullableServerSideEncryptionByDefault) Set

func (*NullableServerSideEncryptionByDefault) UnmarshalJSON

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

func (*NullableServerSideEncryptionByDefault) Unset

type NullableServerSideEncryptionConfiguration

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

func (NullableServerSideEncryptionConfiguration) Get

func (NullableServerSideEncryptionConfiguration) IsSet

func (NullableServerSideEncryptionConfiguration) MarshalJSON

func (*NullableServerSideEncryptionConfiguration) Set

func (*NullableServerSideEncryptionConfiguration) UnmarshalJSON

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

func (*NullableServerSideEncryptionConfiguration) Unset

type NullableServerSideEncryptionRule

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

func (NullableServerSideEncryptionRule) Get

func (NullableServerSideEncryptionRule) IsSet

func (NullableServerSideEncryptionRule) MarshalJSON

func (v NullableServerSideEncryptionRule) MarshalJSON() ([]byte, error)

func (*NullableServerSideEncryptionRule) Set

func (*NullableServerSideEncryptionRule) UnmarshalJSON

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

func (*NullableServerSideEncryptionRule) Unset

type NullableStorageClass

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

func NewNullableStorageClass

func NewNullableStorageClass(val *StorageClass) *NullableStorageClass

func (NullableStorageClass) Get

func (NullableStorageClass) IsSet

func (v NullableStorageClass) IsSet() bool

func (NullableStorageClass) MarshalJSON

func (v NullableStorageClass) MarshalJSON() ([]byte, error)

func (*NullableStorageClass) Set

func (v *NullableStorageClass) Set(val *StorageClass)

func (*NullableStorageClass) UnmarshalJSON

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

func (*NullableStorageClass) Unset

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

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

func NewNullableUploadPartCopyOutput

func NewNullableUploadPartCopyOutput(val *UploadPartCopyOutput) *NullableUploadPartCopyOutput

func (NullableUploadPartCopyOutput) Get

func (NullableUploadPartCopyOutput) IsSet

func (NullableUploadPartCopyOutput) MarshalJSON

func (v NullableUploadPartCopyOutput) MarshalJSON() ([]byte, error)

func (*NullableUploadPartCopyOutput) Set

func (*NullableUploadPartCopyOutput) UnmarshalJSON

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

func (*NullableUploadPartCopyOutput) Unset

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

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

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

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

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

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

func (o *ObjectLegalHoldConfiguration) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (ObjectLegalHoldConfiguration) MarshalJSON

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

func (*ObjectLegalHoldConfiguration) SetStatus

func (o *ObjectLegalHoldConfiguration) SetStatus(v string)

SetStatus sets field value

type ObjectLockApiService

type ObjectLockApiService service

ObjectLockApiService ObjectLockApi service

func (*ObjectLockApiService) GetObjectLegalHold

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

Execute executes the request

@return ObjectLegalHoldConfiguration

func (*ObjectLockApiService) GetObjectLockConfiguration

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

Execute executes the request

@return GetObjectLockConfigurationOutput

func (*ObjectLockApiService) GetObjectRetention

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

Execute executes the request

@return ObjectLockRetention

func (*ObjectLockApiService) PutObjectLegalHold

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

func (a *ObjectLockApiService) PutObjectLegalHoldExecute(r ApiPutObjectLegalHoldRequest) (*APIResponse, error)

Execute executes the request

func (*ObjectLockApiService) PutObjectLockConfiguration

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

func (a *ObjectLockApiService) PutObjectLockConfigurationExecute(r ApiPutObjectLockConfigurationRequest) (*APIResponse, error)

Execute executes the request

func (*ObjectLockApiService) PutObjectRetention

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

func (a *ObjectLockApiService) PutObjectRetentionExecute(r ApiPutObjectRetentionRequest) (*APIResponse, error)

Execute executes the request

type ObjectLockRetention

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

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

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

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

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

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

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

func (o *ObjectLockRetention) HasMode() bool

HasMode returns a boolean if a field has been set.

func (*ObjectLockRetention) HasRetainUntilDate

func (o *ObjectLockRetention) HasRetainUntilDate() bool

HasRetainUntilDate returns a boolean if a field has been set.

func (ObjectLockRetention) MarshalJSON

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

func (*ObjectLockRetention) SetMode

func (o *ObjectLockRetention) SetMode(v string)

SetMode sets field value

func (*ObjectLockRetention) SetRetainUntilDate

func (o *ObjectLockRetention) SetRetainUntilDate(v string)

SetRetainUntilDate sets field value

type ObjectLockRule

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

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

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

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

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

func (o *ObjectLockRule) HasDefaultRetention() bool

HasDefaultRetention returns a boolean if a field has been set.

func (ObjectLockRule) MarshalJSON

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

func (*ObjectLockRule) SetDefaultRetention

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (o *ObjectVersion) HasETag() bool

HasETag returns a boolean if a field has been set.

func (*ObjectVersion) HasIsLatest

func (o *ObjectVersion) HasIsLatest() bool

HasIsLatest returns a boolean if a field has been set.

func (*ObjectVersion) HasKey

func (o *ObjectVersion) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*ObjectVersion) HasLastModified

func (o *ObjectVersion) HasLastModified() bool

HasLastModified returns a boolean if a field has been set.

func (*ObjectVersion) HasOwner

func (o *ObjectVersion) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*ObjectVersion) HasSize

func (o *ObjectVersion) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*ObjectVersion) HasStorageClass

func (o *ObjectVersion) HasStorageClass() bool

HasStorageClass returns a boolean if a field has been set.

func (*ObjectVersion) HasVersionId

func (o *ObjectVersion) HasVersionId() bool

HasVersionId returns a boolean if a field has been set.

func (ObjectVersion) MarshalJSON

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

func (*ObjectVersion) SetETag

func (o *ObjectVersion) SetETag(v string)

SetETag sets field value

func (*ObjectVersion) SetIsLatest

func (o *ObjectVersion) SetIsLatest(v bool)

SetIsLatest sets field value

func (*ObjectVersion) SetKey

func (o *ObjectVersion) SetKey(v string)

SetKey sets field value

func (*ObjectVersion) SetLastModified

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

SetLastModified sets field value

func (*ObjectVersion) SetOwner

func (o *ObjectVersion) SetOwner(v Owner)

SetOwner sets field value

func (*ObjectVersion) SetSize

func (o *ObjectVersion) SetSize(v int32)

SetSize sets field value

func (*ObjectVersion) SetStorageClass

func (o *ObjectVersion) SetStorageClass(v ObjectVersionStorageClass)

SetStorageClass sets field value

func (*ObjectVersion) SetVersionId

func (o *ObjectVersion) SetVersionId(v string)

SetVersionId sets field value

type ObjectVersionStorageClass

type ObjectVersionStorageClass string

ObjectVersionStorageClass the model 'ObjectVersionStorageClass'

const (
	OBJECTVERSIONSTORAGECLASS_STANDARD ObjectVersionStorageClass = "STANDARD"
)

List of ObjectVersionStorageClass

func (ObjectVersionStorageClass) Ptr

Ptr returns reference to ObjectVersionStorageClass value

func (*ObjectVersionStorageClass) UnmarshalJSON

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 Object Storage.</p> <note> <p>You can store individual objects of up to 5 TB in IONOS 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 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 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 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 Object Storage. An IONOS 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 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 Object Storage returns depends on whether you also have the `ListBucket` permission: - If you have the `ListBucket` permission on the bucket, IONOS Object Storage will return an HTTP status code `404`. - If you don’t have the `ListBucket` permission, IONOS 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 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 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 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 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 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 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 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 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 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 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 Object Storage never adds partial objects; if you receive a success response, IONOS Object Storage added the entire object to the bucket.</p> <p>IONOS 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 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 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 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 Object Storage Object Lock </i>. </p> </li> </ul> </note> <p><b>Versioning</b></p> <p>If you enable versioning for a bucket, IONOS Object Storage automatically generates a unique version ID for the object being stored. IONOS Object Storage returns this ID in the response. When you enable versioning for a bucket, if IONOS 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 Object Storage managed keys (SSE-S3)</b></p> <p>You can optionally request server-side encryption. With server-side encryption, IONOS 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 Object Storage 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

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

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

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

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

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

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

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

func (o *OutputSerialization) HasCSV() bool

HasCSV returns a boolean if a field has been set.

func (*OutputSerialization) HasJSON

func (o *OutputSerialization) HasJSON() bool

HasJSON returns a boolean if a field has been set.

func (OutputSerialization) MarshalJSON

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

func (*OutputSerialization) SetCSV

func (o *OutputSerialization) SetCSV(v CSVOutput)

SetCSV sets field value

func (*OutputSerialization) SetJSON

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

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

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

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

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

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

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

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

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

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

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

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

func (o *Part) HasETag() bool

HasETag returns a boolean if a field has been set.

func (*Part) HasLastModified

func (o *Part) HasLastModified() bool

HasLastModified returns a boolean if a field has been set.

func (*Part) HasPartNumber

func (o *Part) HasPartNumber() bool

HasPartNumber returns a boolean if a field has been set.

func (*Part) HasSize

func (o *Part) HasSize() bool

HasSize returns a boolean if a field has been set.

func (Part) MarshalJSON

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

func (*Part) SetETag

func (o *Part) SetETag(v string)

SetETag sets field value

func (*Part) SetLastModified

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

SetLastModified sets field value

func (*Part) SetPartNumber

func (o *Part) SetPartNumber(v int32)

SetPartNumber sets field value

func (*Part) SetSize

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

type PrincipalAllOf struct {
	XMLName xml.Name  `xml:"PrincipalAllOf"`
	AWS     *[]string `json:"AWS" xml:"AWS"`
}

PrincipalAllOf Statement applies to the specified IONOS Object Storage users.

func NewPrincipalAllOf

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

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

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

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

func (o *PrincipalAllOf) HasAWS() bool

HasAWS returns a boolean if a field has been set.

func (PrincipalAllOf) MarshalJSON

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

func (*PrincipalAllOf) SetAWS

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 Object Storage 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 Object Storage 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

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 Object Storage bucket.

func NewPutBucketCorsRequest

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

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

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

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

func (o *PutBucketCorsRequest) HasCORSRules() bool

HasCORSRules returns a boolean if a field has been set.

func (PutBucketCorsRequest) MarshalJSON

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

func (*PutBucketCorsRequest) SetCORSRules

func (o *PutBucketCorsRequest) SetCORSRules(v []CORSRule)

SetCORSRules sets field value

type PutBucketEncryptionRequest

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

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

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

GetRules returns the Rules field value If the value is explicit nil, the zero value for []ServerSideEncryptionRule will be returned

func (*PutBucketEncryptionRequest) GetRulesOk

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

func (o *PutBucketEncryptionRequest) HasRules() bool

HasRules returns a boolean if a field has been set.

func (PutBucketEncryptionRequest) MarshalJSON

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

func (*PutBucketEncryptionRequest) SetRules

SetRules sets field value

type PutBucketLifecycleRequest

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

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

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

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

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

func (o *PutBucketLifecycleRequest) HasRules() bool

HasRules returns a boolean if a field has been set.

func (PutBucketLifecycleRequest) MarshalJSON

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

func (*PutBucketLifecycleRequest) SetRules

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

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

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

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

func (o *PutBucketTaggingRequest) SetTagSet(v []Tag)

SetTagSet sets field value

type PutBucketVersioningRequest

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

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

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

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

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

GetStatus returns the Status field value If the value is explicit nil, the zero value for BucketVersioningStatus will be returned

func (*PutBucketVersioningRequest) GetStatusOk

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

func (o *PutBucketVersioningRequest) HasMfaDelete() bool

HasMfaDelete returns a boolean if a field has been set.

func (*PutBucketVersioningRequest) HasStatus

func (o *PutBucketVersioningRequest) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (PutBucketVersioningRequest) MarshalJSON

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

func (*PutBucketVersioningRequest) SetMfaDelete

func (o *PutBucketVersioningRequest) SetMfaDelete(v MfaDeleteStatus)

SetMfaDelete sets field value

func (*PutBucketVersioningRequest) SetStatus

SetStatus sets field value

type PutBucketWebsiteRequest

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 Object Storage bucket.

func NewPutBucketWebsiteRequest

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

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

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

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

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

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

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

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

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

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

func (o *PutBucketWebsiteRequest) HasErrorDocument() bool

HasErrorDocument returns a boolean if a field has been set.

func (*PutBucketWebsiteRequest) HasIndexDocument

func (o *PutBucketWebsiteRequest) HasIndexDocument() bool

HasIndexDocument returns a boolean if a field has been set.

func (*PutBucketWebsiteRequest) HasRedirectAllRequestsTo

func (o *PutBucketWebsiteRequest) HasRedirectAllRequestsTo() bool

HasRedirectAllRequestsTo returns a boolean if a field has been set.

func (*PutBucketWebsiteRequest) HasRoutingRules

func (o *PutBucketWebsiteRequest) HasRoutingRules() bool

HasRoutingRules returns a boolean if a field has been set.

func (PutBucketWebsiteRequest) MarshalJSON

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

func (*PutBucketWebsiteRequest) SetErrorDocument

func (o *PutBucketWebsiteRequest) SetErrorDocument(v ErrorDocument)

SetErrorDocument sets field value

func (*PutBucketWebsiteRequest) SetIndexDocument

func (o *PutBucketWebsiteRequest) SetIndexDocument(v IndexDocument)

SetIndexDocument sets field value

func (*PutBucketWebsiteRequest) SetRedirectAllRequestsTo

func (o *PutBucketWebsiteRequest) SetRedirectAllRequestsTo(v RedirectAllRequestsTo)

SetRedirectAllRequestsTo sets field value

func (*PutBucketWebsiteRequest) SetRoutingRules

func (o *PutBucketWebsiteRequest) SetRoutingRules(v []RoutingRule)

SetRoutingRules sets field value

type PutObjectLockConfigurationRequest

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

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

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

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

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

GetRule returns the Rule field value If the value is explicit nil, the zero value for PutObjectLockConfigurationRequestRule will be returned

func (*PutObjectLockConfigurationRequest) GetRuleOk

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

func (o *PutObjectLockConfigurationRequest) HasObjectLockEnabled() bool

HasObjectLockEnabled returns a boolean if a field has been set.

func (*PutObjectLockConfigurationRequest) HasRule

HasRule returns a boolean if a field has been set.

func (PutObjectLockConfigurationRequest) MarshalJSON

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

func (*PutObjectLockConfigurationRequest) SetObjectLockEnabled

func (o *PutObjectLockConfigurationRequest) SetObjectLockEnabled(v string)

SetObjectLockEnabled sets field value

func (*PutObjectLockConfigurationRequest) SetRule

SetRule sets field value

type PutObjectLockConfigurationRequestRule

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

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

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

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

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

func (o *PutObjectLockConfigurationRequestRule) HasDefaultRetention() bool

HasDefaultRetention returns a boolean if a field has been set.

func (PutObjectLockConfigurationRequestRule) MarshalJSON

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

func (*PutObjectLockConfigurationRequestRule) SetDefaultRetention

func (o *PutObjectLockConfigurationRequestRule) SetDefaultRetention(v DefaultRetention)

SetDefaultRetention sets field value

type PutObjectRetentionRequest

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

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

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

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

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

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

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

func (o *PutObjectRetentionRequest) HasMode() bool

HasMode returns a boolean if a field has been set.

func (*PutObjectRetentionRequest) HasRetainUntilDate

func (o *PutObjectRetentionRequest) HasRetainUntilDate() bool

HasRetainUntilDate returns a boolean if a field has been set.

func (PutObjectRetentionRequest) MarshalJSON

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

func (*PutObjectRetentionRequest) SetMode

func (o *PutObjectRetentionRequest) SetMode(v string)

SetMode sets field value

func (*PutObjectRetentionRequest) SetRetainUntilDate

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

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

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

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

func (o *PutObjectTaggingRequest) SetTagSet(v []Tag)

SetTagSet sets field value

type Redirect

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

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

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

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

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

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

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

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

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

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

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

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

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

func (o *Redirect) HasHostName() bool

HasHostName returns a boolean if a field has been set.

func (*Redirect) HasHttpRedirectCode

func (o *Redirect) HasHttpRedirectCode() bool

HasHttpRedirectCode returns a boolean if a field has been set.

func (*Redirect) HasProtocol

func (o *Redirect) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (*Redirect) HasReplaceKeyPrefixWith

func (o *Redirect) HasReplaceKeyPrefixWith() bool

HasReplaceKeyPrefixWith returns a boolean if a field has been set.

func (*Redirect) HasReplaceKeyWith

func (o *Redirect) HasReplaceKeyWith() bool

HasReplaceKeyWith returns a boolean if a field has been set.

func (Redirect) MarshalJSON

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

func (*Redirect) SetHostName

func (o *Redirect) SetHostName(v string)

SetHostName sets field value

func (*Redirect) SetHttpRedirectCode

func (o *Redirect) SetHttpRedirectCode(v string)

SetHttpRedirectCode sets field value

func (*Redirect) SetProtocol

func (o *Redirect) SetProtocol(v string)

SetProtocol sets field value

func (*Redirect) SetReplaceKeyPrefixWith

func (o *Redirect) SetReplaceKeyPrefixWith(v string)

SetReplaceKeyPrefixWith sets field value

func (*Redirect) SetReplaceKeyWith

func (o *Redirect) SetReplaceKeyWith(v string)

SetReplaceKeyWith sets field value

type RedirectAllRequestsTo

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 Object Storage bucket.

func NewRedirectAllRequestsTo

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

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

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

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

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

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

func (o *RedirectAllRequestsTo) HasHostName() bool

HasHostName returns a boolean if a field has been set.

func (*RedirectAllRequestsTo) HasProtocol

func (o *RedirectAllRequestsTo) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (RedirectAllRequestsTo) MarshalJSON

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

func (*RedirectAllRequestsTo) SetHostName

func (o *RedirectAllRequestsTo) SetHostName(v string)

SetHostName sets field value

func (*RedirectAllRequestsTo) SetProtocol

func (o *RedirectAllRequestsTo) SetProtocol(v string)

SetProtocol sets field value

type ReplicaModificationsStatus

type ReplicaModificationsStatus string

ReplicaModificationsStatus the model 'ReplicaModificationsStatus'

const (
	REPLICAMODIFICATIONSSTATUS_ENABLED  ReplicaModificationsStatus = "Enabled"
	REPLICAMODIFICATIONSSTATUS_DISABLED ReplicaModificationsStatus = "Disabled"
)

List of ReplicaModificationsStatus

func (ReplicaModificationsStatus) Ptr

Ptr returns reference to ReplicaModificationsStatus value

func (*ReplicaModificationsStatus) UnmarshalJSON

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

type ReplicationApiService

type ReplicationApiService service

ReplicationApiService ReplicationApi service

func (*ReplicationApiService) GetBucketReplication

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

Execute executes the request

@return GetBucketReplicationOutput

type ReplicationConfiguration

type ReplicationConfiguration struct {
	XMLName xml.Name `xml:"ReplicationConfiguration"`
	// The Resource Name of the Identity and Access Management (IAM) role that IONOS 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

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

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

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

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

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

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

func (o *ReplicationConfiguration) HasRole() bool

HasRole returns a boolean if a field has been set.

func (*ReplicationConfiguration) HasRules

func (o *ReplicationConfiguration) HasRules() bool

HasRules returns a boolean if a field has been set.

func (ReplicationConfiguration) MarshalJSON

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

func (*ReplicationConfiguration) SetRole

func (o *ReplicationConfiguration) SetRole(v string)

SetRole sets field value

func (*ReplicationConfiguration) SetRules

func (o *ReplicationConfiguration) SetRules(v []ReplicationRule)

SetRules sets field value

type ReplicationRule

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 Object Storage objects to replicate and where to store the replicas.

func NewReplicationRule

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

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

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

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

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

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

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

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

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

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

func (o *ReplicationRule) HasDestination() bool

HasDestination returns a boolean if a field has been set.

func (*ReplicationRule) HasID

func (o *ReplicationRule) HasID() bool

HasID returns a boolean if a field has been set.

func (*ReplicationRule) HasPrefix

func (o *ReplicationRule) HasPrefix() bool

HasPrefix returns a boolean if a field has been set.

func (*ReplicationRule) HasStatus

func (o *ReplicationRule) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (ReplicationRule) MarshalJSON

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

func (*ReplicationRule) SetDestination

func (o *ReplicationRule) SetDestination(v Destination)

SetDestination sets field value

func (*ReplicationRule) SetID

func (o *ReplicationRule) SetID(v int32)

SetID sets field value

func (*ReplicationRule) SetPrefix

func (o *ReplicationRule) SetPrefix(v string)

SetPrefix sets field value

func (*ReplicationRule) SetStatus

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

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

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

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

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

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

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

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

func (o *RoutingRule) HasCondition() bool

HasCondition returns a boolean if a field has been set.

func (*RoutingRule) HasRedirect

func (o *RoutingRule) HasRedirect() bool

HasRedirect returns a boolean if a field has been set.

func (RoutingRule) MarshalJSON

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

func (*RoutingRule) SetCondition

func (o *RoutingRule) SetCondition(v RoutingRuleCondition)

SetCondition sets field value

func (*RoutingRule) SetRedirect

func (o *RoutingRule) SetRedirect(v Redirect)

SetRedirect sets field value

type RoutingRuleCondition

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

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

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

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

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

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

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

func (o *RoutingRuleCondition) HasHttpErrorCodeReturnedEquals() bool

HasHttpErrorCodeReturnedEquals returns a boolean if a field has been set.

func (*RoutingRuleCondition) HasKeyPrefixEquals

func (o *RoutingRuleCondition) HasKeyPrefixEquals() bool

HasKeyPrefixEquals returns a boolean if a field has been set.

func (RoutingRuleCondition) MarshalJSON

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

func (*RoutingRuleCondition) SetHttpErrorCodeReturnedEquals

func (o *RoutingRuleCondition) SetHttpErrorCodeReturnedEquals(v string)

SetHttpErrorCodeReturnedEquals sets field value

func (*RoutingRuleCondition) SetKeyPrefixEquals

func (o *RoutingRuleCondition) SetKeyPrefixEquals(v string)

SetKeyPrefixEquals sets field value

type Rule

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 Object Storage bucket.

func NewRule

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (o *Rule) HasAbortIncompleteMultipartUpload() bool

HasAbortIncompleteMultipartUpload returns a boolean if a field has been set.

func (*Rule) HasExpiration

func (o *Rule) HasExpiration() bool

HasExpiration returns a boolean if a field has been set.

func (*Rule) HasID

func (o *Rule) HasID() bool

HasID returns a boolean if a field has been set.

func (*Rule) HasNoncurrentVersionExpiration

func (o *Rule) HasNoncurrentVersionExpiration() bool

HasNoncurrentVersionExpiration returns a boolean if a field has been set.

func (*Rule) HasPrefix

func (o *Rule) HasPrefix() bool

HasPrefix returns a boolean if a field has been set.

func (*Rule) HasStatus

func (o *Rule) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (Rule) MarshalJSON

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

func (*Rule) SetAbortIncompleteMultipartUpload

func (o *Rule) SetAbortIncompleteMultipartUpload(v AbortIncompleteMultipartUpload)

SetAbortIncompleteMultipartUpload sets field value

func (*Rule) SetExpiration

func (o *Rule) SetExpiration(v LifecycleExpiration)

SetExpiration sets field value

func (*Rule) SetID

func (o *Rule) SetID(v string)

SetID sets field value

func (*Rule) SetNoncurrentVersionExpiration

func (o *Rule) SetNoncurrentVersionExpiration(v NoncurrentVersionExpiration)

SetNoncurrentVersionExpiration sets field value

func (*Rule) SetPrefix

func (o *Rule) SetPrefix(v string)

SetPrefix sets field value

func (*Rule) SetStatus

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

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

Ptr returns reference to ServerSideEncryption value

func (*ServerSideEncryption) UnmarshalJSON

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

type ServerSideEncryptionByDefault

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

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

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

GetSSEAlgorithm returns the SSEAlgorithm field value If the value is explicit nil, the zero value for ServerSideEncryption will be returned

func (*ServerSideEncryptionByDefault) GetSSEAlgorithmOk

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

func (o *ServerSideEncryptionByDefault) HasSSEAlgorithm() bool

HasSSEAlgorithm returns a boolean if a field has been set.

func (ServerSideEncryptionByDefault) MarshalJSON

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

func (*ServerSideEncryptionByDefault) SetSSEAlgorithm

SetSSEAlgorithm sets field value

type ServerSideEncryptionConfiguration

type ServerSideEncryptionConfiguration struct {
	XMLName xml.Name                    `xml:"ServerSideEncryptionConfiguration"`
	Rules   *[]ServerSideEncryptionRule `json:"Rules" xml:"Rule"`
}

ServerSideEncryptionConfiguration Specifies the default server-side-encryption configuration.

func NewServerSideEncryptionConfiguration

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

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

GetRules returns the Rules field value If the value is explicit nil, the zero value for []ServerSideEncryptionRule will be returned

func (*ServerSideEncryptionConfiguration) GetRulesOk

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

HasRules returns a boolean if a field has been set.

func (ServerSideEncryptionConfiguration) MarshalJSON

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

func (*ServerSideEncryptionConfiguration) SetRules

SetRules sets field value

type ServerSideEncryptionRule

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

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

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

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

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

func (o *ServerSideEncryptionRule) HasApplyServerSideEncryptionByDefault() bool

HasApplyServerSideEncryptionByDefault returns a boolean if a field has been set.

func (ServerSideEncryptionRule) MarshalJSON

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

func (*ServerSideEncryptionRule) SetApplyServerSideEncryptionByDefault

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

type StorageClass string

StorageClass Currently, only one storage class is available – `STANDARD`.

const (
	STORAGECLASS_STANDARD StorageClass = "STANDARD"
)

List of StorageClass

func (StorageClass) Ptr

func (v StorageClass) Ptr() *StorageClass

Ptr returns reference to StorageClass value

func (*StorageClass) UnmarshalJSON

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

type UploadPartCopyOutput struct {
	XMLName        xml.Name        `xml:"UploadPartCopyOutput"`
	CopyPartResult *CopyPartResult `json:"CopyPartResult,omitempty" xml:"CopyPartResult"`
}

UploadPartCopyOutput struct for UploadPartCopyOutput

func NewUploadPartCopyOutput

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

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

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

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

func (o *UploadPartCopyOutput) HasCopyPartResult() bool

HasCopyPartResult returns a boolean if a field has been set.

func (UploadPartCopyOutput) MarshalJSON

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

func (*UploadPartCopyOutput) SetCopyPartResult

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

type UploadsApiService service

UploadsApiService UploadsApi service

func (*UploadsApiService) AbortMultipartUpload

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

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

Execute executes the request

@return map[string]interface{}

func (*UploadsApiService) CompleteMultipartUpload

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 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 Object Storage begins processing the request, it sends an HTTP response header indicating a 200 OK response. While processing is in progress, IONOS 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

Execute executes the request

@return CompleteMultipartUploadOutput

func (*UploadsApiService) CreateMultipartUpload

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

Execute executes the request

@return CreateMultipartUploadOutput

func (*UploadsApiService) ListMultipartUploads

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

Execute executes the request

@return ListMultipartUploadsOutput

func (*UploadsApiService) ListParts

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

Execute executes the request

@return ListPartsOutput

func (*UploadsApiService) UploadPart

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 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 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 Object Storage checks the part data against the provided MD5 value. If they do not match, IONOS Object Storage returns an error. </p> <p>If the upload request is signed with Signature Version 4, then IONOS Object Storage 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 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

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

Execute executes the request

@return UploadPartCopyOutput

func (*UploadsApiService) UploadPartExecute

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

Execute executes the request

@return map[string]interface{}

type VersioningApiService

type VersioningApiService service

VersioningApiService VersioningApi service

func (*VersioningApiService) GetBucketVersioning

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

Execute executes the request

@return GetBucketVersioningOutput

func (*VersioningApiService) PutBucketVersioning

func (a *VersioningApiService) PutBucketVersioning(ctx context.Context, bucket string) ApiPutBucketVersioningRequest

PutBucketVersioning PutBucketVersioning

Configures the versioning state of an Object Storage 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

func (a *VersioningApiService) PutBucketVersioningExecute(r ApiPutBucketVersioningRequest) (*APIResponse, error)

Execute executes the request

type VersionsApiService

type VersionsApiService service

VersionsApiService VersionsApi service

func (*VersionsApiService) ListObjectVersions

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

Execute executes the request

@return ListObjectVersionsOutput

type WebsiteApiService

type WebsiteApiService service

WebsiteApiService WebsiteApi service

func (*WebsiteApiService) DeleteBucketWebsite

func (a *WebsiteApiService) DeleteBucketWebsite(ctx context.Context, bucket string) ApiDeleteBucketWebsiteRequest

DeleteBucketWebsite DeleteBucketWebsite

<p>This operation removes the website configuration for a bucket. IONOS 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 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

func (a *WebsiteApiService) DeleteBucketWebsiteExecute(r ApiDeleteBucketWebsiteRequest) (*APIResponse, error)

Execute executes the request

func (*WebsiteApiService) GetBucketWebsite

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

Execute executes the request

@return GetBucketWebsiteOutput

func (*WebsiteApiService) PutBucketWebsite

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

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