Documentation
¶
Index ¶
- Constants
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func IsZero(v interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- func Strlen(s string) int
- type APIClient
- type APIKey
- type APIResponse
- type AbortIncompleteMultipartUpload
- func (o *AbortIncompleteMultipartUpload) GetDaysAfterInitiation() *int32
- func (o *AbortIncompleteMultipartUpload) GetDaysAfterInitiationOk() (*int32, bool)
- func (o *AbortIncompleteMultipartUpload) HasDaysAfterInitiation() bool
- func (o AbortIncompleteMultipartUpload) MarshalJSON() ([]byte, error)
- func (o *AbortIncompleteMultipartUpload) SetDaysAfterInitiation(v int32)
- type ApiAbortMultipartUploadRequest
- type ApiCompleteMultipartUploadRequest
- func (r ApiCompleteMultipartUploadRequest) Example(example Example) ApiCompleteMultipartUploadRequest
- func (r ApiCompleteMultipartUploadRequest) Execute() (*CompleteMultipartUploadOutput, *APIResponse, error)
- func (r ApiCompleteMultipartUploadRequest) UploadId(uploadId string) ApiCompleteMultipartUploadRequest
- type ApiCopyObjectRequest
- func (r ApiCopyObjectRequest) CacheControl(cacheControl string) ApiCopyObjectRequest
- func (r ApiCopyObjectRequest) ContentDisposition(contentDisposition string) ApiCopyObjectRequest
- func (r ApiCopyObjectRequest) ContentEncoding(contentEncoding string) ApiCopyObjectRequest
- func (r ApiCopyObjectRequest) ContentLanguage(contentLanguage string) ApiCopyObjectRequest
- func (r ApiCopyObjectRequest) ContentType(contentType string) ApiCopyObjectRequest
- func (r ApiCopyObjectRequest) CopyObjectRequest(copyObjectRequest CopyObjectRequest) ApiCopyObjectRequest
- func (r ApiCopyObjectRequest) Execute() (*CopyObjectResult, *APIResponse, error)
- func (r ApiCopyObjectRequest) Expires(expires time.Time) ApiCopyObjectRequest
- func (r ApiCopyObjectRequest) XAmzCopySource(xAmzCopySource string) ApiCopyObjectRequest
- func (r ApiCopyObjectRequest) XAmzCopySourceIfMatch(xAmzCopySourceIfMatch string) ApiCopyObjectRequest
- func (r ApiCopyObjectRequest) XAmzCopySourceIfModifiedSince(xAmzCopySourceIfModifiedSince time.Time) ApiCopyObjectRequest
- func (r ApiCopyObjectRequest) XAmzCopySourceIfNoneMatch(xAmzCopySourceIfNoneMatch string) ApiCopyObjectRequest
- func (r ApiCopyObjectRequest) XAmzCopySourceIfUnmodifiedSince(xAmzCopySourceIfUnmodifiedSince time.Time) ApiCopyObjectRequest
- func (r ApiCopyObjectRequest) XAmzCopySourceServerSideEncryptionCustomerAlgorithm(xAmzCopySourceServerSideEncryptionCustomerAlgorithm string) ApiCopyObjectRequest
- func (r ApiCopyObjectRequest) XAmzCopySourceServerSideEncryptionCustomerKey(xAmzCopySourceServerSideEncryptionCustomerKey string) ApiCopyObjectRequest
- func (r ApiCopyObjectRequest) XAmzCopySourceServerSideEncryptionCustomerKeyMD5(xAmzCopySourceServerSideEncryptionCustomerKeyMD5 string) ApiCopyObjectRequest
- func (r ApiCopyObjectRequest) XAmzMeta(xAmzMeta map[string]string) ApiCopyObjectRequest
- func (r ApiCopyObjectRequest) XAmzMetadataDirective(xAmzMetadataDirective string) ApiCopyObjectRequest
- func (r ApiCopyObjectRequest) XAmzObjectLockLegalHold(xAmzObjectLockLegalHold string) ApiCopyObjectRequest
- func (r ApiCopyObjectRequest) XAmzObjectLockMode(xAmzObjectLockMode string) ApiCopyObjectRequest
- func (r ApiCopyObjectRequest) XAmzObjectLockRetainUntilDate(xAmzObjectLockRetainUntilDate time.Time) ApiCopyObjectRequest
- func (r ApiCopyObjectRequest) XAmzServerSideEncryption(xAmzServerSideEncryption string) ApiCopyObjectRequest
- func (r ApiCopyObjectRequest) XAmzServerSideEncryptionCustomerAlgorithm(xAmzServerSideEncryptionCustomerAlgorithm string) ApiCopyObjectRequest
- func (r ApiCopyObjectRequest) XAmzServerSideEncryptionCustomerKey(xAmzServerSideEncryptionCustomerKey string) ApiCopyObjectRequest
- func (r ApiCopyObjectRequest) XAmzServerSideEncryptionCustomerKeyMD5(xAmzServerSideEncryptionCustomerKeyMD5 string) ApiCopyObjectRequest
- func (r ApiCopyObjectRequest) XAmzStorageClass(xAmzStorageClass string) ApiCopyObjectRequest
- func (r ApiCopyObjectRequest) XAmzTagging(xAmzTagging string) ApiCopyObjectRequest
- func (r ApiCopyObjectRequest) XAmzTaggingDirective(xAmzTaggingDirective string) ApiCopyObjectRequest
- func (r ApiCopyObjectRequest) XAmzWebsiteRedirectLocation(xAmzWebsiteRedirectLocation string) ApiCopyObjectRequest
- type ApiCreateBucketRequest
- func (r ApiCreateBucketRequest) CreateBucketConfiguration(createBucketConfiguration CreateBucketConfiguration) ApiCreateBucketRequest
- func (r ApiCreateBucketRequest) Execute() (*APIResponse, error)
- func (r ApiCreateBucketRequest) XAmzBucketObjectLockEnabled(xAmzBucketObjectLockEnabled bool) ApiCreateBucketRequest
- type ApiCreateMultipartUploadRequest
- func (r ApiCreateMultipartUploadRequest) CacheControl(cacheControl string) ApiCreateMultipartUploadRequest
- func (r ApiCreateMultipartUploadRequest) ContentDisposition(contentDisposition string) ApiCreateMultipartUploadRequest
- func (r ApiCreateMultipartUploadRequest) ContentEncoding(contentEncoding string) ApiCreateMultipartUploadRequest
- func (r ApiCreateMultipartUploadRequest) ContentType(contentType string) ApiCreateMultipartUploadRequest
- func (r ApiCreateMultipartUploadRequest) Execute() (*CreateMultipartUploadOutput, *APIResponse, error)
- func (r ApiCreateMultipartUploadRequest) Expires(expires time.Time) ApiCreateMultipartUploadRequest
- func (r ApiCreateMultipartUploadRequest) Uploads(uploads bool) ApiCreateMultipartUploadRequest
- func (r ApiCreateMultipartUploadRequest) XAmzMeta(xAmzMeta map[string]string) ApiCreateMultipartUploadRequest
- func (r ApiCreateMultipartUploadRequest) XAmzObjectLockLegalHold(xAmzObjectLockLegalHold string) ApiCreateMultipartUploadRequest
- func (r ApiCreateMultipartUploadRequest) XAmzObjectLockMode(xAmzObjectLockMode string) ApiCreateMultipartUploadRequest
- func (r ApiCreateMultipartUploadRequest) XAmzObjectLockRetainUntilDate(xAmzObjectLockRetainUntilDate time.Time) ApiCreateMultipartUploadRequest
- func (r ApiCreateMultipartUploadRequest) XAmzServerSideEncryption(xAmzServerSideEncryption string) ApiCreateMultipartUploadRequest
- func (r ApiCreateMultipartUploadRequest) XAmzServerSideEncryptionCustomerAlgorithm(xAmzServerSideEncryptionCustomerAlgorithm string) ApiCreateMultipartUploadRequest
- func (r ApiCreateMultipartUploadRequest) XAmzServerSideEncryptionCustomerKey(xAmzServerSideEncryptionCustomerKey string) ApiCreateMultipartUploadRequest
- func (r ApiCreateMultipartUploadRequest) XAmzServerSideEncryptionCustomerKeyMD5(xAmzServerSideEncryptionCustomerKeyMD5 string) ApiCreateMultipartUploadRequest
- func (r ApiCreateMultipartUploadRequest) XAmzStorageClass(xAmzStorageClass string) ApiCreateMultipartUploadRequest
- func (r ApiCreateMultipartUploadRequest) XAmzWebsiteRedirectLocation(xAmzWebsiteRedirectLocation string) ApiCreateMultipartUploadRequest
- type ApiDeleteBucketCorsRequest
- type ApiDeleteBucketEncryptionRequest
- type ApiDeleteBucketLifecycleRequest
- type ApiDeleteBucketPolicyRequest
- type ApiDeleteBucketRequest
- type ApiDeleteBucketTaggingRequest
- type ApiDeleteBucketWebsiteRequest
- type ApiDeleteObjectRequest
- func (r ApiDeleteObjectRequest) Execute() (map[string]interface{}, *APIResponse, error)
- func (r ApiDeleteObjectRequest) VersionId(versionId string) ApiDeleteObjectRequest
- func (r ApiDeleteObjectRequest) XAmzBypassGovernanceRetention(xAmzBypassGovernanceRetention bool) ApiDeleteObjectRequest
- func (r ApiDeleteObjectRequest) XAmzMfa(xAmzMfa string) ApiDeleteObjectRequest
- type ApiDeleteObjectTaggingRequest
- type ApiDeleteObjectsRequest
- func (r ApiDeleteObjectsRequest) DeleteObjectsRequest(deleteObjectsRequest DeleteObjectsRequest) ApiDeleteObjectsRequest
- func (r ApiDeleteObjectsRequest) Execute() (*DeleteObjectsOutput, *APIResponse, error)
- func (r ApiDeleteObjectsRequest) XAmzBypassGovernanceRetention(xAmzBypassGovernanceRetention bool) ApiDeleteObjectsRequest
- func (r ApiDeleteObjectsRequest) XAmzMfa(xAmzMfa string) ApiDeleteObjectsRequest
- type ApiDeletePublicAccessBlockRequest
- type ApiGetBucketCorsRequest
- type ApiGetBucketEncryptionRequest
- type ApiGetBucketLifecycleRequest
- type ApiGetBucketLocationRequest
- type ApiGetBucketPolicyRequest
- type ApiGetBucketPolicyStatusRequest
- type ApiGetBucketReplicationRequest
- type ApiGetBucketTaggingRequest
- type ApiGetBucketVersioningRequest
- type ApiGetBucketWebsiteRequest
- type ApiGetObjectLegalHoldRequest
- type ApiGetObjectLockConfigurationRequest
- type ApiGetObjectRequest
- func (r ApiGetObjectRequest) Execute() (*os.File, *APIResponse, error)
- func (r ApiGetObjectRequest) IfMatch(ifMatch string) ApiGetObjectRequest
- func (r ApiGetObjectRequest) IfModifiedSince(ifModifiedSince time.Time) ApiGetObjectRequest
- func (r ApiGetObjectRequest) IfNoneMatch(ifNoneMatch string) ApiGetObjectRequest
- func (r ApiGetObjectRequest) IfUnmodifiedSince(ifUnmodifiedSince time.Time) ApiGetObjectRequest
- func (r ApiGetObjectRequest) PartNumber(partNumber int32) ApiGetObjectRequest
- func (r ApiGetObjectRequest) Range_(range_ string) ApiGetObjectRequest
- func (r ApiGetObjectRequest) ResponseCacheControl(responseCacheControl string) ApiGetObjectRequest
- func (r ApiGetObjectRequest) ResponseContentDisposition(responseContentDisposition string) ApiGetObjectRequest
- func (r ApiGetObjectRequest) ResponseContentEncoding(responseContentEncoding string) ApiGetObjectRequest
- func (r ApiGetObjectRequest) ResponseContentLanguage(responseContentLanguage string) ApiGetObjectRequest
- func (r ApiGetObjectRequest) ResponseContentType(responseContentType string) ApiGetObjectRequest
- func (r ApiGetObjectRequest) ResponseExpires(responseExpires time.Time) ApiGetObjectRequest
- func (r ApiGetObjectRequest) VersionId(versionId string) ApiGetObjectRequest
- func (r ApiGetObjectRequest) XAmzServerSideEncryptionCustomerAlgorithm(xAmzServerSideEncryptionCustomerAlgorithm string) ApiGetObjectRequest
- func (r ApiGetObjectRequest) XAmzServerSideEncryptionCustomerKey(xAmzServerSideEncryptionCustomerKey string) ApiGetObjectRequest
- func (r ApiGetObjectRequest) XAmzServerSideEncryptionCustomerKeyMD5(xAmzServerSideEncryptionCustomerKeyMD5 string) ApiGetObjectRequest
- type ApiGetObjectRetentionRequest
- type ApiGetObjectTaggingRequest
- type ApiGetPublicAccessBlockRequest
- type ApiHeadBucketRequest
- type ApiHeadObjectRequest
- func (r ApiHeadObjectRequest) Execute() (*HeadObjectOutput, *APIResponse, error)
- func (r ApiHeadObjectRequest) IfMatch(ifMatch string) ApiHeadObjectRequest
- func (r ApiHeadObjectRequest) IfModifiedSince(ifModifiedSince time.Time) ApiHeadObjectRequest
- func (r ApiHeadObjectRequest) IfNoneMatch(ifNoneMatch string) ApiHeadObjectRequest
- func (r ApiHeadObjectRequest) IfUnmodifiedSince(ifUnmodifiedSince time.Time) ApiHeadObjectRequest
- func (r ApiHeadObjectRequest) PartNumber(partNumber int32) ApiHeadObjectRequest
- func (r ApiHeadObjectRequest) Range_(range_ string) ApiHeadObjectRequest
- func (r ApiHeadObjectRequest) VersionId(versionId string) ApiHeadObjectRequest
- func (r ApiHeadObjectRequest) XAmzServerSideEncryptionCustomerAlgorithm(xAmzServerSideEncryptionCustomerAlgorithm string) ApiHeadObjectRequest
- func (r ApiHeadObjectRequest) XAmzServerSideEncryptionCustomerKey(xAmzServerSideEncryptionCustomerKey string) ApiHeadObjectRequest
- func (r ApiHeadObjectRequest) XAmzServerSideEncryptionCustomerKeyMD5(xAmzServerSideEncryptionCustomerKeyMD5 string) ApiHeadObjectRequest
- type ApiListBucketsRequest
- type ApiListMultipartUploadsRequest
- func (r ApiListMultipartUploadsRequest) Delimiter(delimiter string) ApiListMultipartUploadsRequest
- func (r ApiListMultipartUploadsRequest) EncodingType(encodingType string) ApiListMultipartUploadsRequest
- func (r ApiListMultipartUploadsRequest) Execute() (*ListMultipartUploadsOutput, *APIResponse, error)
- func (r ApiListMultipartUploadsRequest) KeyMarker(keyMarker string) ApiListMultipartUploadsRequest
- func (r ApiListMultipartUploadsRequest) KeyMarker2(keyMarker2 string) ApiListMultipartUploadsRequest
- func (r ApiListMultipartUploadsRequest) MaxUploads(maxUploads int32) ApiListMultipartUploadsRequest
- func (r ApiListMultipartUploadsRequest) MaxUploads2(maxUploads2 string) ApiListMultipartUploadsRequest
- func (r ApiListMultipartUploadsRequest) Prefix(prefix string) ApiListMultipartUploadsRequest
- func (r ApiListMultipartUploadsRequest) UploadIdMarker(uploadIdMarker string) ApiListMultipartUploadsRequest
- func (r ApiListMultipartUploadsRequest) UploadIdMarker2(uploadIdMarker2 string) ApiListMultipartUploadsRequest
- func (r ApiListMultipartUploadsRequest) Uploads(uploads bool) ApiListMultipartUploadsRequest
- type ApiListObjectVersionsRequest
- func (r ApiListObjectVersionsRequest) Delimiter(delimiter string) ApiListObjectVersionsRequest
- func (r ApiListObjectVersionsRequest) EncodingType(encodingType string) ApiListObjectVersionsRequest
- func (r ApiListObjectVersionsRequest) Execute() (*ListObjectVersionsOutput, *APIResponse, error)
- func (r ApiListObjectVersionsRequest) KeyMarker(keyMarker string) ApiListObjectVersionsRequest
- func (r ApiListObjectVersionsRequest) KeyMarker2(keyMarker2 string) ApiListObjectVersionsRequest
- func (r ApiListObjectVersionsRequest) MaxKeys(maxKeys int32) ApiListObjectVersionsRequest
- func (r ApiListObjectVersionsRequest) MaxKeys2(maxKeys2 string) ApiListObjectVersionsRequest
- func (r ApiListObjectVersionsRequest) Prefix(prefix string) ApiListObjectVersionsRequest
- func (r ApiListObjectVersionsRequest) VersionIdMarker(versionIdMarker string) ApiListObjectVersionsRequest
- func (r ApiListObjectVersionsRequest) VersionIdMarker2(versionIdMarker2 string) ApiListObjectVersionsRequest
- type ApiListObjectsRequest
- func (r ApiListObjectsRequest) Delimiter(delimiter string) ApiListObjectsRequest
- func (r ApiListObjectsRequest) EncodingType(encodingType string) ApiListObjectsRequest
- func (r ApiListObjectsRequest) Execute() (*ListObjectsOutput, *APIResponse, error)
- func (r ApiListObjectsRequest) Marker(marker string) ApiListObjectsRequest
- func (r ApiListObjectsRequest) Marker2(marker2 string) ApiListObjectsRequest
- func (r ApiListObjectsRequest) MaxKeys(maxKeys int32) ApiListObjectsRequest
- func (r ApiListObjectsRequest) MaxKeys2(maxKeys2 string) ApiListObjectsRequest
- func (r ApiListObjectsRequest) Prefix(prefix string) ApiListObjectsRequest
- func (r ApiListObjectsRequest) XAmzRequestPayer(xAmzRequestPayer string) ApiListObjectsRequest
- type ApiListObjectsV2Request
- func (r ApiListObjectsV2Request) ContinuationToken(continuationToken string) ApiListObjectsV2Request
- func (r ApiListObjectsV2Request) Delimiter(delimiter string) ApiListObjectsV2Request
- func (r ApiListObjectsV2Request) EncodingType(encodingType string) ApiListObjectsV2Request
- func (r ApiListObjectsV2Request) Execute() (*ListBucketResultV2, *APIResponse, error)
- func (r ApiListObjectsV2Request) FetchOwner(fetchOwner bool) ApiListObjectsV2Request
- func (r ApiListObjectsV2Request) MaxKeys(maxKeys int32) ApiListObjectsV2Request
- func (r ApiListObjectsV2Request) Prefix(prefix string) ApiListObjectsV2Request
- func (r ApiListObjectsV2Request) StartAfter(startAfter string) ApiListObjectsV2Request
- type ApiListPartsRequest
- func (r ApiListPartsRequest) Execute() (*ListPartsOutput, *APIResponse, error)
- func (r ApiListPartsRequest) MaxParts(maxParts int32) ApiListPartsRequest
- func (r ApiListPartsRequest) PartNumberMarker(partNumberMarker int32) ApiListPartsRequest
- func (r ApiListPartsRequest) PartNumberMarker2(partNumberMarker2 string) ApiListPartsRequest
- func (r ApiListPartsRequest) UploadId(uploadId string) ApiListPartsRequest
- type ApiOPTIONSObjectRequest
- func (r ApiOPTIONSObjectRequest) AccessControlRequestHeaders(accessControlRequestHeaders string) ApiOPTIONSObjectRequest
- func (r ApiOPTIONSObjectRequest) AccessControlRequestMethod(accessControlRequestMethod string) ApiOPTIONSObjectRequest
- func (r ApiOPTIONSObjectRequest) Execute() (*APIResponse, error)
- func (r ApiOPTIONSObjectRequest) Origin(origin string) ApiOPTIONSObjectRequest
- type ApiPOSTObjectRequest
- func (r ApiPOSTObjectRequest) CacheControl(cacheControl string) ApiPOSTObjectRequest
- func (r ApiPOSTObjectRequest) ContentDisposition(contentDisposition string) ApiPOSTObjectRequest
- func (r ApiPOSTObjectRequest) ContentEncoding(contentEncoding string) ApiPOSTObjectRequest
- func (r ApiPOSTObjectRequest) ContentLanguage(contentLanguage string) ApiPOSTObjectRequest
- func (r ApiPOSTObjectRequest) ContentLength(contentLength int32) ApiPOSTObjectRequest
- func (r ApiPOSTObjectRequest) ContentMD5(contentMD5 string) ApiPOSTObjectRequest
- func (r ApiPOSTObjectRequest) ContentType(contentType string) ApiPOSTObjectRequest
- func (r ApiPOSTObjectRequest) Execute() (map[string]interface{}, *APIResponse, error)
- func (r ApiPOSTObjectRequest) Expires(expires time.Time) ApiPOSTObjectRequest
- func (r ApiPOSTObjectRequest) POSTObjectRequest(pOSTObjectRequest POSTObjectRequest) ApiPOSTObjectRequest
- func (r ApiPOSTObjectRequest) XAmzObjectLockLegalHold(xAmzObjectLockLegalHold string) ApiPOSTObjectRequest
- func (r ApiPOSTObjectRequest) XAmzObjectLockMode(xAmzObjectLockMode string) ApiPOSTObjectRequest
- func (r ApiPOSTObjectRequest) XAmzObjectLockRetainUntilDate(xAmzObjectLockRetainUntilDate time.Time) ApiPOSTObjectRequest
- func (r ApiPOSTObjectRequest) XAmzRequestPayer(xAmzRequestPayer string) ApiPOSTObjectRequest
- func (r ApiPOSTObjectRequest) XAmzServerSideEncryption(xAmzServerSideEncryption string) ApiPOSTObjectRequest
- func (r ApiPOSTObjectRequest) XAmzServerSideEncryptionBucketKeyEnabled(xAmzServerSideEncryptionBucketKeyEnabled bool) ApiPOSTObjectRequest
- func (r ApiPOSTObjectRequest) XAmzServerSideEncryptionContext(xAmzServerSideEncryptionContext string) ApiPOSTObjectRequest
- func (r ApiPOSTObjectRequest) XAmzServerSideEncryptionCustomerAlgorithm(xAmzServerSideEncryptionCustomerAlgorithm string) ApiPOSTObjectRequest
- func (r ApiPOSTObjectRequest) XAmzServerSideEncryptionCustomerKey(xAmzServerSideEncryptionCustomerKey string) ApiPOSTObjectRequest
- func (r ApiPOSTObjectRequest) XAmzServerSideEncryptionCustomerKeyMD5(xAmzServerSideEncryptionCustomerKeyMD5 string) ApiPOSTObjectRequest
- func (r ApiPOSTObjectRequest) XAmzStorageClass(xAmzStorageClass string) ApiPOSTObjectRequest
- func (r ApiPOSTObjectRequest) XAmzTagging(xAmzTagging string) ApiPOSTObjectRequest
- func (r ApiPOSTObjectRequest) XAmzWebsiteRedirectLocation(xAmzWebsiteRedirectLocation string) ApiPOSTObjectRequest
- type ApiPutBucketCorsRequest
- type ApiPutBucketEncryptionRequest
- type ApiPutBucketLifecycleRequest
- func (r ApiPutBucketLifecycleRequest) ContentMD5(contentMD5 string) ApiPutBucketLifecycleRequest
- func (r ApiPutBucketLifecycleRequest) Execute() (*APIResponse, error)
- func (r ApiPutBucketLifecycleRequest) PutBucketLifecycleRequest(putBucketLifecycleRequest PutBucketLifecycleRequest) ApiPutBucketLifecycleRequest
- type ApiPutBucketPolicyRequest
- type ApiPutBucketTaggingRequest
- type ApiPutBucketVersioningRequest
- func (r ApiPutBucketVersioningRequest) ContentMD5(contentMD5 string) ApiPutBucketVersioningRequest
- func (r ApiPutBucketVersioningRequest) Execute() (*APIResponse, error)
- func (r ApiPutBucketVersioningRequest) PutBucketVersioningRequest(putBucketVersioningRequest PutBucketVersioningRequest) ApiPutBucketVersioningRequest
- type ApiPutBucketWebsiteRequest
- type ApiPutObjectLegalHoldRequest
- func (r ApiPutObjectLegalHoldRequest) ContentMD5(contentMD5 string) ApiPutObjectLegalHoldRequest
- func (r ApiPutObjectLegalHoldRequest) Execute() (*APIResponse, error)
- func (r ApiPutObjectLegalHoldRequest) ObjectLegalHoldConfiguration(objectLegalHoldConfiguration ObjectLegalHoldConfiguration) ApiPutObjectLegalHoldRequest
- func (r ApiPutObjectLegalHoldRequest) VersionId(versionId string) ApiPutObjectLegalHoldRequest
- type ApiPutObjectLockConfigurationRequest
- func (r ApiPutObjectLockConfigurationRequest) ContentMD5(contentMD5 string) ApiPutObjectLockConfigurationRequest
- func (r ApiPutObjectLockConfigurationRequest) Execute() (*APIResponse, error)
- func (r ApiPutObjectLockConfigurationRequest) PutObjectLockConfigurationRequest(putObjectLockConfigurationRequest PutObjectLockConfigurationRequest) ApiPutObjectLockConfigurationRequest
- type ApiPutObjectRequest
- func (r ApiPutObjectRequest) Body(body *os.File) ApiPutObjectRequest
- func (r ApiPutObjectRequest) CacheControl(cacheControl string) ApiPutObjectRequest
- func (r ApiPutObjectRequest) ContentDisposition(contentDisposition string) ApiPutObjectRequest
- func (r ApiPutObjectRequest) ContentEncoding(contentEncoding string) ApiPutObjectRequest
- func (r ApiPutObjectRequest) ContentLanguage(contentLanguage string) ApiPutObjectRequest
- func (r ApiPutObjectRequest) ContentLength(contentLength int32) ApiPutObjectRequest
- func (r ApiPutObjectRequest) ContentMD5(contentMD5 string) ApiPutObjectRequest
- func (r ApiPutObjectRequest) ContentType(contentType string) ApiPutObjectRequest
- func (r ApiPutObjectRequest) Execute() (*APIResponse, error)
- func (r ApiPutObjectRequest) Expires(expires time.Time) ApiPutObjectRequest
- func (r ApiPutObjectRequest) XAmzMeta(xAmzMeta map[string]string) ApiPutObjectRequest
- func (r ApiPutObjectRequest) XAmzObjectLockLegalHold(xAmzObjectLockLegalHold string) ApiPutObjectRequest
- func (r ApiPutObjectRequest) XAmzObjectLockMode(xAmzObjectLockMode string) ApiPutObjectRequest
- func (r ApiPutObjectRequest) XAmzObjectLockRetainUntilDate(xAmzObjectLockRetainUntilDate time.Time) ApiPutObjectRequest
- func (r ApiPutObjectRequest) XAmzRequestPayer(xAmzRequestPayer string) ApiPutObjectRequest
- func (r ApiPutObjectRequest) XAmzServerSideEncryption(xAmzServerSideEncryption string) ApiPutObjectRequest
- func (r ApiPutObjectRequest) XAmzServerSideEncryptionContext(xAmzServerSideEncryptionContext string) ApiPutObjectRequest
- func (r ApiPutObjectRequest) XAmzServerSideEncryptionCustomerAlgorithm(xAmzServerSideEncryptionCustomerAlgorithm string) ApiPutObjectRequest
- func (r ApiPutObjectRequest) XAmzServerSideEncryptionCustomerKey(xAmzServerSideEncryptionCustomerKey string) ApiPutObjectRequest
- func (r ApiPutObjectRequest) XAmzServerSideEncryptionCustomerKeyMD5(xAmzServerSideEncryptionCustomerKeyMD5 string) ApiPutObjectRequest
- func (r ApiPutObjectRequest) XAmzStorageClass(xAmzStorageClass string) ApiPutObjectRequest
- func (r ApiPutObjectRequest) XAmzTagging(xAmzTagging string) ApiPutObjectRequest
- func (r ApiPutObjectRequest) XAmzWebsiteRedirectLocation(xAmzWebsiteRedirectLocation string) ApiPutObjectRequest
- type ApiPutObjectRetentionRequest
- func (r ApiPutObjectRetentionRequest) ContentMD5(contentMD5 string) ApiPutObjectRetentionRequest
- func (r ApiPutObjectRetentionRequest) Execute() (*APIResponse, error)
- func (r ApiPutObjectRetentionRequest) PutObjectRetentionRequest(putObjectRetentionRequest PutObjectRetentionRequest) ApiPutObjectRetentionRequest
- func (r ApiPutObjectRetentionRequest) VersionId(versionId string) ApiPutObjectRetentionRequest
- func (r ApiPutObjectRetentionRequest) XAmzBypassGovernanceRetention(xAmzBypassGovernanceRetention bool) ApiPutObjectRetentionRequest
- type ApiPutObjectTaggingRequest
- func (r ApiPutObjectTaggingRequest) ContentMD5(contentMD5 string) ApiPutObjectTaggingRequest
- func (r ApiPutObjectTaggingRequest) Execute() (map[string]interface{}, *APIResponse, error)
- func (r ApiPutObjectTaggingRequest) PutObjectTaggingRequest(putObjectTaggingRequest PutObjectTaggingRequest) ApiPutObjectTaggingRequest
- func (r ApiPutObjectTaggingRequest) VersionId(versionId string) ApiPutObjectTaggingRequest
- type ApiPutPublicAccessBlockRequest
- func (r ApiPutPublicAccessBlockRequest) BlockPublicAccessPayload(blockPublicAccessPayload BlockPublicAccessPayload) ApiPutPublicAccessBlockRequest
- func (r ApiPutPublicAccessBlockRequest) ContentMD5(contentMD5 string) ApiPutPublicAccessBlockRequest
- func (r ApiPutPublicAccessBlockRequest) Execute() (*APIResponse, error)
- type ApiUploadPartCopyRequest
- func (r ApiUploadPartCopyRequest) Execute() (*UploadPartCopyOutput, *APIResponse, error)
- func (r ApiUploadPartCopyRequest) PartNumber(partNumber int32) ApiUploadPartCopyRequest
- func (r ApiUploadPartCopyRequest) UploadId(uploadId string) ApiUploadPartCopyRequest
- func (r ApiUploadPartCopyRequest) XAmzCopySource(xAmzCopySource string) ApiUploadPartCopyRequest
- func (r ApiUploadPartCopyRequest) XAmzCopySourceIfMatch(xAmzCopySourceIfMatch string) ApiUploadPartCopyRequest
- func (r ApiUploadPartCopyRequest) XAmzCopySourceIfModifiedSince(xAmzCopySourceIfModifiedSince time.Time) ApiUploadPartCopyRequest
- func (r ApiUploadPartCopyRequest) XAmzCopySourceIfNoneMatch(xAmzCopySourceIfNoneMatch string) ApiUploadPartCopyRequest
- func (r ApiUploadPartCopyRequest) XAmzCopySourceIfUnmodifiedSince(xAmzCopySourceIfUnmodifiedSince time.Time) ApiUploadPartCopyRequest
- func (r ApiUploadPartCopyRequest) XAmzCopySourceRange(xAmzCopySourceRange string) ApiUploadPartCopyRequest
- func (r ApiUploadPartCopyRequest) XAmzServerSideEncryptionCustomerAlgorithm(xAmzServerSideEncryptionCustomerAlgorithm string) ApiUploadPartCopyRequest
- type ApiUploadPartRequest
- func (r ApiUploadPartRequest) ContentLength(contentLength int32) ApiUploadPartRequest
- func (r ApiUploadPartRequest) ContentMD5(contentMD5 string) ApiUploadPartRequest
- func (r ApiUploadPartRequest) Execute() (map[string]interface{}, *APIResponse, error)
- func (r ApiUploadPartRequest) PartNumber(partNumber int32) ApiUploadPartRequest
- func (r ApiUploadPartRequest) UploadId(uploadId string) ApiUploadPartRequest
- func (r ApiUploadPartRequest) UploadPartRequest(uploadPartRequest UploadPartRequest) ApiUploadPartRequest
- func (r ApiUploadPartRequest) XAmzServerSideEncryptionCustomerAlgorithm(xAmzServerSideEncryptionCustomerAlgorithm string) ApiUploadPartRequest
- func (r ApiUploadPartRequest) XAmzServerSideEncryptionCustomerKey(xAmzServerSideEncryptionCustomerKey string) ApiUploadPartRequest
- func (r ApiUploadPartRequest) XAmzServerSideEncryptionCustomerKeyMD5(xAmzServerSideEncryptionCustomerKeyMD5 string) ApiUploadPartRequest
- type BasicAuth
- type BlockPublicAccessOutput
- func (o *BlockPublicAccessOutput) GetBlockPublicAcls() *bool
- func (o *BlockPublicAccessOutput) GetBlockPublicAclsOk() (*bool, bool)
- func (o *BlockPublicAccessOutput) GetBlockPublicPolicy() *bool
- func (o *BlockPublicAccessOutput) GetBlockPublicPolicyOk() (*bool, bool)
- func (o *BlockPublicAccessOutput) GetIgnorePublicAcls() *bool
- func (o *BlockPublicAccessOutput) GetIgnorePublicAclsOk() (*bool, bool)
- func (o *BlockPublicAccessOutput) GetRestrictPublicBuckets() *bool
- func (o *BlockPublicAccessOutput) GetRestrictPublicBucketsOk() (*bool, bool)
- func (o *BlockPublicAccessOutput) HasBlockPublicAcls() bool
- func (o *BlockPublicAccessOutput) HasBlockPublicPolicy() bool
- func (o *BlockPublicAccessOutput) HasIgnorePublicAcls() bool
- func (o *BlockPublicAccessOutput) HasRestrictPublicBuckets() bool
- func (o BlockPublicAccessOutput) MarshalJSON() ([]byte, error)
- func (o *BlockPublicAccessOutput) SetBlockPublicAcls(v bool)
- func (o *BlockPublicAccessOutput) SetBlockPublicPolicy(v bool)
- func (o *BlockPublicAccessOutput) SetIgnorePublicAcls(v bool)
- func (o *BlockPublicAccessOutput) SetRestrictPublicBuckets(v bool)
- type BlockPublicAccessPayload
- func (o *BlockPublicAccessPayload) GetBlockPublicAcls() *bool
- func (o *BlockPublicAccessPayload) GetBlockPublicAclsOk() (*bool, bool)
- func (o *BlockPublicAccessPayload) GetBlockPublicPolicy() *bool
- func (o *BlockPublicAccessPayload) GetBlockPublicPolicyOk() (*bool, bool)
- func (o *BlockPublicAccessPayload) GetIgnorePublicAcls() *bool
- func (o *BlockPublicAccessPayload) GetIgnorePublicAclsOk() (*bool, bool)
- func (o *BlockPublicAccessPayload) GetRestrictPublicBuckets() *bool
- func (o *BlockPublicAccessPayload) GetRestrictPublicBucketsOk() (*bool, bool)
- func (o *BlockPublicAccessPayload) HasBlockPublicAcls() bool
- func (o *BlockPublicAccessPayload) HasBlockPublicPolicy() bool
- func (o *BlockPublicAccessPayload) HasIgnorePublicAcls() bool
- func (o *BlockPublicAccessPayload) HasRestrictPublicBuckets() bool
- func (o BlockPublicAccessPayload) MarshalJSON() ([]byte, error)
- func (o *BlockPublicAccessPayload) SetBlockPublicAcls(v bool)
- func (o *BlockPublicAccessPayload) SetBlockPublicPolicy(v bool)
- func (o *BlockPublicAccessPayload) SetIgnorePublicAcls(v bool)
- func (o *BlockPublicAccessPayload) SetRestrictPublicBuckets(v bool)
- type Bucket
- func (o *Bucket) GetCreationDate() *time.Time
- func (o *Bucket) GetCreationDateOk() (*time.Time, bool)
- func (o *Bucket) GetName() *string
- func (o *Bucket) GetNameOk() (*string, bool)
- func (o *Bucket) HasCreationDate() bool
- func (o *Bucket) HasName() bool
- func (o Bucket) MarshalJSON() ([]byte, error)
- func (o *Bucket) SetCreationDate(v time.Time)
- func (o *Bucket) SetName(v string)
- type BucketLocation
- type BucketPolicy
- func (o *BucketPolicy) GetId() *string
- func (o *BucketPolicy) GetIdOk() (*string, bool)
- func (o *BucketPolicy) GetStatement() *[]BucketPolicyStatement
- func (o *BucketPolicy) GetStatementOk() (*[]BucketPolicyStatement, bool)
- func (o *BucketPolicy) GetVersion() *string
- func (o *BucketPolicy) GetVersionOk() (*string, bool)
- func (o *BucketPolicy) HasId() bool
- func (o *BucketPolicy) HasStatement() bool
- func (o *BucketPolicy) HasVersion() bool
- func (o BucketPolicy) MarshalJSON() ([]byte, error)
- func (o *BucketPolicy) SetId(v string)
- func (o *BucketPolicy) SetStatement(v []BucketPolicyStatement)
- func (o *BucketPolicy) SetVersion(v string)
- type BucketPolicyCondition
- func (o *BucketPolicyCondition) GetDateGreaterThan() *BucketPolicyConditionDate
- func (o *BucketPolicyCondition) GetDateGreaterThanOk() (*BucketPolicyConditionDate, bool)
- func (o *BucketPolicyCondition) GetDateLessThan() *BucketPolicyConditionDate
- func (o *BucketPolicyCondition) GetDateLessThanOk() (*BucketPolicyConditionDate, bool)
- func (o *BucketPolicyCondition) GetIpAddress() *BucketPolicyConditionIpAddress
- func (o *BucketPolicyCondition) GetIpAddressOk() (*BucketPolicyConditionIpAddress, bool)
- func (o *BucketPolicyCondition) GetNotIpAddress() *BucketPolicyConditionIpAddress
- func (o *BucketPolicyCondition) GetNotIpAddressOk() (*BucketPolicyConditionIpAddress, bool)
- func (o *BucketPolicyCondition) HasDateGreaterThan() bool
- func (o *BucketPolicyCondition) HasDateLessThan() bool
- func (o *BucketPolicyCondition) HasIpAddress() bool
- func (o *BucketPolicyCondition) HasNotIpAddress() bool
- func (o BucketPolicyCondition) MarshalJSON() ([]byte, error)
- func (o *BucketPolicyCondition) SetDateGreaterThan(v BucketPolicyConditionDate)
- func (o *BucketPolicyCondition) SetDateLessThan(v BucketPolicyConditionDate)
- func (o *BucketPolicyCondition) SetIpAddress(v BucketPolicyConditionIpAddress)
- func (o *BucketPolicyCondition) SetNotIpAddress(v BucketPolicyConditionIpAddress)
- type BucketPolicyConditionDate
- func (o *BucketPolicyConditionDate) GetAwsCurrentTime() *time.Time
- func (o *BucketPolicyConditionDate) GetAwsCurrentTimeOk() (*time.Time, bool)
- func (o *BucketPolicyConditionDate) GetAwsEpochTime() *int32
- func (o *BucketPolicyConditionDate) GetAwsEpochTimeOk() (*int32, bool)
- func (o *BucketPolicyConditionDate) HasAwsCurrentTime() bool
- func (o *BucketPolicyConditionDate) HasAwsEpochTime() bool
- func (o BucketPolicyConditionDate) MarshalJSON() ([]byte, error)
- func (o *BucketPolicyConditionDate) SetAwsCurrentTime(v time.Time)
- func (o *BucketPolicyConditionDate) SetAwsEpochTime(v int32)
- type BucketPolicyConditionIpAddress
- func (o *BucketPolicyConditionIpAddress) GetAwsSourceIp() *[]string
- func (o *BucketPolicyConditionIpAddress) GetAwsSourceIpOk() (*[]string, bool)
- func (o *BucketPolicyConditionIpAddress) HasAwsSourceIp() bool
- func (o BucketPolicyConditionIpAddress) MarshalJSON() ([]byte, error)
- func (o *BucketPolicyConditionIpAddress) SetAwsSourceIp(v []string)
- type BucketPolicyStatement
- func (o *BucketPolicyStatement) GetAction() *[]string
- func (o *BucketPolicyStatement) GetActionOk() (*[]string, bool)
- func (o *BucketPolicyStatement) GetCondition() *BucketPolicyCondition
- func (o *BucketPolicyStatement) GetConditionOk() (*BucketPolicyCondition, bool)
- func (o *BucketPolicyStatement) GetEffect() *string
- func (o *BucketPolicyStatement) GetEffectOk() (*string, bool)
- func (o *BucketPolicyStatement) GetPrincipal() *Principal
- func (o *BucketPolicyStatement) GetPrincipalOk() (*Principal, bool)
- func (o *BucketPolicyStatement) GetResource() *[]string
- func (o *BucketPolicyStatement) GetResourceOk() (*[]string, bool)
- func (o *BucketPolicyStatement) GetSid() *string
- func (o *BucketPolicyStatement) GetSidOk() (*string, bool)
- func (o *BucketPolicyStatement) HasAction() bool
- func (o *BucketPolicyStatement) HasCondition() bool
- func (o *BucketPolicyStatement) HasEffect() bool
- func (o *BucketPolicyStatement) HasPrincipal() bool
- func (o *BucketPolicyStatement) HasResource() bool
- func (o *BucketPolicyStatement) HasSid() bool
- func (o BucketPolicyStatement) MarshalJSON() ([]byte, error)
- func (o *BucketPolicyStatement) SetAction(v []string)
- func (o *BucketPolicyStatement) SetCondition(v BucketPolicyCondition)
- func (o *BucketPolicyStatement) SetEffect(v string)
- func (o *BucketPolicyStatement) SetPrincipal(v Principal)
- func (o *BucketPolicyStatement) SetResource(v []string)
- func (o *BucketPolicyStatement) SetSid(v string)
- type BucketVersioningStatus
- type BucketsApiService
- func (a *BucketsApiService) CreateBucket(ctx context.Context, bucket string) ApiCreateBucketRequest
- func (a *BucketsApiService) CreateBucketExecute(r ApiCreateBucketRequest) (*APIResponse, error)
- func (a *BucketsApiService) DeleteBucket(ctx context.Context, bucket string) ApiDeleteBucketRequest
- func (a *BucketsApiService) DeleteBucketExecute(r ApiDeleteBucketRequest) (*APIResponse, error)
- func (a *BucketsApiService) GetBucketLocation(ctx context.Context, bucket string) ApiGetBucketLocationRequest
- func (a *BucketsApiService) GetBucketLocationExecute(r ApiGetBucketLocationRequest) (*BucketLocation, *APIResponse, error)
- func (a *BucketsApiService) HeadBucket(ctx context.Context, bucket string) ApiHeadBucketRequest
- func (a *BucketsApiService) HeadBucketExecute(r ApiHeadBucketRequest) (*APIResponse, error)
- func (a *BucketsApiService) ListBuckets(ctx context.Context) ApiListBucketsRequest
- func (a *BucketsApiService) ListBucketsExecute(r ApiListBucketsRequest) (*ListAllMyBucketsResult, *APIResponse, error)
- type CORSApiService
- func (a *CORSApiService) DeleteBucketCors(ctx context.Context, bucket string) ApiDeleteBucketCorsRequest
- func (a *CORSApiService) DeleteBucketCorsExecute(r ApiDeleteBucketCorsRequest) (*APIResponse, error)
- func (a *CORSApiService) GetBucketCors(ctx context.Context, bucket string) ApiGetBucketCorsRequest
- func (a *CORSApiService) GetBucketCorsExecute(r ApiGetBucketCorsRequest) (*GetBucketCorsOutput, *APIResponse, error)
- func (a *CORSApiService) PutBucketCors(ctx context.Context, bucket string) ApiPutBucketCorsRequest
- func (a *CORSApiService) PutBucketCorsExecute(r ApiPutBucketCorsRequest) (*APIResponse, error)
- type CORSRule
- func (o *CORSRule) GetAllowedHeaders() *[]string
- func (o *CORSRule) GetAllowedHeadersOk() (*[]string, bool)
- func (o *CORSRule) GetAllowedMethods() *[]string
- func (o *CORSRule) GetAllowedMethodsOk() (*[]string, bool)
- func (o *CORSRule) GetAllowedOrigins() *[]string
- func (o *CORSRule) GetAllowedOriginsOk() (*[]string, bool)
- func (o *CORSRule) GetExposeHeaders() *[]string
- func (o *CORSRule) GetExposeHeadersOk() (*[]string, bool)
- func (o *CORSRule) GetID() *int32
- func (o *CORSRule) GetIDOk() (*int32, bool)
- func (o *CORSRule) GetMaxAgeSeconds() *int32
- func (o *CORSRule) GetMaxAgeSecondsOk() (*int32, bool)
- func (o *CORSRule) HasAllowedHeaders() bool
- func (o *CORSRule) HasAllowedMethods() bool
- func (o *CORSRule) HasAllowedOrigins() bool
- func (o *CORSRule) HasExposeHeaders() bool
- func (o *CORSRule) HasID() bool
- func (o *CORSRule) HasMaxAgeSeconds() bool
- func (o CORSRule) MarshalJSON() ([]byte, error)
- func (o *CORSRule) SetAllowedHeaders(v []string)
- func (o *CORSRule) SetAllowedMethods(v []string)
- func (o *CORSRule) SetAllowedOrigins(v []string)
- func (o *CORSRule) SetExposeHeaders(v []string)
- func (o *CORSRule) SetID(v int32)
- func (o *CORSRule) SetMaxAgeSeconds(v int32)
- type CSVInput
- func (o *CSVInput) GetAllowQuotedRecordDelimiter() *bool
- func (o *CSVInput) GetAllowQuotedRecordDelimiterOk() (*bool, bool)
- func (o *CSVInput) GetComments() *string
- func (o *CSVInput) GetCommentsOk() (*string, bool)
- func (o *CSVInput) GetFieldDelimiter() *string
- func (o *CSVInput) GetFieldDelimiterOk() (*string, bool)
- func (o *CSVInput) GetFileHeaderInfo() *string
- func (o *CSVInput) GetFileHeaderInfoOk() (*string, bool)
- func (o *CSVInput) GetQuoteCharacter() *string
- func (o *CSVInput) GetQuoteCharacterOk() (*string, bool)
- func (o *CSVInput) GetQuoteEscapeCharacter() *string
- func (o *CSVInput) GetQuoteEscapeCharacterOk() (*string, bool)
- func (o *CSVInput) GetRecordDelimiter() *string
- func (o *CSVInput) GetRecordDelimiterOk() (*string, bool)
- func (o *CSVInput) HasAllowQuotedRecordDelimiter() bool
- func (o *CSVInput) HasComments() bool
- func (o *CSVInput) HasFieldDelimiter() bool
- func (o *CSVInput) HasFileHeaderInfo() bool
- func (o *CSVInput) HasQuoteCharacter() bool
- func (o *CSVInput) HasQuoteEscapeCharacter() bool
- func (o *CSVInput) HasRecordDelimiter() bool
- func (o CSVInput) MarshalJSON() ([]byte, error)
- func (o *CSVInput) SetAllowQuotedRecordDelimiter(v bool)
- func (o *CSVInput) SetComments(v string)
- func (o *CSVInput) SetFieldDelimiter(v string)
- func (o *CSVInput) SetFileHeaderInfo(v string)
- func (o *CSVInput) SetQuoteCharacter(v string)
- func (o *CSVInput) SetQuoteEscapeCharacter(v string)
- func (o *CSVInput) SetRecordDelimiter(v string)
- type CSVOutput
- func (o *CSVOutput) GetFieldDelimiter() *interface{}
- func (o *CSVOutput) GetFieldDelimiterOk() (*interface{}, bool)
- func (o *CSVOutput) GetQuoteCharacter() *string
- func (o *CSVOutput) GetQuoteCharacterOk() (*string, bool)
- func (o *CSVOutput) GetQuoteEscapeCharacter() *string
- func (o *CSVOutput) GetQuoteEscapeCharacterOk() (*string, bool)
- func (o *CSVOutput) GetQuoteFields() *string
- func (o *CSVOutput) GetQuoteFieldsOk() (*string, bool)
- func (o *CSVOutput) GetRecordDelimiter() *string
- func (o *CSVOutput) GetRecordDelimiterOk() (*string, bool)
- func (o *CSVOutput) HasFieldDelimiter() bool
- func (o *CSVOutput) HasQuoteCharacter() bool
- func (o *CSVOutput) HasQuoteEscapeCharacter() bool
- func (o *CSVOutput) HasQuoteFields() bool
- func (o *CSVOutput) HasRecordDelimiter() bool
- func (o CSVOutput) MarshalJSON() ([]byte, error)
- func (o *CSVOutput) SetFieldDelimiter(v interface{})
- func (o *CSVOutput) SetQuoteCharacter(v string)
- func (o *CSVOutput) SetQuoteEscapeCharacter(v string)
- func (o *CSVOutput) SetQuoteFields(v string)
- func (o *CSVOutput) SetRecordDelimiter(v string)
- type CommonPrefix
- type CompleteMultipartUploadOutput
- func (o *CompleteMultipartUploadOutput) GetBucket() *string
- func (o *CompleteMultipartUploadOutput) GetBucketOk() (*string, bool)
- func (o *CompleteMultipartUploadOutput) GetETag() *string
- func (o *CompleteMultipartUploadOutput) GetETagOk() (*string, bool)
- func (o *CompleteMultipartUploadOutput) GetKey() *string
- func (o *CompleteMultipartUploadOutput) GetKeyOk() (*string, bool)
- func (o *CompleteMultipartUploadOutput) GetLocation() *string
- func (o *CompleteMultipartUploadOutput) GetLocationOk() (*string, bool)
- func (o *CompleteMultipartUploadOutput) HasBucket() bool
- func (o *CompleteMultipartUploadOutput) HasETag() bool
- func (o *CompleteMultipartUploadOutput) HasKey() bool
- func (o *CompleteMultipartUploadOutput) HasLocation() bool
- func (o CompleteMultipartUploadOutput) MarshalJSON() ([]byte, error)
- func (o *CompleteMultipartUploadOutput) SetBucket(v string)
- func (o *CompleteMultipartUploadOutput) SetETag(v string)
- func (o *CompleteMultipartUploadOutput) SetKey(v string)
- func (o *CompleteMultipartUploadOutput) SetLocation(v string)
- type CompletedPart
- func (o *CompletedPart) GetETag() *string
- func (o *CompletedPart) GetETagOk() (*string, bool)
- func (o *CompletedPart) GetPartNumber() *int32
- func (o *CompletedPart) GetPartNumberOk() (*int32, bool)
- func (o *CompletedPart) HasETag() bool
- func (o *CompletedPart) HasPartNumber() bool
- func (o CompletedPart) MarshalJSON() ([]byte, error)
- func (o *CompletedPart) SetETag(v string)
- func (o *CompletedPart) SetPartNumber(v int32)
- type Configuration
- type CopyObjectRequest
- type CopyObjectResult
- func (o *CopyObjectResult) GetETag() *string
- func (o *CopyObjectResult) GetETagOk() (*string, bool)
- func (o *CopyObjectResult) GetLastModified() *time.Time
- func (o *CopyObjectResult) GetLastModifiedOk() (*time.Time, bool)
- func (o *CopyObjectResult) HasETag() bool
- func (o *CopyObjectResult) HasLastModified() bool
- func (o CopyObjectResult) MarshalJSON() ([]byte, error)
- func (o *CopyObjectResult) SetETag(v string)
- func (o *CopyObjectResult) SetLastModified(v time.Time)
- type CopyPartResult
- func (o *CopyPartResult) GetETag() *string
- func (o *CopyPartResult) GetETagOk() (*string, bool)
- func (o *CopyPartResult) GetLastModified() *time.Time
- func (o *CopyPartResult) GetLastModifiedOk() (*time.Time, bool)
- func (o *CopyPartResult) HasETag() bool
- func (o *CopyPartResult) HasLastModified() bool
- func (o CopyPartResult) MarshalJSON() ([]byte, error)
- func (o *CopyPartResult) SetETag(v string)
- func (o *CopyPartResult) SetLastModified(v time.Time)
- type CreateBucketConfiguration
- func (o *CreateBucketConfiguration) GetLocationConstraint() *string
- func (o *CreateBucketConfiguration) GetLocationConstraintOk() (*string, bool)
- func (o *CreateBucketConfiguration) HasLocationConstraint() bool
- func (o CreateBucketConfiguration) MarshalJSON() ([]byte, error)
- func (o *CreateBucketConfiguration) SetLocationConstraint(v string)
- type CreateMultipartUploadOutput
- func (o *CreateMultipartUploadOutput) GetBucket() *string
- func (o *CreateMultipartUploadOutput) GetBucketOk() (*string, bool)
- func (o *CreateMultipartUploadOutput) GetKey() *string
- func (o *CreateMultipartUploadOutput) GetKeyOk() (*string, bool)
- func (o *CreateMultipartUploadOutput) GetUploadId() *string
- func (o *CreateMultipartUploadOutput) GetUploadIdOk() (*string, bool)
- func (o *CreateMultipartUploadOutput) HasBucket() bool
- func (o *CreateMultipartUploadOutput) HasKey() bool
- func (o *CreateMultipartUploadOutput) HasUploadId() bool
- func (o CreateMultipartUploadOutput) MarshalJSON() ([]byte, error)
- func (o *CreateMultipartUploadOutput) SetBucket(v string)
- func (o *CreateMultipartUploadOutput) SetKey(v string)
- func (o *CreateMultipartUploadOutput) SetUploadId(v string)
- type DefaultRetention
- func (o *DefaultRetention) GetDays() *int32
- func (o *DefaultRetention) GetDaysOk() (*int32, bool)
- func (o *DefaultRetention) GetMode() *string
- func (o *DefaultRetention) GetModeOk() (*string, bool)
- func (o *DefaultRetention) GetYears() *int32
- func (o *DefaultRetention) GetYearsOk() (*int32, bool)
- func (o *DefaultRetention) HasDays() bool
- func (o *DefaultRetention) HasMode() bool
- func (o *DefaultRetention) HasYears() bool
- func (o DefaultRetention) MarshalJSON() ([]byte, error)
- func (o *DefaultRetention) SetDays(v int32)
- func (o *DefaultRetention) SetMode(v string)
- func (o *DefaultRetention) SetYears(v int32)
- type DeleteMarkerEntry
- func (o *DeleteMarkerEntry) GetIsLatest() *bool
- func (o *DeleteMarkerEntry) GetIsLatestOk() (*bool, bool)
- func (o *DeleteMarkerEntry) GetKey() *string
- func (o *DeleteMarkerEntry) GetKeyOk() (*string, bool)
- func (o *DeleteMarkerEntry) GetLastModified() *time.Time
- func (o *DeleteMarkerEntry) GetLastModifiedOk() (*time.Time, bool)
- func (o *DeleteMarkerEntry) GetOwner() *Owner
- func (o *DeleteMarkerEntry) GetOwnerOk() (*Owner, bool)
- func (o *DeleteMarkerEntry) GetVersionId() *string
- func (o *DeleteMarkerEntry) GetVersionIdOk() (*string, bool)
- func (o *DeleteMarkerEntry) HasIsLatest() bool
- func (o *DeleteMarkerEntry) HasKey() bool
- func (o *DeleteMarkerEntry) HasLastModified() bool
- func (o *DeleteMarkerEntry) HasOwner() bool
- func (o *DeleteMarkerEntry) HasVersionId() bool
- func (o DeleteMarkerEntry) MarshalJSON() ([]byte, error)
- func (o *DeleteMarkerEntry) SetIsLatest(v bool)
- func (o *DeleteMarkerEntry) SetKey(v string)
- func (o *DeleteMarkerEntry) SetLastModified(v time.Time)
- func (o *DeleteMarkerEntry) SetOwner(v Owner)
- func (o *DeleteMarkerEntry) SetVersionId(v string)
- type DeleteObjectsOutput
- func (o *DeleteObjectsOutput) GetDeleted() *[]DeletedObject
- func (o *DeleteObjectsOutput) GetDeletedOk() (*[]DeletedObject, bool)
- func (o *DeleteObjectsOutput) GetErrors() *[]DeletionError
- func (o *DeleteObjectsOutput) GetErrorsOk() (*[]DeletionError, bool)
- func (o *DeleteObjectsOutput) HasDeleted() bool
- func (o *DeleteObjectsOutput) HasErrors() bool
- func (o DeleteObjectsOutput) MarshalJSON() ([]byte, error)
- func (o *DeleteObjectsOutput) SetDeleted(v []DeletedObject)
- func (o *DeleteObjectsOutput) SetErrors(v []DeletionError)
- type DeleteObjectsRequest
- func (o *DeleteObjectsRequest) GetObjects() *[]ObjectIdentifier
- func (o *DeleteObjectsRequest) GetObjectsOk() (*[]ObjectIdentifier, bool)
- func (o *DeleteObjectsRequest) GetQuiet() *bool
- func (o *DeleteObjectsRequest) GetQuietOk() (*bool, bool)
- func (o *DeleteObjectsRequest) HasObjects() bool
- func (o *DeleteObjectsRequest) HasQuiet() bool
- func (o DeleteObjectsRequest) MarshalJSON() ([]byte, error)
- func (o *DeleteObjectsRequest) SetObjects(v []ObjectIdentifier)
- func (o *DeleteObjectsRequest) SetQuiet(v bool)
- type DeletedObject
- func (o *DeletedObject) GetDeleteMarker() *bool
- func (o *DeletedObject) GetDeleteMarkerOk() (*bool, bool)
- func (o *DeletedObject) GetDeleteMarkerVersionId() *string
- func (o *DeletedObject) GetDeleteMarkerVersionIdOk() (*string, bool)
- func (o *DeletedObject) GetKey() *string
- func (o *DeletedObject) GetKeyOk() (*string, bool)
- func (o *DeletedObject) GetVersionId() *string
- func (o *DeletedObject) GetVersionIdOk() (*string, bool)
- func (o *DeletedObject) HasDeleteMarker() bool
- func (o *DeletedObject) HasDeleteMarkerVersionId() bool
- func (o *DeletedObject) HasKey() bool
- func (o *DeletedObject) HasVersionId() bool
- func (o DeletedObject) MarshalJSON() ([]byte, error)
- func (o *DeletedObject) SetDeleteMarker(v bool)
- func (o *DeletedObject) SetDeleteMarkerVersionId(v string)
- func (o *DeletedObject) SetKey(v string)
- func (o *DeletedObject) SetVersionId(v string)
- type DeletionError
- func (o *DeletionError) GetCode() *string
- func (o *DeletionError) GetCodeOk() (*string, bool)
- func (o *DeletionError) GetKey() *string
- func (o *DeletionError) GetKeyOk() (*string, bool)
- func (o *DeletionError) GetMessage() *string
- func (o *DeletionError) GetMessageOk() (*string, bool)
- func (o *DeletionError) GetVersionId() *string
- func (o *DeletionError) GetVersionIdOk() (*string, bool)
- func (o *DeletionError) HasCode() bool
- func (o *DeletionError) HasKey() bool
- func (o *DeletionError) HasMessage() bool
- func (o *DeletionError) HasVersionId() bool
- func (o DeletionError) MarshalJSON() ([]byte, error)
- func (o *DeletionError) SetCode(v string)
- func (o *DeletionError) SetKey(v string)
- func (o *DeletionError) SetMessage(v string)
- func (o *DeletionError) SetVersionId(v string)
- type Destination
- func (o *Destination) GetBucket() *string
- func (o *Destination) GetBucketOk() (*string, bool)
- func (o *Destination) GetStorageClass() *StorageClass
- func (o *Destination) GetStorageClassOk() (*StorageClass, bool)
- func (o *Destination) HasBucket() bool
- func (o *Destination) HasStorageClass() bool
- func (o Destination) MarshalJSON() ([]byte, error)
- func (o *Destination) SetBucket(v string)
- func (o *Destination) SetStorageClass(v StorageClass)
- type EncodingType
- type Encryption
- type EncryptionApiService
- func (a *EncryptionApiService) DeleteBucketEncryption(ctx context.Context, bucket string) ApiDeleteBucketEncryptionRequest
- func (a *EncryptionApiService) DeleteBucketEncryptionExecute(r ApiDeleteBucketEncryptionRequest) (*APIResponse, error)
- func (a *EncryptionApiService) GetBucketEncryption(ctx context.Context, bucket string) ApiGetBucketEncryptionRequest
- func (a *EncryptionApiService) GetBucketEncryptionExecute(r ApiGetBucketEncryptionRequest) (*ServerSideEncryptionConfiguration, *APIResponse, error)
- func (a *EncryptionApiService) PutBucketEncryption(ctx context.Context, bucket string) ApiPutBucketEncryptionRequest
- func (a *EncryptionApiService) PutBucketEncryptionExecute(r ApiPutBucketEncryptionRequest) (*APIResponse, error)
- type Error
- func (o *Error) GetCode() *string
- func (o *Error) GetCodeOk() (*string, bool)
- func (o *Error) GetHostId() *string
- func (o *Error) GetHostIdOk() (*string, bool)
- func (o *Error) GetMessage() *string
- func (o *Error) GetMessageOk() (*string, bool)
- func (o *Error) GetRequestId() *string
- func (o *Error) GetRequestIdOk() (*string, bool)
- func (o *Error) HasCode() bool
- func (o *Error) HasHostId() bool
- func (o *Error) HasMessage() bool
- func (o *Error) HasRequestId() bool
- func (o Error) MarshalJSON() ([]byte, error)
- func (o *Error) SetCode(v string)
- func (o *Error) SetHostId(v string)
- func (o *Error) SetMessage(v string)
- func (o *Error) SetRequestId(v string)
- type ErrorDocument
- type Example
- func (o *Example) GetCompleteMultipartUpload() *ExampleCompleteMultipartUpload
- func (o *Example) GetCompleteMultipartUploadOk() (*ExampleCompleteMultipartUpload, bool)
- func (o *Example) HasCompleteMultipartUpload() bool
- func (o Example) MarshalJSON() ([]byte, error)
- func (o *Example) SetCompleteMultipartUpload(v ExampleCompleteMultipartUpload)
- type ExampleCompleteMultipartUpload
- func (o *ExampleCompleteMultipartUpload) GetParts() *[]CompletedPart
- func (o *ExampleCompleteMultipartUpload) GetPartsOk() (*[]CompletedPart, bool)
- func (o *ExampleCompleteMultipartUpload) HasParts() bool
- func (o ExampleCompleteMultipartUpload) MarshalJSON() ([]byte, error)
- func (o *ExampleCompleteMultipartUpload) SetParts(v []CompletedPart)
- type ExpirationStatus
- type ExpressionType
- type GenericOpenAPIError
- func (e GenericOpenAPIError) Body() []byte
- func (e GenericOpenAPIError) Error() string
- func (e GenericOpenAPIError) Model() interface{}
- func (e *GenericOpenAPIError) SetBody(body []byte)
- func (e *GenericOpenAPIError) SetError(error string)
- func (e *GenericOpenAPIError) SetModel(model interface{})
- func (e *GenericOpenAPIError) SetStatusCode(statusCode int)
- func (e GenericOpenAPIError) StatusCode() int
- type GetBucketCorsOutput
- type GetBucketLifecycleOutput
- type GetBucketReplicationOutput
- func (o *GetBucketReplicationOutput) GetReplicationConfiguration() *ReplicationConfiguration
- func (o *GetBucketReplicationOutput) GetReplicationConfigurationOk() (*ReplicationConfiguration, bool)
- func (o *GetBucketReplicationOutput) HasReplicationConfiguration() bool
- func (o GetBucketReplicationOutput) MarshalJSON() ([]byte, error)
- func (o *GetBucketReplicationOutput) SetReplicationConfiguration(v ReplicationConfiguration)
- type GetBucketTaggingOutput
- type GetBucketVersioningOutput
- func (o *GetBucketVersioningOutput) GetMfaDelete() *MfaDeleteStatus
- func (o *GetBucketVersioningOutput) GetMfaDeleteOk() (*MfaDeleteStatus, bool)
- func (o *GetBucketVersioningOutput) GetStatus() *BucketVersioningStatus
- func (o *GetBucketVersioningOutput) GetStatusOk() (*BucketVersioningStatus, bool)
- func (o *GetBucketVersioningOutput) HasMfaDelete() bool
- func (o *GetBucketVersioningOutput) HasStatus() bool
- func (o GetBucketVersioningOutput) MarshalJSON() ([]byte, error)
- func (o *GetBucketVersioningOutput) SetMfaDelete(v MfaDeleteStatus)
- func (o *GetBucketVersioningOutput) SetStatus(v BucketVersioningStatus)
- type GetBucketWebsiteOutput
- func (o *GetBucketWebsiteOutput) GetErrorDocument() *ErrorDocument
- func (o *GetBucketWebsiteOutput) GetErrorDocumentOk() (*ErrorDocument, bool)
- func (o *GetBucketWebsiteOutput) GetIndexDocument() *IndexDocument
- func (o *GetBucketWebsiteOutput) GetIndexDocumentOk() (*IndexDocument, bool)
- func (o *GetBucketWebsiteOutput) GetRedirectAllRequestsTo() *RedirectAllRequestsTo
- func (o *GetBucketWebsiteOutput) GetRedirectAllRequestsToOk() (*RedirectAllRequestsTo, bool)
- func (o *GetBucketWebsiteOutput) GetRoutingRules() *[]RoutingRule
- func (o *GetBucketWebsiteOutput) GetRoutingRulesOk() (*[]RoutingRule, bool)
- func (o *GetBucketWebsiteOutput) HasErrorDocument() bool
- func (o *GetBucketWebsiteOutput) HasIndexDocument() bool
- func (o *GetBucketWebsiteOutput) HasRedirectAllRequestsTo() bool
- func (o *GetBucketWebsiteOutput) HasRoutingRules() bool
- func (o GetBucketWebsiteOutput) MarshalJSON() ([]byte, error)
- func (o *GetBucketWebsiteOutput) SetErrorDocument(v ErrorDocument)
- func (o *GetBucketWebsiteOutput) SetIndexDocument(v IndexDocument)
- func (o *GetBucketWebsiteOutput) SetRedirectAllRequestsTo(v RedirectAllRequestsTo)
- func (o *GetBucketWebsiteOutput) SetRoutingRules(v []RoutingRule)
- type GetObjectLockConfigurationOutput
- func (o *GetObjectLockConfigurationOutput) GetObjectLockEnabled() *string
- func (o *GetObjectLockConfigurationOutput) GetObjectLockEnabledOk() (*string, bool)
- func (o *GetObjectLockConfigurationOutput) GetRule() *ObjectLockRule
- func (o *GetObjectLockConfigurationOutput) GetRuleOk() (*ObjectLockRule, bool)
- func (o *GetObjectLockConfigurationOutput) HasObjectLockEnabled() bool
- func (o *GetObjectLockConfigurationOutput) HasRule() bool
- func (o GetObjectLockConfigurationOutput) MarshalJSON() ([]byte, error)
- func (o *GetObjectLockConfigurationOutput) SetObjectLockEnabled(v string)
- func (o *GetObjectLockConfigurationOutput) SetRule(v ObjectLockRule)
- type GetObjectTaggingOutput
- type HeadObjectOutput
- type IndexDocument
- type Initiator
- func (o *Initiator) GetDisplayName() *string
- func (o *Initiator) GetDisplayNameOk() (*string, bool)
- func (o *Initiator) GetID() *int32
- func (o *Initiator) GetIDOk() (*int32, bool)
- func (o *Initiator) HasDisplayName() bool
- func (o *Initiator) HasID() bool
- func (o Initiator) MarshalJSON() ([]byte, error)
- func (o *Initiator) SetDisplayName(v string)
- func (o *Initiator) SetID(v int32)
- type InputSerialization
- func (o *InputSerialization) GetCSV() *CSVInput
- func (o *InputSerialization) GetCSVOk() (*CSVInput, bool)
- func (o *InputSerialization) GetCompressionType() *string
- func (o *InputSerialization) GetCompressionTypeOk() (*string, bool)
- func (o *InputSerialization) GetJSON() *InputSerializationJSON
- func (o *InputSerialization) GetJSONOk() (*InputSerializationJSON, bool)
- func (o *InputSerialization) GetParquet() *map[string]interface{}
- func (o *InputSerialization) GetParquetOk() (*map[string]interface{}, bool)
- func (o *InputSerialization) HasCSV() bool
- func (o *InputSerialization) HasCompressionType() bool
- func (o *InputSerialization) HasJSON() bool
- func (o *InputSerialization) HasParquet() bool
- func (o InputSerialization) MarshalJSON() ([]byte, error)
- func (o *InputSerialization) SetCSV(v CSVInput)
- func (o *InputSerialization) SetCompressionType(v string)
- func (o *InputSerialization) SetJSON(v InputSerializationJSON)
- func (o *InputSerialization) SetParquet(v map[string]interface{})
- type InputSerializationJSON
- type IonosTime
- type JSONOutput
- type LifecycleApiService
- func (a *LifecycleApiService) DeleteBucketLifecycle(ctx context.Context, bucket string) ApiDeleteBucketLifecycleRequest
- func (a *LifecycleApiService) DeleteBucketLifecycleExecute(r ApiDeleteBucketLifecycleRequest) (*APIResponse, error)
- func (a *LifecycleApiService) GetBucketLifecycle(ctx context.Context, bucket string) ApiGetBucketLifecycleRequest
- func (a *LifecycleApiService) GetBucketLifecycleExecute(r ApiGetBucketLifecycleRequest) (*GetBucketLifecycleOutput, *APIResponse, error)
- func (a *LifecycleApiService) PutBucketLifecycle(ctx context.Context, bucket string) ApiPutBucketLifecycleRequest
- func (a *LifecycleApiService) PutBucketLifecycleExecute(r ApiPutBucketLifecycleRequest) (*APIResponse, error)
- type LifecycleExpiration
- func (o *LifecycleExpiration) GetDate() *string
- func (o *LifecycleExpiration) GetDateOk() (*string, bool)
- func (o *LifecycleExpiration) GetDays() *int32
- func (o *LifecycleExpiration) GetDaysOk() (*int32, bool)
- func (o *LifecycleExpiration) GetExpiredObjectDeleteMarker() *bool
- func (o *LifecycleExpiration) GetExpiredObjectDeleteMarkerOk() (*bool, bool)
- func (o *LifecycleExpiration) HasDate() bool
- func (o *LifecycleExpiration) HasDays() bool
- func (o *LifecycleExpiration) HasExpiredObjectDeleteMarker() bool
- func (o LifecycleExpiration) MarshalJSON() ([]byte, error)
- func (o *LifecycleExpiration) SetDate(v string)
- func (o *LifecycleExpiration) SetDays(v int32)
- func (o *LifecycleExpiration) SetExpiredObjectDeleteMarker(v bool)
- type ListAllMyBucketsResult
- func (o *ListAllMyBucketsResult) GetBuckets() *[]Bucket
- func (o *ListAllMyBucketsResult) GetBucketsOk() (*[]Bucket, bool)
- func (o *ListAllMyBucketsResult) GetOwner() *Owner
- func (o *ListAllMyBucketsResult) GetOwnerOk() (*Owner, bool)
- func (o *ListAllMyBucketsResult) HasBuckets() bool
- func (o *ListAllMyBucketsResult) HasOwner() bool
- func (o ListAllMyBucketsResult) MarshalJSON() ([]byte, error)
- func (o *ListAllMyBucketsResult) SetBuckets(v []Bucket)
- func (o *ListAllMyBucketsResult) SetOwner(v Owner)
- type ListBucketResultV2
- func (o *ListBucketResultV2) GetCommonPrefixes() *[]CommonPrefix
- func (o *ListBucketResultV2) GetCommonPrefixesOk() (*[]CommonPrefix, bool)
- func (o *ListBucketResultV2) GetContents() *[]Object
- func (o *ListBucketResultV2) GetContentsOk() (*[]Object, bool)
- func (o *ListBucketResultV2) GetContinuationToken() *string
- func (o *ListBucketResultV2) GetContinuationTokenOk() (*string, bool)
- func (o *ListBucketResultV2) GetDelimiter() *string
- func (o *ListBucketResultV2) GetDelimiterOk() (*string, bool)
- func (o *ListBucketResultV2) GetEncodingType() *EncodingType
- func (o *ListBucketResultV2) GetEncodingTypeOk() (*EncodingType, bool)
- func (o *ListBucketResultV2) GetIsTruncated() *bool
- func (o *ListBucketResultV2) GetIsTruncatedOk() (*bool, bool)
- func (o *ListBucketResultV2) GetKeyCount() *int32
- func (o *ListBucketResultV2) GetKeyCountOk() (*int32, bool)
- func (o *ListBucketResultV2) GetMaxKeys() *int32
- func (o *ListBucketResultV2) GetMaxKeysOk() (*int32, bool)
- func (o *ListBucketResultV2) GetName() *string
- func (o *ListBucketResultV2) GetNameOk() (*string, bool)
- func (o *ListBucketResultV2) GetNextContinuationToken() *string
- func (o *ListBucketResultV2) GetNextContinuationTokenOk() (*string, bool)
- func (o *ListBucketResultV2) GetPrefix() *string
- func (o *ListBucketResultV2) GetPrefixOk() (*string, bool)
- func (o *ListBucketResultV2) GetStartAfter() *string
- func (o *ListBucketResultV2) GetStartAfterOk() (*string, bool)
- func (o *ListBucketResultV2) HasCommonPrefixes() bool
- func (o *ListBucketResultV2) HasContents() bool
- func (o *ListBucketResultV2) HasContinuationToken() bool
- func (o *ListBucketResultV2) HasDelimiter() bool
- func (o *ListBucketResultV2) HasEncodingType() bool
- func (o *ListBucketResultV2) HasIsTruncated() bool
- func (o *ListBucketResultV2) HasKeyCount() bool
- func (o *ListBucketResultV2) HasMaxKeys() bool
- func (o *ListBucketResultV2) HasName() bool
- func (o *ListBucketResultV2) HasNextContinuationToken() bool
- func (o *ListBucketResultV2) HasPrefix() bool
- func (o *ListBucketResultV2) HasStartAfter() bool
- func (o ListBucketResultV2) MarshalJSON() ([]byte, error)
- func (o *ListBucketResultV2) SetCommonPrefixes(v []CommonPrefix)
- func (o *ListBucketResultV2) SetContents(v []Object)
- func (o *ListBucketResultV2) SetContinuationToken(v string)
- func (o *ListBucketResultV2) SetDelimiter(v string)
- func (o *ListBucketResultV2) SetEncodingType(v EncodingType)
- func (o *ListBucketResultV2) SetIsTruncated(v bool)
- func (o *ListBucketResultV2) SetKeyCount(v int32)
- func (o *ListBucketResultV2) SetMaxKeys(v int32)
- func (o *ListBucketResultV2) SetName(v string)
- func (o *ListBucketResultV2) SetNextContinuationToken(v string)
- func (o *ListBucketResultV2) SetPrefix(v string)
- func (o *ListBucketResultV2) SetStartAfter(v string)
- type ListMultipartUploadsOutput
- func (o *ListMultipartUploadsOutput) GetBucket() *string
- func (o *ListMultipartUploadsOutput) GetBucketOk() (*string, bool)
- func (o *ListMultipartUploadsOutput) GetCommonPrefixes() *[]CommonPrefix
- func (o *ListMultipartUploadsOutput) GetCommonPrefixesOk() (*[]CommonPrefix, bool)
- func (o *ListMultipartUploadsOutput) GetDelimiter() *string
- func (o *ListMultipartUploadsOutput) GetDelimiterOk() (*string, bool)
- func (o *ListMultipartUploadsOutput) GetEncodingType() *EncodingType
- func (o *ListMultipartUploadsOutput) GetEncodingTypeOk() (*EncodingType, bool)
- func (o *ListMultipartUploadsOutput) GetIsTruncated() *bool
- func (o *ListMultipartUploadsOutput) GetIsTruncatedOk() (*bool, bool)
- func (o *ListMultipartUploadsOutput) GetKeyMarker() *string
- func (o *ListMultipartUploadsOutput) GetKeyMarkerOk() (*string, bool)
- func (o *ListMultipartUploadsOutput) GetMaxUploads() *int32
- func (o *ListMultipartUploadsOutput) GetMaxUploadsOk() (*int32, bool)
- func (o *ListMultipartUploadsOutput) GetNextKeyMarker() *string
- func (o *ListMultipartUploadsOutput) GetNextKeyMarkerOk() (*string, bool)
- func (o *ListMultipartUploadsOutput) GetNextUploadIdMarker() *string
- func (o *ListMultipartUploadsOutput) GetNextUploadIdMarkerOk() (*string, bool)
- func (o *ListMultipartUploadsOutput) GetPrefix() *string
- func (o *ListMultipartUploadsOutput) GetPrefixOk() (*string, bool)
- func (o *ListMultipartUploadsOutput) GetUploadIdMarker() *string
- func (o *ListMultipartUploadsOutput) GetUploadIdMarkerOk() (*string, bool)
- func (o *ListMultipartUploadsOutput) GetUploads() *[]MultipartUpload
- func (o *ListMultipartUploadsOutput) GetUploadsOk() (*[]MultipartUpload, bool)
- func (o *ListMultipartUploadsOutput) HasBucket() bool
- func (o *ListMultipartUploadsOutput) HasCommonPrefixes() bool
- func (o *ListMultipartUploadsOutput) HasDelimiter() bool
- func (o *ListMultipartUploadsOutput) HasEncodingType() bool
- func (o *ListMultipartUploadsOutput) HasIsTruncated() bool
- func (o *ListMultipartUploadsOutput) HasKeyMarker() bool
- func (o *ListMultipartUploadsOutput) HasMaxUploads() bool
- func (o *ListMultipartUploadsOutput) HasNextKeyMarker() bool
- func (o *ListMultipartUploadsOutput) HasNextUploadIdMarker() bool
- func (o *ListMultipartUploadsOutput) HasPrefix() bool
- func (o *ListMultipartUploadsOutput) HasUploadIdMarker() bool
- func (o *ListMultipartUploadsOutput) HasUploads() bool
- func (o ListMultipartUploadsOutput) MarshalJSON() ([]byte, error)
- func (o *ListMultipartUploadsOutput) SetBucket(v string)
- func (o *ListMultipartUploadsOutput) SetCommonPrefixes(v []CommonPrefix)
- func (o *ListMultipartUploadsOutput) SetDelimiter(v string)
- func (o *ListMultipartUploadsOutput) SetEncodingType(v EncodingType)
- func (o *ListMultipartUploadsOutput) SetIsTruncated(v bool)
- func (o *ListMultipartUploadsOutput) SetKeyMarker(v string)
- func (o *ListMultipartUploadsOutput) SetMaxUploads(v int32)
- func (o *ListMultipartUploadsOutput) SetNextKeyMarker(v string)
- func (o *ListMultipartUploadsOutput) SetNextUploadIdMarker(v string)
- func (o *ListMultipartUploadsOutput) SetPrefix(v string)
- func (o *ListMultipartUploadsOutput) SetUploadIdMarker(v string)
- func (o *ListMultipartUploadsOutput) SetUploads(v []MultipartUpload)
- type ListObjectVersionsOutput
- func (o *ListObjectVersionsOutput) GetCommonPrefixes() *[]CommonPrefix
- func (o *ListObjectVersionsOutput) GetCommonPrefixesOk() (*[]CommonPrefix, bool)
- func (o *ListObjectVersionsOutput) GetDeleteMarkers() *[]DeleteMarkerEntry
- func (o *ListObjectVersionsOutput) GetDeleteMarkersOk() (*[]DeleteMarkerEntry, bool)
- func (o *ListObjectVersionsOutput) GetDelimiter() *string
- func (o *ListObjectVersionsOutput) GetDelimiterOk() (*string, bool)
- func (o *ListObjectVersionsOutput) GetEncodingType() *EncodingType
- func (o *ListObjectVersionsOutput) GetEncodingTypeOk() (*EncodingType, bool)
- func (o *ListObjectVersionsOutput) GetIsTruncated() *bool
- func (o *ListObjectVersionsOutput) GetIsTruncatedOk() (*bool, bool)
- func (o *ListObjectVersionsOutput) GetKeyMarker() *string
- func (o *ListObjectVersionsOutput) GetKeyMarkerOk() (*string, bool)
- func (o *ListObjectVersionsOutput) GetMaxKeys() *int32
- func (o *ListObjectVersionsOutput) GetMaxKeysOk() (*int32, bool)
- func (o *ListObjectVersionsOutput) GetName() *string
- func (o *ListObjectVersionsOutput) GetNameOk() (*string, bool)
- func (o *ListObjectVersionsOutput) GetNextKeyMarker() *string
- func (o *ListObjectVersionsOutput) GetNextKeyMarkerOk() (*string, bool)
- func (o *ListObjectVersionsOutput) GetNextVersionIdMarker() *string
- func (o *ListObjectVersionsOutput) GetNextVersionIdMarkerOk() (*string, bool)
- func (o *ListObjectVersionsOutput) GetPrefix() *string
- func (o *ListObjectVersionsOutput) GetPrefixOk() (*string, bool)
- func (o *ListObjectVersionsOutput) GetVersionIdMarker() *string
- func (o *ListObjectVersionsOutput) GetVersionIdMarkerOk() (*string, bool)
- func (o *ListObjectVersionsOutput) GetVersions() *[]ObjectVersion
- func (o *ListObjectVersionsOutput) GetVersionsOk() (*[]ObjectVersion, bool)
- func (o *ListObjectVersionsOutput) HasCommonPrefixes() bool
- func (o *ListObjectVersionsOutput) HasDeleteMarkers() bool
- func (o *ListObjectVersionsOutput) HasDelimiter() bool
- func (o *ListObjectVersionsOutput) HasEncodingType() bool
- func (o *ListObjectVersionsOutput) HasIsTruncated() bool
- func (o *ListObjectVersionsOutput) HasKeyMarker() bool
- func (o *ListObjectVersionsOutput) HasMaxKeys() bool
- func (o *ListObjectVersionsOutput) HasName() bool
- func (o *ListObjectVersionsOutput) HasNextKeyMarker() bool
- func (o *ListObjectVersionsOutput) HasNextVersionIdMarker() bool
- func (o *ListObjectVersionsOutput) HasPrefix() bool
- func (o *ListObjectVersionsOutput) HasVersionIdMarker() bool
- func (o *ListObjectVersionsOutput) HasVersions() bool
- func (o ListObjectVersionsOutput) MarshalJSON() ([]byte, error)
- func (o *ListObjectVersionsOutput) SetCommonPrefixes(v []CommonPrefix)
- func (o *ListObjectVersionsOutput) SetDeleteMarkers(v []DeleteMarkerEntry)
- func (o *ListObjectVersionsOutput) SetDelimiter(v string)
- func (o *ListObjectVersionsOutput) SetEncodingType(v EncodingType)
- func (o *ListObjectVersionsOutput) SetIsTruncated(v bool)
- func (o *ListObjectVersionsOutput) SetKeyMarker(v string)
- func (o *ListObjectVersionsOutput) SetMaxKeys(v int32)
- func (o *ListObjectVersionsOutput) SetName(v string)
- func (o *ListObjectVersionsOutput) SetNextKeyMarker(v string)
- func (o *ListObjectVersionsOutput) SetNextVersionIdMarker(v string)
- func (o *ListObjectVersionsOutput) SetPrefix(v string)
- func (o *ListObjectVersionsOutput) SetVersionIdMarker(v string)
- func (o *ListObjectVersionsOutput) SetVersions(v []ObjectVersion)
- type ListObjectsOutput
- func (o *ListObjectsOutput) GetCommonPrefixes() *[]CommonPrefix
- func (o *ListObjectsOutput) GetCommonPrefixesOk() (*[]CommonPrefix, bool)
- func (o *ListObjectsOutput) GetContents() *[]Object
- func (o *ListObjectsOutput) GetContentsOk() (*[]Object, bool)
- func (o *ListObjectsOutput) GetDelimiter() *string
- func (o *ListObjectsOutput) GetDelimiterOk() (*string, bool)
- func (o *ListObjectsOutput) GetEncodingType() *EncodingType
- func (o *ListObjectsOutput) GetEncodingTypeOk() (*EncodingType, bool)
- func (o *ListObjectsOutput) GetIsTruncated() *bool
- func (o *ListObjectsOutput) GetIsTruncatedOk() (*bool, bool)
- func (o *ListObjectsOutput) GetMarker() *string
- func (o *ListObjectsOutput) GetMarkerOk() (*string, bool)
- func (o *ListObjectsOutput) GetMaxKeys() *int32
- func (o *ListObjectsOutput) GetMaxKeysOk() (*int32, bool)
- func (o *ListObjectsOutput) GetName() *string
- func (o *ListObjectsOutput) GetNameOk() (*string, bool)
- func (o *ListObjectsOutput) GetNextMarker() *string
- func (o *ListObjectsOutput) GetNextMarkerOk() (*string, bool)
- func (o *ListObjectsOutput) GetPrefix() *string
- func (o *ListObjectsOutput) GetPrefixOk() (*string, bool)
- func (o *ListObjectsOutput) HasCommonPrefixes() bool
- func (o *ListObjectsOutput) HasContents() bool
- func (o *ListObjectsOutput) HasDelimiter() bool
- func (o *ListObjectsOutput) HasEncodingType() bool
- func (o *ListObjectsOutput) HasIsTruncated() bool
- func (o *ListObjectsOutput) HasMarker() bool
- func (o *ListObjectsOutput) HasMaxKeys() bool
- func (o *ListObjectsOutput) HasName() bool
- func (o *ListObjectsOutput) HasNextMarker() bool
- func (o *ListObjectsOutput) HasPrefix() bool
- func (o ListObjectsOutput) MarshalJSON() ([]byte, error)
- func (o *ListObjectsOutput) SetCommonPrefixes(v []CommonPrefix)
- func (o *ListObjectsOutput) SetContents(v []Object)
- func (o *ListObjectsOutput) SetDelimiter(v string)
- func (o *ListObjectsOutput) SetEncodingType(v EncodingType)
- func (o *ListObjectsOutput) SetIsTruncated(v bool)
- func (o *ListObjectsOutput) SetMarker(v string)
- func (o *ListObjectsOutput) SetMaxKeys(v int32)
- func (o *ListObjectsOutput) SetName(v string)
- func (o *ListObjectsOutput) SetNextMarker(v string)
- func (o *ListObjectsOutput) SetPrefix(v string)
- type ListPartsOutput
- func (o *ListPartsOutput) GetBucket() *string
- func (o *ListPartsOutput) GetBucketOk() (*string, bool)
- func (o *ListPartsOutput) GetInitiator() *Initiator
- func (o *ListPartsOutput) GetInitiatorOk() (*Initiator, bool)
- func (o *ListPartsOutput) GetIsTruncated() *bool
- func (o *ListPartsOutput) GetIsTruncatedOk() (*bool, bool)
- func (o *ListPartsOutput) GetKey() *string
- func (o *ListPartsOutput) GetKeyOk() (*string, bool)
- func (o *ListPartsOutput) GetMaxParts() *string
- func (o *ListPartsOutput) GetMaxPartsOk() (*string, bool)
- func (o *ListPartsOutput) GetNextPartNumberMarker() *string
- func (o *ListPartsOutput) GetNextPartNumberMarkerOk() (*string, bool)
- func (o *ListPartsOutput) GetOwner() *Owner
- func (o *ListPartsOutput) GetOwnerOk() (*Owner, bool)
- func (o *ListPartsOutput) GetPartNumberMarker() *int32
- func (o *ListPartsOutput) GetPartNumberMarkerOk() (*int32, bool)
- func (o *ListPartsOutput) GetParts() *[]Part
- func (o *ListPartsOutput) GetPartsOk() (*[]Part, bool)
- func (o *ListPartsOutput) GetStorageClass() *StorageClass
- func (o *ListPartsOutput) GetStorageClassOk() (*StorageClass, bool)
- func (o *ListPartsOutput) GetUploadId() *string
- func (o *ListPartsOutput) GetUploadIdOk() (*string, bool)
- func (o *ListPartsOutput) HasBucket() bool
- func (o *ListPartsOutput) HasInitiator() bool
- func (o *ListPartsOutput) HasIsTruncated() bool
- func (o *ListPartsOutput) HasKey() bool
- func (o *ListPartsOutput) HasMaxParts() bool
- func (o *ListPartsOutput) HasNextPartNumberMarker() bool
- func (o *ListPartsOutput) HasOwner() bool
- func (o *ListPartsOutput) HasPartNumberMarker() bool
- func (o *ListPartsOutput) HasParts() bool
- func (o *ListPartsOutput) HasStorageClass() bool
- func (o *ListPartsOutput) HasUploadId() bool
- func (o ListPartsOutput) MarshalJSON() ([]byte, error)
- func (o *ListPartsOutput) SetBucket(v string)
- func (o *ListPartsOutput) SetInitiator(v Initiator)
- func (o *ListPartsOutput) SetIsTruncated(v bool)
- func (o *ListPartsOutput) SetKey(v string)
- func (o *ListPartsOutput) SetMaxParts(v string)
- func (o *ListPartsOutput) SetNextPartNumberMarker(v string)
- func (o *ListPartsOutput) SetOwner(v Owner)
- func (o *ListPartsOutput) SetPartNumberMarker(v int32)
- func (o *ListPartsOutput) SetParts(v []Part)
- func (o *ListPartsOutput) SetStorageClass(v StorageClass)
- func (o *ListPartsOutput) SetUploadId(v string)
- type LogLevel
- type Logger
- type MappedNullable
- type MetadataEntry
- func (o *MetadataEntry) GetName() *string
- func (o *MetadataEntry) GetNameOk() (*string, bool)
- func (o *MetadataEntry) GetValue() *string
- func (o *MetadataEntry) GetValueOk() (*string, bool)
- func (o *MetadataEntry) HasName() bool
- func (o *MetadataEntry) HasValue() bool
- func (o MetadataEntry) MarshalJSON() ([]byte, error)
- func (o *MetadataEntry) SetName(v string)
- func (o *MetadataEntry) SetValue(v string)
- type MfaDeleteStatus
- type MiddlewareFunction
- type MiddlewareFunctionWithError
- type MultipartUpload
- func (o *MultipartUpload) GetInitiated() *time.Time
- func (o *MultipartUpload) GetInitiatedOk() (*time.Time, bool)
- func (o *MultipartUpload) GetInitiator() *Initiator
- func (o *MultipartUpload) GetInitiatorOk() (*Initiator, bool)
- func (o *MultipartUpload) GetKey() *string
- func (o *MultipartUpload) GetKeyOk() (*string, bool)
- func (o *MultipartUpload) GetOwner() *Owner
- func (o *MultipartUpload) GetOwnerOk() (*Owner, bool)
- func (o *MultipartUpload) GetStorageClass() *StorageClass
- func (o *MultipartUpload) GetStorageClassOk() (*StorageClass, bool)
- func (o *MultipartUpload) GetUploadId() *string
- func (o *MultipartUpload) GetUploadIdOk() (*string, bool)
- func (o *MultipartUpload) HasInitiated() bool
- func (o *MultipartUpload) HasInitiator() bool
- func (o *MultipartUpload) HasKey() bool
- func (o *MultipartUpload) HasOwner() bool
- func (o *MultipartUpload) HasStorageClass() bool
- func (o *MultipartUpload) HasUploadId() bool
- func (o MultipartUpload) MarshalJSON() ([]byte, error)
- func (o *MultipartUpload) SetInitiated(v time.Time)
- func (o *MultipartUpload) SetInitiator(v Initiator)
- func (o *MultipartUpload) SetKey(v string)
- func (o *MultipartUpload) SetOwner(v Owner)
- func (o *MultipartUpload) SetStorageClass(v StorageClass)
- func (o *MultipartUpload) SetUploadId(v string)
- type NoncurrentVersionExpiration
- func (o *NoncurrentVersionExpiration) GetNoncurrentDays() *int32
- func (o *NoncurrentVersionExpiration) GetNoncurrentDaysOk() (*int32, bool)
- func (o *NoncurrentVersionExpiration) HasNoncurrentDays() bool
- func (o NoncurrentVersionExpiration) MarshalJSON() ([]byte, error)
- func (o *NoncurrentVersionExpiration) SetNoncurrentDays(v int32)
- type NullableAbortIncompleteMultipartUpload
- func (v NullableAbortIncompleteMultipartUpload) Get() *AbortIncompleteMultipartUpload
- func (v NullableAbortIncompleteMultipartUpload) IsSet() bool
- func (v NullableAbortIncompleteMultipartUpload) MarshalJSON() ([]byte, error)
- func (v *NullableAbortIncompleteMultipartUpload) Set(val *AbortIncompleteMultipartUpload)
- func (v *NullableAbortIncompleteMultipartUpload) UnmarshalJSON(src []byte) error
- func (v *NullableAbortIncompleteMultipartUpload) Unset()
- type NullableBlockPublicAccessOutput
- func (v NullableBlockPublicAccessOutput) Get() *BlockPublicAccessOutput
- func (v NullableBlockPublicAccessOutput) IsSet() bool
- func (v NullableBlockPublicAccessOutput) MarshalJSON() ([]byte, error)
- func (v *NullableBlockPublicAccessOutput) Set(val *BlockPublicAccessOutput)
- func (v *NullableBlockPublicAccessOutput) UnmarshalJSON(src []byte) error
- func (v *NullableBlockPublicAccessOutput) Unset()
- type NullableBlockPublicAccessPayload
- func (v NullableBlockPublicAccessPayload) Get() *BlockPublicAccessPayload
- func (v NullableBlockPublicAccessPayload) IsSet() bool
- func (v NullableBlockPublicAccessPayload) MarshalJSON() ([]byte, error)
- func (v *NullableBlockPublicAccessPayload) Set(val *BlockPublicAccessPayload)
- func (v *NullableBlockPublicAccessPayload) UnmarshalJSON(src []byte) error
- func (v *NullableBlockPublicAccessPayload) Unset()
- type NullableBool
- type NullableBucket
- type NullableBucketLocation
- func (v NullableBucketLocation) Get() *BucketLocation
- func (v NullableBucketLocation) IsSet() bool
- func (v NullableBucketLocation) MarshalJSON() ([]byte, error)
- func (v *NullableBucketLocation) Set(val *BucketLocation)
- func (v *NullableBucketLocation) UnmarshalJSON(src []byte) error
- func (v *NullableBucketLocation) Unset()
- type NullableBucketPolicy
- func (v NullableBucketPolicy) Get() *BucketPolicy
- func (v NullableBucketPolicy) IsSet() bool
- func (v NullableBucketPolicy) MarshalJSON() ([]byte, error)
- func (v *NullableBucketPolicy) Set(val *BucketPolicy)
- func (v *NullableBucketPolicy) UnmarshalJSON(src []byte) error
- func (v *NullableBucketPolicy) Unset()
- type NullableBucketPolicyCondition
- func (v NullableBucketPolicyCondition) Get() *BucketPolicyCondition
- func (v NullableBucketPolicyCondition) IsSet() bool
- func (v NullableBucketPolicyCondition) MarshalJSON() ([]byte, error)
- func (v *NullableBucketPolicyCondition) Set(val *BucketPolicyCondition)
- func (v *NullableBucketPolicyCondition) UnmarshalJSON(src []byte) error
- func (v *NullableBucketPolicyCondition) Unset()
- type NullableBucketPolicyConditionDate
- func (v NullableBucketPolicyConditionDate) Get() *BucketPolicyConditionDate
- func (v NullableBucketPolicyConditionDate) IsSet() bool
- func (v NullableBucketPolicyConditionDate) MarshalJSON() ([]byte, error)
- func (v *NullableBucketPolicyConditionDate) Set(val *BucketPolicyConditionDate)
- func (v *NullableBucketPolicyConditionDate) UnmarshalJSON(src []byte) error
- func (v *NullableBucketPolicyConditionDate) Unset()
- type NullableBucketPolicyConditionIpAddress
- func (v NullableBucketPolicyConditionIpAddress) Get() *BucketPolicyConditionIpAddress
- func (v NullableBucketPolicyConditionIpAddress) IsSet() bool
- func (v NullableBucketPolicyConditionIpAddress) MarshalJSON() ([]byte, error)
- func (v *NullableBucketPolicyConditionIpAddress) Set(val *BucketPolicyConditionIpAddress)
- func (v *NullableBucketPolicyConditionIpAddress) UnmarshalJSON(src []byte) error
- func (v *NullableBucketPolicyConditionIpAddress) Unset()
- type NullableBucketPolicyStatement
- func (v NullableBucketPolicyStatement) Get() *BucketPolicyStatement
- func (v NullableBucketPolicyStatement) IsSet() bool
- func (v NullableBucketPolicyStatement) MarshalJSON() ([]byte, error)
- func (v *NullableBucketPolicyStatement) Set(val *BucketPolicyStatement)
- func (v *NullableBucketPolicyStatement) UnmarshalJSON(src []byte) error
- func (v *NullableBucketPolicyStatement) Unset()
- type NullableBucketVersioningStatus
- func (v NullableBucketVersioningStatus) Get() *BucketVersioningStatus
- func (v NullableBucketVersioningStatus) IsSet() bool
- func (v NullableBucketVersioningStatus) MarshalJSON() ([]byte, error)
- func (v *NullableBucketVersioningStatus) Set(val *BucketVersioningStatus)
- func (v *NullableBucketVersioningStatus) UnmarshalJSON(src []byte) error
- func (v *NullableBucketVersioningStatus) Unset()
- type NullableCORSRule
- type NullableCSVInput
- type NullableCSVOutput
- type NullableCommonPrefix
- func (v NullableCommonPrefix) Get() *CommonPrefix
- func (v NullableCommonPrefix) IsSet() bool
- func (v NullableCommonPrefix) MarshalJSON() ([]byte, error)
- func (v *NullableCommonPrefix) Set(val *CommonPrefix)
- func (v *NullableCommonPrefix) UnmarshalJSON(src []byte) error
- func (v *NullableCommonPrefix) Unset()
- type NullableCompleteMultipartUploadOutput
- func (v NullableCompleteMultipartUploadOutput) Get() *CompleteMultipartUploadOutput
- func (v NullableCompleteMultipartUploadOutput) IsSet() bool
- func (v NullableCompleteMultipartUploadOutput) MarshalJSON() ([]byte, error)
- func (v *NullableCompleteMultipartUploadOutput) Set(val *CompleteMultipartUploadOutput)
- func (v *NullableCompleteMultipartUploadOutput) UnmarshalJSON(src []byte) error
- func (v *NullableCompleteMultipartUploadOutput) Unset()
- type NullableCompletedPart
- func (v NullableCompletedPart) Get() *CompletedPart
- func (v NullableCompletedPart) IsSet() bool
- func (v NullableCompletedPart) MarshalJSON() ([]byte, error)
- func (v *NullableCompletedPart) Set(val *CompletedPart)
- func (v *NullableCompletedPart) UnmarshalJSON(src []byte) error
- func (v *NullableCompletedPart) Unset()
- type NullableCopyObjectRequest
- func (v NullableCopyObjectRequest) Get() *CopyObjectRequest
- func (v NullableCopyObjectRequest) IsSet() bool
- func (v NullableCopyObjectRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCopyObjectRequest) Set(val *CopyObjectRequest)
- func (v *NullableCopyObjectRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCopyObjectRequest) Unset()
- type NullableCopyObjectResult
- func (v NullableCopyObjectResult) Get() *CopyObjectResult
- func (v NullableCopyObjectResult) IsSet() bool
- func (v NullableCopyObjectResult) MarshalJSON() ([]byte, error)
- func (v *NullableCopyObjectResult) Set(val *CopyObjectResult)
- func (v *NullableCopyObjectResult) UnmarshalJSON(src []byte) error
- func (v *NullableCopyObjectResult) Unset()
- type NullableCopyPartResult
- func (v NullableCopyPartResult) Get() *CopyPartResult
- func (v NullableCopyPartResult) IsSet() bool
- func (v NullableCopyPartResult) MarshalJSON() ([]byte, error)
- func (v *NullableCopyPartResult) Set(val *CopyPartResult)
- func (v *NullableCopyPartResult) UnmarshalJSON(src []byte) error
- func (v *NullableCopyPartResult) Unset()
- type NullableCreateBucketConfiguration
- func (v NullableCreateBucketConfiguration) Get() *CreateBucketConfiguration
- func (v NullableCreateBucketConfiguration) IsSet() bool
- func (v NullableCreateBucketConfiguration) MarshalJSON() ([]byte, error)
- func (v *NullableCreateBucketConfiguration) Set(val *CreateBucketConfiguration)
- func (v *NullableCreateBucketConfiguration) UnmarshalJSON(src []byte) error
- func (v *NullableCreateBucketConfiguration) Unset()
- type NullableCreateMultipartUploadOutput
- func (v NullableCreateMultipartUploadOutput) Get() *CreateMultipartUploadOutput
- func (v NullableCreateMultipartUploadOutput) IsSet() bool
- func (v NullableCreateMultipartUploadOutput) MarshalJSON() ([]byte, error)
- func (v *NullableCreateMultipartUploadOutput) Set(val *CreateMultipartUploadOutput)
- func (v *NullableCreateMultipartUploadOutput) UnmarshalJSON(src []byte) error
- func (v *NullableCreateMultipartUploadOutput) Unset()
- type NullableDefaultRetention
- func (v NullableDefaultRetention) Get() *DefaultRetention
- func (v NullableDefaultRetention) IsSet() bool
- func (v NullableDefaultRetention) MarshalJSON() ([]byte, error)
- func (v *NullableDefaultRetention) Set(val *DefaultRetention)
- func (v *NullableDefaultRetention) UnmarshalJSON(src []byte) error
- func (v *NullableDefaultRetention) Unset()
- type NullableDeleteMarkerEntry
- func (v NullableDeleteMarkerEntry) Get() *DeleteMarkerEntry
- func (v NullableDeleteMarkerEntry) IsSet() bool
- func (v NullableDeleteMarkerEntry) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteMarkerEntry) Set(val *DeleteMarkerEntry)
- func (v *NullableDeleteMarkerEntry) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteMarkerEntry) Unset()
- type NullableDeleteObjectsOutput
- func (v NullableDeleteObjectsOutput) Get() *DeleteObjectsOutput
- func (v NullableDeleteObjectsOutput) IsSet() bool
- func (v NullableDeleteObjectsOutput) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteObjectsOutput) Set(val *DeleteObjectsOutput)
- func (v *NullableDeleteObjectsOutput) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteObjectsOutput) Unset()
- type NullableDeleteObjectsRequest
- func (v NullableDeleteObjectsRequest) Get() *DeleteObjectsRequest
- func (v NullableDeleteObjectsRequest) IsSet() bool
- func (v NullableDeleteObjectsRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteObjectsRequest) Set(val *DeleteObjectsRequest)
- func (v *NullableDeleteObjectsRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteObjectsRequest) Unset()
- type NullableDeletedObject
- func (v NullableDeletedObject) Get() *DeletedObject
- func (v NullableDeletedObject) IsSet() bool
- func (v NullableDeletedObject) MarshalJSON() ([]byte, error)
- func (v *NullableDeletedObject) Set(val *DeletedObject)
- func (v *NullableDeletedObject) UnmarshalJSON(src []byte) error
- func (v *NullableDeletedObject) Unset()
- type NullableDeletionError
- func (v NullableDeletionError) Get() *DeletionError
- func (v NullableDeletionError) IsSet() bool
- func (v NullableDeletionError) MarshalJSON() ([]byte, error)
- func (v *NullableDeletionError) Set(val *DeletionError)
- func (v *NullableDeletionError) UnmarshalJSON(src []byte) error
- func (v *NullableDeletionError) Unset()
- type NullableDestination
- func (v NullableDestination) Get() *Destination
- func (v NullableDestination) IsSet() bool
- func (v NullableDestination) MarshalJSON() ([]byte, error)
- func (v *NullableDestination) Set(val *Destination)
- func (v *NullableDestination) UnmarshalJSON(src []byte) error
- func (v *NullableDestination) Unset()
- type NullableEncodingType
- func (v NullableEncodingType) Get() *EncodingType
- func (v NullableEncodingType) IsSet() bool
- func (v NullableEncodingType) MarshalJSON() ([]byte, error)
- func (v *NullableEncodingType) Set(val *EncodingType)
- func (v *NullableEncodingType) UnmarshalJSON(src []byte) error
- func (v *NullableEncodingType) Unset()
- type NullableEncryption
- type NullableError
- type NullableErrorDocument
- func (v NullableErrorDocument) Get() *ErrorDocument
- func (v NullableErrorDocument) IsSet() bool
- func (v NullableErrorDocument) MarshalJSON() ([]byte, error)
- func (v *NullableErrorDocument) Set(val *ErrorDocument)
- func (v *NullableErrorDocument) UnmarshalJSON(src []byte) error
- func (v *NullableErrorDocument) Unset()
- type NullableExample
- type NullableExampleCompleteMultipartUpload
- func (v NullableExampleCompleteMultipartUpload) Get() *ExampleCompleteMultipartUpload
- func (v NullableExampleCompleteMultipartUpload) IsSet() bool
- func (v NullableExampleCompleteMultipartUpload) MarshalJSON() ([]byte, error)
- func (v *NullableExampleCompleteMultipartUpload) Set(val *ExampleCompleteMultipartUpload)
- func (v *NullableExampleCompleteMultipartUpload) UnmarshalJSON(src []byte) error
- func (v *NullableExampleCompleteMultipartUpload) Unset()
- type NullableExpirationStatus
- func (v NullableExpirationStatus) Get() *ExpirationStatus
- func (v NullableExpirationStatus) IsSet() bool
- func (v NullableExpirationStatus) MarshalJSON() ([]byte, error)
- func (v *NullableExpirationStatus) Set(val *ExpirationStatus)
- func (v *NullableExpirationStatus) UnmarshalJSON(src []byte) error
- func (v *NullableExpirationStatus) Unset()
- type NullableExpressionType
- func (v NullableExpressionType) Get() *ExpressionType
- func (v NullableExpressionType) IsSet() bool
- func (v NullableExpressionType) MarshalJSON() ([]byte, error)
- func (v *NullableExpressionType) Set(val *ExpressionType)
- func (v *NullableExpressionType) UnmarshalJSON(src []byte) error
- func (v *NullableExpressionType) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGetBucketCorsOutput
- func (v NullableGetBucketCorsOutput) Get() *GetBucketCorsOutput
- func (v NullableGetBucketCorsOutput) IsSet() bool
- func (v NullableGetBucketCorsOutput) MarshalJSON() ([]byte, error)
- func (v *NullableGetBucketCorsOutput) Set(val *GetBucketCorsOutput)
- func (v *NullableGetBucketCorsOutput) UnmarshalJSON(src []byte) error
- func (v *NullableGetBucketCorsOutput) Unset()
- type NullableGetBucketLifecycleOutput
- func (v NullableGetBucketLifecycleOutput) Get() *GetBucketLifecycleOutput
- func (v NullableGetBucketLifecycleOutput) IsSet() bool
- func (v NullableGetBucketLifecycleOutput) MarshalJSON() ([]byte, error)
- func (v *NullableGetBucketLifecycleOutput) Set(val *GetBucketLifecycleOutput)
- func (v *NullableGetBucketLifecycleOutput) UnmarshalJSON(src []byte) error
- func (v *NullableGetBucketLifecycleOutput) Unset()
- type NullableGetBucketReplicationOutput
- func (v NullableGetBucketReplicationOutput) Get() *GetBucketReplicationOutput
- func (v NullableGetBucketReplicationOutput) IsSet() bool
- func (v NullableGetBucketReplicationOutput) MarshalJSON() ([]byte, error)
- func (v *NullableGetBucketReplicationOutput) Set(val *GetBucketReplicationOutput)
- func (v *NullableGetBucketReplicationOutput) UnmarshalJSON(src []byte) error
- func (v *NullableGetBucketReplicationOutput) Unset()
- type NullableGetBucketTaggingOutput
- func (v NullableGetBucketTaggingOutput) Get() *GetBucketTaggingOutput
- func (v NullableGetBucketTaggingOutput) IsSet() bool
- func (v NullableGetBucketTaggingOutput) MarshalJSON() ([]byte, error)
- func (v *NullableGetBucketTaggingOutput) Set(val *GetBucketTaggingOutput)
- func (v *NullableGetBucketTaggingOutput) UnmarshalJSON(src []byte) error
- func (v *NullableGetBucketTaggingOutput) Unset()
- type NullableGetBucketVersioningOutput
- func (v NullableGetBucketVersioningOutput) Get() *GetBucketVersioningOutput
- func (v NullableGetBucketVersioningOutput) IsSet() bool
- func (v NullableGetBucketVersioningOutput) MarshalJSON() ([]byte, error)
- func (v *NullableGetBucketVersioningOutput) Set(val *GetBucketVersioningOutput)
- func (v *NullableGetBucketVersioningOutput) UnmarshalJSON(src []byte) error
- func (v *NullableGetBucketVersioningOutput) Unset()
- type NullableGetBucketWebsiteOutput
- func (v NullableGetBucketWebsiteOutput) Get() *GetBucketWebsiteOutput
- func (v NullableGetBucketWebsiteOutput) IsSet() bool
- func (v NullableGetBucketWebsiteOutput) MarshalJSON() ([]byte, error)
- func (v *NullableGetBucketWebsiteOutput) Set(val *GetBucketWebsiteOutput)
- func (v *NullableGetBucketWebsiteOutput) UnmarshalJSON(src []byte) error
- func (v *NullableGetBucketWebsiteOutput) Unset()
- type NullableGetObjectLockConfigurationOutput
- func (v NullableGetObjectLockConfigurationOutput) Get() *GetObjectLockConfigurationOutput
- func (v NullableGetObjectLockConfigurationOutput) IsSet() bool
- func (v NullableGetObjectLockConfigurationOutput) MarshalJSON() ([]byte, error)
- func (v *NullableGetObjectLockConfigurationOutput) Set(val *GetObjectLockConfigurationOutput)
- func (v *NullableGetObjectLockConfigurationOutput) UnmarshalJSON(src []byte) error
- func (v *NullableGetObjectLockConfigurationOutput) Unset()
- type NullableGetObjectTaggingOutput
- func (v NullableGetObjectTaggingOutput) Get() *GetObjectTaggingOutput
- func (v NullableGetObjectTaggingOutput) IsSet() bool
- func (v NullableGetObjectTaggingOutput) MarshalJSON() ([]byte, error)
- func (v *NullableGetObjectTaggingOutput) Set(val *GetObjectTaggingOutput)
- func (v *NullableGetObjectTaggingOutput) UnmarshalJSON(src []byte) error
- func (v *NullableGetObjectTaggingOutput) Unset()
- type NullableHeadObjectOutput
- func (v NullableHeadObjectOutput) Get() *HeadObjectOutput
- func (v NullableHeadObjectOutput) IsSet() bool
- func (v NullableHeadObjectOutput) MarshalJSON() ([]byte, error)
- func (v *NullableHeadObjectOutput) Set(val *HeadObjectOutput)
- func (v *NullableHeadObjectOutput) UnmarshalJSON(src []byte) error
- func (v *NullableHeadObjectOutput) Unset()
- type NullableIndexDocument
- func (v NullableIndexDocument) Get() *IndexDocument
- func (v NullableIndexDocument) IsSet() bool
- func (v NullableIndexDocument) MarshalJSON() ([]byte, error)
- func (v *NullableIndexDocument) Set(val *IndexDocument)
- func (v *NullableIndexDocument) UnmarshalJSON(src []byte) error
- func (v *NullableIndexDocument) Unset()
- type NullableInitiator
- type NullableInputSerialization
- func (v NullableInputSerialization) Get() *InputSerialization
- func (v NullableInputSerialization) IsSet() bool
- func (v NullableInputSerialization) MarshalJSON() ([]byte, error)
- func (v *NullableInputSerialization) Set(val *InputSerialization)
- func (v *NullableInputSerialization) UnmarshalJSON(src []byte) error
- func (v *NullableInputSerialization) Unset()
- type NullableInputSerializationJSON
- func (v NullableInputSerializationJSON) Get() *InputSerializationJSON
- func (v NullableInputSerializationJSON) IsSet() bool
- func (v NullableInputSerializationJSON) MarshalJSON() ([]byte, error)
- func (v *NullableInputSerializationJSON) Set(val *InputSerializationJSON)
- func (v *NullableInputSerializationJSON) UnmarshalJSON(src []byte) error
- func (v *NullableInputSerializationJSON) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableJSONOutput
- type NullableLifecycleExpiration
- func (v NullableLifecycleExpiration) Get() *LifecycleExpiration
- func (v NullableLifecycleExpiration) IsSet() bool
- func (v NullableLifecycleExpiration) MarshalJSON() ([]byte, error)
- func (v *NullableLifecycleExpiration) Set(val *LifecycleExpiration)
- func (v *NullableLifecycleExpiration) UnmarshalJSON(src []byte) error
- func (v *NullableLifecycleExpiration) Unset()
- type NullableListAllMyBucketsResult
- func (v NullableListAllMyBucketsResult) Get() *ListAllMyBucketsResult
- func (v NullableListAllMyBucketsResult) IsSet() bool
- func (v NullableListAllMyBucketsResult) MarshalJSON() ([]byte, error)
- func (v *NullableListAllMyBucketsResult) Set(val *ListAllMyBucketsResult)
- func (v *NullableListAllMyBucketsResult) UnmarshalJSON(src []byte) error
- func (v *NullableListAllMyBucketsResult) Unset()
- type NullableListBucketResultV2
- func (v NullableListBucketResultV2) Get() *ListBucketResultV2
- func (v NullableListBucketResultV2) IsSet() bool
- func (v NullableListBucketResultV2) MarshalJSON() ([]byte, error)
- func (v *NullableListBucketResultV2) Set(val *ListBucketResultV2)
- func (v *NullableListBucketResultV2) UnmarshalJSON(src []byte) error
- func (v *NullableListBucketResultV2) Unset()
- type NullableListMultipartUploadsOutput
- func (v NullableListMultipartUploadsOutput) Get() *ListMultipartUploadsOutput
- func (v NullableListMultipartUploadsOutput) IsSet() bool
- func (v NullableListMultipartUploadsOutput) MarshalJSON() ([]byte, error)
- func (v *NullableListMultipartUploadsOutput) Set(val *ListMultipartUploadsOutput)
- func (v *NullableListMultipartUploadsOutput) UnmarshalJSON(src []byte) error
- func (v *NullableListMultipartUploadsOutput) Unset()
- type NullableListObjectVersionsOutput
- func (v NullableListObjectVersionsOutput) Get() *ListObjectVersionsOutput
- func (v NullableListObjectVersionsOutput) IsSet() bool
- func (v NullableListObjectVersionsOutput) MarshalJSON() ([]byte, error)
- func (v *NullableListObjectVersionsOutput) Set(val *ListObjectVersionsOutput)
- func (v *NullableListObjectVersionsOutput) UnmarshalJSON(src []byte) error
- func (v *NullableListObjectVersionsOutput) Unset()
- type NullableListObjectsOutput
- func (v NullableListObjectsOutput) Get() *ListObjectsOutput
- func (v NullableListObjectsOutput) IsSet() bool
- func (v NullableListObjectsOutput) MarshalJSON() ([]byte, error)
- func (v *NullableListObjectsOutput) Set(val *ListObjectsOutput)
- func (v *NullableListObjectsOutput) UnmarshalJSON(src []byte) error
- func (v *NullableListObjectsOutput) Unset()
- type NullableListPartsOutput
- func (v NullableListPartsOutput) Get() *ListPartsOutput
- func (v NullableListPartsOutput) IsSet() bool
- func (v NullableListPartsOutput) MarshalJSON() ([]byte, error)
- func (v *NullableListPartsOutput) Set(val *ListPartsOutput)
- func (v *NullableListPartsOutput) UnmarshalJSON(src []byte) error
- func (v *NullableListPartsOutput) Unset()
- type NullableMetadataEntry
- func (v NullableMetadataEntry) Get() *MetadataEntry
- func (v NullableMetadataEntry) IsSet() bool
- func (v NullableMetadataEntry) MarshalJSON() ([]byte, error)
- func (v *NullableMetadataEntry) Set(val *MetadataEntry)
- func (v *NullableMetadataEntry) UnmarshalJSON(src []byte) error
- func (v *NullableMetadataEntry) Unset()
- type NullableMfaDeleteStatus
- func (v NullableMfaDeleteStatus) Get() *MfaDeleteStatus
- func (v NullableMfaDeleteStatus) IsSet() bool
- func (v NullableMfaDeleteStatus) MarshalJSON() ([]byte, error)
- func (v *NullableMfaDeleteStatus) Set(val *MfaDeleteStatus)
- func (v *NullableMfaDeleteStatus) UnmarshalJSON(src []byte) error
- func (v *NullableMfaDeleteStatus) Unset()
- type NullableMultipartUpload
- func (v NullableMultipartUpload) Get() *MultipartUpload
- func (v NullableMultipartUpload) IsSet() bool
- func (v NullableMultipartUpload) MarshalJSON() ([]byte, error)
- func (v *NullableMultipartUpload) Set(val *MultipartUpload)
- func (v *NullableMultipartUpload) UnmarshalJSON(src []byte) error
- func (v *NullableMultipartUpload) Unset()
- type NullableNoncurrentVersionExpiration
- func (v NullableNoncurrentVersionExpiration) Get() *NoncurrentVersionExpiration
- func (v NullableNoncurrentVersionExpiration) IsSet() bool
- func (v NullableNoncurrentVersionExpiration) MarshalJSON() ([]byte, error)
- func (v *NullableNoncurrentVersionExpiration) Set(val *NoncurrentVersionExpiration)
- func (v *NullableNoncurrentVersionExpiration) UnmarshalJSON(src []byte) error
- func (v *NullableNoncurrentVersionExpiration) Unset()
- type NullableObject
- type NullableObjectIdentifier
- func (v NullableObjectIdentifier) Get() *ObjectIdentifier
- func (v NullableObjectIdentifier) IsSet() bool
- func (v NullableObjectIdentifier) MarshalJSON() ([]byte, error)
- func (v *NullableObjectIdentifier) Set(val *ObjectIdentifier)
- func (v *NullableObjectIdentifier) UnmarshalJSON(src []byte) error
- func (v *NullableObjectIdentifier) Unset()
- type NullableObjectLegalHoldConfiguration
- func (v NullableObjectLegalHoldConfiguration) Get() *ObjectLegalHoldConfiguration
- func (v NullableObjectLegalHoldConfiguration) IsSet() bool
- func (v NullableObjectLegalHoldConfiguration) MarshalJSON() ([]byte, error)
- func (v *NullableObjectLegalHoldConfiguration) Set(val *ObjectLegalHoldConfiguration)
- func (v *NullableObjectLegalHoldConfiguration) UnmarshalJSON(src []byte) error
- func (v *NullableObjectLegalHoldConfiguration) Unset()
- type NullableObjectLockRetention
- func (v NullableObjectLockRetention) Get() *ObjectLockRetention
- func (v NullableObjectLockRetention) IsSet() bool
- func (v NullableObjectLockRetention) MarshalJSON() ([]byte, error)
- func (v *NullableObjectLockRetention) Set(val *ObjectLockRetention)
- func (v *NullableObjectLockRetention) UnmarshalJSON(src []byte) error
- func (v *NullableObjectLockRetention) Unset()
- type NullableObjectLockRule
- func (v NullableObjectLockRule) Get() *ObjectLockRule
- func (v NullableObjectLockRule) IsSet() bool
- func (v NullableObjectLockRule) MarshalJSON() ([]byte, error)
- func (v *NullableObjectLockRule) Set(val *ObjectLockRule)
- func (v *NullableObjectLockRule) UnmarshalJSON(src []byte) error
- func (v *NullableObjectLockRule) Unset()
- type NullableObjectStorageClass
- func (v NullableObjectStorageClass) Get() *ObjectStorageClass
- func (v NullableObjectStorageClass) IsSet() bool
- func (v NullableObjectStorageClass) MarshalJSON() ([]byte, error)
- func (v *NullableObjectStorageClass) Set(val *ObjectStorageClass)
- func (v *NullableObjectStorageClass) UnmarshalJSON(src []byte) error
- func (v *NullableObjectStorageClass) Unset()
- type NullableObjectVersion
- func (v NullableObjectVersion) Get() *ObjectVersion
- func (v NullableObjectVersion) IsSet() bool
- func (v NullableObjectVersion) MarshalJSON() ([]byte, error)
- func (v *NullableObjectVersion) Set(val *ObjectVersion)
- func (v *NullableObjectVersion) UnmarshalJSON(src []byte) error
- func (v *NullableObjectVersion) Unset()
- type NullableObjectVersionStorageClass
- func (v NullableObjectVersionStorageClass) Get() *ObjectVersionStorageClass
- func (v NullableObjectVersionStorageClass) IsSet() bool
- func (v NullableObjectVersionStorageClass) MarshalJSON() ([]byte, error)
- func (v *NullableObjectVersionStorageClass) Set(val *ObjectVersionStorageClass)
- func (v *NullableObjectVersionStorageClass) UnmarshalJSON(src []byte) error
- func (v *NullableObjectVersionStorageClass) Unset()
- type NullableOutputSerialization
- func (v NullableOutputSerialization) Get() *OutputSerialization
- func (v NullableOutputSerialization) IsSet() bool
- func (v NullableOutputSerialization) MarshalJSON() ([]byte, error)
- func (v *NullableOutputSerialization) Set(val *OutputSerialization)
- func (v *NullableOutputSerialization) UnmarshalJSON(src []byte) error
- func (v *NullableOutputSerialization) Unset()
- type NullableOwner
- type NullablePOSTObjectRequest
- func (v NullablePOSTObjectRequest) Get() *POSTObjectRequest
- func (v NullablePOSTObjectRequest) IsSet() bool
- func (v NullablePOSTObjectRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePOSTObjectRequest) Set(val *POSTObjectRequest)
- func (v *NullablePOSTObjectRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePOSTObjectRequest) Unset()
- type NullablePart
- type NullablePolicyStatus
- func (v NullablePolicyStatus) Get() *PolicyStatus
- func (v NullablePolicyStatus) IsSet() bool
- func (v NullablePolicyStatus) MarshalJSON() ([]byte, error)
- func (v *NullablePolicyStatus) Set(val *PolicyStatus)
- func (v *NullablePolicyStatus) UnmarshalJSON(src []byte) error
- func (v *NullablePolicyStatus) Unset()
- type NullablePrincipal
- type NullablePrincipalAllOf
- func (v NullablePrincipalAllOf) Get() *PrincipalAllOf
- func (v NullablePrincipalAllOf) IsSet() bool
- func (v NullablePrincipalAllOf) MarshalJSON() ([]byte, error)
- func (v *NullablePrincipalAllOf) Set(val *PrincipalAllOf)
- func (v *NullablePrincipalAllOf) UnmarshalJSON(src []byte) error
- func (v *NullablePrincipalAllOf) Unset()
- type NullablePutBucketCorsRequest
- func (v NullablePutBucketCorsRequest) Get() *PutBucketCorsRequest
- func (v NullablePutBucketCorsRequest) IsSet() bool
- func (v NullablePutBucketCorsRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePutBucketCorsRequest) Set(val *PutBucketCorsRequest)
- func (v *NullablePutBucketCorsRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePutBucketCorsRequest) Unset()
- type NullablePutBucketEncryptionRequest
- func (v NullablePutBucketEncryptionRequest) Get() *PutBucketEncryptionRequest
- func (v NullablePutBucketEncryptionRequest) IsSet() bool
- func (v NullablePutBucketEncryptionRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePutBucketEncryptionRequest) Set(val *PutBucketEncryptionRequest)
- func (v *NullablePutBucketEncryptionRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePutBucketEncryptionRequest) Unset()
- type NullablePutBucketLifecycleRequest
- func (v NullablePutBucketLifecycleRequest) Get() *PutBucketLifecycleRequest
- func (v NullablePutBucketLifecycleRequest) IsSet() bool
- func (v NullablePutBucketLifecycleRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePutBucketLifecycleRequest) Set(val *PutBucketLifecycleRequest)
- func (v *NullablePutBucketLifecycleRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePutBucketLifecycleRequest) Unset()
- type NullablePutBucketTaggingRequest
- func (v NullablePutBucketTaggingRequest) Get() *PutBucketTaggingRequest
- func (v NullablePutBucketTaggingRequest) IsSet() bool
- func (v NullablePutBucketTaggingRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePutBucketTaggingRequest) Set(val *PutBucketTaggingRequest)
- func (v *NullablePutBucketTaggingRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePutBucketTaggingRequest) Unset()
- type NullablePutBucketVersioningRequest
- func (v NullablePutBucketVersioningRequest) Get() *PutBucketVersioningRequest
- func (v NullablePutBucketVersioningRequest) IsSet() bool
- func (v NullablePutBucketVersioningRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePutBucketVersioningRequest) Set(val *PutBucketVersioningRequest)
- func (v *NullablePutBucketVersioningRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePutBucketVersioningRequest) Unset()
- type NullablePutBucketWebsiteRequest
- func (v NullablePutBucketWebsiteRequest) Get() *PutBucketWebsiteRequest
- func (v NullablePutBucketWebsiteRequest) IsSet() bool
- func (v NullablePutBucketWebsiteRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePutBucketWebsiteRequest) Set(val *PutBucketWebsiteRequest)
- func (v *NullablePutBucketWebsiteRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePutBucketWebsiteRequest) Unset()
- type NullablePutObjectLockConfigurationRequest
- func (v NullablePutObjectLockConfigurationRequest) Get() *PutObjectLockConfigurationRequest
- func (v NullablePutObjectLockConfigurationRequest) IsSet() bool
- func (v NullablePutObjectLockConfigurationRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePutObjectLockConfigurationRequest) Set(val *PutObjectLockConfigurationRequest)
- func (v *NullablePutObjectLockConfigurationRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePutObjectLockConfigurationRequest) Unset()
- type NullablePutObjectLockConfigurationRequestRule
- func (v NullablePutObjectLockConfigurationRequestRule) Get() *PutObjectLockConfigurationRequestRule
- func (v NullablePutObjectLockConfigurationRequestRule) IsSet() bool
- func (v NullablePutObjectLockConfigurationRequestRule) MarshalJSON() ([]byte, error)
- func (v *NullablePutObjectLockConfigurationRequestRule) Set(val *PutObjectLockConfigurationRequestRule)
- func (v *NullablePutObjectLockConfigurationRequestRule) UnmarshalJSON(src []byte) error
- func (v *NullablePutObjectLockConfigurationRequestRule) Unset()
- type NullablePutObjectRetentionRequest
- func (v NullablePutObjectRetentionRequest) Get() *PutObjectRetentionRequest
- func (v NullablePutObjectRetentionRequest) IsSet() bool
- func (v NullablePutObjectRetentionRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePutObjectRetentionRequest) Set(val *PutObjectRetentionRequest)
- func (v *NullablePutObjectRetentionRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePutObjectRetentionRequest) Unset()
- type NullablePutObjectTaggingRequest
- func (v NullablePutObjectTaggingRequest) Get() *PutObjectTaggingRequest
- func (v NullablePutObjectTaggingRequest) IsSet() bool
- func (v NullablePutObjectTaggingRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePutObjectTaggingRequest) Set(val *PutObjectTaggingRequest)
- func (v *NullablePutObjectTaggingRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePutObjectTaggingRequest) Unset()
- type NullableRedirect
- type NullableRedirectAllRequestsTo
- func (v NullableRedirectAllRequestsTo) Get() *RedirectAllRequestsTo
- func (v NullableRedirectAllRequestsTo) IsSet() bool
- func (v NullableRedirectAllRequestsTo) MarshalJSON() ([]byte, error)
- func (v *NullableRedirectAllRequestsTo) Set(val *RedirectAllRequestsTo)
- func (v *NullableRedirectAllRequestsTo) UnmarshalJSON(src []byte) error
- func (v *NullableRedirectAllRequestsTo) Unset()
- type NullableReplicaModificationsStatus
- func (v NullableReplicaModificationsStatus) Get() *ReplicaModificationsStatus
- func (v NullableReplicaModificationsStatus) IsSet() bool
- func (v NullableReplicaModificationsStatus) MarshalJSON() ([]byte, error)
- func (v *NullableReplicaModificationsStatus) Set(val *ReplicaModificationsStatus)
- func (v *NullableReplicaModificationsStatus) UnmarshalJSON(src []byte) error
- func (v *NullableReplicaModificationsStatus) Unset()
- type NullableReplicationConfiguration
- func (v NullableReplicationConfiguration) Get() *ReplicationConfiguration
- func (v NullableReplicationConfiguration) IsSet() bool
- func (v NullableReplicationConfiguration) MarshalJSON() ([]byte, error)
- func (v *NullableReplicationConfiguration) Set(val *ReplicationConfiguration)
- func (v *NullableReplicationConfiguration) UnmarshalJSON(src []byte) error
- func (v *NullableReplicationConfiguration) Unset()
- type NullableReplicationRule
- func (v NullableReplicationRule) Get() *ReplicationRule
- func (v NullableReplicationRule) IsSet() bool
- func (v NullableReplicationRule) MarshalJSON() ([]byte, error)
- func (v *NullableReplicationRule) Set(val *ReplicationRule)
- func (v *NullableReplicationRule) UnmarshalJSON(src []byte) error
- func (v *NullableReplicationRule) Unset()
- type NullableRoutingRule
- func (v NullableRoutingRule) Get() *RoutingRule
- func (v NullableRoutingRule) IsSet() bool
- func (v NullableRoutingRule) MarshalJSON() ([]byte, error)
- func (v *NullableRoutingRule) Set(val *RoutingRule)
- func (v *NullableRoutingRule) UnmarshalJSON(src []byte) error
- func (v *NullableRoutingRule) Unset()
- type NullableRoutingRuleCondition
- func (v NullableRoutingRuleCondition) Get() *RoutingRuleCondition
- func (v NullableRoutingRuleCondition) IsSet() bool
- func (v NullableRoutingRuleCondition) MarshalJSON() ([]byte, error)
- func (v *NullableRoutingRuleCondition) Set(val *RoutingRuleCondition)
- func (v *NullableRoutingRuleCondition) UnmarshalJSON(src []byte) error
- func (v *NullableRoutingRuleCondition) Unset()
- type NullableRule
- type NullableServerSideEncryption
- func (v NullableServerSideEncryption) Get() *ServerSideEncryption
- func (v NullableServerSideEncryption) IsSet() bool
- func (v NullableServerSideEncryption) MarshalJSON() ([]byte, error)
- func (v *NullableServerSideEncryption) Set(val *ServerSideEncryption)
- func (v *NullableServerSideEncryption) UnmarshalJSON(src []byte) error
- func (v *NullableServerSideEncryption) Unset()
- type NullableServerSideEncryptionByDefault
- func (v NullableServerSideEncryptionByDefault) Get() *ServerSideEncryptionByDefault
- func (v NullableServerSideEncryptionByDefault) IsSet() bool
- func (v NullableServerSideEncryptionByDefault) MarshalJSON() ([]byte, error)
- func (v *NullableServerSideEncryptionByDefault) Set(val *ServerSideEncryptionByDefault)
- func (v *NullableServerSideEncryptionByDefault) UnmarshalJSON(src []byte) error
- func (v *NullableServerSideEncryptionByDefault) Unset()
- type NullableServerSideEncryptionConfiguration
- func (v NullableServerSideEncryptionConfiguration) Get() *ServerSideEncryptionConfiguration
- func (v NullableServerSideEncryptionConfiguration) IsSet() bool
- func (v NullableServerSideEncryptionConfiguration) MarshalJSON() ([]byte, error)
- func (v *NullableServerSideEncryptionConfiguration) Set(val *ServerSideEncryptionConfiguration)
- func (v *NullableServerSideEncryptionConfiguration) UnmarshalJSON(src []byte) error
- func (v *NullableServerSideEncryptionConfiguration) Unset()
- type NullableServerSideEncryptionRule
- func (v NullableServerSideEncryptionRule) Get() *ServerSideEncryptionRule
- func (v NullableServerSideEncryptionRule) IsSet() bool
- func (v NullableServerSideEncryptionRule) MarshalJSON() ([]byte, error)
- func (v *NullableServerSideEncryptionRule) Set(val *ServerSideEncryptionRule)
- func (v *NullableServerSideEncryptionRule) UnmarshalJSON(src []byte) error
- func (v *NullableServerSideEncryptionRule) Unset()
- type NullableStorageClass
- func (v NullableStorageClass) Get() *StorageClass
- func (v NullableStorageClass) IsSet() bool
- func (v NullableStorageClass) MarshalJSON() ([]byte, error)
- func (v *NullableStorageClass) Set(val *StorageClass)
- func (v *NullableStorageClass) UnmarshalJSON(src []byte) error
- func (v *NullableStorageClass) Unset()
- type NullableString
- type NullableTag
- type NullableTime
- type NullableUploadPartCopyOutput
- func (v NullableUploadPartCopyOutput) Get() *UploadPartCopyOutput
- func (v NullableUploadPartCopyOutput) IsSet() bool
- func (v NullableUploadPartCopyOutput) MarshalJSON() ([]byte, error)
- func (v *NullableUploadPartCopyOutput) Set(val *UploadPartCopyOutput)
- func (v *NullableUploadPartCopyOutput) UnmarshalJSON(src []byte) error
- func (v *NullableUploadPartCopyOutput) Unset()
- type NullableUploadPartRequest
- func (v NullableUploadPartRequest) Get() *UploadPartRequest
- func (v NullableUploadPartRequest) IsSet() bool
- func (v NullableUploadPartRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUploadPartRequest) Set(val *UploadPartRequest)
- func (v *NullableUploadPartRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUploadPartRequest) Unset()
- type Object
- func (o *Object) GetETag() *string
- func (o *Object) GetETagOk() (*string, bool)
- func (o *Object) GetKey() *string
- func (o *Object) GetKeyOk() (*string, bool)
- func (o *Object) GetLastModified() *time.Time
- func (o *Object) GetLastModifiedOk() (*time.Time, bool)
- func (o *Object) GetOwner() *Owner
- func (o *Object) GetOwnerOk() (*Owner, bool)
- func (o *Object) GetSize() *int32
- func (o *Object) GetSizeOk() (*int32, bool)
- func (o *Object) GetStorageClass() *ObjectStorageClass
- func (o *Object) GetStorageClassOk() (*ObjectStorageClass, bool)
- func (o *Object) HasETag() bool
- func (o *Object) HasKey() bool
- func (o *Object) HasLastModified() bool
- func (o *Object) HasOwner() bool
- func (o *Object) HasSize() bool
- func (o *Object) HasStorageClass() bool
- func (o Object) MarshalJSON() ([]byte, error)
- func (o *Object) SetETag(v string)
- func (o *Object) SetKey(v string)
- func (o *Object) SetLastModified(v time.Time)
- func (o *Object) SetOwner(v Owner)
- func (o *Object) SetSize(v int32)
- func (o *Object) SetStorageClass(v ObjectStorageClass)
- type ObjectIdentifier
- func (o *ObjectIdentifier) GetKey() *string
- func (o *ObjectIdentifier) GetKeyOk() (*string, bool)
- func (o *ObjectIdentifier) GetVersionId() *string
- func (o *ObjectIdentifier) GetVersionIdOk() (*string, bool)
- func (o *ObjectIdentifier) HasKey() bool
- func (o *ObjectIdentifier) HasVersionId() bool
- func (o ObjectIdentifier) MarshalJSON() ([]byte, error)
- func (o *ObjectIdentifier) SetKey(v string)
- func (o *ObjectIdentifier) SetVersionId(v string)
- type ObjectLegalHoldConfiguration
- func (o *ObjectLegalHoldConfiguration) GetStatus() *string
- func (o *ObjectLegalHoldConfiguration) GetStatusOk() (*string, bool)
- func (o *ObjectLegalHoldConfiguration) HasStatus() bool
- func (o ObjectLegalHoldConfiguration) MarshalJSON() ([]byte, error)
- func (o *ObjectLegalHoldConfiguration) SetStatus(v string)
- type ObjectLockApiService
- func (a *ObjectLockApiService) GetObjectLegalHold(ctx context.Context, bucket string, key string) ApiGetObjectLegalHoldRequest
- func (a *ObjectLockApiService) GetObjectLegalHoldExecute(r ApiGetObjectLegalHoldRequest) (*ObjectLegalHoldConfiguration, *APIResponse, error)
- func (a *ObjectLockApiService) GetObjectLockConfiguration(ctx context.Context, bucket string) ApiGetObjectLockConfigurationRequest
- func (a *ObjectLockApiService) GetObjectLockConfigurationExecute(r ApiGetObjectLockConfigurationRequest) (*GetObjectLockConfigurationOutput, *APIResponse, error)
- func (a *ObjectLockApiService) GetObjectRetention(ctx context.Context, bucket string, key string) ApiGetObjectRetentionRequest
- func (a *ObjectLockApiService) GetObjectRetentionExecute(r ApiGetObjectRetentionRequest) (*ObjectLockRetention, *APIResponse, error)
- func (a *ObjectLockApiService) PutObjectLegalHold(ctx context.Context, bucket string, key string) ApiPutObjectLegalHoldRequest
- func (a *ObjectLockApiService) PutObjectLegalHoldExecute(r ApiPutObjectLegalHoldRequest) (*APIResponse, error)
- func (a *ObjectLockApiService) PutObjectLockConfiguration(ctx context.Context, bucket string) ApiPutObjectLockConfigurationRequest
- func (a *ObjectLockApiService) PutObjectLockConfigurationExecute(r ApiPutObjectLockConfigurationRequest) (*APIResponse, error)
- func (a *ObjectLockApiService) PutObjectRetention(ctx context.Context, bucket string, key string) ApiPutObjectRetentionRequest
- func (a *ObjectLockApiService) PutObjectRetentionExecute(r ApiPutObjectRetentionRequest) (*APIResponse, error)
- type ObjectLockRetention
- func (o *ObjectLockRetention) GetMode() *string
- func (o *ObjectLockRetention) GetModeOk() (*string, bool)
- func (o *ObjectLockRetention) GetRetainUntilDate() *string
- func (o *ObjectLockRetention) GetRetainUntilDateOk() (*string, bool)
- func (o *ObjectLockRetention) HasMode() bool
- func (o *ObjectLockRetention) HasRetainUntilDate() bool
- func (o ObjectLockRetention) MarshalJSON() ([]byte, error)
- func (o *ObjectLockRetention) SetMode(v string)
- func (o *ObjectLockRetention) SetRetainUntilDate(v string)
- type ObjectLockRule
- func (o *ObjectLockRule) GetDefaultRetention() *DefaultRetention
- func (o *ObjectLockRule) GetDefaultRetentionOk() (*DefaultRetention, bool)
- func (o *ObjectLockRule) HasDefaultRetention() bool
- func (o ObjectLockRule) MarshalJSON() ([]byte, error)
- func (o *ObjectLockRule) SetDefaultRetention(v DefaultRetention)
- type ObjectStorageClass
- type ObjectVersion
- func (o *ObjectVersion) GetETag() *string
- func (o *ObjectVersion) GetETagOk() (*string, bool)
- func (o *ObjectVersion) GetIsLatest() *bool
- func (o *ObjectVersion) GetIsLatestOk() (*bool, bool)
- func (o *ObjectVersion) GetKey() *string
- func (o *ObjectVersion) GetKeyOk() (*string, bool)
- func (o *ObjectVersion) GetLastModified() *time.Time
- func (o *ObjectVersion) GetLastModifiedOk() (*time.Time, bool)
- func (o *ObjectVersion) GetOwner() *Owner
- func (o *ObjectVersion) GetOwnerOk() (*Owner, bool)
- func (o *ObjectVersion) GetSize() *int32
- func (o *ObjectVersion) GetSizeOk() (*int32, bool)
- func (o *ObjectVersion) GetStorageClass() *ObjectVersionStorageClass
- func (o *ObjectVersion) GetStorageClassOk() (*ObjectVersionStorageClass, bool)
- func (o *ObjectVersion) GetVersionId() *string
- func (o *ObjectVersion) GetVersionIdOk() (*string, bool)
- func (o *ObjectVersion) HasETag() bool
- func (o *ObjectVersion) HasIsLatest() bool
- func (o *ObjectVersion) HasKey() bool
- func (o *ObjectVersion) HasLastModified() bool
- func (o *ObjectVersion) HasOwner() bool
- func (o *ObjectVersion) HasSize() bool
- func (o *ObjectVersion) HasStorageClass() bool
- func (o *ObjectVersion) HasVersionId() bool
- func (o ObjectVersion) MarshalJSON() ([]byte, error)
- func (o *ObjectVersion) SetETag(v string)
- func (o *ObjectVersion) SetIsLatest(v bool)
- func (o *ObjectVersion) SetKey(v string)
- func (o *ObjectVersion) SetLastModified(v time.Time)
- func (o *ObjectVersion) SetOwner(v Owner)
- func (o *ObjectVersion) SetSize(v int32)
- func (o *ObjectVersion) SetStorageClass(v ObjectVersionStorageClass)
- func (o *ObjectVersion) SetVersionId(v string)
- type ObjectVersionStorageClass
- type ObjectsApiService
- func (a *ObjectsApiService) CopyObject(ctx context.Context, bucket string, key string) ApiCopyObjectRequest
- func (a *ObjectsApiService) CopyObjectExecute(r ApiCopyObjectRequest) (*CopyObjectResult, *APIResponse, error)
- func (a *ObjectsApiService) DeleteObject(ctx context.Context, bucket string, key string) ApiDeleteObjectRequest
- func (a *ObjectsApiService) DeleteObjectExecute(r ApiDeleteObjectRequest) (map[string]interface{}, *APIResponse, error)
- func (a *ObjectsApiService) DeleteObjects(ctx context.Context, bucket string) ApiDeleteObjectsRequest
- func (a *ObjectsApiService) DeleteObjectsExecute(r ApiDeleteObjectsRequest) (*DeleteObjectsOutput, *APIResponse, error)
- func (a *ObjectsApiService) GetObject(ctx context.Context, bucket string, key string) ApiGetObjectRequest
- func (a *ObjectsApiService) GetObjectExecute(r ApiGetObjectRequest) (*os.File, *APIResponse, error)
- func (a *ObjectsApiService) HeadObject(ctx context.Context, bucket string, key string) ApiHeadObjectRequest
- func (a *ObjectsApiService) HeadObjectExecute(r ApiHeadObjectRequest) (*HeadObjectOutput, *APIResponse, error)
- func (a *ObjectsApiService) ListObjects(ctx context.Context, bucket string) ApiListObjectsRequest
- func (a *ObjectsApiService) ListObjectsExecute(r ApiListObjectsRequest) (*ListObjectsOutput, *APIResponse, error)
- func (a *ObjectsApiService) ListObjectsV2(ctx context.Context, bucket string) ApiListObjectsV2Request
- func (a *ObjectsApiService) ListObjectsV2Execute(r ApiListObjectsV2Request) (*ListBucketResultV2, *APIResponse, error)
- func (a *ObjectsApiService) OPTIONSObject(ctx context.Context, bucket string) ApiOPTIONSObjectRequest
- func (a *ObjectsApiService) OPTIONSObjectExecute(r ApiOPTIONSObjectRequest) (*APIResponse, error)
- func (a *ObjectsApiService) POSTObject(ctx context.Context, bucket string, key string) ApiPOSTObjectRequest
- func (a *ObjectsApiService) POSTObjectExecute(r ApiPOSTObjectRequest) (map[string]interface{}, *APIResponse, error)
- func (a *ObjectsApiService) PutObject(ctx context.Context, bucket string, key string) ApiPutObjectRequest
- func (a *ObjectsApiService) PutObjectExecute(r ApiPutObjectRequest) (*APIResponse, error)
- type OutputSerialization
- func (o *OutputSerialization) GetCSV() *CSVOutput
- func (o *OutputSerialization) GetCSVOk() (*CSVOutput, bool)
- func (o *OutputSerialization) GetJSON() *JSONOutput
- func (o *OutputSerialization) GetJSONOk() (*JSONOutput, bool)
- func (o *OutputSerialization) HasCSV() bool
- func (o *OutputSerialization) HasJSON() bool
- func (o OutputSerialization) MarshalJSON() ([]byte, error)
- func (o *OutputSerialization) SetCSV(v CSVOutput)
- func (o *OutputSerialization) SetJSON(v JSONOutput)
- type Owner
- func (o *Owner) GetDisplayName() *string
- func (o *Owner) GetDisplayNameOk() (*string, bool)
- func (o *Owner) GetID() *int32
- func (o *Owner) GetIDOk() (*int32, bool)
- func (o *Owner) HasDisplayName() bool
- func (o *Owner) HasID() bool
- func (o Owner) MarshalJSON() ([]byte, error)
- func (o *Owner) SetDisplayName(v string)
- func (o *Owner) SetID(v int32)
- type POSTObjectRequest
- type Part
- func (o *Part) GetETag() *string
- func (o *Part) GetETagOk() (*string, bool)
- func (o *Part) GetLastModified() *time.Time
- func (o *Part) GetLastModifiedOk() (*time.Time, bool)
- func (o *Part) GetPartNumber() *int32
- func (o *Part) GetPartNumberOk() (*int32, bool)
- func (o *Part) GetSize() *int32
- func (o *Part) GetSizeOk() (*int32, bool)
- func (o *Part) HasETag() bool
- func (o *Part) HasLastModified() bool
- func (o *Part) HasPartNumber() bool
- func (o *Part) HasSize() bool
- func (o Part) MarshalJSON() ([]byte, error)
- func (o *Part) SetETag(v string)
- func (o *Part) SetLastModified(v time.Time)
- func (o *Part) SetPartNumber(v int32)
- func (o *Part) SetSize(v int32)
- type PolicyApiService
- func (a *PolicyApiService) DeleteBucketPolicy(ctx context.Context, bucket string) ApiDeleteBucketPolicyRequest
- func (a *PolicyApiService) DeleteBucketPolicyExecute(r ApiDeleteBucketPolicyRequest) (*APIResponse, error)
- func (a *PolicyApiService) GetBucketPolicy(ctx context.Context, bucket string) ApiGetBucketPolicyRequest
- func (a *PolicyApiService) GetBucketPolicyExecute(r ApiGetBucketPolicyRequest) (*BucketPolicy, *APIResponse, error)
- func (a *PolicyApiService) GetBucketPolicyStatus(ctx context.Context, bucket string) ApiGetBucketPolicyStatusRequest
- func (a *PolicyApiService) GetBucketPolicyStatusExecute(r ApiGetBucketPolicyStatusRequest) (*PolicyStatus, *APIResponse, error)
- func (a *PolicyApiService) PutBucketPolicy(ctx context.Context, bucket string) ApiPutBucketPolicyRequest
- func (a *PolicyApiService) PutBucketPolicyExecute(r ApiPutBucketPolicyRequest) (*APIResponse, error)
- type PolicyStatus
- type Principal
- type PrincipalAllOf
- type PublicAccessBlockApiService
- func (a *PublicAccessBlockApiService) DeletePublicAccessBlock(ctx context.Context, bucket string) ApiDeletePublicAccessBlockRequest
- func (a *PublicAccessBlockApiService) DeletePublicAccessBlockExecute(r ApiDeletePublicAccessBlockRequest) (*APIResponse, error)
- func (a *PublicAccessBlockApiService) GetPublicAccessBlock(ctx context.Context, bucket string) ApiGetPublicAccessBlockRequest
- func (a *PublicAccessBlockApiService) GetPublicAccessBlockExecute(r ApiGetPublicAccessBlockRequest) (*BlockPublicAccessOutput, *APIResponse, error)
- func (a *PublicAccessBlockApiService) PutPublicAccessBlock(ctx context.Context, bucket string) ApiPutPublicAccessBlockRequest
- func (a *PublicAccessBlockApiService) PutPublicAccessBlockExecute(r ApiPutPublicAccessBlockRequest) (*APIResponse, error)
- type PutBucketCorsRequest
- type PutBucketEncryptionRequest
- func (o *PutBucketEncryptionRequest) GetRules() *[]ServerSideEncryptionRule
- func (o *PutBucketEncryptionRequest) GetRulesOk() (*[]ServerSideEncryptionRule, bool)
- func (o *PutBucketEncryptionRequest) HasRules() bool
- func (o PutBucketEncryptionRequest) MarshalJSON() ([]byte, error)
- func (o *PutBucketEncryptionRequest) SetRules(v []ServerSideEncryptionRule)
- type PutBucketLifecycleRequest
- type PutBucketTaggingRequest
- type PutBucketVersioningRequest
- func (o *PutBucketVersioningRequest) GetMfaDelete() *MfaDeleteStatus
- func (o *PutBucketVersioningRequest) GetMfaDeleteOk() (*MfaDeleteStatus, bool)
- func (o *PutBucketVersioningRequest) GetStatus() *BucketVersioningStatus
- func (o *PutBucketVersioningRequest) GetStatusOk() (*BucketVersioningStatus, bool)
- func (o *PutBucketVersioningRequest) HasMfaDelete() bool
- func (o *PutBucketVersioningRequest) HasStatus() bool
- func (o PutBucketVersioningRequest) MarshalJSON() ([]byte, error)
- func (o *PutBucketVersioningRequest) SetMfaDelete(v MfaDeleteStatus)
- func (o *PutBucketVersioningRequest) SetStatus(v BucketVersioningStatus)
- type PutBucketWebsiteRequest
- func (o *PutBucketWebsiteRequest) GetErrorDocument() *ErrorDocument
- func (o *PutBucketWebsiteRequest) GetErrorDocumentOk() (*ErrorDocument, bool)
- func (o *PutBucketWebsiteRequest) GetIndexDocument() *IndexDocument
- func (o *PutBucketWebsiteRequest) GetIndexDocumentOk() (*IndexDocument, bool)
- func (o *PutBucketWebsiteRequest) GetRedirectAllRequestsTo() *RedirectAllRequestsTo
- func (o *PutBucketWebsiteRequest) GetRedirectAllRequestsToOk() (*RedirectAllRequestsTo, bool)
- func (o *PutBucketWebsiteRequest) GetRoutingRules() *[]RoutingRule
- func (o *PutBucketWebsiteRequest) GetRoutingRulesOk() (*[]RoutingRule, bool)
- func (o *PutBucketWebsiteRequest) HasErrorDocument() bool
- func (o *PutBucketWebsiteRequest) HasIndexDocument() bool
- func (o *PutBucketWebsiteRequest) HasRedirectAllRequestsTo() bool
- func (o *PutBucketWebsiteRequest) HasRoutingRules() bool
- func (o PutBucketWebsiteRequest) MarshalJSON() ([]byte, error)
- func (o *PutBucketWebsiteRequest) SetErrorDocument(v ErrorDocument)
- func (o *PutBucketWebsiteRequest) SetIndexDocument(v IndexDocument)
- func (o *PutBucketWebsiteRequest) SetRedirectAllRequestsTo(v RedirectAllRequestsTo)
- func (o *PutBucketWebsiteRequest) SetRoutingRules(v []RoutingRule)
- type PutObjectLockConfigurationRequest
- func (o *PutObjectLockConfigurationRequest) GetObjectLockEnabled() *string
- func (o *PutObjectLockConfigurationRequest) GetObjectLockEnabledOk() (*string, bool)
- func (o *PutObjectLockConfigurationRequest) GetRule() *PutObjectLockConfigurationRequestRule
- func (o *PutObjectLockConfigurationRequest) GetRuleOk() (*PutObjectLockConfigurationRequestRule, bool)
- func (o *PutObjectLockConfigurationRequest) HasObjectLockEnabled() bool
- func (o *PutObjectLockConfigurationRequest) HasRule() bool
- func (o PutObjectLockConfigurationRequest) MarshalJSON() ([]byte, error)
- func (o *PutObjectLockConfigurationRequest) SetObjectLockEnabled(v string)
- func (o *PutObjectLockConfigurationRequest) SetRule(v PutObjectLockConfigurationRequestRule)
- type PutObjectLockConfigurationRequestRule
- func (o *PutObjectLockConfigurationRequestRule) GetDefaultRetention() *DefaultRetention
- func (o *PutObjectLockConfigurationRequestRule) GetDefaultRetentionOk() (*DefaultRetention, bool)
- func (o *PutObjectLockConfigurationRequestRule) HasDefaultRetention() bool
- func (o PutObjectLockConfigurationRequestRule) MarshalJSON() ([]byte, error)
- func (o *PutObjectLockConfigurationRequestRule) SetDefaultRetention(v DefaultRetention)
- type PutObjectRetentionRequest
- func (o *PutObjectRetentionRequest) GetMode() *string
- func (o *PutObjectRetentionRequest) GetModeOk() (*string, bool)
- func (o *PutObjectRetentionRequest) GetRetainUntilDate() *string
- func (o *PutObjectRetentionRequest) GetRetainUntilDateOk() (*string, bool)
- func (o *PutObjectRetentionRequest) HasMode() bool
- func (o *PutObjectRetentionRequest) HasRetainUntilDate() bool
- func (o PutObjectRetentionRequest) MarshalJSON() ([]byte, error)
- func (o *PutObjectRetentionRequest) SetMode(v string)
- func (o *PutObjectRetentionRequest) SetRetainUntilDate(v string)
- type PutObjectTaggingRequest
- type Redirect
- func (o *Redirect) GetHostName() *string
- func (o *Redirect) GetHostNameOk() (*string, bool)
- func (o *Redirect) GetHttpRedirectCode() *string
- func (o *Redirect) GetHttpRedirectCodeOk() (*string, bool)
- func (o *Redirect) GetProtocol() *string
- func (o *Redirect) GetProtocolOk() (*string, bool)
- func (o *Redirect) GetReplaceKeyPrefixWith() *string
- func (o *Redirect) GetReplaceKeyPrefixWithOk() (*string, bool)
- func (o *Redirect) GetReplaceKeyWith() *string
- func (o *Redirect) GetReplaceKeyWithOk() (*string, bool)
- func (o *Redirect) HasHostName() bool
- func (o *Redirect) HasHttpRedirectCode() bool
- func (o *Redirect) HasProtocol() bool
- func (o *Redirect) HasReplaceKeyPrefixWith() bool
- func (o *Redirect) HasReplaceKeyWith() bool
- func (o Redirect) MarshalJSON() ([]byte, error)
- func (o *Redirect) SetHostName(v string)
- func (o *Redirect) SetHttpRedirectCode(v string)
- func (o *Redirect) SetProtocol(v string)
- func (o *Redirect) SetReplaceKeyPrefixWith(v string)
- func (o *Redirect) SetReplaceKeyWith(v string)
- type RedirectAllRequestsTo
- func (o *RedirectAllRequestsTo) GetHostName() *string
- func (o *RedirectAllRequestsTo) GetHostNameOk() (*string, bool)
- func (o *RedirectAllRequestsTo) GetProtocol() *string
- func (o *RedirectAllRequestsTo) GetProtocolOk() (*string, bool)
- func (o *RedirectAllRequestsTo) HasHostName() bool
- func (o *RedirectAllRequestsTo) HasProtocol() bool
- func (o RedirectAllRequestsTo) MarshalJSON() ([]byte, error)
- func (o *RedirectAllRequestsTo) SetHostName(v string)
- func (o *RedirectAllRequestsTo) SetProtocol(v string)
- type ReplicaModificationsStatus
- type ReplicationApiService
- type ReplicationConfiguration
- func (o *ReplicationConfiguration) GetRole() *string
- func (o *ReplicationConfiguration) GetRoleOk() (*string, bool)
- func (o *ReplicationConfiguration) GetRules() *[]ReplicationRule
- func (o *ReplicationConfiguration) GetRulesOk() (*[]ReplicationRule, bool)
- func (o *ReplicationConfiguration) HasRole() bool
- func (o *ReplicationConfiguration) HasRules() bool
- func (o ReplicationConfiguration) MarshalJSON() ([]byte, error)
- func (o *ReplicationConfiguration) SetRole(v string)
- func (o *ReplicationConfiguration) SetRules(v []ReplicationRule)
- type ReplicationRule
- func (o *ReplicationRule) GetDestination() *Destination
- func (o *ReplicationRule) GetDestinationOk() (*Destination, bool)
- func (o *ReplicationRule) GetID() *int32
- func (o *ReplicationRule) GetIDOk() (*int32, bool)
- func (o *ReplicationRule) GetPrefix() *string
- func (o *ReplicationRule) GetPrefixOk() (*string, bool)
- func (o *ReplicationRule) GetStatus() *string
- func (o *ReplicationRule) GetStatusOk() (*string, bool)
- func (o *ReplicationRule) HasDestination() bool
- func (o *ReplicationRule) HasID() bool
- func (o *ReplicationRule) HasPrefix() bool
- func (o *ReplicationRule) HasStatus() bool
- func (o ReplicationRule) MarshalJSON() ([]byte, error)
- func (o *ReplicationRule) SetDestination(v Destination)
- func (o *ReplicationRule) SetID(v int32)
- func (o *ReplicationRule) SetPrefix(v string)
- func (o *ReplicationRule) SetStatus(v string)
- type ResponseMiddlewareFunction
- type RoutingRule
- func (o *RoutingRule) GetCondition() *RoutingRuleCondition
- func (o *RoutingRule) GetConditionOk() (*RoutingRuleCondition, bool)
- func (o *RoutingRule) GetRedirect() *Redirect
- func (o *RoutingRule) GetRedirectOk() (*Redirect, bool)
- func (o *RoutingRule) HasCondition() bool
- func (o *RoutingRule) HasRedirect() bool
- func (o RoutingRule) MarshalJSON() ([]byte, error)
- func (o *RoutingRule) SetCondition(v RoutingRuleCondition)
- func (o *RoutingRule) SetRedirect(v Redirect)
- type RoutingRuleCondition
- func (o *RoutingRuleCondition) GetHttpErrorCodeReturnedEquals() *string
- func (o *RoutingRuleCondition) GetHttpErrorCodeReturnedEqualsOk() (*string, bool)
- func (o *RoutingRuleCondition) GetKeyPrefixEquals() *string
- func (o *RoutingRuleCondition) GetKeyPrefixEqualsOk() (*string, bool)
- func (o *RoutingRuleCondition) HasHttpErrorCodeReturnedEquals() bool
- func (o *RoutingRuleCondition) HasKeyPrefixEquals() bool
- func (o RoutingRuleCondition) MarshalJSON() ([]byte, error)
- func (o *RoutingRuleCondition) SetHttpErrorCodeReturnedEquals(v string)
- func (o *RoutingRuleCondition) SetKeyPrefixEquals(v string)
- type Rule
- func (o *Rule) GetAbortIncompleteMultipartUpload() *AbortIncompleteMultipartUpload
- func (o *Rule) GetAbortIncompleteMultipartUploadOk() (*AbortIncompleteMultipartUpload, bool)
- func (o *Rule) GetExpiration() *LifecycleExpiration
- func (o *Rule) GetExpirationOk() (*LifecycleExpiration, bool)
- func (o *Rule) GetID() *string
- func (o *Rule) GetIDOk() (*string, bool)
- func (o *Rule) GetNoncurrentVersionExpiration() *NoncurrentVersionExpiration
- func (o *Rule) GetNoncurrentVersionExpirationOk() (*NoncurrentVersionExpiration, bool)
- func (o *Rule) GetPrefix() *string
- func (o *Rule) GetPrefixOk() (*string, bool)
- func (o *Rule) GetStatus() *ExpirationStatus
- func (o *Rule) GetStatusOk() (*ExpirationStatus, bool)
- func (o *Rule) HasAbortIncompleteMultipartUpload() bool
- func (o *Rule) HasExpiration() bool
- func (o *Rule) HasID() bool
- func (o *Rule) HasNoncurrentVersionExpiration() bool
- func (o *Rule) HasPrefix() bool
- func (o *Rule) HasStatus() bool
- func (o Rule) MarshalJSON() ([]byte, error)
- func (o *Rule) SetAbortIncompleteMultipartUpload(v AbortIncompleteMultipartUpload)
- func (o *Rule) SetExpiration(v LifecycleExpiration)
- func (o *Rule) SetID(v string)
- func (o *Rule) SetNoncurrentVersionExpiration(v NoncurrentVersionExpiration)
- func (o *Rule) SetPrefix(v string)
- func (o *Rule) SetStatus(v ExpirationStatus)
- type ServerConfiguration
- type ServerConfigurations
- type ServerSideEncryption
- type ServerSideEncryptionByDefault
- func (o *ServerSideEncryptionByDefault) GetSSEAlgorithm() *ServerSideEncryption
- func (o *ServerSideEncryptionByDefault) GetSSEAlgorithmOk() (*ServerSideEncryption, bool)
- func (o *ServerSideEncryptionByDefault) HasSSEAlgorithm() bool
- func (o ServerSideEncryptionByDefault) MarshalJSON() ([]byte, error)
- func (o *ServerSideEncryptionByDefault) SetSSEAlgorithm(v ServerSideEncryption)
- type ServerSideEncryptionConfiguration
- func (o *ServerSideEncryptionConfiguration) GetRules() *[]ServerSideEncryptionRule
- func (o *ServerSideEncryptionConfiguration) GetRulesOk() (*[]ServerSideEncryptionRule, bool)
- func (o *ServerSideEncryptionConfiguration) HasRules() bool
- func (o ServerSideEncryptionConfiguration) MarshalJSON() ([]byte, error)
- func (o *ServerSideEncryptionConfiguration) SetRules(v []ServerSideEncryptionRule)
- type ServerSideEncryptionRule
- func (o *ServerSideEncryptionRule) GetApplyServerSideEncryptionByDefault() *ServerSideEncryptionByDefault
- func (o *ServerSideEncryptionRule) GetApplyServerSideEncryptionByDefaultOk() (*ServerSideEncryptionByDefault, bool)
- func (o *ServerSideEncryptionRule) HasApplyServerSideEncryptionByDefault() bool
- func (o ServerSideEncryptionRule) MarshalJSON() ([]byte, error)
- func (o *ServerSideEncryptionRule) SetApplyServerSideEncryptionByDefault(v ServerSideEncryptionByDefault)
- type ServerVariable
- type StorageClass
- type Tag
- func (o *Tag) GetKey() *string
- func (o *Tag) GetKeyOk() (*string, bool)
- func (o *Tag) GetValue() *string
- func (o *Tag) GetValueOk() (*string, bool)
- func (o *Tag) HasKey() bool
- func (o *Tag) HasValue() bool
- func (o Tag) MarshalJSON() ([]byte, error)
- func (o *Tag) SetKey(v string)
- func (o *Tag) SetValue(v string)
- type TaggingApiService
- func (a *TaggingApiService) DeleteBucketTagging(ctx context.Context, bucket string) ApiDeleteBucketTaggingRequest
- func (a *TaggingApiService) DeleteBucketTaggingExecute(r ApiDeleteBucketTaggingRequest) (*APIResponse, error)
- func (a *TaggingApiService) DeleteObjectTagging(ctx context.Context, bucket string, key string) ApiDeleteObjectTaggingRequest
- func (a *TaggingApiService) DeleteObjectTaggingExecute(r ApiDeleteObjectTaggingRequest) (map[string]interface{}, *APIResponse, error)
- func (a *TaggingApiService) GetBucketTagging(ctx context.Context, bucket string) ApiGetBucketTaggingRequest
- func (a *TaggingApiService) GetBucketTaggingExecute(r ApiGetBucketTaggingRequest) (*GetBucketTaggingOutput, *APIResponse, error)
- func (a *TaggingApiService) GetObjectTagging(ctx context.Context, bucket string, key string) ApiGetObjectTaggingRequest
- func (a *TaggingApiService) GetObjectTaggingExecute(r ApiGetObjectTaggingRequest) (*GetObjectTaggingOutput, *APIResponse, error)
- func (a *TaggingApiService) PutBucketTagging(ctx context.Context, bucket string) ApiPutBucketTaggingRequest
- func (a *TaggingApiService) PutBucketTaggingExecute(r ApiPutBucketTaggingRequest) (*APIResponse, error)
- func (a *TaggingApiService) PutObjectTagging(ctx context.Context, bucket string, key string) ApiPutObjectTaggingRequest
- func (a *TaggingApiService) PutObjectTaggingExecute(r ApiPutObjectTaggingRequest) (map[string]interface{}, *APIResponse, error)
- type UploadPartCopyOutput
- func (o *UploadPartCopyOutput) GetCopyPartResult() *CopyPartResult
- func (o *UploadPartCopyOutput) GetCopyPartResultOk() (*CopyPartResult, bool)
- func (o *UploadPartCopyOutput) HasCopyPartResult() bool
- func (o UploadPartCopyOutput) MarshalJSON() ([]byte, error)
- func (o *UploadPartCopyOutput) SetCopyPartResult(v CopyPartResult)
- type UploadPartRequest
- type UploadsApiService
- func (a *UploadsApiService) AbortMultipartUpload(ctx context.Context, bucket string, key string) ApiAbortMultipartUploadRequest
- func (a *UploadsApiService) AbortMultipartUploadExecute(r ApiAbortMultipartUploadRequest) (map[string]interface{}, *APIResponse, error)
- func (a *UploadsApiService) CompleteMultipartUpload(ctx context.Context, bucket string, key string) ApiCompleteMultipartUploadRequest
- func (a *UploadsApiService) CompleteMultipartUploadExecute(r ApiCompleteMultipartUploadRequest) (*CompleteMultipartUploadOutput, *APIResponse, error)
- func (a *UploadsApiService) CreateMultipartUpload(ctx context.Context, bucket string, key string) ApiCreateMultipartUploadRequest
- func (a *UploadsApiService) CreateMultipartUploadExecute(r ApiCreateMultipartUploadRequest) (*CreateMultipartUploadOutput, *APIResponse, error)
- func (a *UploadsApiService) ListMultipartUploads(ctx context.Context, bucket string) ApiListMultipartUploadsRequest
- func (a *UploadsApiService) ListMultipartUploadsExecute(r ApiListMultipartUploadsRequest) (*ListMultipartUploadsOutput, *APIResponse, error)
- func (a *UploadsApiService) ListParts(ctx context.Context, bucket string, key string) ApiListPartsRequest
- func (a *UploadsApiService) ListPartsExecute(r ApiListPartsRequest) (*ListPartsOutput, *APIResponse, error)
- func (a *UploadsApiService) UploadPart(ctx context.Context, bucket string, key string) ApiUploadPartRequest
- func (a *UploadsApiService) UploadPartCopy(ctx context.Context, bucket string, key string) ApiUploadPartCopyRequest
- func (a *UploadsApiService) UploadPartCopyExecute(r ApiUploadPartCopyRequest) (*UploadPartCopyOutput, *APIResponse, error)
- func (a *UploadsApiService) UploadPartExecute(r ApiUploadPartRequest) (map[string]interface{}, *APIResponse, error)
- type VersioningApiService
- func (a *VersioningApiService) GetBucketVersioning(ctx context.Context, bucket string) ApiGetBucketVersioningRequest
- func (a *VersioningApiService) GetBucketVersioningExecute(r ApiGetBucketVersioningRequest) (*GetBucketVersioningOutput, *APIResponse, error)
- func (a *VersioningApiService) PutBucketVersioning(ctx context.Context, bucket string) ApiPutBucketVersioningRequest
- func (a *VersioningApiService) PutBucketVersioningExecute(r ApiPutBucketVersioningRequest) (*APIResponse, error)
- type VersionsApiService
- type WebsiteApiService
- func (a *WebsiteApiService) DeleteBucketWebsite(ctx context.Context, bucket string) ApiDeleteBucketWebsiteRequest
- func (a *WebsiteApiService) DeleteBucketWebsiteExecute(r ApiDeleteBucketWebsiteRequest) (*APIResponse, error)
- func (a *WebsiteApiService) GetBucketWebsite(ctx context.Context, bucket string) ApiGetBucketWebsiteRequest
- func (a *WebsiteApiService) GetBucketWebsiteExecute(r ApiGetBucketWebsiteRequest) (*GetBucketWebsiteOutput, *APIResponse, error)
- func (a *WebsiteApiService) PutBucketWebsite(ctx context.Context, bucket string) ApiPutBucketWebsiteRequest
- func (a *WebsiteApiService) PutBucketWebsiteExecute(r ApiPutBucketWebsiteRequest) (*APIResponse, error)
Constants ¶
const ( IonosLogLevelEnvVar = "IONOS_LOG_LEVEL" IonosApiUrlEnvVar = "IONOS_API_URL" DefaultIonosServerUrl = "https://s3.eu-central-3.ionoscloud.com" DefaultIonosBasePath = "" )
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
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") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
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 ¶
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 ¶
func (r ApiAbortMultipartUploadRequest) UploadId(uploadId string) ApiAbortMultipartUploadRequest
Upload ID that identifies the multipart upload.
type ApiCompleteMultipartUploadRequest ¶
type ApiCompleteMultipartUploadRequest struct { ApiService *UploadsApiService // contains filtered or unexported fields }
func (ApiCompleteMultipartUploadRequest) Example ¶
func (r ApiCompleteMultipartUploadRequest) Example(example Example) ApiCompleteMultipartUploadRequest
func (ApiCompleteMultipartUploadRequest) Execute ¶
func (r ApiCompleteMultipartUploadRequest) Execute() (*CompleteMultipartUploadOutput, *APIResponse, error)
func (ApiCompleteMultipartUploadRequest) UploadId ¶
func (r ApiCompleteMultipartUploadRequest) UploadId(uploadId string) ApiCompleteMultipartUploadRequest
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 (r ApiCopyObjectRequest) Execute() (*CopyObjectResult, *APIResponse, error)
func (ApiCopyObjectRequest) Expires ¶
func (r ApiCopyObjectRequest) Expires(expires time.Time) ApiCopyObjectRequest
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 ¶
func (r ApiCreateMultipartUploadRequest) CacheControl(cacheControl string) ApiCreateMultipartUploadRequest
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 ¶
func (r ApiCreateMultipartUploadRequest) ContentType(contentType string) ApiCreateMultipartUploadRequest
A standard MIME type describing the format of the object data.
func (ApiCreateMultipartUploadRequest) Execute ¶
func (r ApiCreateMultipartUploadRequest) Execute() (*CreateMultipartUploadOutput, *APIResponse, error)
func (ApiCreateMultipartUploadRequest) Expires ¶
func (r ApiCreateMultipartUploadRequest) Expires(expires time.Time) ApiCreateMultipartUploadRequest
The date and time at which the object is no longer cacheable.
func (ApiCreateMultipartUploadRequest) Uploads ¶
func (r ApiCreateMultipartUploadRequest) Uploads(uploads bool) ApiCreateMultipartUploadRequest
func (ApiCreateMultipartUploadRequest) XAmzMeta ¶
func (r ApiCreateMultipartUploadRequest) XAmzMeta(xAmzMeta map[string]string) ApiCreateMultipartUploadRequest
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 ¶
func (r ApiDeleteBucketCorsRequest) Execute() (*APIResponse, error)
type ApiDeleteBucketEncryptionRequest ¶
type ApiDeleteBucketEncryptionRequest struct { ApiService *EncryptionApiService // contains filtered or unexported fields }
func (ApiDeleteBucketEncryptionRequest) Execute ¶
func (r ApiDeleteBucketEncryptionRequest) Execute() (*APIResponse, error)
type ApiDeleteBucketLifecycleRequest ¶
type ApiDeleteBucketLifecycleRequest struct { ApiService *LifecycleApiService // contains filtered or unexported fields }
func (ApiDeleteBucketLifecycleRequest) Execute ¶
func (r ApiDeleteBucketLifecycleRequest) Execute() (*APIResponse, error)
type ApiDeleteBucketPolicyRequest ¶
type ApiDeleteBucketPolicyRequest struct { ApiService *PolicyApiService // contains filtered or unexported fields }
func (ApiDeleteBucketPolicyRequest) Execute ¶
func (r ApiDeleteBucketPolicyRequest) Execute() (*APIResponse, error)
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 ¶
func (r ApiDeleteBucketTaggingRequest) Execute() (*APIResponse, error)
type ApiDeleteBucketWebsiteRequest ¶
type ApiDeleteBucketWebsiteRequest struct { ApiService *WebsiteApiService // contains filtered or unexported fields }
func (ApiDeleteBucketWebsiteRequest) Execute ¶
func (r ApiDeleteBucketWebsiteRequest) Execute() (*APIResponse, error)
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 ¶
func (r ApiDeleteObjectRequest) XAmzMfa(xAmzMfa string) ApiDeleteObjectRequest
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 ¶
func (r ApiDeleteObjectTaggingRequest) VersionId(versionId string) ApiDeleteObjectTaggingRequest
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 (r ApiDeleteObjectsRequest) Execute() (*DeleteObjectsOutput, *APIResponse, error)
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 ¶
func (r ApiDeleteObjectsRequest) XAmzMfa(xAmzMfa string) ApiDeleteObjectsRequest
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 ¶
func (r ApiDeletePublicAccessBlockRequest) Execute() (*APIResponse, error)
type ApiGetBucketCorsRequest ¶
type ApiGetBucketCorsRequest struct { ApiService *CORSApiService // contains filtered or unexported fields }
func (ApiGetBucketCorsRequest) Execute ¶
func (r ApiGetBucketCorsRequest) Execute() (*GetBucketCorsOutput, *APIResponse, error)
type ApiGetBucketEncryptionRequest ¶
type ApiGetBucketEncryptionRequest struct { ApiService *EncryptionApiService // contains filtered or unexported fields }
func (ApiGetBucketEncryptionRequest) Execute ¶
func (r ApiGetBucketEncryptionRequest) Execute() (*ServerSideEncryptionConfiguration, *APIResponse, error)
type ApiGetBucketLifecycleRequest ¶
type ApiGetBucketLifecycleRequest struct { ApiService *LifecycleApiService // contains filtered or unexported fields }
func (ApiGetBucketLifecycleRequest) Execute ¶
func (r ApiGetBucketLifecycleRequest) Execute() (*GetBucketLifecycleOutput, *APIResponse, error)
type ApiGetBucketLocationRequest ¶
type ApiGetBucketLocationRequest struct { ApiService *BucketsApiService // contains filtered or unexported fields }
func (ApiGetBucketLocationRequest) Execute ¶
func (r ApiGetBucketLocationRequest) Execute() (*BucketLocation, *APIResponse, error)
type ApiGetBucketPolicyRequest ¶
type ApiGetBucketPolicyRequest struct { ApiService *PolicyApiService // contains filtered or unexported fields }
func (ApiGetBucketPolicyRequest) Execute ¶
func (r ApiGetBucketPolicyRequest) Execute() (*BucketPolicy, *APIResponse, error)
type ApiGetBucketPolicyStatusRequest ¶
type ApiGetBucketPolicyStatusRequest struct { ApiService *PolicyApiService // contains filtered or unexported fields }
func (ApiGetBucketPolicyStatusRequest) Execute ¶
func (r ApiGetBucketPolicyStatusRequest) Execute() (*PolicyStatus, *APIResponse, error)
type ApiGetBucketReplicationRequest ¶
type ApiGetBucketReplicationRequest struct { ApiService *ReplicationApiService // contains filtered or unexported fields }
func (ApiGetBucketReplicationRequest) Execute ¶
func (r ApiGetBucketReplicationRequest) Execute() (*GetBucketReplicationOutput, *APIResponse, error)
func (ApiGetBucketReplicationRequest) Replication ¶
func (r ApiGetBucketReplicationRequest) Replication(replication bool) ApiGetBucketReplicationRequest
type ApiGetBucketTaggingRequest ¶
type ApiGetBucketTaggingRequest struct { ApiService *TaggingApiService // contains filtered or unexported fields }
func (ApiGetBucketTaggingRequest) Execute ¶
func (r ApiGetBucketTaggingRequest) Execute() (*GetBucketTaggingOutput, *APIResponse, error)
type ApiGetBucketVersioningRequest ¶
type ApiGetBucketVersioningRequest struct { ApiService *VersioningApiService // contains filtered or unexported fields }
func (ApiGetBucketVersioningRequest) Execute ¶
func (r ApiGetBucketVersioningRequest) Execute() (*GetBucketVersioningOutput, *APIResponse, error)
type ApiGetBucketWebsiteRequest ¶
type ApiGetBucketWebsiteRequest struct { ApiService *WebsiteApiService // contains filtered or unexported fields }
func (ApiGetBucketWebsiteRequest) Execute ¶
func (r ApiGetBucketWebsiteRequest) Execute() (*GetBucketWebsiteOutput, *APIResponse, error)
type ApiGetObjectLegalHoldRequest ¶
type ApiGetObjectLegalHoldRequest struct { ApiService *ObjectLockApiService // contains filtered or unexported fields }
func (ApiGetObjectLegalHoldRequest) Execute ¶
func (r ApiGetObjectLegalHoldRequest) Execute() (*ObjectLegalHoldConfiguration, *APIResponse, error)
func (ApiGetObjectLegalHoldRequest) VersionId ¶
func (r ApiGetObjectLegalHoldRequest) VersionId(versionId string) ApiGetObjectLegalHoldRequest
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 ¶
func (r ApiGetObjectLockConfigurationRequest) Execute() (*GetObjectLockConfigurationOutput, *APIResponse, error)
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_ ¶
func (r ApiGetObjectRequest) Range_(range_ string) ApiGetObjectRequest
<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 (r ApiGetObjectRetentionRequest) Execute() (*ObjectLockRetention, *APIResponse, error)
func (ApiGetObjectRetentionRequest) VersionId ¶
func (r ApiGetObjectRetentionRequest) VersionId(versionId string) ApiGetObjectRetentionRequest
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 (r ApiGetObjectTaggingRequest) Execute() (*GetObjectTaggingOutput, *APIResponse, error)
func (ApiGetObjectTaggingRequest) VersionId ¶
func (r ApiGetObjectTaggingRequest) VersionId(versionId string) ApiGetObjectTaggingRequest
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 ¶
func (r ApiGetPublicAccessBlockRequest) Execute() (*BlockPublicAccessOutput, *APIResponse, error)
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 (r ApiHeadObjectRequest) Execute() (*HeadObjectOutput, *APIResponse, error)
func (ApiHeadObjectRequest) IfMatch ¶
func (r ApiHeadObjectRequest) IfMatch(ifMatch string) ApiHeadObjectRequest
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_ ¶
func (r ApiHeadObjectRequest) Range_(range_ string) ApiHeadObjectRequest
<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 ¶
func (r ApiListBucketsRequest) Execute() (*ListAllMyBucketsResult, *APIResponse, error)
type ApiListMultipartUploadsRequest ¶
type ApiListMultipartUploadsRequest struct { ApiService *UploadsApiService // contains filtered or unexported fields }
func (ApiListMultipartUploadsRequest) Delimiter ¶
func (r ApiListMultipartUploadsRequest) Delimiter(delimiter string) ApiListMultipartUploadsRequest
<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 (r ApiListMultipartUploadsRequest) EncodingType(encodingType string) ApiListMultipartUploadsRequest
func (ApiListMultipartUploadsRequest) Execute ¶
func (r ApiListMultipartUploadsRequest) Execute() (*ListMultipartUploadsOutput, *APIResponse, error)
func (ApiListMultipartUploadsRequest) KeyMarker ¶
func (r ApiListMultipartUploadsRequest) KeyMarker(keyMarker string) ApiListMultipartUploadsRequest
<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 ¶
func (r ApiListMultipartUploadsRequest) KeyMarker2(keyMarker2 string) ApiListMultipartUploadsRequest
Pagination token
func (ApiListMultipartUploadsRequest) MaxUploads ¶
func (r ApiListMultipartUploadsRequest) MaxUploads(maxUploads int32) ApiListMultipartUploadsRequest
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 ¶
func (r ApiListMultipartUploadsRequest) MaxUploads2(maxUploads2 string) ApiListMultipartUploadsRequest
Pagination limit
func (ApiListMultipartUploadsRequest) Prefix ¶
func (r ApiListMultipartUploadsRequest) Prefix(prefix string) ApiListMultipartUploadsRequest
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 ¶
func (r ApiListMultipartUploadsRequest) Uploads(uploads bool) ApiListMultipartUploadsRequest
type ApiListObjectVersionsRequest ¶
type ApiListObjectVersionsRequest struct { ApiService *VersionsApiService // contains filtered or unexported fields }
func (ApiListObjectVersionsRequest) Delimiter ¶
func (r ApiListObjectVersionsRequest) Delimiter(delimiter string) ApiListObjectVersionsRequest
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 (r ApiListObjectVersionsRequest) EncodingType(encodingType string) ApiListObjectVersionsRequest
func (ApiListObjectVersionsRequest) Execute ¶
func (r ApiListObjectVersionsRequest) Execute() (*ListObjectVersionsOutput, *APIResponse, error)
func (ApiListObjectVersionsRequest) KeyMarker ¶
func (r ApiListObjectVersionsRequest) KeyMarker(keyMarker string) ApiListObjectVersionsRequest
Specifies the key to start with when listing objects in a bucket.
func (ApiListObjectVersionsRequest) KeyMarker2 ¶
func (r ApiListObjectVersionsRequest) KeyMarker2(keyMarker2 string) ApiListObjectVersionsRequest
Pagination token
func (ApiListObjectVersionsRequest) MaxKeys ¶
func (r ApiListObjectVersionsRequest) MaxKeys(maxKeys int32) ApiListObjectVersionsRequest
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 &lt;isTruncated&gt;true&lt;/isTruncated&gt;. To return the additional keys, see key-marker and version-id-marker.
func (ApiListObjectVersionsRequest) MaxKeys2 ¶
func (r ApiListObjectVersionsRequest) MaxKeys2(maxKeys2 string) ApiListObjectVersionsRequest
Pagination limit
func (ApiListObjectVersionsRequest) Prefix ¶
func (r ApiListObjectVersionsRequest) Prefix(prefix string) ApiListObjectVersionsRequest
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 (r ApiListObjectsRequest) Execute() (*ListObjectsOutput, *APIResponse, error)
func (ApiListObjectsRequest) Marker ¶
func (r ApiListObjectsRequest) Marker(marker string) ApiListObjectsRequest
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 ¶
func (r ApiListObjectsRequest) Marker2(marker2 string) ApiListObjectsRequest
Pagination token
func (ApiListObjectsRequest) MaxKeys ¶
func (r ApiListObjectsRequest) MaxKeys(maxKeys int32) ApiListObjectsRequest
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 ¶
func (r ApiListObjectsRequest) Prefix(prefix string) ApiListObjectsRequest
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 ¶
func (r ApiListObjectsV2Request) Delimiter(delimiter string) ApiListObjectsV2Request
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 (r ApiListObjectsV2Request) Execute() (*ListBucketResultV2, *APIResponse, error)
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 ¶
func (r ApiListObjectsV2Request) MaxKeys(maxKeys int32) ApiListObjectsV2Request
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 ¶
func (r ApiListObjectsV2Request) Prefix(prefix string) ApiListObjectsV2Request
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 (r ApiListPartsRequest) Execute() (*ListPartsOutput, *APIResponse, error)
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 ¶
func (r ApiOPTIONSObjectRequest) Origin(origin string) ApiOPTIONSObjectRequest
<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 ¶
func (r ApiPOSTObjectRequest) Expires(expires time.Time) ApiPOSTObjectRequest
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 (r ApiPutBucketEncryptionRequest) Execute() (*APIResponse, error)
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 (r ApiPutBucketLifecycleRequest) ContentMD5(contentMD5 string) ApiPutBucketLifecycleRequest
func (ApiPutBucketLifecycleRequest) Execute ¶
func (r ApiPutBucketLifecycleRequest) Execute() (*APIResponse, error)
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 (r ApiPutBucketPolicyRequest) BucketPolicy(bucketPolicy BucketPolicy) ApiPutBucketPolicyRequest
func (ApiPutBucketPolicyRequest) ContentMD5 ¶
func (r ApiPutBucketPolicyRequest) ContentMD5(contentMD5 string) ApiPutBucketPolicyRequest
func (ApiPutBucketPolicyRequest) Execute ¶
func (r ApiPutBucketPolicyRequest) Execute() (*APIResponse, error)
type ApiPutBucketTaggingRequest ¶
type ApiPutBucketTaggingRequest struct { ApiService *TaggingApiService // contains filtered or unexported fields }
func (ApiPutBucketTaggingRequest) ContentMD5 ¶
func (r ApiPutBucketTaggingRequest) ContentMD5(contentMD5 string) ApiPutBucketTaggingRequest
func (ApiPutBucketTaggingRequest) Execute ¶
func (r ApiPutBucketTaggingRequest) Execute() (*APIResponse, error)
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 (r ApiPutBucketVersioningRequest) ContentMD5(contentMD5 string) ApiPutBucketVersioningRequest
func (ApiPutBucketVersioningRequest) Execute ¶
func (r ApiPutBucketVersioningRequest) Execute() (*APIResponse, error)
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 (r ApiPutBucketWebsiteRequest) ContentMD5(contentMD5 string) ApiPutBucketWebsiteRequest
func (ApiPutBucketWebsiteRequest) Execute ¶
func (r ApiPutBucketWebsiteRequest) Execute() (*APIResponse, error)
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 (r ApiPutObjectLegalHoldRequest) ContentMD5(contentMD5 string) ApiPutObjectLegalHoldRequest
func (ApiPutObjectLegalHoldRequest) Execute ¶
func (r ApiPutObjectLegalHoldRequest) Execute() (*APIResponse, error)
func (ApiPutObjectLegalHoldRequest) ObjectLegalHoldConfiguration ¶
func (r ApiPutObjectLegalHoldRequest) ObjectLegalHoldConfiguration(objectLegalHoldConfiguration ObjectLegalHoldConfiguration) ApiPutObjectLegalHoldRequest
func (ApiPutObjectLegalHoldRequest) VersionId ¶
func (r ApiPutObjectLegalHoldRequest) VersionId(versionId string) ApiPutObjectLegalHoldRequest
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 (r ApiPutObjectLockConfigurationRequest) ContentMD5(contentMD5 string) ApiPutObjectLockConfigurationRequest
func (ApiPutObjectLockConfigurationRequest) Execute ¶
func (r ApiPutObjectLockConfigurationRequest) Execute() (*APIResponse, error)
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 (r ApiPutObjectRequest) Body(body *os.File) ApiPutObjectRequest
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 (r ApiPutObjectRetentionRequest) ContentMD5(contentMD5 string) ApiPutObjectRetentionRequest
func (ApiPutObjectRetentionRequest) Execute ¶
func (r ApiPutObjectRetentionRequest) Execute() (*APIResponse, error)
func (ApiPutObjectRetentionRequest) PutObjectRetentionRequest ¶
func (r ApiPutObjectRetentionRequest) PutObjectRetentionRequest(putObjectRetentionRequest PutObjectRetentionRequest) ApiPutObjectRetentionRequest
func (ApiPutObjectRetentionRequest) VersionId ¶
func (r ApiPutObjectRetentionRequest) VersionId(versionId string) ApiPutObjectRetentionRequest
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 (r ApiPutObjectTaggingRequest) ContentMD5(contentMD5 string) ApiPutObjectTaggingRequest
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 ¶
func (r ApiPutObjectTaggingRequest) VersionId(versionId string) ApiPutObjectTaggingRequest
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 (r ApiPutPublicAccessBlockRequest) ContentMD5(contentMD5 string) ApiPutPublicAccessBlockRequest
func (ApiPutPublicAccessBlockRequest) Execute ¶
func (r ApiPutPublicAccessBlockRequest) Execute() (*APIResponse, error)
type ApiUploadPartCopyRequest ¶
type ApiUploadPartCopyRequest struct { ApiService *UploadsApiService // contains filtered or unexported fields }
func (ApiUploadPartCopyRequest) Execute ¶
func (r ApiUploadPartCopyRequest) Execute() (*UploadPartCopyOutput, *APIResponse, error)
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 ¶
func (r ApiUploadPartCopyRequest) UploadId(uploadId string) ApiUploadPartCopyRequest
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 ¶
GetCreationDate returns the CreationDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*Bucket) GetCreationDateOk ¶
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 ¶
GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned
func (*Bucket) GetNameOk ¶
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 ¶
HasCreationDate returns a boolean if a field has been set.
func (Bucket) MarshalJSON ¶
func (*Bucket) SetCreationDate ¶
SetCreationDate 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) 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 ¶
func (o *BucketPolicyCondition) GetIpAddress() *BucketPolicyConditionIpAddress
GetIpAddress returns the IpAddress field value If the value is explicit nil, the zero value for BucketPolicyConditionIpAddress will be returned
func (*BucketPolicyCondition) GetIpAddressOk ¶
func (o *BucketPolicyCondition) GetIpAddressOk() (*BucketPolicyConditionIpAddress, bool)
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 ¶
func (o *BucketPolicyCondition) GetNotIpAddress() *BucketPolicyConditionIpAddress
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 ¶
func (o *BucketPolicyCondition) SetIpAddress(v BucketPolicyConditionIpAddress)
SetIpAddress sets field value
func (*BucketPolicyCondition) SetNotIpAddress ¶
func (o *BucketPolicyCondition) SetNotIpAddress(v BucketPolicyConditionIpAddress)
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 ¶
func (v BucketVersioningStatus) Ptr() *BucketVersioningStatus
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 ¶
func (a *BucketsApiService) ListBuckets(ctx context.Context) ApiListBucketsRequest
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 ¶
func (a *BucketsApiService) ListBucketsExecute(r ApiListBucketsRequest) (*ListAllMyBucketsResult, *APIResponse, error)
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 ¶
func (a *CORSApiService) GetBucketCorsExecute(r ApiGetBucketCorsRequest) (*GetBucketCorsOutput, *APIResponse, error)
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 ¶
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 ¶
GetAllowedHeaders returns the AllowedHeaders field value If the value is explicit nil, the zero value for []string will be returned
func (*CORSRule) GetAllowedHeadersOk ¶
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 ¶
GetAllowedMethods returns the AllowedMethods field value If the value is explicit nil, the zero value for []string will be returned
func (*CORSRule) GetAllowedMethodsOk ¶
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 ¶
GetAllowedOrigins returns the AllowedOrigins field value If the value is explicit nil, the zero value for []string will be returned
func (*CORSRule) GetAllowedOriginsOk ¶
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 ¶
GetExposeHeaders returns the ExposeHeaders field value If the value is explicit nil, the zero value for []string will be returned
func (*CORSRule) GetExposeHeadersOk ¶
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 ¶
GetID returns the ID field value If the value is explicit nil, the zero value for int32 will be returned
func (*CORSRule) GetIDOk ¶
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 ¶
GetMaxAgeSeconds returns the MaxAgeSeconds field value If the value is explicit nil, the zero value for int32 will be returned
func (*CORSRule) GetMaxAgeSecondsOk ¶
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 ¶
HasAllowedHeaders returns a boolean if a field has been set.
func (*CORSRule) HasAllowedMethods ¶
HasAllowedMethods returns a boolean if a field has been set.
func (*CORSRule) HasAllowedOrigins ¶
HasAllowedOrigins returns a boolean if a field has been set.
func (*CORSRule) HasExposeHeaders ¶
HasExposeHeaders returns a boolean if a field has been set.
func (*CORSRule) HasMaxAgeSeconds ¶
HasMaxAgeSeconds returns a boolean if a field has been set.
func (CORSRule) MarshalJSON ¶
func (*CORSRule) SetAllowedHeaders ¶
SetAllowedHeaders sets field value
func (*CORSRule) SetAllowedMethods ¶
SetAllowedMethods sets field value
func (*CORSRule) SetAllowedOrigins ¶
SetAllowedOrigins sets field value
func (*CORSRule) SetExposeHeaders ¶
SetExposeHeaders sets field value
func (*CORSRule) SetMaxAgeSeconds ¶
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 ¶
GetAllowQuotedRecordDelimiter returns the AllowQuotedRecordDelimiter field value If the value is explicit nil, the zero value for bool will be returned
func (*CSVInput) GetAllowQuotedRecordDelimiterOk ¶
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 ¶
GetComments returns the Comments field value If the value is explicit nil, the zero value for string will be returned
func (*CSVInput) GetCommentsOk ¶
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 ¶
GetFieldDelimiter returns the FieldDelimiter field value If the value is explicit nil, the zero value for string will be returned
func (*CSVInput) GetFieldDelimiterOk ¶
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 ¶
GetFileHeaderInfo returns the FileHeaderInfo field value If the value is explicit nil, the zero value for string will be returned
func (*CSVInput) GetFileHeaderInfoOk ¶
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 ¶
GetQuoteCharacter returns the QuoteCharacter field value If the value is explicit nil, the zero value for string will be returned
func (*CSVInput) GetQuoteCharacterOk ¶
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 ¶
GetQuoteEscapeCharacter returns the QuoteEscapeCharacter field value If the value is explicit nil, the zero value for string will be returned
func (*CSVInput) GetQuoteEscapeCharacterOk ¶
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 ¶
GetRecordDelimiter returns the RecordDelimiter field value If the value is explicit nil, the zero value for string will be returned
func (*CSVInput) GetRecordDelimiterOk ¶
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 ¶
HasAllowQuotedRecordDelimiter returns a boolean if a field has been set.
func (*CSVInput) HasComments ¶
HasComments returns a boolean if a field has been set.
func (*CSVInput) HasFieldDelimiter ¶
HasFieldDelimiter returns a boolean if a field has been set.
func (*CSVInput) HasFileHeaderInfo ¶
HasFileHeaderInfo returns a boolean if a field has been set.
func (*CSVInput) HasQuoteCharacter ¶
HasQuoteCharacter returns a boolean if a field has been set.
func (*CSVInput) HasQuoteEscapeCharacter ¶
HasQuoteEscapeCharacter returns a boolean if a field has been set.
func (*CSVInput) HasRecordDelimiter ¶
HasRecordDelimiter returns a boolean if a field has been set.
func (CSVInput) MarshalJSON ¶
func (*CSVInput) SetAllowQuotedRecordDelimiter ¶
SetAllowQuotedRecordDelimiter sets field value
func (*CSVInput) SetComments ¶
SetComments sets field value
func (*CSVInput) SetFieldDelimiter ¶
SetFieldDelimiter sets field value
func (*CSVInput) SetFileHeaderInfo ¶
SetFileHeaderInfo sets field value
func (*CSVInput) SetQuoteCharacter ¶
SetQuoteCharacter sets field value
func (*CSVInput) SetQuoteEscapeCharacter ¶
SetQuoteEscapeCharacter sets field value
func (*CSVInput) SetRecordDelimiter ¶
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 ¶
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 ¶
GetQuoteCharacter returns the QuoteCharacter field value If the value is explicit nil, the zero value for string will be returned
func (*CSVOutput) GetQuoteCharacterOk ¶
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 ¶
GetQuoteEscapeCharacter returns the QuoteEscapeCharacter field value If the value is explicit nil, the zero value for string will be returned
func (*CSVOutput) GetQuoteEscapeCharacterOk ¶
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 ¶
GetQuoteFields returns the QuoteFields field value If the value is explicit nil, the zero value for string will be returned
func (*CSVOutput) GetQuoteFieldsOk ¶
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 ¶
GetRecordDelimiter returns the RecordDelimiter field value If the value is explicit nil, the zero value for string will be returned
func (*CSVOutput) GetRecordDelimiterOk ¶
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 ¶
HasFieldDelimiter returns a boolean if a field has been set.
func (*CSVOutput) HasQuoteCharacter ¶
HasQuoteCharacter returns a boolean if a field has been set.
func (*CSVOutput) HasQuoteEscapeCharacter ¶
HasQuoteEscapeCharacter returns a boolean if a field has been set.
func (*CSVOutput) HasQuoteFields ¶
HasQuoteFields returns a boolean if a field has been set.
func (*CSVOutput) HasRecordDelimiter ¶
HasRecordDelimiter returns a boolean if a field has been set.
func (CSVOutput) MarshalJSON ¶
func (*CSVOutput) SetFieldDelimiter ¶
func (o *CSVOutput) SetFieldDelimiter(v interface{})
SetFieldDelimiter sets field value
func (*CSVOutput) SetQuoteCharacter ¶
SetQuoteCharacter sets field value
func (*CSVOutput) SetQuoteEscapeCharacter ¶
SetQuoteEscapeCharacter sets field value
func (*CSVOutput) SetQuoteFields ¶
SetQuoteFields sets field value
func (*CSVOutput) SetRecordDelimiter ¶
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 ¶
func (o *CompleteMultipartUploadOutput) GetKey() *string
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 ¶
func (o *CompleteMultipartUploadOutput) SetKey(v string)
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) 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) ServerURLWithContext ¶
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) 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) 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 ¶
func (a *EncryptionApiService) GetBucketEncryptionExecute(r ApiGetBucketEncryptionRequest) (*ServerSideEncryptionConfiguration, *APIResponse, error)
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 ¶
GetCode returns the Code field value If the value is explicit nil, the zero value for string will be returned
func (*Error) GetCodeOk ¶
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 ¶
GetHostId returns the HostId field value If the value is explicit nil, the zero value for string will be returned
func (*Error) GetHostIdOk ¶
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 ¶
GetMessage returns the Message field value If the value is explicit nil, the zero value for string will be returned
func (*Error) GetMessageOk ¶
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 ¶
GetRequestId returns the RequestId field value If the value is explicit nil, the zero value for string will be returned
func (*Error) GetRequestIdOk ¶
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) HasMessage ¶
HasMessage returns a boolean if a field has been set.
func (*Error) HasRequestId ¶
HasRequestId returns a boolean if a field has been set.
func (Error) MarshalJSON ¶
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)
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 ¶
HasCompleteMultipartUpload returns a boolean if a field has been set.
func (Example) MarshalJSON ¶
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 ¶
func (o *ExampleCompleteMultipartUpload) GetParts() *[]CompletedPart
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 ¶
func (o *ExampleCompleteMultipartUpload) SetParts(v []CompletedPart)
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 ¶
func (v ExpirationStatus) Ptr() *ExpirationStatus
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 ¶
func (o *GetBucketVersioningOutput) GetStatus() *BucketVersioningStatus
GetStatus returns the Status field value If the value is explicit nil, the zero value for BucketVersioningStatus will be returned
func (*GetBucketVersioningOutput) GetStatusOk ¶
func (o *GetBucketVersioningOutput) GetStatusOk() (*BucketVersioningStatus, 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 (*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 ¶
func (o *GetBucketVersioningOutput) SetStatus(v BucketVersioningStatus)
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 ¶
func (o *GetObjectLockConfigurationOutput) GetRule() *ObjectLockRule
GetRule returns the Rule field value If the value is explicit nil, the zero value for ObjectLockRule will be returned
func (*GetObjectLockConfigurationOutput) GetRuleOk ¶
func (o *GetObjectLockConfigurationOutput) GetRuleOk() (*ObjectLockRule, bool)
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 ¶
func (o *GetObjectLockConfigurationOutput) HasRule() bool
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 ¶
func (o *GetObjectLockConfigurationOutput) SetRule(v ObjectLockRule)
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 ¶
GetDisplayName returns the DisplayName field value If the value is explicit nil, the zero value for string will be returned
func (*Initiator) GetDisplayNameOk ¶
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 ¶
GetID returns the ID field value If the value is explicit nil, the zero value for int32 will be returned
func (*Initiator) GetIDOk ¶
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 ¶
HasDisplayName returns a boolean if a field has been set.
func (Initiator) MarshalJSON ¶
func (*Initiator) SetDisplayName ¶
SetDisplayName 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 ¶
func (o *InputSerialization) GetJSON() *InputSerializationJSON
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 ¶
func (o *InputSerialization) SetJSON(v InputSerializationJSON)
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 ¶
func (*IonosTime) UnmarshalJSON ¶
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 ¶
func (a *LifecycleApiService) GetBucketLifecycleExecute(r ApiGetBucketLifecycleRequest) (*GetBucketLifecycleOutput, *APIResponse, error)
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) 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 )
type Logger ¶
type Logger interface {
Printf(format string, args ...interface{})
}
func NewDefaultLogger ¶
func NewDefaultLogger() Logger
type MappedNullable ¶
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) 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 ¶
func (v MfaDeleteStatus) Ptr() *MfaDeleteStatus
Ptr returns reference to MfaDeleteStatus value
func (*MfaDeleteStatus) UnmarshalJSON ¶
func (v *MfaDeleteStatus) UnmarshalJSON(src []byte) error
type MiddlewareFunction ¶
MiddlewareFunction provides way to implement custom middleware in the prepareRequest
type MiddlewareFunctionWithError ¶
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) 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 NewNullableAbortIncompleteMultipartUpload ¶
func NewNullableAbortIncompleteMultipartUpload(val *AbortIncompleteMultipartUpload) *NullableAbortIncompleteMultipartUpload
func (NullableAbortIncompleteMultipartUpload) Get ¶
func (v NullableAbortIncompleteMultipartUpload) Get() *AbortIncompleteMultipartUpload
func (NullableAbortIncompleteMultipartUpload) IsSet ¶
func (v NullableAbortIncompleteMultipartUpload) IsSet() bool
func (NullableAbortIncompleteMultipartUpload) MarshalJSON ¶
func (v NullableAbortIncompleteMultipartUpload) MarshalJSON() ([]byte, error)
func (*NullableAbortIncompleteMultipartUpload) Set ¶
func (v *NullableAbortIncompleteMultipartUpload) Set(val *AbortIncompleteMultipartUpload)
func (*NullableAbortIncompleteMultipartUpload) UnmarshalJSON ¶
func (v *NullableAbortIncompleteMultipartUpload) UnmarshalJSON(src []byte) error
func (*NullableAbortIncompleteMultipartUpload) Unset ¶
func (v *NullableAbortIncompleteMultipartUpload) Unset()
type NullableBlockPublicAccessOutput ¶
type NullableBlockPublicAccessOutput struct {
// contains filtered or unexported fields
}
func NewNullableBlockPublicAccessOutput ¶
func NewNullableBlockPublicAccessOutput(val *BlockPublicAccessOutput) *NullableBlockPublicAccessOutput
func (NullableBlockPublicAccessOutput) Get ¶
func (v NullableBlockPublicAccessOutput) Get() *BlockPublicAccessOutput
func (NullableBlockPublicAccessOutput) IsSet ¶
func (v NullableBlockPublicAccessOutput) IsSet() bool
func (NullableBlockPublicAccessOutput) MarshalJSON ¶
func (v NullableBlockPublicAccessOutput) MarshalJSON() ([]byte, error)
func (*NullableBlockPublicAccessOutput) Set ¶
func (v *NullableBlockPublicAccessOutput) Set(val *BlockPublicAccessOutput)
func (*NullableBlockPublicAccessOutput) UnmarshalJSON ¶
func (v *NullableBlockPublicAccessOutput) UnmarshalJSON(src []byte) error
func (*NullableBlockPublicAccessOutput) Unset ¶
func (v *NullableBlockPublicAccessOutput) Unset()
type NullableBlockPublicAccessPayload ¶
type NullableBlockPublicAccessPayload struct {
// contains filtered or unexported fields
}
func NewNullableBlockPublicAccessPayload ¶
func NewNullableBlockPublicAccessPayload(val *BlockPublicAccessPayload) *NullableBlockPublicAccessPayload
func (NullableBlockPublicAccessPayload) Get ¶
func (v NullableBlockPublicAccessPayload) Get() *BlockPublicAccessPayload
func (NullableBlockPublicAccessPayload) IsSet ¶
func (v NullableBlockPublicAccessPayload) IsSet() bool
func (NullableBlockPublicAccessPayload) MarshalJSON ¶
func (v NullableBlockPublicAccessPayload) MarshalJSON() ([]byte, error)
func (*NullableBlockPublicAccessPayload) Set ¶
func (v *NullableBlockPublicAccessPayload) Set(val *BlockPublicAccessPayload)
func (*NullableBlockPublicAccessPayload) UnmarshalJSON ¶
func (v *NullableBlockPublicAccessPayload) UnmarshalJSON(src []byte) error
func (*NullableBlockPublicAccessPayload) Unset ¶
func (v *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 (v NullableBucketLocation) Get() *BucketLocation
func (NullableBucketLocation) IsSet ¶
func (v NullableBucketLocation) IsSet() bool
func (NullableBucketLocation) MarshalJSON ¶
func (v NullableBucketLocation) MarshalJSON() ([]byte, error)
func (*NullableBucketLocation) Set ¶
func (v *NullableBucketLocation) Set(val *BucketLocation)
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 (v NullableBucketPolicy) Get() *BucketPolicy
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 NewNullableBucketPolicyCondition ¶
func NewNullableBucketPolicyCondition(val *BucketPolicyCondition) *NullableBucketPolicyCondition
func (NullableBucketPolicyCondition) Get ¶
func (v NullableBucketPolicyCondition) Get() *BucketPolicyCondition
func (NullableBucketPolicyCondition) IsSet ¶
func (v NullableBucketPolicyCondition) IsSet() bool
func (NullableBucketPolicyCondition) MarshalJSON ¶
func (v NullableBucketPolicyCondition) MarshalJSON() ([]byte, error)
func (*NullableBucketPolicyCondition) Set ¶
func (v *NullableBucketPolicyCondition) Set(val *BucketPolicyCondition)
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 NewNullableBucketPolicyConditionDate ¶
func NewNullableBucketPolicyConditionDate(val *BucketPolicyConditionDate) *NullableBucketPolicyConditionDate
func (NullableBucketPolicyConditionDate) Get ¶
func (v NullableBucketPolicyConditionDate) Get() *BucketPolicyConditionDate
func (NullableBucketPolicyConditionDate) IsSet ¶
func (v NullableBucketPolicyConditionDate) IsSet() bool
func (NullableBucketPolicyConditionDate) MarshalJSON ¶
func (v NullableBucketPolicyConditionDate) MarshalJSON() ([]byte, error)
func (*NullableBucketPolicyConditionDate) Set ¶
func (v *NullableBucketPolicyConditionDate) Set(val *BucketPolicyConditionDate)
func (*NullableBucketPolicyConditionDate) UnmarshalJSON ¶
func (v *NullableBucketPolicyConditionDate) UnmarshalJSON(src []byte) error
func (*NullableBucketPolicyConditionDate) Unset ¶
func (v *NullableBucketPolicyConditionDate) Unset()
type NullableBucketPolicyConditionIpAddress ¶
type NullableBucketPolicyConditionIpAddress struct {
// contains filtered or unexported fields
}
func NewNullableBucketPolicyConditionIpAddress ¶
func NewNullableBucketPolicyConditionIpAddress(val *BucketPolicyConditionIpAddress) *NullableBucketPolicyConditionIpAddress
func (NullableBucketPolicyConditionIpAddress) Get ¶
func (v NullableBucketPolicyConditionIpAddress) Get() *BucketPolicyConditionIpAddress
func (NullableBucketPolicyConditionIpAddress) IsSet ¶
func (v NullableBucketPolicyConditionIpAddress) IsSet() bool
func (NullableBucketPolicyConditionIpAddress) MarshalJSON ¶
func (v NullableBucketPolicyConditionIpAddress) MarshalJSON() ([]byte, error)
func (*NullableBucketPolicyConditionIpAddress) Set ¶
func (v *NullableBucketPolicyConditionIpAddress) Set(val *BucketPolicyConditionIpAddress)
func (*NullableBucketPolicyConditionIpAddress) UnmarshalJSON ¶
func (v *NullableBucketPolicyConditionIpAddress) UnmarshalJSON(src []byte) error
func (*NullableBucketPolicyConditionIpAddress) Unset ¶
func (v *NullableBucketPolicyConditionIpAddress) Unset()
type NullableBucketPolicyStatement ¶
type NullableBucketPolicyStatement struct {
// contains filtered or unexported fields
}
func NewNullableBucketPolicyStatement ¶
func NewNullableBucketPolicyStatement(val *BucketPolicyStatement) *NullableBucketPolicyStatement
func (NullableBucketPolicyStatement) Get ¶
func (v NullableBucketPolicyStatement) Get() *BucketPolicyStatement
func (NullableBucketPolicyStatement) IsSet ¶
func (v NullableBucketPolicyStatement) IsSet() bool
func (NullableBucketPolicyStatement) MarshalJSON ¶
func (v NullableBucketPolicyStatement) MarshalJSON() ([]byte, error)
func (*NullableBucketPolicyStatement) Set ¶
func (v *NullableBucketPolicyStatement) Set(val *BucketPolicyStatement)
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 NewNullableBucketVersioningStatus ¶
func NewNullableBucketVersioningStatus(val *BucketVersioningStatus) *NullableBucketVersioningStatus
func (NullableBucketVersioningStatus) Get ¶
func (v NullableBucketVersioningStatus) Get() *BucketVersioningStatus
func (NullableBucketVersioningStatus) IsSet ¶
func (v NullableBucketVersioningStatus) IsSet() bool
func (NullableBucketVersioningStatus) MarshalJSON ¶
func (v NullableBucketVersioningStatus) MarshalJSON() ([]byte, error)
func (*NullableBucketVersioningStatus) Set ¶
func (v *NullableBucketVersioningStatus) Set(val *BucketVersioningStatus)
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 (v NullableCommonPrefix) Get() *CommonPrefix
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 NewNullableCompleteMultipartUploadOutput ¶
func NewNullableCompleteMultipartUploadOutput(val *CompleteMultipartUploadOutput) *NullableCompleteMultipartUploadOutput
func (NullableCompleteMultipartUploadOutput) Get ¶
func (v NullableCompleteMultipartUploadOutput) Get() *CompleteMultipartUploadOutput
func (NullableCompleteMultipartUploadOutput) IsSet ¶
func (v NullableCompleteMultipartUploadOutput) IsSet() bool
func (NullableCompleteMultipartUploadOutput) MarshalJSON ¶
func (v NullableCompleteMultipartUploadOutput) MarshalJSON() ([]byte, error)
func (*NullableCompleteMultipartUploadOutput) Set ¶
func (v *NullableCompleteMultipartUploadOutput) Set(val *CompleteMultipartUploadOutput)
func (*NullableCompleteMultipartUploadOutput) UnmarshalJSON ¶
func (v *NullableCompleteMultipartUploadOutput) UnmarshalJSON(src []byte) error
func (*NullableCompleteMultipartUploadOutput) Unset ¶
func (v *NullableCompleteMultipartUploadOutput) Unset()
type NullableCompletedPart ¶
type NullableCompletedPart struct {
// contains filtered or unexported fields
}
func NewNullableCompletedPart ¶
func NewNullableCompletedPart(val *CompletedPart) *NullableCompletedPart
func (NullableCompletedPart) Get ¶
func (v NullableCompletedPart) Get() *CompletedPart
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 (v NullableCopyObjectRequest) Get() *CopyObjectRequest
func (NullableCopyObjectRequest) IsSet ¶
func (v NullableCopyObjectRequest) IsSet() bool
func (NullableCopyObjectRequest) MarshalJSON ¶
func (v NullableCopyObjectRequest) MarshalJSON() ([]byte, error)
func (*NullableCopyObjectRequest) Set ¶
func (v *NullableCopyObjectRequest) Set(val *CopyObjectRequest)
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 (v NullableCopyObjectResult) Get() *CopyObjectResult
func (NullableCopyObjectResult) IsSet ¶
func (v NullableCopyObjectResult) IsSet() bool
func (NullableCopyObjectResult) MarshalJSON ¶
func (v NullableCopyObjectResult) MarshalJSON() ([]byte, error)
func (*NullableCopyObjectResult) Set ¶
func (v *NullableCopyObjectResult) Set(val *CopyObjectResult)
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 (v NullableCopyPartResult) Get() *CopyPartResult
func (NullableCopyPartResult) IsSet ¶
func (v NullableCopyPartResult) IsSet() bool
func (NullableCopyPartResult) MarshalJSON ¶
func (v NullableCopyPartResult) MarshalJSON() ([]byte, error)
func (*NullableCopyPartResult) Set ¶
func (v *NullableCopyPartResult) Set(val *CopyPartResult)
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 NewNullableCreateBucketConfiguration ¶
func NewNullableCreateBucketConfiguration(val *CreateBucketConfiguration) *NullableCreateBucketConfiguration
func (NullableCreateBucketConfiguration) Get ¶
func (v NullableCreateBucketConfiguration) Get() *CreateBucketConfiguration
func (NullableCreateBucketConfiguration) IsSet ¶
func (v NullableCreateBucketConfiguration) IsSet() bool
func (NullableCreateBucketConfiguration) MarshalJSON ¶
func (v NullableCreateBucketConfiguration) MarshalJSON() ([]byte, error)
func (*NullableCreateBucketConfiguration) Set ¶
func (v *NullableCreateBucketConfiguration) Set(val *CreateBucketConfiguration)
func (*NullableCreateBucketConfiguration) UnmarshalJSON ¶
func (v *NullableCreateBucketConfiguration) UnmarshalJSON(src []byte) error
func (*NullableCreateBucketConfiguration) Unset ¶
func (v *NullableCreateBucketConfiguration) Unset()
type NullableCreateMultipartUploadOutput ¶
type NullableCreateMultipartUploadOutput struct {
// contains filtered or unexported fields
}
func NewNullableCreateMultipartUploadOutput ¶
func NewNullableCreateMultipartUploadOutput(val *CreateMultipartUploadOutput) *NullableCreateMultipartUploadOutput
func (NullableCreateMultipartUploadOutput) Get ¶
func (v NullableCreateMultipartUploadOutput) Get() *CreateMultipartUploadOutput
func (NullableCreateMultipartUploadOutput) IsSet ¶
func (v NullableCreateMultipartUploadOutput) IsSet() bool
func (NullableCreateMultipartUploadOutput) MarshalJSON ¶
func (v NullableCreateMultipartUploadOutput) MarshalJSON() ([]byte, error)
func (*NullableCreateMultipartUploadOutput) Set ¶
func (v *NullableCreateMultipartUploadOutput) Set(val *CreateMultipartUploadOutput)
func (*NullableCreateMultipartUploadOutput) UnmarshalJSON ¶
func (v *NullableCreateMultipartUploadOutput) UnmarshalJSON(src []byte) error
func (*NullableCreateMultipartUploadOutput) Unset ¶
func (v *NullableCreateMultipartUploadOutput) Unset()
type NullableDefaultRetention ¶
type NullableDefaultRetention struct {
// contains filtered or unexported fields
}
func NewNullableDefaultRetention ¶
func NewNullableDefaultRetention(val *DefaultRetention) *NullableDefaultRetention
func (NullableDefaultRetention) Get ¶
func (v NullableDefaultRetention) Get() *DefaultRetention
func (NullableDefaultRetention) IsSet ¶
func (v NullableDefaultRetention) IsSet() bool
func (NullableDefaultRetention) MarshalJSON ¶
func (v NullableDefaultRetention) MarshalJSON() ([]byte, error)
func (*NullableDefaultRetention) Set ¶
func (v *NullableDefaultRetention) Set(val *DefaultRetention)
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 (v NullableDeleteMarkerEntry) Get() *DeleteMarkerEntry
func (NullableDeleteMarkerEntry) IsSet ¶
func (v NullableDeleteMarkerEntry) IsSet() bool
func (NullableDeleteMarkerEntry) MarshalJSON ¶
func (v NullableDeleteMarkerEntry) MarshalJSON() ([]byte, error)
func (*NullableDeleteMarkerEntry) Set ¶
func (v *NullableDeleteMarkerEntry) Set(val *DeleteMarkerEntry)
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 (v NullableDeleteObjectsOutput) Get() *DeleteObjectsOutput
func (NullableDeleteObjectsOutput) IsSet ¶
func (v NullableDeleteObjectsOutput) IsSet() bool
func (NullableDeleteObjectsOutput) MarshalJSON ¶
func (v NullableDeleteObjectsOutput) MarshalJSON() ([]byte, error)
func (*NullableDeleteObjectsOutput) Set ¶
func (v *NullableDeleteObjectsOutput) Set(val *DeleteObjectsOutput)
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 (v NullableDeleteObjectsRequest) Get() *DeleteObjectsRequest
func (NullableDeleteObjectsRequest) IsSet ¶
func (v NullableDeleteObjectsRequest) IsSet() bool
func (NullableDeleteObjectsRequest) MarshalJSON ¶
func (v NullableDeleteObjectsRequest) MarshalJSON() ([]byte, error)
func (*NullableDeleteObjectsRequest) Set ¶
func (v *NullableDeleteObjectsRequest) Set(val *DeleteObjectsRequest)
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 (v NullableDeletedObject) Get() *DeletedObject
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 (v NullableDeletionError) Get() *DeletionError
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 (v NullableDestination) Get() *Destination
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 (v NullableEncodingType) Get() *EncodingType
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 (v NullableErrorDocument) Get() *ErrorDocument
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 NewNullableExampleCompleteMultipartUpload ¶
func NewNullableExampleCompleteMultipartUpload(val *ExampleCompleteMultipartUpload) *NullableExampleCompleteMultipartUpload
func (NullableExampleCompleteMultipartUpload) Get ¶
func (v NullableExampleCompleteMultipartUpload) Get() *ExampleCompleteMultipartUpload
func (NullableExampleCompleteMultipartUpload) IsSet ¶
func (v NullableExampleCompleteMultipartUpload) IsSet() bool
func (NullableExampleCompleteMultipartUpload) MarshalJSON ¶
func (v NullableExampleCompleteMultipartUpload) MarshalJSON() ([]byte, error)
func (*NullableExampleCompleteMultipartUpload) Set ¶
func (v *NullableExampleCompleteMultipartUpload) Set(val *ExampleCompleteMultipartUpload)
func (*NullableExampleCompleteMultipartUpload) UnmarshalJSON ¶
func (v *NullableExampleCompleteMultipartUpload) UnmarshalJSON(src []byte) error
func (*NullableExampleCompleteMultipartUpload) Unset ¶
func (v *NullableExampleCompleteMultipartUpload) Unset()
type NullableExpirationStatus ¶
type NullableExpirationStatus struct {
// contains filtered or unexported fields
}
func NewNullableExpirationStatus ¶
func NewNullableExpirationStatus(val *ExpirationStatus) *NullableExpirationStatus
func (NullableExpirationStatus) Get ¶
func (v NullableExpirationStatus) Get() *ExpirationStatus
func (NullableExpirationStatus) IsSet ¶
func (v NullableExpirationStatus) IsSet() bool
func (NullableExpirationStatus) MarshalJSON ¶
func (v NullableExpirationStatus) MarshalJSON() ([]byte, error)
func (*NullableExpirationStatus) Set ¶
func (v *NullableExpirationStatus) Set(val *ExpirationStatus)
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 (v NullableExpressionType) Get() *ExpressionType
func (NullableExpressionType) IsSet ¶
func (v NullableExpressionType) IsSet() bool
func (NullableExpressionType) MarshalJSON ¶
func (v NullableExpressionType) MarshalJSON() ([]byte, error)
func (*NullableExpressionType) Set ¶
func (v *NullableExpressionType) Set(val *ExpressionType)
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 (v NullableGetBucketCorsOutput) Get() *GetBucketCorsOutput
func (NullableGetBucketCorsOutput) IsSet ¶
func (v NullableGetBucketCorsOutput) IsSet() bool
func (NullableGetBucketCorsOutput) MarshalJSON ¶
func (v NullableGetBucketCorsOutput) MarshalJSON() ([]byte, error)
func (*NullableGetBucketCorsOutput) Set ¶
func (v *NullableGetBucketCorsOutput) Set(val *GetBucketCorsOutput)
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 NewNullableGetBucketLifecycleOutput ¶
func NewNullableGetBucketLifecycleOutput(val *GetBucketLifecycleOutput) *NullableGetBucketLifecycleOutput
func (NullableGetBucketLifecycleOutput) Get ¶
func (v NullableGetBucketLifecycleOutput) Get() *GetBucketLifecycleOutput
func (NullableGetBucketLifecycleOutput) IsSet ¶
func (v NullableGetBucketLifecycleOutput) IsSet() bool
func (NullableGetBucketLifecycleOutput) MarshalJSON ¶
func (v NullableGetBucketLifecycleOutput) MarshalJSON() ([]byte, error)
func (*NullableGetBucketLifecycleOutput) Set ¶
func (v *NullableGetBucketLifecycleOutput) Set(val *GetBucketLifecycleOutput)
func (*NullableGetBucketLifecycleOutput) UnmarshalJSON ¶
func (v *NullableGetBucketLifecycleOutput) UnmarshalJSON(src []byte) error
func (*NullableGetBucketLifecycleOutput) Unset ¶
func (v *NullableGetBucketLifecycleOutput) Unset()
type NullableGetBucketReplicationOutput ¶
type NullableGetBucketReplicationOutput struct {
// contains filtered or unexported fields
}
func NewNullableGetBucketReplicationOutput ¶
func NewNullableGetBucketReplicationOutput(val *GetBucketReplicationOutput) *NullableGetBucketReplicationOutput
func (NullableGetBucketReplicationOutput) Get ¶
func (v NullableGetBucketReplicationOutput) Get() *GetBucketReplicationOutput
func (NullableGetBucketReplicationOutput) IsSet ¶
func (v NullableGetBucketReplicationOutput) IsSet() bool
func (NullableGetBucketReplicationOutput) MarshalJSON ¶
func (v NullableGetBucketReplicationOutput) MarshalJSON() ([]byte, error)
func (*NullableGetBucketReplicationOutput) Set ¶
func (v *NullableGetBucketReplicationOutput) Set(val *GetBucketReplicationOutput)
func (*NullableGetBucketReplicationOutput) UnmarshalJSON ¶
func (v *NullableGetBucketReplicationOutput) UnmarshalJSON(src []byte) error
func (*NullableGetBucketReplicationOutput) Unset ¶
func (v *NullableGetBucketReplicationOutput) Unset()
type NullableGetBucketTaggingOutput ¶
type NullableGetBucketTaggingOutput struct {
// contains filtered or unexported fields
}
func NewNullableGetBucketTaggingOutput ¶
func NewNullableGetBucketTaggingOutput(val *GetBucketTaggingOutput) *NullableGetBucketTaggingOutput
func (NullableGetBucketTaggingOutput) Get ¶
func (v NullableGetBucketTaggingOutput) Get() *GetBucketTaggingOutput
func (NullableGetBucketTaggingOutput) IsSet ¶
func (v NullableGetBucketTaggingOutput) IsSet() bool
func (NullableGetBucketTaggingOutput) MarshalJSON ¶
func (v NullableGetBucketTaggingOutput) MarshalJSON() ([]byte, error)
func (*NullableGetBucketTaggingOutput) Set ¶
func (v *NullableGetBucketTaggingOutput) Set(val *GetBucketTaggingOutput)
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 NewNullableGetBucketVersioningOutput ¶
func NewNullableGetBucketVersioningOutput(val *GetBucketVersioningOutput) *NullableGetBucketVersioningOutput
func (NullableGetBucketVersioningOutput) Get ¶
func (v NullableGetBucketVersioningOutput) Get() *GetBucketVersioningOutput
func (NullableGetBucketVersioningOutput) IsSet ¶
func (v NullableGetBucketVersioningOutput) IsSet() bool
func (NullableGetBucketVersioningOutput) MarshalJSON ¶
func (v NullableGetBucketVersioningOutput) MarshalJSON() ([]byte, error)
func (*NullableGetBucketVersioningOutput) Set ¶
func (v *NullableGetBucketVersioningOutput) Set(val *GetBucketVersioningOutput)
func (*NullableGetBucketVersioningOutput) UnmarshalJSON ¶
func (v *NullableGetBucketVersioningOutput) UnmarshalJSON(src []byte) error
func (*NullableGetBucketVersioningOutput) Unset ¶
func (v *NullableGetBucketVersioningOutput) Unset()
type NullableGetBucketWebsiteOutput ¶
type NullableGetBucketWebsiteOutput struct {
// contains filtered or unexported fields
}
func NewNullableGetBucketWebsiteOutput ¶
func NewNullableGetBucketWebsiteOutput(val *GetBucketWebsiteOutput) *NullableGetBucketWebsiteOutput
func (NullableGetBucketWebsiteOutput) Get ¶
func (v NullableGetBucketWebsiteOutput) Get() *GetBucketWebsiteOutput
func (NullableGetBucketWebsiteOutput) IsSet ¶
func (v NullableGetBucketWebsiteOutput) IsSet() bool
func (NullableGetBucketWebsiteOutput) MarshalJSON ¶
func (v NullableGetBucketWebsiteOutput) MarshalJSON() ([]byte, error)
func (*NullableGetBucketWebsiteOutput) Set ¶
func (v *NullableGetBucketWebsiteOutput) Set(val *GetBucketWebsiteOutput)
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 NewNullableGetObjectLockConfigurationOutput ¶
func NewNullableGetObjectLockConfigurationOutput(val *GetObjectLockConfigurationOutput) *NullableGetObjectLockConfigurationOutput
func (NullableGetObjectLockConfigurationOutput) IsSet ¶
func (v NullableGetObjectLockConfigurationOutput) IsSet() bool
func (NullableGetObjectLockConfigurationOutput) MarshalJSON ¶
func (v NullableGetObjectLockConfigurationOutput) MarshalJSON() ([]byte, error)
func (*NullableGetObjectLockConfigurationOutput) Set ¶
func (v *NullableGetObjectLockConfigurationOutput) Set(val *GetObjectLockConfigurationOutput)
func (*NullableGetObjectLockConfigurationOutput) UnmarshalJSON ¶
func (v *NullableGetObjectLockConfigurationOutput) UnmarshalJSON(src []byte) error
func (*NullableGetObjectLockConfigurationOutput) Unset ¶
func (v *NullableGetObjectLockConfigurationOutput) Unset()
type NullableGetObjectTaggingOutput ¶
type NullableGetObjectTaggingOutput struct {
// contains filtered or unexported fields
}
func NewNullableGetObjectTaggingOutput ¶
func NewNullableGetObjectTaggingOutput(val *GetObjectTaggingOutput) *NullableGetObjectTaggingOutput
func (NullableGetObjectTaggingOutput) Get ¶
func (v NullableGetObjectTaggingOutput) Get() *GetObjectTaggingOutput
func (NullableGetObjectTaggingOutput) IsSet ¶
func (v NullableGetObjectTaggingOutput) IsSet() bool
func (NullableGetObjectTaggingOutput) MarshalJSON ¶
func (v NullableGetObjectTaggingOutput) MarshalJSON() ([]byte, error)
func (*NullableGetObjectTaggingOutput) Set ¶
func (v *NullableGetObjectTaggingOutput) Set(val *GetObjectTaggingOutput)
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 (v NullableHeadObjectOutput) Get() *HeadObjectOutput
func (NullableHeadObjectOutput) IsSet ¶
func (v NullableHeadObjectOutput) IsSet() bool
func (NullableHeadObjectOutput) MarshalJSON ¶
func (v NullableHeadObjectOutput) MarshalJSON() ([]byte, error)
func (*NullableHeadObjectOutput) Set ¶
func (v *NullableHeadObjectOutput) Set(val *HeadObjectOutput)
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 (v NullableIndexDocument) Get() *IndexDocument
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 (v NullableInputSerialization) Get() *InputSerialization
func (NullableInputSerialization) IsSet ¶
func (v NullableInputSerialization) IsSet() bool
func (NullableInputSerialization) MarshalJSON ¶
func (v NullableInputSerialization) MarshalJSON() ([]byte, error)
func (*NullableInputSerialization) Set ¶
func (v *NullableInputSerialization) Set(val *InputSerialization)
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 NewNullableInputSerializationJSON ¶
func NewNullableInputSerializationJSON(val *InputSerializationJSON) *NullableInputSerializationJSON
func (NullableInputSerializationJSON) Get ¶
func (v NullableInputSerializationJSON) Get() *InputSerializationJSON
func (NullableInputSerializationJSON) IsSet ¶
func (v NullableInputSerializationJSON) IsSet() bool
func (NullableInputSerializationJSON) MarshalJSON ¶
func (v NullableInputSerializationJSON) MarshalJSON() ([]byte, error)
func (*NullableInputSerializationJSON) Set ¶
func (v *NullableInputSerializationJSON) Set(val *InputSerializationJSON)
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 (v NullableLifecycleExpiration) Get() *LifecycleExpiration
func (NullableLifecycleExpiration) IsSet ¶
func (v NullableLifecycleExpiration) IsSet() bool
func (NullableLifecycleExpiration) MarshalJSON ¶
func (v NullableLifecycleExpiration) MarshalJSON() ([]byte, error)
func (*NullableLifecycleExpiration) Set ¶
func (v *NullableLifecycleExpiration) Set(val *LifecycleExpiration)
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 NewNullableListAllMyBucketsResult ¶
func NewNullableListAllMyBucketsResult(val *ListAllMyBucketsResult) *NullableListAllMyBucketsResult
func (NullableListAllMyBucketsResult) Get ¶
func (v NullableListAllMyBucketsResult) Get() *ListAllMyBucketsResult
func (NullableListAllMyBucketsResult) IsSet ¶
func (v NullableListAllMyBucketsResult) IsSet() bool
func (NullableListAllMyBucketsResult) MarshalJSON ¶
func (v NullableListAllMyBucketsResult) MarshalJSON() ([]byte, error)
func (*NullableListAllMyBucketsResult) Set ¶
func (v *NullableListAllMyBucketsResult) Set(val *ListAllMyBucketsResult)
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 (v NullableListBucketResultV2) Get() *ListBucketResultV2
func (NullableListBucketResultV2) IsSet ¶
func (v NullableListBucketResultV2) IsSet() bool
func (NullableListBucketResultV2) MarshalJSON ¶
func (v NullableListBucketResultV2) MarshalJSON() ([]byte, error)
func (*NullableListBucketResultV2) Set ¶
func (v *NullableListBucketResultV2) Set(val *ListBucketResultV2)
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 NewNullableListMultipartUploadsOutput ¶
func NewNullableListMultipartUploadsOutput(val *ListMultipartUploadsOutput) *NullableListMultipartUploadsOutput
func (NullableListMultipartUploadsOutput) Get ¶
func (v NullableListMultipartUploadsOutput) Get() *ListMultipartUploadsOutput
func (NullableListMultipartUploadsOutput) IsSet ¶
func (v NullableListMultipartUploadsOutput) IsSet() bool
func (NullableListMultipartUploadsOutput) MarshalJSON ¶
func (v NullableListMultipartUploadsOutput) MarshalJSON() ([]byte, error)
func (*NullableListMultipartUploadsOutput) Set ¶
func (v *NullableListMultipartUploadsOutput) Set(val *ListMultipartUploadsOutput)
func (*NullableListMultipartUploadsOutput) UnmarshalJSON ¶
func (v *NullableListMultipartUploadsOutput) UnmarshalJSON(src []byte) error
func (*NullableListMultipartUploadsOutput) Unset ¶
func (v *NullableListMultipartUploadsOutput) Unset()
type NullableListObjectVersionsOutput ¶
type NullableListObjectVersionsOutput struct {
// contains filtered or unexported fields
}
func NewNullableListObjectVersionsOutput ¶
func NewNullableListObjectVersionsOutput(val *ListObjectVersionsOutput) *NullableListObjectVersionsOutput
func (NullableListObjectVersionsOutput) Get ¶
func (v NullableListObjectVersionsOutput) Get() *ListObjectVersionsOutput
func (NullableListObjectVersionsOutput) IsSet ¶
func (v NullableListObjectVersionsOutput) IsSet() bool
func (NullableListObjectVersionsOutput) MarshalJSON ¶
func (v NullableListObjectVersionsOutput) MarshalJSON() ([]byte, error)
func (*NullableListObjectVersionsOutput) Set ¶
func (v *NullableListObjectVersionsOutput) Set(val *ListObjectVersionsOutput)
func (*NullableListObjectVersionsOutput) UnmarshalJSON ¶
func (v *NullableListObjectVersionsOutput) UnmarshalJSON(src []byte) error
func (*NullableListObjectVersionsOutput) Unset ¶
func (v *NullableListObjectVersionsOutput) Unset()
type NullableListObjectsOutput ¶
type NullableListObjectsOutput struct {
// contains filtered or unexported fields
}
func NewNullableListObjectsOutput ¶
func NewNullableListObjectsOutput(val *ListObjectsOutput) *NullableListObjectsOutput
func (NullableListObjectsOutput) Get ¶
func (v NullableListObjectsOutput) Get() *ListObjectsOutput
func (NullableListObjectsOutput) IsSet ¶
func (v NullableListObjectsOutput) IsSet() bool
func (NullableListObjectsOutput) MarshalJSON ¶
func (v NullableListObjectsOutput) MarshalJSON() ([]byte, error)
func (*NullableListObjectsOutput) Set ¶
func (v *NullableListObjectsOutput) Set(val *ListObjectsOutput)
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 (v NullableListPartsOutput) Get() *ListPartsOutput
func (NullableListPartsOutput) IsSet ¶
func (v NullableListPartsOutput) IsSet() bool
func (NullableListPartsOutput) MarshalJSON ¶
func (v NullableListPartsOutput) MarshalJSON() ([]byte, error)
func (*NullableListPartsOutput) Set ¶
func (v *NullableListPartsOutput) Set(val *ListPartsOutput)
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 (v NullableMetadataEntry) Get() *MetadataEntry
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 (v NullableMfaDeleteStatus) Get() *MfaDeleteStatus
func (NullableMfaDeleteStatus) IsSet ¶
func (v NullableMfaDeleteStatus) IsSet() bool
func (NullableMfaDeleteStatus) MarshalJSON ¶
func (v NullableMfaDeleteStatus) MarshalJSON() ([]byte, error)
func (*NullableMfaDeleteStatus) Set ¶
func (v *NullableMfaDeleteStatus) Set(val *MfaDeleteStatus)
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 (v NullableMultipartUpload) Get() *MultipartUpload
func (NullableMultipartUpload) IsSet ¶
func (v NullableMultipartUpload) IsSet() bool
func (NullableMultipartUpload) MarshalJSON ¶
func (v NullableMultipartUpload) MarshalJSON() ([]byte, error)
func (*NullableMultipartUpload) Set ¶
func (v *NullableMultipartUpload) Set(val *MultipartUpload)
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 NewNullableNoncurrentVersionExpiration ¶
func NewNullableNoncurrentVersionExpiration(val *NoncurrentVersionExpiration) *NullableNoncurrentVersionExpiration
func (NullableNoncurrentVersionExpiration) Get ¶
func (v NullableNoncurrentVersionExpiration) Get() *NoncurrentVersionExpiration
func (NullableNoncurrentVersionExpiration) IsSet ¶
func (v NullableNoncurrentVersionExpiration) IsSet() bool
func (NullableNoncurrentVersionExpiration) MarshalJSON ¶
func (v NullableNoncurrentVersionExpiration) MarshalJSON() ([]byte, error)
func (*NullableNoncurrentVersionExpiration) Set ¶
func (v *NullableNoncurrentVersionExpiration) Set(val *NoncurrentVersionExpiration)
func (*NullableNoncurrentVersionExpiration) UnmarshalJSON ¶
func (v *NullableNoncurrentVersionExpiration) UnmarshalJSON(src []byte) error
func (*NullableNoncurrentVersionExpiration) Unset ¶
func (v *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 (v NullableObjectIdentifier) Get() *ObjectIdentifier
func (NullableObjectIdentifier) IsSet ¶
func (v NullableObjectIdentifier) IsSet() bool
func (NullableObjectIdentifier) MarshalJSON ¶
func (v NullableObjectIdentifier) MarshalJSON() ([]byte, error)
func (*NullableObjectIdentifier) Set ¶
func (v *NullableObjectIdentifier) Set(val *ObjectIdentifier)
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 NewNullableObjectLegalHoldConfiguration ¶
func NewNullableObjectLegalHoldConfiguration(val *ObjectLegalHoldConfiguration) *NullableObjectLegalHoldConfiguration
func (NullableObjectLegalHoldConfiguration) Get ¶
func (v NullableObjectLegalHoldConfiguration) Get() *ObjectLegalHoldConfiguration
func (NullableObjectLegalHoldConfiguration) IsSet ¶
func (v NullableObjectLegalHoldConfiguration) IsSet() bool
func (NullableObjectLegalHoldConfiguration) MarshalJSON ¶
func (v NullableObjectLegalHoldConfiguration) MarshalJSON() ([]byte, error)
func (*NullableObjectLegalHoldConfiguration) Set ¶
func (v *NullableObjectLegalHoldConfiguration) Set(val *ObjectLegalHoldConfiguration)
func (*NullableObjectLegalHoldConfiguration) UnmarshalJSON ¶
func (v *NullableObjectLegalHoldConfiguration) UnmarshalJSON(src []byte) error
func (*NullableObjectLegalHoldConfiguration) Unset ¶
func (v *NullableObjectLegalHoldConfiguration) Unset()
type NullableObjectLockRetention ¶
type NullableObjectLockRetention struct {
// contains filtered or unexported fields
}
func NewNullableObjectLockRetention ¶
func NewNullableObjectLockRetention(val *ObjectLockRetention) *NullableObjectLockRetention
func (NullableObjectLockRetention) Get ¶
func (v NullableObjectLockRetention) Get() *ObjectLockRetention
func (NullableObjectLockRetention) IsSet ¶
func (v NullableObjectLockRetention) IsSet() bool
func (NullableObjectLockRetention) MarshalJSON ¶
func (v NullableObjectLockRetention) MarshalJSON() ([]byte, error)
func (*NullableObjectLockRetention) Set ¶
func (v *NullableObjectLockRetention) Set(val *ObjectLockRetention)
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 (v NullableObjectLockRule) Get() *ObjectLockRule
func (NullableObjectLockRule) IsSet ¶
func (v NullableObjectLockRule) IsSet() bool
func (NullableObjectLockRule) MarshalJSON ¶
func (v NullableObjectLockRule) MarshalJSON() ([]byte, error)
func (*NullableObjectLockRule) Set ¶
func (v *NullableObjectLockRule) Set(val *ObjectLockRule)
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 (v NullableObjectStorageClass) Get() *ObjectStorageClass
func (NullableObjectStorageClass) IsSet ¶
func (v NullableObjectStorageClass) IsSet() bool
func (NullableObjectStorageClass) MarshalJSON ¶
func (v NullableObjectStorageClass) MarshalJSON() ([]byte, error)
func (*NullableObjectStorageClass) Set ¶
func (v *NullableObjectStorageClass) Set(val *ObjectStorageClass)
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 (v NullableObjectVersion) Get() *ObjectVersion
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 NewNullableObjectVersionStorageClass ¶
func NewNullableObjectVersionStorageClass(val *ObjectVersionStorageClass) *NullableObjectVersionStorageClass
func (NullableObjectVersionStorageClass) Get ¶
func (v NullableObjectVersionStorageClass) Get() *ObjectVersionStorageClass
func (NullableObjectVersionStorageClass) IsSet ¶
func (v NullableObjectVersionStorageClass) IsSet() bool
func (NullableObjectVersionStorageClass) MarshalJSON ¶
func (v NullableObjectVersionStorageClass) MarshalJSON() ([]byte, error)
func (*NullableObjectVersionStorageClass) Set ¶
func (v *NullableObjectVersionStorageClass) Set(val *ObjectVersionStorageClass)
func (*NullableObjectVersionStorageClass) UnmarshalJSON ¶
func (v *NullableObjectVersionStorageClass) UnmarshalJSON(src []byte) error
func (*NullableObjectVersionStorageClass) Unset ¶
func (v *NullableObjectVersionStorageClass) Unset()
type NullableOutputSerialization ¶
type NullableOutputSerialization struct {
// contains filtered or unexported fields
}
func NewNullableOutputSerialization ¶
func NewNullableOutputSerialization(val *OutputSerialization) *NullableOutputSerialization
func (NullableOutputSerialization) Get ¶
func (v NullableOutputSerialization) Get() *OutputSerialization
func (NullableOutputSerialization) IsSet ¶
func (v NullableOutputSerialization) IsSet() bool
func (NullableOutputSerialization) MarshalJSON ¶
func (v NullableOutputSerialization) MarshalJSON() ([]byte, error)
func (*NullableOutputSerialization) Set ¶
func (v *NullableOutputSerialization) Set(val *OutputSerialization)
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 (v NullablePOSTObjectRequest) Get() *POSTObjectRequest
func (NullablePOSTObjectRequest) IsSet ¶
func (v NullablePOSTObjectRequest) IsSet() bool
func (NullablePOSTObjectRequest) MarshalJSON ¶
func (v NullablePOSTObjectRequest) MarshalJSON() ([]byte, error)
func (*NullablePOSTObjectRequest) Set ¶
func (v *NullablePOSTObjectRequest) Set(val *POSTObjectRequest)
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 (v NullablePolicyStatus) Get() *PolicyStatus
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 (v NullablePrincipalAllOf) Get() *PrincipalAllOf
func (NullablePrincipalAllOf) IsSet ¶
func (v NullablePrincipalAllOf) IsSet() bool
func (NullablePrincipalAllOf) MarshalJSON ¶
func (v NullablePrincipalAllOf) MarshalJSON() ([]byte, error)
func (*NullablePrincipalAllOf) Set ¶
func (v *NullablePrincipalAllOf) Set(val *PrincipalAllOf)
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 (v NullablePutBucketCorsRequest) Get() *PutBucketCorsRequest
func (NullablePutBucketCorsRequest) IsSet ¶
func (v NullablePutBucketCorsRequest) IsSet() bool
func (NullablePutBucketCorsRequest) MarshalJSON ¶
func (v NullablePutBucketCorsRequest) MarshalJSON() ([]byte, error)
func (*NullablePutBucketCorsRequest) Set ¶
func (v *NullablePutBucketCorsRequest) Set(val *PutBucketCorsRequest)
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 NewNullablePutBucketEncryptionRequest ¶
func NewNullablePutBucketEncryptionRequest(val *PutBucketEncryptionRequest) *NullablePutBucketEncryptionRequest
func (NullablePutBucketEncryptionRequest) Get ¶
func (v NullablePutBucketEncryptionRequest) Get() *PutBucketEncryptionRequest
func (NullablePutBucketEncryptionRequest) IsSet ¶
func (v NullablePutBucketEncryptionRequest) IsSet() bool
func (NullablePutBucketEncryptionRequest) MarshalJSON ¶
func (v NullablePutBucketEncryptionRequest) MarshalJSON() ([]byte, error)
func (*NullablePutBucketEncryptionRequest) Set ¶
func (v *NullablePutBucketEncryptionRequest) Set(val *PutBucketEncryptionRequest)
func (*NullablePutBucketEncryptionRequest) UnmarshalJSON ¶
func (v *NullablePutBucketEncryptionRequest) UnmarshalJSON(src []byte) error
func (*NullablePutBucketEncryptionRequest) Unset ¶
func (v *NullablePutBucketEncryptionRequest) Unset()
type NullablePutBucketLifecycleRequest ¶
type NullablePutBucketLifecycleRequest struct {
// contains filtered or unexported fields
}
func NewNullablePutBucketLifecycleRequest ¶
func NewNullablePutBucketLifecycleRequest(val *PutBucketLifecycleRequest) *NullablePutBucketLifecycleRequest
func (NullablePutBucketLifecycleRequest) Get ¶
func (v NullablePutBucketLifecycleRequest) Get() *PutBucketLifecycleRequest
func (NullablePutBucketLifecycleRequest) IsSet ¶
func (v NullablePutBucketLifecycleRequest) IsSet() bool
func (NullablePutBucketLifecycleRequest) MarshalJSON ¶
func (v NullablePutBucketLifecycleRequest) MarshalJSON() ([]byte, error)
func (*NullablePutBucketLifecycleRequest) Set ¶
func (v *NullablePutBucketLifecycleRequest) Set(val *PutBucketLifecycleRequest)
func (*NullablePutBucketLifecycleRequest) UnmarshalJSON ¶
func (v *NullablePutBucketLifecycleRequest) UnmarshalJSON(src []byte) error
func (*NullablePutBucketLifecycleRequest) Unset ¶
func (v *NullablePutBucketLifecycleRequest) Unset()
type NullablePutBucketTaggingRequest ¶
type NullablePutBucketTaggingRequest struct {
// contains filtered or unexported fields
}
func NewNullablePutBucketTaggingRequest ¶
func NewNullablePutBucketTaggingRequest(val *PutBucketTaggingRequest) *NullablePutBucketTaggingRequest
func (NullablePutBucketTaggingRequest) Get ¶
func (v NullablePutBucketTaggingRequest) Get() *PutBucketTaggingRequest
func (NullablePutBucketTaggingRequest) IsSet ¶
func (v NullablePutBucketTaggingRequest) IsSet() bool
func (NullablePutBucketTaggingRequest) MarshalJSON ¶
func (v NullablePutBucketTaggingRequest) MarshalJSON() ([]byte, error)
func (*NullablePutBucketTaggingRequest) Set ¶
func (v *NullablePutBucketTaggingRequest) Set(val *PutBucketTaggingRequest)
func (*NullablePutBucketTaggingRequest) UnmarshalJSON ¶
func (v *NullablePutBucketTaggingRequest) UnmarshalJSON(src []byte) error
func (*NullablePutBucketTaggingRequest) Unset ¶
func (v *NullablePutBucketTaggingRequest) Unset()
type NullablePutBucketVersioningRequest ¶
type NullablePutBucketVersioningRequest struct {
// contains filtered or unexported fields
}
func NewNullablePutBucketVersioningRequest ¶
func NewNullablePutBucketVersioningRequest(val *PutBucketVersioningRequest) *NullablePutBucketVersioningRequest
func (NullablePutBucketVersioningRequest) Get ¶
func (v NullablePutBucketVersioningRequest) Get() *PutBucketVersioningRequest
func (NullablePutBucketVersioningRequest) IsSet ¶
func (v NullablePutBucketVersioningRequest) IsSet() bool
func (NullablePutBucketVersioningRequest) MarshalJSON ¶
func (v NullablePutBucketVersioningRequest) MarshalJSON() ([]byte, error)
func (*NullablePutBucketVersioningRequest) Set ¶
func (v *NullablePutBucketVersioningRequest) Set(val *PutBucketVersioningRequest)
func (*NullablePutBucketVersioningRequest) UnmarshalJSON ¶
func (v *NullablePutBucketVersioningRequest) UnmarshalJSON(src []byte) error
func (*NullablePutBucketVersioningRequest) Unset ¶
func (v *NullablePutBucketVersioningRequest) Unset()
type NullablePutBucketWebsiteRequest ¶
type NullablePutBucketWebsiteRequest struct {
// contains filtered or unexported fields
}
func NewNullablePutBucketWebsiteRequest ¶
func NewNullablePutBucketWebsiteRequest(val *PutBucketWebsiteRequest) *NullablePutBucketWebsiteRequest
func (NullablePutBucketWebsiteRequest) Get ¶
func (v NullablePutBucketWebsiteRequest) Get() *PutBucketWebsiteRequest
func (NullablePutBucketWebsiteRequest) IsSet ¶
func (v NullablePutBucketWebsiteRequest) IsSet() bool
func (NullablePutBucketWebsiteRequest) MarshalJSON ¶
func (v NullablePutBucketWebsiteRequest) MarshalJSON() ([]byte, error)
func (*NullablePutBucketWebsiteRequest) Set ¶
func (v *NullablePutBucketWebsiteRequest) Set(val *PutBucketWebsiteRequest)
func (*NullablePutBucketWebsiteRequest) UnmarshalJSON ¶
func (v *NullablePutBucketWebsiteRequest) UnmarshalJSON(src []byte) error
func (*NullablePutBucketWebsiteRequest) Unset ¶
func (v *NullablePutBucketWebsiteRequest) Unset()
type NullablePutObjectLockConfigurationRequest ¶
type NullablePutObjectLockConfigurationRequest struct {
// contains filtered or unexported fields
}
func NewNullablePutObjectLockConfigurationRequest ¶
func NewNullablePutObjectLockConfigurationRequest(val *PutObjectLockConfigurationRequest) *NullablePutObjectLockConfigurationRequest
func (NullablePutObjectLockConfigurationRequest) IsSet ¶
func (v NullablePutObjectLockConfigurationRequest) IsSet() bool
func (NullablePutObjectLockConfigurationRequest) MarshalJSON ¶
func (v NullablePutObjectLockConfigurationRequest) MarshalJSON() ([]byte, error)
func (*NullablePutObjectLockConfigurationRequest) Set ¶
func (v *NullablePutObjectLockConfigurationRequest) Set(val *PutObjectLockConfigurationRequest)
func (*NullablePutObjectLockConfigurationRequest) UnmarshalJSON ¶
func (v *NullablePutObjectLockConfigurationRequest) UnmarshalJSON(src []byte) error
func (*NullablePutObjectLockConfigurationRequest) Unset ¶
func (v *NullablePutObjectLockConfigurationRequest) Unset()
type NullablePutObjectLockConfigurationRequestRule ¶
type NullablePutObjectLockConfigurationRequestRule struct {
// contains filtered or unexported fields
}
func NewNullablePutObjectLockConfigurationRequestRule ¶
func NewNullablePutObjectLockConfigurationRequestRule(val *PutObjectLockConfigurationRequestRule) *NullablePutObjectLockConfigurationRequestRule
func (NullablePutObjectLockConfigurationRequestRule) IsSet ¶
func (v NullablePutObjectLockConfigurationRequestRule) IsSet() bool
func (NullablePutObjectLockConfigurationRequestRule) MarshalJSON ¶
func (v NullablePutObjectLockConfigurationRequestRule) MarshalJSON() ([]byte, error)
func (*NullablePutObjectLockConfigurationRequestRule) Set ¶
func (v *NullablePutObjectLockConfigurationRequestRule) Set(val *PutObjectLockConfigurationRequestRule)
func (*NullablePutObjectLockConfigurationRequestRule) UnmarshalJSON ¶
func (v *NullablePutObjectLockConfigurationRequestRule) UnmarshalJSON(src []byte) error
func (*NullablePutObjectLockConfigurationRequestRule) Unset ¶
func (v *NullablePutObjectLockConfigurationRequestRule) Unset()
type NullablePutObjectRetentionRequest ¶
type NullablePutObjectRetentionRequest struct {
// contains filtered or unexported fields
}
func NewNullablePutObjectRetentionRequest ¶
func NewNullablePutObjectRetentionRequest(val *PutObjectRetentionRequest) *NullablePutObjectRetentionRequest
func (NullablePutObjectRetentionRequest) Get ¶
func (v NullablePutObjectRetentionRequest) Get() *PutObjectRetentionRequest
func (NullablePutObjectRetentionRequest) IsSet ¶
func (v NullablePutObjectRetentionRequest) IsSet() bool
func (NullablePutObjectRetentionRequest) MarshalJSON ¶
func (v NullablePutObjectRetentionRequest) MarshalJSON() ([]byte, error)
func (*NullablePutObjectRetentionRequest) Set ¶
func (v *NullablePutObjectRetentionRequest) Set(val *PutObjectRetentionRequest)
func (*NullablePutObjectRetentionRequest) UnmarshalJSON ¶
func (v *NullablePutObjectRetentionRequest) UnmarshalJSON(src []byte) error
func (*NullablePutObjectRetentionRequest) Unset ¶
func (v *NullablePutObjectRetentionRequest) Unset()
type NullablePutObjectTaggingRequest ¶
type NullablePutObjectTaggingRequest struct {
// contains filtered or unexported fields
}
func NewNullablePutObjectTaggingRequest ¶
func NewNullablePutObjectTaggingRequest(val *PutObjectTaggingRequest) *NullablePutObjectTaggingRequest
func (NullablePutObjectTaggingRequest) Get ¶
func (v NullablePutObjectTaggingRequest) Get() *PutObjectTaggingRequest
func (NullablePutObjectTaggingRequest) IsSet ¶
func (v NullablePutObjectTaggingRequest) IsSet() bool
func (NullablePutObjectTaggingRequest) MarshalJSON ¶
func (v NullablePutObjectTaggingRequest) MarshalJSON() ([]byte, error)
func (*NullablePutObjectTaggingRequest) Set ¶
func (v *NullablePutObjectTaggingRequest) Set(val *PutObjectTaggingRequest)
func (*NullablePutObjectTaggingRequest) UnmarshalJSON ¶
func (v *NullablePutObjectTaggingRequest) UnmarshalJSON(src []byte) error
func (*NullablePutObjectTaggingRequest) Unset ¶
func (v *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 NewNullableRedirectAllRequestsTo ¶
func NewNullableRedirectAllRequestsTo(val *RedirectAllRequestsTo) *NullableRedirectAllRequestsTo
func (NullableRedirectAllRequestsTo) Get ¶
func (v NullableRedirectAllRequestsTo) Get() *RedirectAllRequestsTo
func (NullableRedirectAllRequestsTo) IsSet ¶
func (v NullableRedirectAllRequestsTo) IsSet() bool
func (NullableRedirectAllRequestsTo) MarshalJSON ¶
func (v NullableRedirectAllRequestsTo) MarshalJSON() ([]byte, error)
func (*NullableRedirectAllRequestsTo) Set ¶
func (v *NullableRedirectAllRequestsTo) Set(val *RedirectAllRequestsTo)
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 NewNullableReplicaModificationsStatus ¶
func NewNullableReplicaModificationsStatus(val *ReplicaModificationsStatus) *NullableReplicaModificationsStatus
func (NullableReplicaModificationsStatus) Get ¶
func (v NullableReplicaModificationsStatus) Get() *ReplicaModificationsStatus
func (NullableReplicaModificationsStatus) IsSet ¶
func (v NullableReplicaModificationsStatus) IsSet() bool
func (NullableReplicaModificationsStatus) MarshalJSON ¶
func (v NullableReplicaModificationsStatus) MarshalJSON() ([]byte, error)
func (*NullableReplicaModificationsStatus) Set ¶
func (v *NullableReplicaModificationsStatus) Set(val *ReplicaModificationsStatus)
func (*NullableReplicaModificationsStatus) UnmarshalJSON ¶
func (v *NullableReplicaModificationsStatus) UnmarshalJSON(src []byte) error
func (*NullableReplicaModificationsStatus) Unset ¶
func (v *NullableReplicaModificationsStatus) Unset()
type NullableReplicationConfiguration ¶
type NullableReplicationConfiguration struct {
// contains filtered or unexported fields
}
func NewNullableReplicationConfiguration ¶
func NewNullableReplicationConfiguration(val *ReplicationConfiguration) *NullableReplicationConfiguration
func (NullableReplicationConfiguration) Get ¶
func (v NullableReplicationConfiguration) Get() *ReplicationConfiguration
func (NullableReplicationConfiguration) IsSet ¶
func (v NullableReplicationConfiguration) IsSet() bool
func (NullableReplicationConfiguration) MarshalJSON ¶
func (v NullableReplicationConfiguration) MarshalJSON() ([]byte, error)
func (*NullableReplicationConfiguration) Set ¶
func (v *NullableReplicationConfiguration) Set(val *ReplicationConfiguration)
func (*NullableReplicationConfiguration) UnmarshalJSON ¶
func (v *NullableReplicationConfiguration) UnmarshalJSON(src []byte) error
func (*NullableReplicationConfiguration) Unset ¶
func (v *NullableReplicationConfiguration) Unset()
type NullableReplicationRule ¶
type NullableReplicationRule struct {
// contains filtered or unexported fields
}
func NewNullableReplicationRule ¶
func NewNullableReplicationRule(val *ReplicationRule) *NullableReplicationRule
func (NullableReplicationRule) Get ¶
func (v NullableReplicationRule) Get() *ReplicationRule
func (NullableReplicationRule) IsSet ¶
func (v NullableReplicationRule) IsSet() bool
func (NullableReplicationRule) MarshalJSON ¶
func (v NullableReplicationRule) MarshalJSON() ([]byte, error)
func (*NullableReplicationRule) Set ¶
func (v *NullableReplicationRule) Set(val *ReplicationRule)
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 (v NullableRoutingRule) Get() *RoutingRule
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 (v NullableRoutingRuleCondition) Get() *RoutingRuleCondition
func (NullableRoutingRuleCondition) IsSet ¶
func (v NullableRoutingRuleCondition) IsSet() bool
func (NullableRoutingRuleCondition) MarshalJSON ¶
func (v NullableRoutingRuleCondition) MarshalJSON() ([]byte, error)
func (*NullableRoutingRuleCondition) Set ¶
func (v *NullableRoutingRuleCondition) Set(val *RoutingRuleCondition)
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 (v NullableServerSideEncryption) Get() *ServerSideEncryption
func (NullableServerSideEncryption) IsSet ¶
func (v NullableServerSideEncryption) IsSet() bool
func (NullableServerSideEncryption) MarshalJSON ¶
func (v NullableServerSideEncryption) MarshalJSON() ([]byte, error)
func (*NullableServerSideEncryption) Set ¶
func (v *NullableServerSideEncryption) Set(val *ServerSideEncryption)
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 NewNullableServerSideEncryptionByDefault ¶
func NewNullableServerSideEncryptionByDefault(val *ServerSideEncryptionByDefault) *NullableServerSideEncryptionByDefault
func (NullableServerSideEncryptionByDefault) Get ¶
func (v NullableServerSideEncryptionByDefault) Get() *ServerSideEncryptionByDefault
func (NullableServerSideEncryptionByDefault) IsSet ¶
func (v NullableServerSideEncryptionByDefault) IsSet() bool
func (NullableServerSideEncryptionByDefault) MarshalJSON ¶
func (v NullableServerSideEncryptionByDefault) MarshalJSON() ([]byte, error)
func (*NullableServerSideEncryptionByDefault) Set ¶
func (v *NullableServerSideEncryptionByDefault) Set(val *ServerSideEncryptionByDefault)
func (*NullableServerSideEncryptionByDefault) UnmarshalJSON ¶
func (v *NullableServerSideEncryptionByDefault) UnmarshalJSON(src []byte) error
func (*NullableServerSideEncryptionByDefault) Unset ¶
func (v *NullableServerSideEncryptionByDefault) Unset()
type NullableServerSideEncryptionConfiguration ¶
type NullableServerSideEncryptionConfiguration struct {
// contains filtered or unexported fields
}
func NewNullableServerSideEncryptionConfiguration ¶
func NewNullableServerSideEncryptionConfiguration(val *ServerSideEncryptionConfiguration) *NullableServerSideEncryptionConfiguration
func (NullableServerSideEncryptionConfiguration) IsSet ¶
func (v NullableServerSideEncryptionConfiguration) IsSet() bool
func (NullableServerSideEncryptionConfiguration) MarshalJSON ¶
func (v NullableServerSideEncryptionConfiguration) MarshalJSON() ([]byte, error)
func (*NullableServerSideEncryptionConfiguration) Set ¶
func (v *NullableServerSideEncryptionConfiguration) Set(val *ServerSideEncryptionConfiguration)
func (*NullableServerSideEncryptionConfiguration) UnmarshalJSON ¶
func (v *NullableServerSideEncryptionConfiguration) UnmarshalJSON(src []byte) error
func (*NullableServerSideEncryptionConfiguration) Unset ¶
func (v *NullableServerSideEncryptionConfiguration) Unset()
type NullableServerSideEncryptionRule ¶
type NullableServerSideEncryptionRule struct {
// contains filtered or unexported fields
}
func NewNullableServerSideEncryptionRule ¶
func NewNullableServerSideEncryptionRule(val *ServerSideEncryptionRule) *NullableServerSideEncryptionRule
func (NullableServerSideEncryptionRule) Get ¶
func (v NullableServerSideEncryptionRule) Get() *ServerSideEncryptionRule
func (NullableServerSideEncryptionRule) IsSet ¶
func (v NullableServerSideEncryptionRule) IsSet() bool
func (NullableServerSideEncryptionRule) MarshalJSON ¶
func (v NullableServerSideEncryptionRule) MarshalJSON() ([]byte, error)
func (*NullableServerSideEncryptionRule) Set ¶
func (v *NullableServerSideEncryptionRule) Set(val *ServerSideEncryptionRule)
func (*NullableServerSideEncryptionRule) UnmarshalJSON ¶
func (v *NullableServerSideEncryptionRule) UnmarshalJSON(src []byte) error
func (*NullableServerSideEncryptionRule) Unset ¶
func (v *NullableServerSideEncryptionRule) Unset()
type NullableStorageClass ¶
type NullableStorageClass struct {
// contains filtered or unexported fields
}
func NewNullableStorageClass ¶
func NewNullableStorageClass(val *StorageClass) *NullableStorageClass
func (NullableStorageClass) Get ¶
func (v NullableStorageClass) Get() *StorageClass
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 (v NullableUploadPartCopyOutput) Get() *UploadPartCopyOutput
func (NullableUploadPartCopyOutput) IsSet ¶
func (v NullableUploadPartCopyOutput) IsSet() bool
func (NullableUploadPartCopyOutput) MarshalJSON ¶
func (v NullableUploadPartCopyOutput) MarshalJSON() ([]byte, error)
func (*NullableUploadPartCopyOutput) Set ¶
func (v *NullableUploadPartCopyOutput) Set(val *UploadPartCopyOutput)
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 (v NullableUploadPartRequest) Get() *UploadPartRequest
func (NullableUploadPartRequest) IsSet ¶
func (v NullableUploadPartRequest) IsSet() bool
func (NullableUploadPartRequest) MarshalJSON ¶
func (v NullableUploadPartRequest) MarshalJSON() ([]byte, error)
func (*NullableUploadPartRequest) Set ¶
func (v *NullableUploadPartRequest) Set(val *UploadPartRequest)
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 ¶
GetETag returns the ETag field value If the value is explicit nil, the zero value for string will be returned
func (*Object) GetETagOk ¶
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 ¶
GetKey returns the Key field value If the value is explicit nil, the zero value for string will be returned
func (*Object) GetKeyOk ¶
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 ¶
GetLastModified returns the LastModified field value If the value is explicit nil, the zero value for time.Time will be returned
func (*Object) GetLastModifiedOk ¶
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 ¶
GetOwner returns the Owner field value If the value is explicit nil, the zero value for Owner will be returned
func (*Object) GetOwnerOk ¶
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 ¶
GetSize returns the Size field value If the value is explicit nil, the zero value for int32 will be returned
func (*Object) GetSizeOk ¶
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) HasLastModified ¶
HasLastModified returns a boolean if a field has been set.
func (*Object) HasStorageClass ¶
HasStorageClass returns a boolean if a field has been set.
func (Object) MarshalJSON ¶
func (*Object) SetLastModified ¶
SetLastModified 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 ¶
func (a *ObjectLockApiService) GetObjectLegalHoldExecute(r ApiGetObjectLegalHoldRequest) (*ObjectLegalHoldConfiguration, *APIResponse, error)
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 ¶
func (a *ObjectLockApiService) GetObjectLockConfigurationExecute(r ApiGetObjectLockConfigurationRequest) (*GetObjectLockConfigurationOutput, *APIResponse, error)
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 ¶
func (a *ObjectLockApiService) GetObjectRetentionExecute(r ApiGetObjectRetentionRequest) (*ObjectLockRetention, *APIResponse, error)
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 ¶
func (v ObjectStorageClass) Ptr() *ObjectStorageClass
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) SetIsLatest ¶
func (o *ObjectVersion) SetIsLatest(v bool)
SetIsLatest 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) 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 ¶
func (v ObjectVersionStorageClass) Ptr() *ObjectVersionStorageClass
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 ¶
func (a *ObjectsApiService) CopyObjectExecute(r ApiCopyObjectRequest) (*CopyObjectResult, *APIResponse, error)
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 ¶
func (a *ObjectsApiService) DeleteObjectsExecute(r ApiDeleteObjectsRequest) (*DeleteObjectsOutput, *APIResponse, error)
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 ¶
func (a *ObjectsApiService) HeadObjectExecute(r ApiHeadObjectRequest) (*HeadObjectOutput, *APIResponse, error)
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 ¶
func (a *ObjectsApiService) ListObjectsExecute(r ApiListObjectsRequest) (*ListObjectsOutput, *APIResponse, error)
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 ¶
func (a *ObjectsApiService) ListObjectsV2Execute(r ApiListObjectsV2Request) (*ListBucketResultV2, *APIResponse, error)
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` — 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` — 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 ¶
GetDisplayName returns the DisplayName field value If the value is explicit nil, the zero value for string will be returned
func (*Owner) GetDisplayNameOk ¶
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 ¶
GetID returns the ID field value If the value is explicit nil, the zero value for int32 will be returned
func (*Owner) GetIDOk ¶
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 ¶
HasDisplayName returns a boolean if a field has been set.
func (Owner) MarshalJSON ¶
func (*Owner) SetDisplayName ¶
SetDisplayName 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 ¶
GetETag returns the ETag field value If the value is explicit nil, the zero value for string will be returned
func (*Part) GetETagOk ¶
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 ¶
GetLastModified returns the LastModified field value If the value is explicit nil, the zero value for time.Time will be returned
func (*Part) GetLastModifiedOk ¶
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 ¶
GetPartNumber returns the PartNumber field value If the value is explicit nil, the zero value for int32 will be returned
func (*Part) GetPartNumberOk ¶
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 ¶
GetSize returns the Size field value If the value is explicit nil, the zero value for int32 will be returned
func (*Part) GetSizeOk ¶
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) HasLastModified ¶
HasLastModified returns a boolean if a field has been set.
func (*Part) HasPartNumber ¶
HasPartNumber returns a boolean if a field has been set.
func (Part) MarshalJSON ¶
func (*Part) SetLastModified ¶
SetLastModified 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 ¶
Principal struct for Principal
func NewPrincipal ¶
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 ¶
GetAWS returns the AWS field value If the value is explicit nil, the zero value for []string will be returned
func (*Principal) GetAWSOk ¶
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) MarshalJSON ¶
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)
type PublicAccessBlockApiService ¶
type PublicAccessBlockApiService service
PublicAccessBlockApiService PublicAccessBlockApi service
func (*PublicAccessBlockApiService) DeletePublicAccessBlock ¶
func (a *PublicAccessBlockApiService) DeletePublicAccessBlock(ctx context.Context, bucket string) ApiDeletePublicAccessBlockRequest
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 ¶
func (a *PublicAccessBlockApiService) GetPublicAccessBlock(ctx context.Context, bucket string) ApiGetPublicAccessBlockRequest
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 ¶
func (a *PublicAccessBlockApiService) GetPublicAccessBlockExecute(r ApiGetPublicAccessBlockRequest) (*BlockPublicAccessOutput, *APIResponse, error)
Execute executes the request
@return BlockPublicAccessOutput
func (*PublicAccessBlockApiService) PutPublicAccessBlock ¶
func (a *PublicAccessBlockApiService) PutPublicAccessBlock(ctx context.Context, bucket string) ApiPutPublicAccessBlockRequest
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 ¶
func (o *PutBucketEncryptionRequest) GetRules() *[]ServerSideEncryptionRule
GetRules returns the Rules field value If the value is explicit nil, the zero value for []ServerSideEncryptionRule will be returned
func (*PutBucketEncryptionRequest) GetRulesOk ¶
func (o *PutBucketEncryptionRequest) GetRulesOk() (*[]ServerSideEncryptionRule, 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 (*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 ¶
func (o *PutBucketEncryptionRequest) SetRules(v []ServerSideEncryptionRule)
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 ¶
func (o *PutBucketVersioningRequest) GetStatus() *BucketVersioningStatus
GetStatus returns the Status field value If the value is explicit nil, the zero value for BucketVersioningStatus will be returned
func (*PutBucketVersioningRequest) GetStatusOk ¶
func (o *PutBucketVersioningRequest) GetStatusOk() (*BucketVersioningStatus, 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 (*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 ¶
func (o *PutBucketVersioningRequest) SetStatus(v BucketVersioningStatus)
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 ¶
func (o *PutObjectLockConfigurationRequest) GetRule() *PutObjectLockConfigurationRequestRule
GetRule returns the Rule field value If the value is explicit nil, the zero value for PutObjectLockConfigurationRequestRule will be returned
func (*PutObjectLockConfigurationRequest) GetRuleOk ¶
func (o *PutObjectLockConfigurationRequest) GetRuleOk() (*PutObjectLockConfigurationRequestRule, bool)
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 ¶
func (o *PutObjectLockConfigurationRequest) HasRule() bool
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 ¶
func (o *PutObjectLockConfigurationRequest) SetRule(v PutObjectLockConfigurationRequestRule)
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 ¶
GetHostName returns the HostName field value If the value is explicit nil, the zero value for string will be returned
func (*Redirect) GetHostNameOk ¶
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 ¶
GetHttpRedirectCode returns the HttpRedirectCode field value If the value is explicit nil, the zero value for string will be returned
func (*Redirect) GetHttpRedirectCodeOk ¶
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 ¶
GetProtocol returns the Protocol field value If the value is explicit nil, the zero value for string will be returned
func (*Redirect) GetProtocolOk ¶
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 ¶
GetReplaceKeyPrefixWith returns the ReplaceKeyPrefixWith field value If the value is explicit nil, the zero value for string will be returned
func (*Redirect) GetReplaceKeyPrefixWithOk ¶
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 ¶
GetReplaceKeyWith returns the ReplaceKeyWith field value If the value is explicit nil, the zero value for string will be returned
func (*Redirect) GetReplaceKeyWithOk ¶
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 ¶
HasHostName returns a boolean if a field has been set.
func (*Redirect) HasHttpRedirectCode ¶
HasHttpRedirectCode returns a boolean if a field has been set.
func (*Redirect) HasProtocol ¶
HasProtocol returns a boolean if a field has been set.
func (*Redirect) HasReplaceKeyPrefixWith ¶
HasReplaceKeyPrefixWith returns a boolean if a field has been set.
func (*Redirect) HasReplaceKeyWith ¶
HasReplaceKeyWith returns a boolean if a field has been set.
func (Redirect) MarshalJSON ¶
func (*Redirect) SetHostName ¶
SetHostName sets field value
func (*Redirect) SetHttpRedirectCode ¶
SetHttpRedirectCode sets field value
func (*Redirect) SetProtocol ¶
SetProtocol sets field value
func (*Redirect) SetReplaceKeyPrefixWith ¶
SetReplaceKeyPrefixWith sets field value
func (*Redirect) SetReplaceKeyWith ¶
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 ¶
func (v ReplicaModificationsStatus) Ptr() *ReplicaModificationsStatus
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 ¶
func (a *ReplicationApiService) GetBucketReplicationExecute(r ApiGetBucketReplicationRequest) (*GetBucketReplicationOutput, *APIResponse, error)
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) 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 ¶
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 ¶
GetID returns the ID field value If the value is explicit nil, the zero value for string will be returned
func (*Rule) GetIDOk ¶
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 ¶
GetPrefix returns the Prefix field value If the value is explicit nil, the zero value for string will be returned
func (*Rule) GetPrefixOk ¶
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 ¶
HasAbortIncompleteMultipartUpload returns a boolean if a field has been set.
func (*Rule) HasExpiration ¶
HasExpiration returns a boolean if a field has been set.
func (*Rule) HasNoncurrentVersionExpiration ¶
HasNoncurrentVersionExpiration returns a boolean if a field has been set.
func (Rule) MarshalJSON ¶
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) SetNoncurrentVersionExpiration ¶
func (o *Rule) SetNoncurrentVersionExpiration(v NoncurrentVersionExpiration)
SetNoncurrentVersionExpiration 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
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 ¶
func (v ServerSideEncryption) Ptr() *ServerSideEncryption
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 ¶
func (o *ServerSideEncryptionByDefault) GetSSEAlgorithm() *ServerSideEncryption
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 ¶
func (o *ServerSideEncryptionByDefault) SetSSEAlgorithm(v ServerSideEncryption)
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 ¶
func (o *ServerSideEncryptionConfiguration) GetRules() *[]ServerSideEncryptionRule
GetRules returns the Rules field value If the value is explicit nil, the zero value for []ServerSideEncryptionRule will be returned
func (*ServerSideEncryptionConfiguration) GetRulesOk ¶
func (o *ServerSideEncryptionConfiguration) GetRulesOk() (*[]ServerSideEncryptionRule, 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 (*ServerSideEncryptionConfiguration) HasRules ¶
func (o *ServerSideEncryptionConfiguration) HasRules() bool
HasRules returns a boolean if a field has been set.
func (ServerSideEncryptionConfiguration) MarshalJSON ¶
func (o ServerSideEncryptionConfiguration) MarshalJSON() ([]byte, error)
func (*ServerSideEncryptionConfiguration) SetRules ¶
func (o *ServerSideEncryptionConfiguration) SetRules(v []ServerSideEncryptionRule)
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 ¶
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 ¶
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 ¶
GetKey returns the Key field value If the value is explicit nil, the zero value for string will be returned
func (*Tag) GetKeyOk ¶
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 ¶
GetValue returns the Value field value If the value is explicit nil, the zero value for string will be returned
func (*Tag) GetValueOk ¶
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) MarshalJSON ¶
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 ¶
func (a *TaggingApiService) GetBucketTaggingExecute(r ApiGetBucketTaggingRequest) (*GetBucketTaggingOutput, *APIResponse, error)
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 ¶
func (a *TaggingApiService) GetObjectTaggingExecute(r ApiGetObjectTaggingRequest) (*GetObjectTaggingOutput, *APIResponse, error)
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 ¶
func (a *UploadsApiService) CompleteMultipartUploadExecute(r ApiCompleteMultipartUploadRequest) (*CompleteMultipartUploadOutput, *APIResponse, error)
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 ¶
func (a *UploadsApiService) CreateMultipartUploadExecute(r ApiCreateMultipartUploadRequest) (*CreateMultipartUploadOutput, *APIResponse, error)
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 ¶
func (a *UploadsApiService) ListMultipartUploadsExecute(r ApiListMultipartUploadsRequest) (*ListMultipartUploadsOutput, *APIResponse, error)
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 ¶
func (a *UploadsApiService) ListPartsExecute(r ApiListPartsRequest) (*ListPartsOutput, *APIResponse, error)
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 ¶
func (a *UploadsApiService) UploadPartCopyExecute(r ApiUploadPartCopyRequest) (*UploadPartCopyOutput, *APIResponse, error)
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 ¶
func (a *VersioningApiService) GetBucketVersioningExecute(r ApiGetBucketVersioningRequest) (*GetBucketVersioningOutput, *APIResponse, error)
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 ¶
func (a *VersionsApiService) ListObjectVersionsExecute(r ApiListObjectVersionsRequest) (*ListObjectVersionsOutput, *APIResponse, error)
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 ¶
func (a *WebsiteApiService) GetBucketWebsiteExecute(r ApiGetBucketWebsiteRequest) (*GetBucketWebsiteOutput, *APIResponse, error)
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
¶
- api_buckets.go
- api_cors.go
- api_encryption.go
- api_lifecycle.go
- api_object_lock.go
- api_objects.go
- api_policy.go
- api_public_access_block.go
- api_replication.go
- api_tagging.go
- api_uploads.go
- api_versioning.go
- api_versions.go
- api_website.go
- client.go
- configuration.go
- logger.go
- model_abort_incomplete_multipart_upload.go
- model_block_public_access_output.go
- model_block_public_access_payload.go
- model_bucket.go
- model_bucket_location.go
- model_bucket_policy.go
- model_bucket_policy_condition.go
- model_bucket_policy_condition_date.go
- model_bucket_policy_condition_ip_address.go
- model_bucket_policy_statement.go
- model_bucket_versioning_status.go
- model_common_prefix.go
- model_complete_multipart_upload_output.go
- model_completed_part.go
- model_copy_object_request.go
- model_copy_object_result.go
- model_copy_part_result.go
- model_cors_rule.go
- model_create_bucket_configuration.go
- model_create_multipart_upload_output.go
- model_csv_input.go
- model_csv_output.go
- model_default_retention.go
- model_delete_marker_entry.go
- model_delete_objects_output.go
- model_delete_objects_request.go
- model_deleted_object.go
- model_deletion_error.go
- model_destination.go
- model_encoding_type.go
- model_encryption.go
- model_error.go
- model_error_document.go
- model_example.go
- model_example_complete_multipart_upload.go
- model_expiration_status.go
- model_expression_type.go
- model_get_bucket_cors_output.go
- model_get_bucket_lifecycle_output.go
- model_get_bucket_replication_output.go
- model_get_bucket_tagging_output.go
- model_get_bucket_versioning_output.go
- model_get_bucket_website_output.go
- model_get_object_lock_configuration_output.go
- model_get_object_tagging_output.go
- model_head_object_output.go
- model_index_document.go
- model_initiator.go
- model_input_serialization.go
- model_input_serialization_json.go
- model_json_output.go
- model_lifecycle_expiration.go
- model_list_all_my_buckets_result.go
- model_list_bucket_result_v2.go
- model_list_multipart_uploads_output.go
- model_list_object_versions_output.go
- model_list_objects_output.go
- model_list_parts_output.go
- model_metadata_entry.go
- model_mfa_delete_status.go
- model_multipart_upload.go
- model_noncurrent_version_expiration.go
- model_object.go
- model_object_identifier.go
- model_object_legal_hold_configuration.go
- model_object_lock_retention.go
- model_object_lock_rule.go
- model_object_storage_class.go
- model_object_version.go
- model_object_version_storage_class.go
- model_output_serialization.go
- model_owner.go
- model_part.go
- model_policy_status.go
- model_post_object_request.go
- model_principal.go
- model_principal_all_of.go
- model_put_bucket_cors_request.go
- model_put_bucket_encryption_request.go
- model_put_bucket_lifecycle_request.go
- model_put_bucket_tagging_request.go
- model_put_bucket_versioning_request.go
- model_put_bucket_website_request.go
- model_put_object_lock_configuration_request.go
- model_put_object_lock_configuration_request_rule.go
- model_put_object_retention_request.go
- model_put_object_tagging_request.go
- model_redirect.go
- model_redirect_all_requests_to.go
- model_replica_modifications_status.go
- model_replication_configuration.go
- model_replication_rule.go
- model_routing_rule.go
- model_routing_rule_condition.go
- model_rule.go
- model_server_side_encryption.go
- model_server_side_encryption_by_default.go
- model_server_side_encryption_configuration.go
- model_server_side_encryption_rule.go
- model_storage_class.go
- model_tag.go
- model_upload_part_copy_output.go
- model_upload_part_request.go
- response.go
- utils.go