From 6f3bf98d0788900790bce04c3e80cf5067747ee5 Mon Sep 17 00:00:00 2001 From: yndu13 Date: Thu, 25 Jan 2024 17:22:55 +0800 Subject: [PATCH] [OSS gateway Util]Init parseXml method --- alibabacloud-gateway-oss/util/Teafile | 79 + .../util/golang/client/client.go | 17 + .../util/golang/client/structs.go | 14596 ++++++++++++++++ alibabacloud-gateway-oss/util/golang/go.mod | 4 + alibabacloud-gateway-oss/util/java/pom.xml | 99 + .../com/aliyun/gateway/oss/util/Client.java | 10 + .../util/models/AbortBucketWormResponse.java | 34 + .../models/AbortMultipartUploadRequest.java | 26 + .../models/AbortMultipartUploadResponse.java | 34 + .../oss/util/models/AccessControlList.java | 23 + .../oss/util/models/AccessControlPolicy.java | 34 + .../models/AccessMonitorConfiguration.java | 23 + .../gateway/oss/util/models/AccessPoint.java | 78 + .../models/AccessPointVpcConfiguration.java | 23 + .../oss/util/models/AppendObjectHeaders.java | 178 + .../oss/util/models/AppendObjectRequest.java | 43 + .../oss/util/models/AppendObjectResponse.java | 34 + .../ApplyServerSideEncryptionByDefault.java | 45 + .../ArchiveDirectReadConfiguration.java | 23 + .../gateway/oss/util/models/Bucket.java | 89 + .../models/BucketAntiDDOSConfiguration.java | 42 + .../oss/util/models/BucketAntiDDOSInfo.java | 130 + .../util/models/BucketCnameConfiguration.java | 42 + .../BucketDataRedundancyTransition.java | 100 + .../gateway/oss/util/models/BucketInfo.java | 248 + .../oss/util/models/BucketLoggingStatus.java | 23 + .../BucketResourceGroupConfiguration.java | 23 + .../gateway/oss/util/models/BucketStat.java | 188 + .../oss/util/models/CORSConfiguration.java | 34 + .../gateway/oss/util/models/CORSRule.java | 67 + .../gateway/oss/util/models/CSVInput.java | 89 + .../gateway/oss/util/models/CSVOutput.java | 34 + .../oss/util/models/CallbackPolicy.java | 64 + .../util/models/CloseMetaQueryResponse.java | 34 + .../oss/util/models/CnameCertificate.java | 89 + .../gateway/oss/util/models/CnameInfo.java | 56 + .../gateway/oss/util/models/CnameSummary.java | 56 + .../gateway/oss/util/models/CnameToken.java | 56 + .../gateway/oss/util/models/CommonPrefix.java | 23 + .../models/CompleteBucketWormRequest.java | 26 + .../models/CompleteBucketWormResponse.java | 34 + .../util/models/CompleteMultipartUpload.java | 53 + .../CompleteMultipartUploadHeaders.java | 62 + .../CompleteMultipartUploadRequest.java | 53 + .../CompleteMultipartUploadResponse.java | 45 + .../CompleteMultipartUploadResponseBody.java | 84 + .../oss/util/models/CopyObjectHeaders.java | 255 + .../oss/util/models/CopyObjectResponse.java | 45 + .../util/models/CopyObjectResponseBody.java | 40 + .../oss/util/models/CopyObjectResult.java | 34 + .../oss/util/models/CopyPartResult.java | 34 + .../CreateAccessPointConfiguration.java | 45 + ...ateAccessPointForObjectProcessHeaders.java | 34 + ...ateAccessPointForObjectProcessRequest.java | 34 + ...teAccessPointForObjectProcessResponse.java | 45 + ...cessPointForObjectProcessResponseBody.java | 34 + .../util/models/CreateAccessPointRequest.java | 26 + .../models/CreateAccessPointResponse.java | 45 + .../util/models/CreateAccessPointResult.java | 34 + .../models/CreateBucketConfiguration.java | 34 + ...BucketDataRedundancyTransitionRequest.java | 23 + ...ucketDataRedundancyTransitionResponse.java | 45 + ...tDataRedundancyTransitionResponseBody.java | 23 + .../util/models/CreateCnameTokenRequest.java | 26 + .../util/models/CreateCnameTokenResponse.java | 45 + .../models/CreateSelectObjectMetaRequest.java | 26 + .../CreateSelectObjectMetaResponse.java | 45 + .../gateway/oss/util/models/Delete.java | 34 + ...eteAccessPointForObjectProcessHeaders.java | 34 + ...teAccessPointForObjectProcessResponse.java | 34 + .../util/models/DeleteAccessPointHeaders.java | 37 + ...essPointPolicyForObjectProcessHeaders.java | 34 + ...ssPointPolicyForObjectProcessResponse.java | 34 + .../DeleteAccessPointPolicyHeaders.java | 37 + .../DeleteAccessPointPolicyResponse.java | 34 + ...teAccessPointPublicAccessBlockRequest.java | 23 + ...eAccessPointPublicAccessBlockResponse.java | 34 + .../models/DeleteAccessPointResponse.java | 34 + .../DeleteBucketCallbackPolicyResponse.java | 34 + .../util/models/DeleteBucketCorsResponse.java | 34 + ...BucketDataRedundancyTransitionRequest.java | 23 + ...ucketDataRedundancyTransitionResponse.java | 34 + .../DeleteBucketEncryptionResponse.java | 34 + .../models/DeleteBucketInventoryRequest.java | 26 + .../models/DeleteBucketInventoryResponse.java | 34 + .../models/DeleteBucketLifecycleResponse.java | 34 + .../models/DeleteBucketLoggingResponse.java | 34 + .../models/DeleteBucketPolicyResponse.java | 34 + ...DeleteBucketPublicAccessBlockResponse.java | 34 + .../DeleteBucketReplicationRequest.java | 26 + .../DeleteBucketReplicationResponse.java | 34 + .../oss/util/models/DeleteBucketResponse.java | 34 + .../DeleteBucketResponseHeaderResponse.java | 34 + .../util/models/DeleteBucketTagsResponse.java | 34 + .../models/DeleteBucketWebsiteResponse.java | 34 + .../oss/util/models/DeleteCnameRequest.java | 26 + .../oss/util/models/DeleteCnameResponse.java | 34 + .../models/DeleteLiveChannelResponse.java | 34 + .../oss/util/models/DeleteMarkerEntry.java | 67 + .../models/DeleteMultipleObjectsHeaders.java | 34 + .../models/DeleteMultipleObjectsRequest.java | 40 + .../models/DeleteMultipleObjectsResponse.java | 45 + .../DeleteMultipleObjectsResponseBody.java | 40 + .../oss/util/models/DeleteObjectRequest.java | 26 + .../oss/util/models/DeleteObjectResponse.java | 34 + .../models/DeleteObjectTaggingRequest.java | 26 + .../models/DeleteObjectTaggingResponse.java | 34 + .../DeletePublicAccessBlockResponse.java | 34 + .../oss/util/models/DeleteStyleRequest.java | 26 + .../oss/util/models/DeleteStyleResponse.java | 34 + ...eteUserDefinedLogFieldsConfigResponse.java | 34 + .../oss/util/models/DeletedObject.java | 56 + .../util/models/DescribeRegionsRequest.java | 26 + .../util/models/DescribeRegionsResponse.java | 45 + .../models/DescribeRegionsResponseBody.java | 26 + .../oss/util/models/DoMetaQueryRequest.java | 26 + .../oss/util/models/DoMetaQueryResponse.java | 45 + .../util/models/DoMetaQueryResponseBody.java | 64 + .../aliyun/gateway/oss/util/models/Error.java | 56 + .../oss/util/models/ErrorDocument.java | 34 + .../util/models/ExtendBucketWormRequest.java | 42 + .../util/models/ExtendBucketWormResponse.java | 34 + .../util/models/ExtendWormConfiguration.java | 23 + ...essPointConfigForObjectProcessHeaders.java | 34 + ...ssPointConfigForObjectProcessResponse.java | 45 + ...intConfigForObjectProcessResponseBody.java | 23 + ...GetAccessPointForObjectProcessHeaders.java | 34 + ...etAccessPointForObjectProcessResponse.java | 45 + ...cessPointForObjectProcessResponseBody.java | 130 + .../util/models/GetAccessPointHeaders.java | 37 + ...essPointPolicyForObjectProcessHeaders.java | 34 + ...ssPointPolicyForObjectProcessResponse.java | 45 + .../models/GetAccessPointPolicyHeaders.java | 37 + .../models/GetAccessPointPolicyResponse.java | 45 + ...etAccessPointPublicAccessBlockRequest.java | 23 + ...tAccessPointPublicAccessBlockResponse.java | 45 + .../util/models/GetAccessPointResponse.java | 45 + .../oss/util/models/GetAccessPointResult.java | 141 + .../GetBucketAccessMonitorResponse.java | 45 + .../GetBucketAccessMonitorResponseBody.java | 26 + .../oss/util/models/GetBucketAclResponse.java | 45 + .../util/models/GetBucketAclResponseBody.java | 62 + .../GetBucketArchiveDirectReadResponse.java | 45 + .../GetBucketCallbackPolicyResponse.java | 45 + .../util/models/GetBucketCorsResponse.java | 45 + .../models/GetBucketCorsResponseBody.java | 45 + ...BucketDataRedundancyTransitionRequest.java | 23 + ...ucketDataRedundancyTransitionResponse.java | 45 + .../models/GetBucketEncryptionResponse.java | 45 + .../GetBucketEncryptionResponseBody.java | 26 + .../models/GetBucketHttpsConfigResponse.java | 45 + .../util/models/GetBucketInfoResponse.java | 45 + .../models/GetBucketInventoryRequest.java | 26 + .../models/GetBucketInventoryResponse.java | 45 + .../GetBucketInventoryResponseBody.java | 140 + .../models/GetBucketLifecycleResponse.java | 45 + .../GetBucketLifecycleResponseBody.java | 26 + .../models/GetBucketLocationResponse.java | 45 + .../models/GetBucketLocationResponseBody.java | 30 + .../util/models/GetBucketLoggingResponse.java | 45 + .../models/GetBucketLoggingResponseBody.java | 26 + .../util/models/GetBucketPolicyResponse.java | 45 + .../models/GetBucketPolicyStatusResponse.java | 45 + .../GetBucketPolicyStatusResponseBody.java | 23 + .../GetBucketPublicAccessBlockResponse.java | 45 + .../util/models/GetBucketRefererResponse.java | 45 + .../GetBucketReplicationLocationResponse.java | 45 + ...BucketReplicationLocationResponseBody.java | 64 + .../GetBucketReplicationProgressRequest.java | 26 + .../GetBucketReplicationProgressResponse.java | 45 + ...BucketReplicationProgressResponseBody.java | 26 + .../models/GetBucketReplicationResponse.java | 45 + .../GetBucketReplicationResponseBody.java | 26 + .../oss/util/models/GetBucketRequest.java | 100 + .../GetBucketRequestPaymentResponse.java | 45 + .../GetBucketRequestPaymentResponseBody.java | 26 + .../GetBucketResourceGroupResponse.java | 45 + .../GetBucketResourceGroupResponseBody.java | 26 + .../oss/util/models/GetBucketResponse.java | 45 + .../util/models/GetBucketResponseBody.java | 124 + .../GetBucketResponseHeaderResponse.java | 45 + .../util/models/GetBucketStatResponse.java | 45 + .../util/models/GetBucketTagsResponse.java | 45 + .../models/GetBucketTagsResponseBody.java | 26 + ...GetBucketTransferAccelerationResponse.java | 45 + ...ucketTransferAccelerationResponseBody.java | 29 + .../models/GetBucketVersioningResponse.java | 45 + .../GetBucketVersioningResponseBody.java | 29 + .../util/models/GetBucketWebsiteResponse.java | 45 + .../models/GetBucketWebsiteResponseBody.java | 76 + .../util/models/GetBucketWormResponse.java | 45 + .../models/GetBucketWormResponseBody.java | 73 + .../oss/util/models/GetCnameTokenRequest.java | 26 + .../util/models/GetCnameTokenResponse.java | 45 + .../models/GetLiveChannelHistoryResponse.java | 45 + .../GetLiveChannelHistoryResponseBody.java | 26 + .../models/GetLiveChannelInfoResponse.java | 45 + .../GetLiveChannelInfoResponseBody.java | 58 + .../models/GetLiveChannelStatResponse.java | 45 + .../GetLiveChannelStatResponseBody.java | 85 + .../models/GetMetaQueryStatusResponse.java | 45 + .../GetMetaQueryStatusResponseBody.java | 78 + .../oss/util/models/GetObjectAclRequest.java | 26 + .../oss/util/models/GetObjectAclResponse.java | 45 + .../util/models/GetObjectAclResponseBody.java | 63 + .../oss/util/models/GetObjectHeaders.java | 127 + .../oss/util/models/GetObjectMetaRequest.java | 26 + .../util/models/GetObjectMetaResponse.java | 34 + .../oss/util/models/GetObjectRequest.java | 110 + .../oss/util/models/GetObjectResponse.java | 45 + .../util/models/GetObjectTaggingRequest.java | 26 + .../util/models/GetObjectTaggingResponse.java | 45 + .../models/GetObjectTaggingResponseBody.java | 26 + .../models/GetPublicAccessBlockResponse.java | 45 + .../oss/util/models/GetServiceRequest.java | 58 + .../oss/util/models/GetServiceResponse.java | 45 + .../util/models/GetServiceResponseBody.java | 135 + .../oss/util/models/GetStyleRequest.java | 26 + .../oss/util/models/GetStyleResponse.java | 45 + .../oss/util/models/GetStyleResponseBody.java | 68 + .../oss/util/models/GetSymlinkRequest.java | 26 + .../oss/util/models/GetSymlinkResponse.java | 34 + .../models/GetUserAntiDDosInfoResponse.java | 45 + .../GetUserAntiDDosInfoResponseBody.java | 26 + ...GetUserDefinedLogFieldsConfigResponse.java | 45 + .../util/models/GetVodPlaylistRequest.java | 41 + .../util/models/GetVodPlaylistResponse.java | 45 + .../oss/util/models/HeadObjectHeaders.java | 83 + .../oss/util/models/HeadObjectRequest.java | 26 + .../oss/util/models/HeadObjectResponse.java | 34 + .../oss/util/models/HttpsConfiguration.java | 53 + .../oss/util/models/IndexDocument.java | 45 + .../models/InitBucketAntiDDosInfoHeaders.java | 51 + .../models/InitBucketAntiDDosInfoRequest.java | 26 + .../InitBucketAntiDDosInfoResponse.java | 34 + .../models/InitUserAntiDDosInfoResponse.java | 34 + .../models/InitiateBucketWormRequest.java | 26 + .../models/InitiateBucketWormResponse.java | 34 + .../InitiateMultipartUploadHeaders.java | 184 + .../InitiateMultipartUploadRequest.java | 27 + .../InitiateMultipartUploadResponse.java | 45 + .../InitiateMultipartUploadResponseBody.java | 68 + .../models/InitiateWormConfiguration.java | 23 + .../oss/util/models/InputSerialization.java | 45 + .../util/models/InventoryConfiguration.java | 108 + .../oss/util/models/InventoryDestination.java | 23 + .../oss/util/models/InventoryEncryption.java | 34 + .../oss/util/models/InventoryFilter.java | 23 + .../models/InventoryOSSBucketDestination.java | 78 + .../oss/util/models/InventorySchedule.java | 23 + .../gateway/oss/util/models/JSONInput.java | 45 + .../gateway/oss/util/models/JSONOutput.java | 23 + .../util/models/LifecycleConfiguration.java | 23 + .../oss/util/models/LifecycleRule.java | 398 + ...stAccessPointsForObjectProcessRequest.java | 34 + ...tAccessPointsForObjectProcessResponse.java | 45 + ...essPointsForObjectProcessResponseBody.java | 127 + .../util/models/ListAccessPointsRequest.java | 43 + .../util/models/ListAccessPointsResponse.java | 45 + .../util/models/ListAccessPointsResult.java | 56 + .../models/ListBucketAntiDDosInfoRequest.java | 46 + .../ListBucketAntiDDosInfoResponse.java | 45 + .../ListBucketAntiDDosInfoResponseBody.java | 57 + ...ucketDataRedundancyTransitionResponse.java | 45 + .../models/ListBucketInventoryRequest.java | 30 + .../models/ListBucketInventoryResponse.java | 45 + .../ListBucketInventoryResponseBody.java | 57 + .../oss/util/models/ListBucketsHeaders.java | 37 + .../oss/util/models/ListBucketsRequest.java | 54 + .../oss/util/models/ListBucketsResponse.java | 45 + .../util/models/ListBucketsResponseBody.java | 110 + .../oss/util/models/ListCnameResponse.java | 45 + .../util/models/ListCnameResponseBody.java | 54 + .../util/models/ListLiveChannelRequest.java | 55 + .../util/models/ListLiveChannelResponse.java | 45 + .../models/ListLiveChannelResponseBody.java | 99 + .../models/ListMultipartUploadsRequest.java | 106 + .../models/ListMultipartUploadsResponse.java | 45 + .../ListMultipartUploadsResponseBody.java | 184 + .../models/ListObjectVersionsRequest.java | 115 + .../models/ListObjectVersionsResponse.java | 45 + .../ListObjectVersionsResponseBody.java | 199 + .../oss/util/models/ListObjectsRequest.java | 95 + .../oss/util/models/ListObjectsResponse.java | 45 + .../util/models/ListObjectsResponseBody.java | 155 + .../oss/util/models/ListObjectsV2Request.java | 129 + .../util/models/ListObjectsV2Response.java | 45 + .../models/ListObjectsV2ResponseBody.java | 183 + .../oss/util/models/ListPartsRequest.java | 74 + .../oss/util/models/ListPartsResponse.java | 45 + .../util/models/ListPartsResponseBody.java | 125 + .../util/models/ListPartsShrinkRequest.java | 74 + .../oss/util/models/ListStyleResponse.java | 45 + .../util/models/ListStyleResponseBody.java | 26 + ...stUserDataRedundancyTransitionRequest.java | 34 + ...tUserDataRedundancyTransitionResponse.java | 45 + ...rDataRedundancyTransitionResponseBody.java | 45 + .../gateway/oss/util/models/LiveChannel.java | 78 + .../oss/util/models/LiveChannelAudio.java | 45 + .../util/models/LiveChannelConfiguration.java | 56 + .../oss/util/models/LiveChannelPlayUrls.java | 23 + .../util/models/LiveChannelPublishUrls.java | 23 + .../oss/util/models/LiveChannelSnapshot.java | 56 + .../oss/util/models/LiveChannelTarget.java | 56 + .../oss/util/models/LiveChannelVideo.java | 67 + .../gateway/oss/util/models/LiveRecord.java | 45 + .../oss/util/models/LocationTransferType.java | 53 + .../oss/util/models/LoggingEnabled.java | 34 + .../gateway/oss/util/models/MetaQuery.java | 97 + .../oss/util/models/MetaQueryAggregation.java | 34 + .../oss/util/models/MetaQueryFile.java | 193 + .../oss/util/models/MetaQueryTagging.java | 34 + .../oss/util/models/MetaQueryUserMeta.java | 34 + .../oss/util/models/ObjectIdentifier.java | 34 + .../models/ObjectProcessConfiguration.java | 170 + .../oss/util/models/ObjectSummary.java | 100 + .../oss/util/models/ObjectVersion.java | 100 + .../util/models/OpenMetaQueryResponse.java | 34 + .../oss/util/models/OptionObjectHeaders.java | 65 + .../oss/util/models/OptionObjectResponse.java | 34 + .../oss/util/models/OutputSerialization.java | 78 + .../aliyun/gateway/oss/util/models/Owner.java | 34 + .../aliyun/gateway/oss/util/models/Part.java | 56 + .../oss/util/models/PostObjectRequest.java | 23 + .../oss/util/models/PostObjectResponse.java | 34 + .../util/models/PostVodPlaylistRequest.java | 42 + .../util/models/PostVodPlaylistResponse.java | 34 + .../PublicAccessBlockConfiguration.java | 23 + ...essPointConfigForObjectProcessHeaders.java | 34 + ...essPointConfigForObjectProcessRequest.java | 23 + ...ssPointConfigForObjectProcessResponse.java | 45 + ...intConfigForObjectProcessResponseBody.java | 23 + ...essPointPolicyForObjectProcessHeaders.java | 34 + ...essPointPolicyForObjectProcessRequest.java | 23 + ...ssPointPolicyForObjectProcessResponse.java | 34 + .../models/PutAccessPointPolicyHeaders.java | 37 + .../models/PutAccessPointPolicyRequest.java | 26 + .../models/PutAccessPointPolicyResponse.java | 34 + ...utAccessPointPublicAccessBlockRequest.java | 34 + ...tAccessPointPublicAccessBlockResponse.java | 34 + .../models/PutBucketAccessMonitorRequest.java | 26 + .../PutBucketAccessMonitorResponse.java | 34 + .../oss/util/models/PutBucketAclHeaders.java | 42 + .../oss/util/models/PutBucketAclResponse.java | 34 + .../PutBucketArchiveDirectReadRequest.java | 23 + .../PutBucketArchiveDirectReadResponse.java | 34 + .../PutBucketCallbackPolicyResponse.java | 45 + .../oss/util/models/PutBucketCorsRequest.java | 26 + .../util/models/PutBucketCorsResponse.java | 34 + .../models/PutBucketEncryptionRequest.java | 26 + .../models/PutBucketEncryptionResponse.java | 34 + .../oss/util/models/PutBucketHeaders.java | 64 + .../models/PutBucketHttpsConfigRequest.java | 26 + .../models/PutBucketHttpsConfigResponse.java | 34 + .../models/PutBucketInventoryRequest.java | 40 + .../models/PutBucketInventoryResponse.java | 34 + .../models/PutBucketLifecycleRequest.java | 26 + .../models/PutBucketLifecycleResponse.java | 34 + .../util/models/PutBucketLoggingRequest.java | 26 + .../util/models/PutBucketLoggingResponse.java | 34 + .../util/models/PutBucketPolicyRequest.java | 26 + .../util/models/PutBucketPolicyResponse.java | 34 + .../PutBucketPublicAccessBlockRequest.java | 23 + .../PutBucketPublicAccessBlockResponse.java | 34 + .../PutBucketRedundancyTypeRequest.java | 23 + .../PutBucketRedundancyTypeResponse.java | 34 + .../util/models/PutBucketRefererRequest.java | 26 + .../util/models/PutBucketRefererResponse.java | 34 + .../models/PutBucketReplicationRequest.java | 26 + .../models/PutBucketReplicationResponse.java | 34 + .../oss/util/models/PutBucketRequest.java | 26 + .../PutBucketRequestPaymentRequest.java | 26 + .../PutBucketRequestPaymentResponse.java | 34 + .../models/PutBucketResourceGroupRequest.java | 26 + .../PutBucketResourceGroupResponse.java | 34 + .../oss/util/models/PutBucketResponse.java | 34 + .../PutBucketResponseHeaderRequest.java | 23 + .../PutBucketResponseHeaderResponse.java | 34 + .../oss/util/models/PutBucketRtcRequest.java | 26 + .../oss/util/models/PutBucketRtcResponse.java | 34 + .../oss/util/models/PutBucketTagsRequest.java | 26 + .../util/models/PutBucketTagsResponse.java | 34 + .../PutBucketTransferAccelerationRequest.java | 26 + ...PutBucketTransferAccelerationResponse.java | 34 + .../models/PutBucketVersioningRequest.java | 26 + .../models/PutBucketVersioningResponse.java | 34 + .../util/models/PutBucketWebsiteRequest.java | 26 + .../util/models/PutBucketWebsiteResponse.java | 34 + .../oss/util/models/PutCnameRequest.java | 26 + .../oss/util/models/PutCnameResponse.java | 34 + .../util/models/PutLiveChannelRequest.java | 26 + .../util/models/PutLiveChannelResponse.java | 45 + .../models/PutLiveChannelResponseBody.java | 40 + .../models/PutLiveChannelStatusRequest.java | 29 + .../models/PutLiveChannelStatusResponse.java | 34 + .../oss/util/models/PutObjectAclHeaders.java | 37 + .../oss/util/models/PutObjectAclRequest.java | 26 + .../oss/util/models/PutObjectAclResponse.java | 34 + .../oss/util/models/PutObjectHeaders.java | 165 + .../oss/util/models/PutObjectRequest.java | 26 + .../oss/util/models/PutObjectResponse.java | 34 + .../util/models/PutObjectTaggingRequest.java | 40 + .../util/models/PutObjectTaggingResponse.java | 34 + .../models/PutPublicAccessBlockRequest.java | 23 + .../models/PutPublicAccessBlockResponse.java | 34 + .../oss/util/models/PutStyleRequest.java | 40 + .../oss/util/models/PutStyleResponse.java | 34 + .../oss/util/models/PutSymlinkHeaders.java | 100 + .../oss/util/models/PutSymlinkResponse.java | 34 + .../PutUserDefinedLogFieldsConfigRequest.java | 23 + ...PutUserDefinedLogFieldsConfigResponse.java | 34 + .../aliyun/gateway/oss/util/models/RTC.java | 23 + .../oss/util/models/RefererConfiguration.java | 105 + .../gateway/oss/util/models/RegionInfo.java | 56 + .../util/models/ReplicationConfiguration.java | 23 + .../util/models/ReplicationDestination.java | 45 + .../oss/util/models/ReplicationPrefixSet.java | 23 + .../util/models/ReplicationProgressRule.java | 119 + .../oss/util/models/ReplicationRule.java | 130 + .../util/models/ReplicationRuleProgress.java | 45 + .../oss/util/models/ReplicationRules.java | 23 + .../ReplicationSourceSelectionCriteria.java | 42 + .../models/RequestPaymentConfiguration.java | 23 + .../models/ResponseHeaderConfiguration.java | 102 + .../oss/util/models/RestoreObjectRequest.java | 40 + .../util/models/RestoreObjectResponse.java | 34 + .../oss/util/models/RestoreRequest.java | 53 + .../gateway/oss/util/models/RoutingRule.java | 45 + .../oss/util/models/RoutingRuleCondition.java | 34 + .../oss/util/models/RoutingRuleRedirect.java | 248 + .../oss/util/models/RtcConfiguration.java | 34 + .../gateway/oss/util/models/SSEKMS.java | 23 + .../gateway/oss/util/models/SSEOSS.java | 23 + .../oss/util/models/SelectMetaRequest.java | 34 + .../oss/util/models/SelectMetaStatus.java | 89 + .../oss/util/models/SelectObjectRequest.java | 26 + .../oss/util/models/SelectObjectResponse.java | 45 + .../oss/util/models/SelectRequest.java | 56 + .../oss/util/models/SelectRequestOptions.java | 34 + .../util/models/ServerSideEncryptionRule.java | 23 + .../aliyun/gateway/oss/util/models/Style.java | 23 + .../gateway/oss/util/models/StyleInfo.java | 56 + .../aliyun/gateway/oss/util/models/Tag.java | 34 + .../gateway/oss/util/models/TagSet.java | 23 + .../gateway/oss/util/models/Tagging.java | 23 + .../TransferAccelerationConfiguration.java | 23 + .../UpdateBucketAntiDDosInfoHeaders.java | 55 + .../UpdateBucketAntiDDosInfoRequest.java | 26 + .../UpdateBucketAntiDDosInfoResponse.java | 34 + .../models/UpdateUserAntiDDosInfoHeaders.java | 51 + .../UpdateUserAntiDDosInfoResponse.java | 34 + .../gateway/oss/util/models/Upload.java | 45 + .../util/models/UploadPartCopyHeaders.java | 118 + .../util/models/UploadPartCopyRequest.java | 40 + .../util/models/UploadPartCopyResponse.java | 45 + .../models/UploadPartCopyResponseBody.java | 42 + .../oss/util/models/UploadPartRequest.java | 59 + .../oss/util/models/UploadPartResponse.java | 34 + .../oss/util/models/UserAntiDDOSInfo.java | 78 + .../UserDefinedLogFieldsConfiguration.java | 72 + .../util/models/VersioningConfiguration.java | 23 + .../oss/util/models/WebsiteConfiguration.java | 64 + .../models/WriteGetObjectResponseHeaders.java | 177 + .../WriteGetObjectResponseResponse.java | 34 + alibabacloud-gateway-oss/util/main.tea | 7 + 465 files changed, 37299 insertions(+) create mode 100644 alibabacloud-gateway-oss/util/Teafile create mode 100644 alibabacloud-gateway-oss/util/golang/client/client.go create mode 100644 alibabacloud-gateway-oss/util/golang/client/structs.go create mode 100644 alibabacloud-gateway-oss/util/golang/go.mod create mode 100644 alibabacloud-gateway-oss/util/java/pom.xml create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/Client.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AbortBucketWormResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AbortMultipartUploadRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AbortMultipartUploadResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AccessControlList.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AccessControlPolicy.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AccessMonitorConfiguration.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AccessPoint.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AccessPointVpcConfiguration.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AppendObjectHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AppendObjectRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AppendObjectResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ApplyServerSideEncryptionByDefault.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ArchiveDirectReadConfiguration.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Bucket.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketAntiDDOSConfiguration.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketAntiDDOSInfo.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketCnameConfiguration.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketDataRedundancyTransition.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketInfo.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketLoggingStatus.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketResourceGroupConfiguration.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketStat.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CORSConfiguration.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CORSRule.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CSVInput.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CSVOutput.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CallbackPolicy.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CloseMetaQueryResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CnameCertificate.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CnameInfo.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CnameSummary.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CnameToken.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CommonPrefix.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CompleteBucketWormRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CompleteBucketWormResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CompleteMultipartUpload.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CompleteMultipartUploadHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CompleteMultipartUploadRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CompleteMultipartUploadResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CompleteMultipartUploadResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CopyObjectHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CopyObjectResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CopyObjectResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CopyObjectResult.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CopyPartResult.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointConfiguration.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointForObjectProcessHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointForObjectProcessRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointForObjectProcessResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointForObjectProcessResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointResult.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateBucketConfiguration.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateBucketDataRedundancyTransitionRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateBucketDataRedundancyTransitionResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateBucketDataRedundancyTransitionResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateCnameTokenRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateCnameTokenResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateSelectObjectMetaRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateSelectObjectMetaResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Delete.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointForObjectProcessHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointForObjectProcessResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointPolicyForObjectProcessHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointPolicyForObjectProcessResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointPolicyHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointPolicyResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointPublicAccessBlockRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointPublicAccessBlockResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketCallbackPolicyResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketCorsResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketDataRedundancyTransitionRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketDataRedundancyTransitionResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketEncryptionResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketInventoryRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketInventoryResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketLifecycleResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketLoggingResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketPolicyResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketPublicAccessBlockResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketReplicationRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketReplicationResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketResponseHeaderResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketTagsResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketWebsiteResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteCnameRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteCnameResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteLiveChannelResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteMarkerEntry.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteMultipleObjectsHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteMultipleObjectsRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteMultipleObjectsResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteMultipleObjectsResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteObjectRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteObjectResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteObjectTaggingRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteObjectTaggingResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeletePublicAccessBlockResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteStyleRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteStyleResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteUserDefinedLogFieldsConfigResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeletedObject.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DescribeRegionsRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DescribeRegionsResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DescribeRegionsResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DoMetaQueryRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DoMetaQueryResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DoMetaQueryResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Error.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ErrorDocument.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ExtendBucketWormRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ExtendBucketWormResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ExtendWormConfiguration.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointConfigForObjectProcessHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointConfigForObjectProcessResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointConfigForObjectProcessResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointForObjectProcessHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointForObjectProcessResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointForObjectProcessResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointPolicyForObjectProcessHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointPolicyForObjectProcessResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointPolicyHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointPolicyResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointPublicAccessBlockRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointPublicAccessBlockResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointResult.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketAccessMonitorResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketAccessMonitorResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketAclResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketAclResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketArchiveDirectReadResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketCallbackPolicyResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketCorsResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketCorsResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketDataRedundancyTransitionRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketDataRedundancyTransitionResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketEncryptionResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketEncryptionResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketHttpsConfigResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketInfoResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketInventoryRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketInventoryResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketInventoryResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketLifecycleResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketLifecycleResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketLocationResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketLocationResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketLoggingResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketLoggingResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketPolicyResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketPolicyStatusResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketPolicyStatusResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketPublicAccessBlockResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketRefererResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketReplicationLocationResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketReplicationLocationResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketReplicationProgressRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketReplicationProgressResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketReplicationProgressResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketReplicationResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketReplicationResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketRequestPaymentResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketRequestPaymentResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketResourceGroupResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketResourceGroupResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketResponseHeaderResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketStatResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketTagsResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketTagsResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketTransferAccelerationResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketTransferAccelerationResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketVersioningResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketVersioningResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketWebsiteResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketWebsiteResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketWormResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketWormResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetCnameTokenRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetCnameTokenResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetLiveChannelHistoryResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetLiveChannelHistoryResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetLiveChannelInfoResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetLiveChannelInfoResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetLiveChannelStatResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetLiveChannelStatResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetMetaQueryStatusResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetMetaQueryStatusResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectAclRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectAclResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectAclResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectMetaRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectMetaResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectTaggingRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectTaggingResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectTaggingResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetPublicAccessBlockResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetServiceRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetServiceResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetServiceResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetStyleRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetStyleResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetStyleResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetSymlinkRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetSymlinkResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetUserAntiDDosInfoResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetUserAntiDDosInfoResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetUserDefinedLogFieldsConfigResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetVodPlaylistRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetVodPlaylistResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/HeadObjectHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/HeadObjectRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/HeadObjectResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/HttpsConfiguration.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/IndexDocument.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitBucketAntiDDosInfoHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitBucketAntiDDosInfoRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitBucketAntiDDosInfoResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitUserAntiDDosInfoResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitiateBucketWormRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitiateBucketWormResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitiateMultipartUploadHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitiateMultipartUploadRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitiateMultipartUploadResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitiateMultipartUploadResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitiateWormConfiguration.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InputSerialization.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InventoryConfiguration.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InventoryDestination.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InventoryEncryption.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InventoryFilter.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InventoryOSSBucketDestination.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InventorySchedule.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/JSONInput.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/JSONOutput.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LifecycleConfiguration.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LifecycleRule.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAccessPointsForObjectProcessRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAccessPointsForObjectProcessResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAccessPointsForObjectProcessResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAccessPointsRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAccessPointsResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAccessPointsResult.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketAntiDDosInfoRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketAntiDDosInfoResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketAntiDDosInfoResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketDataRedundancyTransitionResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketInventoryRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketInventoryResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketInventoryResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketsHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketsRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketsResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketsResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListCnameResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListCnameResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListLiveChannelRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListLiveChannelResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListLiveChannelResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListMultipartUploadsRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListMultipartUploadsResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListMultipartUploadsResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectVersionsRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectVersionsResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectVersionsResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectsRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectsResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectsResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectsV2Request.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectsV2Response.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectsV2ResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListPartsRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListPartsResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListPartsResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListPartsShrinkRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListStyleResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListStyleResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListUserDataRedundancyTransitionRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListUserDataRedundancyTransitionResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListUserDataRedundancyTransitionResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannel.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannelAudio.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannelConfiguration.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannelPlayUrls.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannelPublishUrls.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannelSnapshot.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannelTarget.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannelVideo.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveRecord.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LocationTransferType.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LoggingEnabled.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/MetaQuery.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/MetaQueryAggregation.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/MetaQueryFile.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/MetaQueryTagging.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/MetaQueryUserMeta.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ObjectIdentifier.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ObjectProcessConfiguration.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ObjectSummary.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ObjectVersion.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/OpenMetaQueryResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/OptionObjectHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/OptionObjectResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/OutputSerialization.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Owner.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Part.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PostObjectRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PostObjectResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PostVodPlaylistRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PostVodPlaylistResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PublicAccessBlockConfiguration.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointConfigForObjectProcessHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointConfigForObjectProcessRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointConfigForObjectProcessResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointConfigForObjectProcessResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPolicyForObjectProcessHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPolicyForObjectProcessRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPolicyForObjectProcessResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPolicyHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPolicyRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPolicyResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPublicAccessBlockRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPublicAccessBlockResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketAccessMonitorRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketAccessMonitorResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketAclHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketAclResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketArchiveDirectReadRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketArchiveDirectReadResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketCallbackPolicyResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketCorsRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketCorsResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketEncryptionRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketEncryptionResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketHttpsConfigRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketHttpsConfigResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketInventoryRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketInventoryResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketLifecycleRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketLifecycleResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketLoggingRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketLoggingResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketPolicyRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketPolicyResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketPublicAccessBlockRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketPublicAccessBlockResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRedundancyTypeRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRedundancyTypeResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRefererRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRefererResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketReplicationRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketReplicationResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRequestPaymentRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRequestPaymentResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketResourceGroupRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketResourceGroupResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketResponseHeaderRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketResponseHeaderResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRtcRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRtcResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketTagsRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketTagsResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketTransferAccelerationRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketTransferAccelerationResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketVersioningRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketVersioningResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketWebsiteRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketWebsiteResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutCnameRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutCnameResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutLiveChannelRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutLiveChannelResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutLiveChannelResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutLiveChannelStatusRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutLiveChannelStatusResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectAclHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectAclRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectAclResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectTaggingRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectTaggingResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutPublicAccessBlockRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutPublicAccessBlockResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutStyleRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutStyleResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutSymlinkHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutSymlinkResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutUserDefinedLogFieldsConfigRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutUserDefinedLogFieldsConfigResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RTC.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RefererConfiguration.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RegionInfo.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationConfiguration.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationDestination.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationPrefixSet.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationProgressRule.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationRule.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationRuleProgress.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationRules.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationSourceSelectionCriteria.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RequestPaymentConfiguration.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ResponseHeaderConfiguration.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RestoreObjectRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RestoreObjectResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RestoreRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RoutingRule.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RoutingRuleCondition.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RoutingRuleRedirect.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RtcConfiguration.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SSEKMS.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SSEOSS.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SelectMetaRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SelectMetaStatus.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SelectObjectRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SelectObjectResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SelectRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SelectRequestOptions.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ServerSideEncryptionRule.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Style.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/StyleInfo.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Tag.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/TagSet.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Tagging.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/TransferAccelerationConfiguration.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateBucketAntiDDosInfoHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateBucketAntiDDosInfoRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateBucketAntiDDosInfoResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateUserAntiDDosInfoHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateUserAntiDDosInfoResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Upload.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UploadPartCopyHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UploadPartCopyRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UploadPartCopyResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UploadPartCopyResponseBody.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UploadPartRequest.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UploadPartResponse.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UserAntiDDOSInfo.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UserDefinedLogFieldsConfiguration.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/VersioningConfiguration.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/WebsiteConfiguration.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/WriteGetObjectResponseHeaders.java create mode 100644 alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/WriteGetObjectResponseResponse.java create mode 100644 alibabacloud-gateway-oss/util/main.tea diff --git a/alibabacloud-gateway-oss/util/Teafile b/alibabacloud-gateway-oss/util/Teafile new file mode 100644 index 00000000..3892d24f --- /dev/null +++ b/alibabacloud-gateway-oss/util/Teafile @@ -0,0 +1,79 @@ +{ + "scope": "alibabacloud", + "name": "GatewayOSS_Util", + "version": "0.0.1", + "main": "./main.tea", + "maintainers": [ + { + "name": "Alibaba Cloud SDK", + "email": "sdk-team@alibabacloud.com" + } + ], + "libraries": { + "Credential": "alibabacloud:Credential:*" + }, + "releases": { + "go": "github.com/alibabacloud-go/alibabacloud-gateway-oss-util/client:v0.0.1", + "java": "com.aliyun:alibabacloud-gateway-oss-util:0.0.1" + }, + "csharp": { + "namespace": "AlibabaCloud.GatewayOss_Util", + "packageInfo": { + "description": "Alibaba Cloud OSS Util Library for .NET", + "company": "Alibaba Cloud", + "property": { + "PackageTags": "Alibaba Aliyun OSS Util", + "Copyright": "©2009-present Alibaba Cloud", + "PackageProjectUrl": "https://github.com/aliyun/alibabacloud-gateway", + "PackageIconUrl": "https://www.alibabacloud.com/favicon.ico" + } + } + }, + "java": { + "package": "com.aliyun.gateway.oss.util", + "className": "Client" + }, + "go": { + "package": [ + "io" + ] + }, + "php": { + "package": "Darabonba.GatewayOss.Util", + "packageInfo": { + "name": "alibabacloud/gateway-oss-util", + "desc": "Alibaba Cloud OSS Util", + "github": "https://github.com/aliyun/alibabacloud-gateway" + } + }, + "python": { + "package": "alibabacloud_gateway_oss_util", + "clientName": "client", + "packageInfo": { + "name": "alibabacloud_gateway_oss_util", + "desc": "Alibaba Cloud OSS Util Library for Python", + "github": "https://github.com/aliyun/alibabacloud-gateway", + "author": "Alibaba Cloud SDK", + "email": "sdk-team@alibabacloud.com" + } + }, + "python2": { + "package": "alibabacloud_gateway_oss_util", + "clientName": "client", + "packageInfo": { + "name": "alibabacloud_gateway_oss_util_py2", + "desc": "Alibaba Cloud OSS Util Library for Python2", + "github": "https://github.com/aliyun/alibabacloud-gateway", + "author": "Alibaba Cloud SDK", + "email": "sdk-team@alibabacloud.com" + } + }, + "cpp": { + "packageInfo": { + "git": { + "scope": "alibabacloud-sdk-cpp", + "project": "gateway-oss-util" + } + } + } +} diff --git a/alibabacloud-gateway-oss/util/golang/client/client.go b/alibabacloud-gateway-oss/util/golang/client/client.go new file mode 100644 index 00000000..d0ab5e9b --- /dev/null +++ b/alibabacloud-gateway-oss/util/golang/client/client.go @@ -0,0 +1,17 @@ +// This file is auto-generated, don't edit it. Thanks. +/** + * + * @param stream the readable stream + * @return the parsed result + */ +package client + +import ( + "github.com/alibabacloud-go/tea/tea" +) + + +func ParseXml (input *string, field *string) (_result interface{}, _err error) { + panic("No Support!") +} + diff --git a/alibabacloud-gateway-oss/util/golang/client/structs.go b/alibabacloud-gateway-oss/util/golang/client/structs.go new file mode 100644 index 00000000..7fd990fb --- /dev/null +++ b/alibabacloud-gateway-oss/util/golang/client/structs.go @@ -0,0 +1,14596 @@ +// This file is auto-generated, don't edit it. Thanks. +/** + * + */ +package client + +import ( + "github.com/alibabacloud-go/tea/tea" + "io" +) + +type AccessControlList struct { + Grant *string `json:"Grant,omitempty" xml:"Grant,omitempty"` +} + +func (s AccessControlList) String() string { + return tea.Prettify(s) +} + +func (s AccessControlList) GoString() string { + return s.String() +} + +func (s *AccessControlList) SetGrant(v string) *AccessControlList { + s.Grant = &v + return s +} + +type AccessControlPolicy struct { + AccessControlList *AccessControlList `json:"AccessControlList,omitempty" xml:"AccessControlList,omitempty"` + Owner *Owner `json:"Owner,omitempty" xml:"Owner,omitempty"` +} + +func (s AccessControlPolicy) String() string { + return tea.Prettify(s) +} + +func (s AccessControlPolicy) GoString() string { + return s.String() +} + +func (s *AccessControlPolicy) SetAccessControlList(v *AccessControlList) *AccessControlPolicy { + s.AccessControlList = v + return s +} + +func (s *AccessControlPolicy) SetOwner(v *Owner) *AccessControlPolicy { + s.Owner = v + return s +} + +type AccessMonitorConfiguration struct { + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` +} + +func (s AccessMonitorConfiguration) String() string { + return tea.Prettify(s) +} + +func (s AccessMonitorConfiguration) GoString() string { + return s.String() +} + +func (s *AccessMonitorConfiguration) SetStatus(v string) *AccessMonitorConfiguration { + s.Status = &v + return s +} + +type AccessPoint struct { + AccessPointName *string `json:"AccessPointName,omitempty" xml:"AccessPointName,omitempty"` + Alias *string `json:"Alias,omitempty" xml:"Alias,omitempty"` + Bucket *string `json:"Bucket,omitempty" xml:"Bucket,omitempty"` + NetworkOrigin *string `json:"NetworkOrigin,omitempty" xml:"NetworkOrigin,omitempty"` + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` + VpcConfiguration *AccessPointVpcConfiguration `json:"VpcConfiguration,omitempty" xml:"VpcConfiguration,omitempty"` +} + +func (s AccessPoint) String() string { + return tea.Prettify(s) +} + +func (s AccessPoint) GoString() string { + return s.String() +} + +func (s *AccessPoint) SetAccessPointName(v string) *AccessPoint { + s.AccessPointName = &v + return s +} + +func (s *AccessPoint) SetAlias(v string) *AccessPoint { + s.Alias = &v + return s +} + +func (s *AccessPoint) SetBucket(v string) *AccessPoint { + s.Bucket = &v + return s +} + +func (s *AccessPoint) SetNetworkOrigin(v string) *AccessPoint { + s.NetworkOrigin = &v + return s +} + +func (s *AccessPoint) SetStatus(v string) *AccessPoint { + s.Status = &v + return s +} + +func (s *AccessPoint) SetVpcConfiguration(v *AccessPointVpcConfiguration) *AccessPoint { + s.VpcConfiguration = v + return s +} + +type AccessPointVpcConfiguration struct { + VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"` +} + +func (s AccessPointVpcConfiguration) String() string { + return tea.Prettify(s) +} + +func (s AccessPointVpcConfiguration) GoString() string { + return s.String() +} + +func (s *AccessPointVpcConfiguration) SetVpcId(v string) *AccessPointVpcConfiguration { + s.VpcId = &v + return s +} + +type ApplyServerSideEncryptionByDefault struct { + KMSDataEncryption *string `json:"KMSDataEncryption,omitempty" xml:"KMSDataEncryption,omitempty"` + KMSMasterKeyID *string `json:"KMSMasterKeyID,omitempty" xml:"KMSMasterKeyID,omitempty"` + SSEAlgorithm *string `json:"SSEAlgorithm,omitempty" xml:"SSEAlgorithm,omitempty"` +} + +func (s ApplyServerSideEncryptionByDefault) String() string { + return tea.Prettify(s) +} + +func (s ApplyServerSideEncryptionByDefault) GoString() string { + return s.String() +} + +func (s *ApplyServerSideEncryptionByDefault) SetKMSDataEncryption(v string) *ApplyServerSideEncryptionByDefault { + s.KMSDataEncryption = &v + return s +} + +func (s *ApplyServerSideEncryptionByDefault) SetKMSMasterKeyID(v string) *ApplyServerSideEncryptionByDefault { + s.KMSMasterKeyID = &v + return s +} + +func (s *ApplyServerSideEncryptionByDefault) SetSSEAlgorithm(v string) *ApplyServerSideEncryptionByDefault { + s.SSEAlgorithm = &v + return s +} + +type ArchiveDirectReadConfiguration struct { + Enabled *bool `json:"Enabled,omitempty" xml:"Enabled,omitempty"` +} + +func (s ArchiveDirectReadConfiguration) String() string { + return tea.Prettify(s) +} + +func (s ArchiveDirectReadConfiguration) GoString() string { + return s.String() +} + +func (s *ArchiveDirectReadConfiguration) SetEnabled(v bool) *ArchiveDirectReadConfiguration { + s.Enabled = &v + return s +} + +type Bucket struct { + CreationDate *string `json:"CreationDate,omitempty" xml:"CreationDate,omitempty"` + ExtranetEndpoint *string `json:"ExtranetEndpoint,omitempty" xml:"ExtranetEndpoint,omitempty"` + IntranetEndpoint *string `json:"IntranetEndpoint,omitempty" xml:"IntranetEndpoint,omitempty"` + Location *string `json:"Location,omitempty" xml:"Location,omitempty"` + Name *string `json:"Name,omitempty" xml:"Name,omitempty"` + Region *string `json:"Region,omitempty" xml:"Region,omitempty"` + StorageClass *string `json:"StorageClass,omitempty" xml:"StorageClass,omitempty"` +} + +func (s Bucket) String() string { + return tea.Prettify(s) +} + +func (s Bucket) GoString() string { + return s.String() +} + +func (s *Bucket) SetCreationDate(v string) *Bucket { + s.CreationDate = &v + return s +} + +func (s *Bucket) SetExtranetEndpoint(v string) *Bucket { + s.ExtranetEndpoint = &v + return s +} + +func (s *Bucket) SetIntranetEndpoint(v string) *Bucket { + s.IntranetEndpoint = &v + return s +} + +func (s *Bucket) SetLocation(v string) *Bucket { + s.Location = &v + return s +} + +func (s *Bucket) SetName(v string) *Bucket { + s.Name = &v + return s +} + +func (s *Bucket) SetRegion(v string) *Bucket { + s.Region = &v + return s +} + +func (s *Bucket) SetStorageClass(v string) *Bucket { + s.StorageClass = &v + return s +} + +type BucketAntiDDOSConfiguration struct { + Cnames *BucketAntiDDOSConfigurationCnames `json:"Cnames,omitempty" xml:"Cnames,omitempty" type:"Struct"` +} + +func (s BucketAntiDDOSConfiguration) String() string { + return tea.Prettify(s) +} + +func (s BucketAntiDDOSConfiguration) GoString() string { + return s.String() +} + +func (s *BucketAntiDDOSConfiguration) SetCnames(v *BucketAntiDDOSConfigurationCnames) *BucketAntiDDOSConfiguration { + s.Cnames = v + return s +} + +type BucketAntiDDOSConfigurationCnames struct { + Domain []*string `json:"Domain,omitempty" xml:"Domain,omitempty" type:"Repeated"` +} + +func (s BucketAntiDDOSConfigurationCnames) String() string { + return tea.Prettify(s) +} + +func (s BucketAntiDDOSConfigurationCnames) GoString() string { + return s.String() +} + +func (s *BucketAntiDDOSConfigurationCnames) SetDomain(v []*string) *BucketAntiDDOSConfigurationCnames { + s.Domain = v + return s +} + +type BucketAntiDDOSInfo struct { + ActiveTime *int64 `json:"ActiveTime,omitempty" xml:"ActiveTime,omitempty"` + Bucket *string `json:"Bucket,omitempty" xml:"Bucket,omitempty"` + Cnames *BucketAntiDDOSInfoCnames `json:"Cnames,omitempty" xml:"Cnames,omitempty" type:"Struct"` + Ctime *int64 `json:"Ctime,omitempty" xml:"Ctime,omitempty"` + InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"` + Mtime *int64 `json:"Mtime,omitempty" xml:"Mtime,omitempty"` + Owner *string `json:"Owner,omitempty" xml:"Owner,omitempty"` + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` + Type *string `json:"Type,omitempty" xml:"Type,omitempty"` +} + +func (s BucketAntiDDOSInfo) String() string { + return tea.Prettify(s) +} + +func (s BucketAntiDDOSInfo) GoString() string { + return s.String() +} + +func (s *BucketAntiDDOSInfo) SetActiveTime(v int64) *BucketAntiDDOSInfo { + s.ActiveTime = &v + return s +} + +func (s *BucketAntiDDOSInfo) SetBucket(v string) *BucketAntiDDOSInfo { + s.Bucket = &v + return s +} + +func (s *BucketAntiDDOSInfo) SetCnames(v *BucketAntiDDOSInfoCnames) *BucketAntiDDOSInfo { + s.Cnames = v + return s +} + +func (s *BucketAntiDDOSInfo) SetCtime(v int64) *BucketAntiDDOSInfo { + s.Ctime = &v + return s +} + +func (s *BucketAntiDDOSInfo) SetInstanceId(v string) *BucketAntiDDOSInfo { + s.InstanceId = &v + return s +} + +func (s *BucketAntiDDOSInfo) SetMtime(v int64) *BucketAntiDDOSInfo { + s.Mtime = &v + return s +} + +func (s *BucketAntiDDOSInfo) SetOwner(v string) *BucketAntiDDOSInfo { + s.Owner = &v + return s +} + +func (s *BucketAntiDDOSInfo) SetStatus(v string) *BucketAntiDDOSInfo { + s.Status = &v + return s +} + +func (s *BucketAntiDDOSInfo) SetType(v string) *BucketAntiDDOSInfo { + s.Type = &v + return s +} + +type BucketAntiDDOSInfoCnames struct { + Domain []*string `json:"Domain,omitempty" xml:"Domain,omitempty" type:"Repeated"` +} + +func (s BucketAntiDDOSInfoCnames) String() string { + return tea.Prettify(s) +} + +func (s BucketAntiDDOSInfoCnames) GoString() string { + return s.String() +} + +func (s *BucketAntiDDOSInfoCnames) SetDomain(v []*string) *BucketAntiDDOSInfoCnames { + s.Domain = v + return s +} + +type BucketCnameConfiguration struct { + Cname *BucketCnameConfigurationCname `json:"Cname,omitempty" xml:"Cname,omitempty" type:"Struct"` +} + +func (s BucketCnameConfiguration) String() string { + return tea.Prettify(s) +} + +func (s BucketCnameConfiguration) GoString() string { + return s.String() +} + +func (s *BucketCnameConfiguration) SetCname(v *BucketCnameConfigurationCname) *BucketCnameConfiguration { + s.Cname = v + return s +} + +type BucketCnameConfigurationCname struct { + Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"` +} + +func (s BucketCnameConfigurationCname) String() string { + return tea.Prettify(s) +} + +func (s BucketCnameConfigurationCname) GoString() string { + return s.String() +} + +func (s *BucketCnameConfigurationCname) SetDomain(v string) *BucketCnameConfigurationCname { + s.Domain = &v + return s +} + +type BucketDataRedundancyTransition struct { + Bucket *string `json:"Bucket,omitempty" xml:"Bucket,omitempty"` + CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` + EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"` + EstimatedRemainingTime *string `json:"EstimatedRemainingTime,omitempty" xml:"EstimatedRemainingTime,omitempty"` + ProcessPercentage *int32 `json:"ProcessPercentage,omitempty" xml:"ProcessPercentage,omitempty"` + StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"` + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` + TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"` +} + +func (s BucketDataRedundancyTransition) String() string { + return tea.Prettify(s) +} + +func (s BucketDataRedundancyTransition) GoString() string { + return s.String() +} + +func (s *BucketDataRedundancyTransition) SetBucket(v string) *BucketDataRedundancyTransition { + s.Bucket = &v + return s +} + +func (s *BucketDataRedundancyTransition) SetCreateTime(v string) *BucketDataRedundancyTransition { + s.CreateTime = &v + return s +} + +func (s *BucketDataRedundancyTransition) SetEndTime(v string) *BucketDataRedundancyTransition { + s.EndTime = &v + return s +} + +func (s *BucketDataRedundancyTransition) SetEstimatedRemainingTime(v string) *BucketDataRedundancyTransition { + s.EstimatedRemainingTime = &v + return s +} + +func (s *BucketDataRedundancyTransition) SetProcessPercentage(v int32) *BucketDataRedundancyTransition { + s.ProcessPercentage = &v + return s +} + +func (s *BucketDataRedundancyTransition) SetStartTime(v string) *BucketDataRedundancyTransition { + s.StartTime = &v + return s +} + +func (s *BucketDataRedundancyTransition) SetStatus(v string) *BucketDataRedundancyTransition { + s.Status = &v + return s +} + +func (s *BucketDataRedundancyTransition) SetTaskId(v string) *BucketDataRedundancyTransition { + s.TaskId = &v + return s +} + +type BucketInfo struct { + Bucket *BucketInfoBucket `json:"Bucket,omitempty" xml:"Bucket,omitempty" type:"Struct"` +} + +func (s BucketInfo) String() string { + return tea.Prettify(s) +} + +func (s BucketInfo) GoString() string { + return s.String() +} + +func (s *BucketInfo) SetBucket(v *BucketInfoBucket) *BucketInfo { + s.Bucket = v + return s +} + +type BucketInfoBucket struct { + AccessControlList *AccessControlList `json:"AccessControlList,omitempty" xml:"AccessControlList,omitempty"` + AccessMonitor *string `json:"AccessMonitor,omitempty" xml:"AccessMonitor,omitempty"` + BucketPolicy *LoggingEnabled `json:"BucketPolicy,omitempty" xml:"BucketPolicy,omitempty"` + CreationDate *string `json:"CreationDate,omitempty" xml:"CreationDate,omitempty"` + CrossRegionReplication *string `json:"CrossRegionReplication,omitempty" xml:"CrossRegionReplication,omitempty"` + DataRedundancyType *string `json:"DataRedundancyType,omitempty" xml:"DataRedundancyType,omitempty"` + ExtranetEndpoint *string `json:"ExtranetEndpoint,omitempty" xml:"ExtranetEndpoint,omitempty"` + IntranetEndpoint *string `json:"IntranetEndpoint,omitempty" xml:"IntranetEndpoint,omitempty"` + Location *string `json:"Location,omitempty" xml:"Location,omitempty"` + Name *string `json:"Name,omitempty" xml:"Name,omitempty"` + Owner *Owner `json:"Owner,omitempty" xml:"Owner,omitempty"` + ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"` + ServerSideEncryptionRule *BucketInfoBucketServerSideEncryptionRule `json:"ServerSideEncryptionRule,omitempty" xml:"ServerSideEncryptionRule,omitempty" type:"Struct"` + StorageClass *string `json:"StorageClass,omitempty" xml:"StorageClass,omitempty"` + TransferAcceleration *string `json:"TransferAcceleration,omitempty" xml:"TransferAcceleration,omitempty"` + Versioning *string `json:"Versioning,omitempty" xml:"Versioning,omitempty"` +} + +func (s BucketInfoBucket) String() string { + return tea.Prettify(s) +} + +func (s BucketInfoBucket) GoString() string { + return s.String() +} + +func (s *BucketInfoBucket) SetAccessControlList(v *AccessControlList) *BucketInfoBucket { + s.AccessControlList = v + return s +} + +func (s *BucketInfoBucket) SetAccessMonitor(v string) *BucketInfoBucket { + s.AccessMonitor = &v + return s +} + +func (s *BucketInfoBucket) SetBucketPolicy(v *LoggingEnabled) *BucketInfoBucket { + s.BucketPolicy = v + return s +} + +func (s *BucketInfoBucket) SetCreationDate(v string) *BucketInfoBucket { + s.CreationDate = &v + return s +} + +func (s *BucketInfoBucket) SetCrossRegionReplication(v string) *BucketInfoBucket { + s.CrossRegionReplication = &v + return s +} + +func (s *BucketInfoBucket) SetDataRedundancyType(v string) *BucketInfoBucket { + s.DataRedundancyType = &v + return s +} + +func (s *BucketInfoBucket) SetExtranetEndpoint(v string) *BucketInfoBucket { + s.ExtranetEndpoint = &v + return s +} + +func (s *BucketInfoBucket) SetIntranetEndpoint(v string) *BucketInfoBucket { + s.IntranetEndpoint = &v + return s +} + +func (s *BucketInfoBucket) SetLocation(v string) *BucketInfoBucket { + s.Location = &v + return s +} + +func (s *BucketInfoBucket) SetName(v string) *BucketInfoBucket { + s.Name = &v + return s +} + +func (s *BucketInfoBucket) SetOwner(v *Owner) *BucketInfoBucket { + s.Owner = v + return s +} + +func (s *BucketInfoBucket) SetResourceGroupId(v string) *BucketInfoBucket { + s.ResourceGroupId = &v + return s +} + +func (s *BucketInfoBucket) SetServerSideEncryptionRule(v *BucketInfoBucketServerSideEncryptionRule) *BucketInfoBucket { + s.ServerSideEncryptionRule = v + return s +} + +func (s *BucketInfoBucket) SetStorageClass(v string) *BucketInfoBucket { + s.StorageClass = &v + return s +} + +func (s *BucketInfoBucket) SetTransferAcceleration(v string) *BucketInfoBucket { + s.TransferAcceleration = &v + return s +} + +func (s *BucketInfoBucket) SetVersioning(v string) *BucketInfoBucket { + s.Versioning = &v + return s +} + +type BucketInfoBucketServerSideEncryptionRule struct { + KMSDataEncryption *string `json:"KMSDataEncryption,omitempty" xml:"KMSDataEncryption,omitempty"` + KMSMasterKeyID *string `json:"KMSMasterKeyID,omitempty" xml:"KMSMasterKeyID,omitempty"` + SSEAlgorithm *string `json:"SSEAlgorithm,omitempty" xml:"SSEAlgorithm,omitempty"` +} + +func (s BucketInfoBucketServerSideEncryptionRule) String() string { + return tea.Prettify(s) +} + +func (s BucketInfoBucketServerSideEncryptionRule) GoString() string { + return s.String() +} + +func (s *BucketInfoBucketServerSideEncryptionRule) SetKMSDataEncryption(v string) *BucketInfoBucketServerSideEncryptionRule { + s.KMSDataEncryption = &v + return s +} + +func (s *BucketInfoBucketServerSideEncryptionRule) SetKMSMasterKeyID(v string) *BucketInfoBucketServerSideEncryptionRule { + s.KMSMasterKeyID = &v + return s +} + +func (s *BucketInfoBucketServerSideEncryptionRule) SetSSEAlgorithm(v string) *BucketInfoBucketServerSideEncryptionRule { + s.SSEAlgorithm = &v + return s +} + +type BucketLoggingStatus struct { + LoggingEnabled *LoggingEnabled `json:"LoggingEnabled,omitempty" xml:"LoggingEnabled,omitempty"` +} + +func (s BucketLoggingStatus) String() string { + return tea.Prettify(s) +} + +func (s BucketLoggingStatus) GoString() string { + return s.String() +} + +func (s *BucketLoggingStatus) SetLoggingEnabled(v *LoggingEnabled) *BucketLoggingStatus { + s.LoggingEnabled = v + return s +} + +type BucketResourceGroupConfiguration struct { + ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"` +} + +func (s BucketResourceGroupConfiguration) String() string { + return tea.Prettify(s) +} + +func (s BucketResourceGroupConfiguration) GoString() string { + return s.String() +} + +func (s *BucketResourceGroupConfiguration) SetResourceGroupId(v string) *BucketResourceGroupConfiguration { + s.ResourceGroupId = &v + return s +} + +type BucketStat struct { + ArchiveObjectCount *int64 `json:"ArchiveObjectCount,omitempty" xml:"ArchiveObjectCount,omitempty"` + ArchiveRealStorage *int64 `json:"ArchiveRealStorage,omitempty" xml:"ArchiveRealStorage,omitempty"` + ArchiveStorage *int64 `json:"ArchiveStorage,omitempty" xml:"ArchiveStorage,omitempty"` + ColdArchiveObjectCount *int64 `json:"ColdArchiveObjectCount,omitempty" xml:"ColdArchiveObjectCount,omitempty"` + ColdArchiveRealStorage *int64 `json:"ColdArchiveRealStorage,omitempty" xml:"ColdArchiveRealStorage,omitempty"` + ColdArchiveStorage *int64 `json:"ColdArchiveStorage,omitempty" xml:"ColdArchiveStorage,omitempty"` + InfrequentAccessObjectCount *int64 `json:"InfrequentAccessObjectCount,omitempty" xml:"InfrequentAccessObjectCount,omitempty"` + InfrequentAccessRealStorage *int64 `json:"InfrequentAccessRealStorage,omitempty" xml:"InfrequentAccessRealStorage,omitempty"` + InfrequentAccessStorage *int64 `json:"InfrequentAccessStorage,omitempty" xml:"InfrequentAccessStorage,omitempty"` + LastModifiedTime *int64 `json:"LastModifiedTime,omitempty" xml:"LastModifiedTime,omitempty"` + LiveChannelCount *int64 `json:"LiveChannelCount,omitempty" xml:"LiveChannelCount,omitempty"` + MultipartUploadCount *int64 `json:"MultipartUploadCount,omitempty" xml:"MultipartUploadCount,omitempty"` + ObjectCount *int64 `json:"ObjectCount,omitempty" xml:"ObjectCount,omitempty"` + StandardObjectCount *int64 `json:"StandardObjectCount,omitempty" xml:"StandardObjectCount,omitempty"` + StandardStorage *int64 `json:"StandardStorage,omitempty" xml:"StandardStorage,omitempty"` + Storage *int64 `json:"Storage,omitempty" xml:"Storage,omitempty"` +} + +func (s BucketStat) String() string { + return tea.Prettify(s) +} + +func (s BucketStat) GoString() string { + return s.String() +} + +func (s *BucketStat) SetArchiveObjectCount(v int64) *BucketStat { + s.ArchiveObjectCount = &v + return s +} + +func (s *BucketStat) SetArchiveRealStorage(v int64) *BucketStat { + s.ArchiveRealStorage = &v + return s +} + +func (s *BucketStat) SetArchiveStorage(v int64) *BucketStat { + s.ArchiveStorage = &v + return s +} + +func (s *BucketStat) SetColdArchiveObjectCount(v int64) *BucketStat { + s.ColdArchiveObjectCount = &v + return s +} + +func (s *BucketStat) SetColdArchiveRealStorage(v int64) *BucketStat { + s.ColdArchiveRealStorage = &v + return s +} + +func (s *BucketStat) SetColdArchiveStorage(v int64) *BucketStat { + s.ColdArchiveStorage = &v + return s +} + +func (s *BucketStat) SetInfrequentAccessObjectCount(v int64) *BucketStat { + s.InfrequentAccessObjectCount = &v + return s +} + +func (s *BucketStat) SetInfrequentAccessRealStorage(v int64) *BucketStat { + s.InfrequentAccessRealStorage = &v + return s +} + +func (s *BucketStat) SetInfrequentAccessStorage(v int64) *BucketStat { + s.InfrequentAccessStorage = &v + return s +} + +func (s *BucketStat) SetLastModifiedTime(v int64) *BucketStat { + s.LastModifiedTime = &v + return s +} + +func (s *BucketStat) SetLiveChannelCount(v int64) *BucketStat { + s.LiveChannelCount = &v + return s +} + +func (s *BucketStat) SetMultipartUploadCount(v int64) *BucketStat { + s.MultipartUploadCount = &v + return s +} + +func (s *BucketStat) SetObjectCount(v int64) *BucketStat { + s.ObjectCount = &v + return s +} + +func (s *BucketStat) SetStandardObjectCount(v int64) *BucketStat { + s.StandardObjectCount = &v + return s +} + +func (s *BucketStat) SetStandardStorage(v int64) *BucketStat { + s.StandardStorage = &v + return s +} + +func (s *BucketStat) SetStorage(v int64) *BucketStat { + s.Storage = &v + return s +} + +type CORSConfiguration struct { + CORSRule []*CORSRule `json:"CORSRule,omitempty" xml:"CORSRule,omitempty" type:"Repeated"` + ResponseVary *bool `json:"ResponseVary,omitempty" xml:"ResponseVary,omitempty"` +} + +func (s CORSConfiguration) String() string { + return tea.Prettify(s) +} + +func (s CORSConfiguration) GoString() string { + return s.String() +} + +func (s *CORSConfiguration) SetCORSRule(v []*CORSRule) *CORSConfiguration { + s.CORSRule = v + return s +} + +func (s *CORSConfiguration) SetResponseVary(v bool) *CORSConfiguration { + s.ResponseVary = &v + return s +} + +type CORSRule struct { + AllowedHeader *string `json:"AllowedHeader,omitempty" xml:"AllowedHeader,omitempty"` + AllowedMethod []*string `json:"AllowedMethod,omitempty" xml:"AllowedMethod,omitempty" type:"Repeated"` + AllowedOrigin []*string `json:"AllowedOrigin,omitempty" xml:"AllowedOrigin,omitempty" type:"Repeated"` + ExposeHeader []*string `json:"ExposeHeader,omitempty" xml:"ExposeHeader,omitempty" type:"Repeated"` + MaxAgeSeconds *int64 `json:"MaxAgeSeconds,omitempty" xml:"MaxAgeSeconds,omitempty"` +} + +func (s CORSRule) String() string { + return tea.Prettify(s) +} + +func (s CORSRule) GoString() string { + return s.String() +} + +func (s *CORSRule) SetAllowedHeader(v string) *CORSRule { + s.AllowedHeader = &v + return s +} + +func (s *CORSRule) SetAllowedMethod(v []*string) *CORSRule { + s.AllowedMethod = v + return s +} + +func (s *CORSRule) SetAllowedOrigin(v []*string) *CORSRule { + s.AllowedOrigin = v + return s +} + +func (s *CORSRule) SetExposeHeader(v []*string) *CORSRule { + s.ExposeHeader = v + return s +} + +func (s *CORSRule) SetMaxAgeSeconds(v int64) *CORSRule { + s.MaxAgeSeconds = &v + return s +} + +type CSVInput struct { + AllowQuotedRecordDelimiter *bool `json:"AllowQuotedRecordDelimiter,omitempty" xml:"AllowQuotedRecordDelimiter,omitempty"` + CommentCharacter *string `json:"CommentCharacter,omitempty" xml:"CommentCharacter,omitempty"` + FieldDelimiter *string `json:"FieldDelimiter,omitempty" xml:"FieldDelimiter,omitempty"` + FileHeaderInfo *string `json:"FileHeaderInfo,omitempty" xml:"FileHeaderInfo,omitempty"` + QuoteCharacter *string `json:"QuoteCharacter,omitempty" xml:"QuoteCharacter,omitempty"` + Range *string `json:"Range,omitempty" xml:"Range,omitempty"` + RecordDelimiter *string `json:"RecordDelimiter,omitempty" xml:"RecordDelimiter,omitempty"` +} + +func (s CSVInput) String() string { + return tea.Prettify(s) +} + +func (s CSVInput) GoString() string { + return s.String() +} + +func (s *CSVInput) SetAllowQuotedRecordDelimiter(v bool) *CSVInput { + s.AllowQuotedRecordDelimiter = &v + return s +} + +func (s *CSVInput) SetCommentCharacter(v string) *CSVInput { + s.CommentCharacter = &v + return s +} + +func (s *CSVInput) SetFieldDelimiter(v string) *CSVInput { + s.FieldDelimiter = &v + return s +} + +func (s *CSVInput) SetFileHeaderInfo(v string) *CSVInput { + s.FileHeaderInfo = &v + return s +} + +func (s *CSVInput) SetQuoteCharacter(v string) *CSVInput { + s.QuoteCharacter = &v + return s +} + +func (s *CSVInput) SetRange(v string) *CSVInput { + s.Range = &v + return s +} + +func (s *CSVInput) SetRecordDelimiter(v string) *CSVInput { + s.RecordDelimiter = &v + return s +} + +type CSVOutput struct { + FieldDelimiter *string `json:"FieldDelimiter,omitempty" xml:"FieldDelimiter,omitempty"` + RecordDelimiter *string `json:"RecordDelimiter,omitempty" xml:"RecordDelimiter,omitempty"` +} + +func (s CSVOutput) String() string { + return tea.Prettify(s) +} + +func (s CSVOutput) GoString() string { + return s.String() +} + +func (s *CSVOutput) SetFieldDelimiter(v string) *CSVOutput { + s.FieldDelimiter = &v + return s +} + +func (s *CSVOutput) SetRecordDelimiter(v string) *CSVOutput { + s.RecordDelimiter = &v + return s +} + +type CallbackPolicy struct { + PolicyItem []*CallbackPolicyPolicyItem `json:"PolicyItem,omitempty" xml:"PolicyItem,omitempty" type:"Repeated"` +} + +func (s CallbackPolicy) String() string { + return tea.Prettify(s) +} + +func (s CallbackPolicy) GoString() string { + return s.String() +} + +func (s *CallbackPolicy) SetPolicyItem(v []*CallbackPolicyPolicyItem) *CallbackPolicy { + s.PolicyItem = v + return s +} + +type CallbackPolicyPolicyItem struct { + Callback *string `json:"Callback,omitempty" xml:"Callback,omitempty"` + CallbackVar *string `json:"CallbackVar,omitempty" xml:"CallbackVar,omitempty"` + PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"` +} + +func (s CallbackPolicyPolicyItem) String() string { + return tea.Prettify(s) +} + +func (s CallbackPolicyPolicyItem) GoString() string { + return s.String() +} + +func (s *CallbackPolicyPolicyItem) SetCallback(v string) *CallbackPolicyPolicyItem { + s.Callback = &v + return s +} + +func (s *CallbackPolicyPolicyItem) SetCallbackVar(v string) *CallbackPolicyPolicyItem { + s.CallbackVar = &v + return s +} + +func (s *CallbackPolicyPolicyItem) SetPolicyName(v string) *CallbackPolicyPolicyItem { + s.PolicyName = &v + return s +} + +type CnameCertificate struct { + CertId *string `json:"CertId,omitempty" xml:"CertId,omitempty"` + CreationDate *string `json:"CreationDate,omitempty" xml:"CreationDate,omitempty"` + Fingerprint *string `json:"Fingerprint,omitempty" xml:"Fingerprint,omitempty"` + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` + Type *string `json:"Type,omitempty" xml:"Type,omitempty"` + ValidEndDate *string `json:"ValidEndDate,omitempty" xml:"ValidEndDate,omitempty"` + ValidStartDate *string `json:"ValidStartDate,omitempty" xml:"ValidStartDate,omitempty"` +} + +func (s CnameCertificate) String() string { + return tea.Prettify(s) +} + +func (s CnameCertificate) GoString() string { + return s.String() +} + +func (s *CnameCertificate) SetCertId(v string) *CnameCertificate { + s.CertId = &v + return s +} + +func (s *CnameCertificate) SetCreationDate(v string) *CnameCertificate { + s.CreationDate = &v + return s +} + +func (s *CnameCertificate) SetFingerprint(v string) *CnameCertificate { + s.Fingerprint = &v + return s +} + +func (s *CnameCertificate) SetStatus(v string) *CnameCertificate { + s.Status = &v + return s +} + +func (s *CnameCertificate) SetType(v string) *CnameCertificate { + s.Type = &v + return s +} + +func (s *CnameCertificate) SetValidEndDate(v string) *CnameCertificate { + s.ValidEndDate = &v + return s +} + +func (s *CnameCertificate) SetValidStartDate(v string) *CnameCertificate { + s.ValidStartDate = &v + return s +} + +type CnameInfo struct { + Certificate *CnameCertificate `json:"Certificate,omitempty" xml:"Certificate,omitempty"` + Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"` + LastModified *string `json:"LastModified,omitempty" xml:"LastModified,omitempty"` + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` +} + +func (s CnameInfo) String() string { + return tea.Prettify(s) +} + +func (s CnameInfo) GoString() string { + return s.String() +} + +func (s *CnameInfo) SetCertificate(v *CnameCertificate) *CnameInfo { + s.Certificate = v + return s +} + +func (s *CnameInfo) SetDomain(v string) *CnameInfo { + s.Domain = &v + return s +} + +func (s *CnameInfo) SetLastModified(v string) *CnameInfo { + s.LastModified = &v + return s +} + +func (s *CnameInfo) SetStatus(v string) *CnameInfo { + s.Status = &v + return s +} + +type CnameSummary struct { + Certificate *CnameCertificate `json:"Certificate,omitempty" xml:"Certificate,omitempty"` + Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"` + LastModified *string `json:"LastModified,omitempty" xml:"LastModified,omitempty"` + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` +} + +func (s CnameSummary) String() string { + return tea.Prettify(s) +} + +func (s CnameSummary) GoString() string { + return s.String() +} + +func (s *CnameSummary) SetCertificate(v *CnameCertificate) *CnameSummary { + s.Certificate = v + return s +} + +func (s *CnameSummary) SetDomain(v string) *CnameSummary { + s.Domain = &v + return s +} + +func (s *CnameSummary) SetLastModified(v string) *CnameSummary { + s.LastModified = &v + return s +} + +func (s *CnameSummary) SetStatus(v string) *CnameSummary { + s.Status = &v + return s +} + +type CnameToken struct { + Bucket *string `json:"Bucket,omitempty" xml:"Bucket,omitempty"` + Cname *string `json:"Cname,omitempty" xml:"Cname,omitempty"` + ExpireTime *string `json:"ExpireTime,omitempty" xml:"ExpireTime,omitempty"` + Token *string `json:"Token,omitempty" xml:"Token,omitempty"` +} + +func (s CnameToken) String() string { + return tea.Prettify(s) +} + +func (s CnameToken) GoString() string { + return s.String() +} + +func (s *CnameToken) SetBucket(v string) *CnameToken { + s.Bucket = &v + return s +} + +func (s *CnameToken) SetCname(v string) *CnameToken { + s.Cname = &v + return s +} + +func (s *CnameToken) SetExpireTime(v string) *CnameToken { + s.ExpireTime = &v + return s +} + +func (s *CnameToken) SetToken(v string) *CnameToken { + s.Token = &v + return s +} + +type CommonPrefix struct { + Prefix *string `json:"Prefix,omitempty" xml:"Prefix,omitempty"` +} + +func (s CommonPrefix) String() string { + return tea.Prettify(s) +} + +func (s CommonPrefix) GoString() string { + return s.String() +} + +func (s *CommonPrefix) SetPrefix(v string) *CommonPrefix { + s.Prefix = &v + return s +} + +type CompleteMultipartUpload struct { + Part []*CompleteMultipartUploadPart `json:"Part,omitempty" xml:"Part,omitempty" type:"Repeated"` +} + +func (s CompleteMultipartUpload) String() string { + return tea.Prettify(s) +} + +func (s CompleteMultipartUpload) GoString() string { + return s.String() +} + +func (s *CompleteMultipartUpload) SetPart(v []*CompleteMultipartUploadPart) *CompleteMultipartUpload { + s.Part = v + return s +} + +type CompleteMultipartUploadPart struct { + ETag *string `json:"ETag,omitempty" xml:"ETag,omitempty"` + PartNumber *int64 `json:"PartNumber,omitempty" xml:"PartNumber,omitempty"` +} + +func (s CompleteMultipartUploadPart) String() string { + return tea.Prettify(s) +} + +func (s CompleteMultipartUploadPart) GoString() string { + return s.String() +} + +func (s *CompleteMultipartUploadPart) SetETag(v string) *CompleteMultipartUploadPart { + s.ETag = &v + return s +} + +func (s *CompleteMultipartUploadPart) SetPartNumber(v int64) *CompleteMultipartUploadPart { + s.PartNumber = &v + return s +} + +type CopyObjectResult struct { + ETag *string `json:"ETag,omitempty" xml:"ETag,omitempty"` + LastModified *string `json:"LastModified,omitempty" xml:"LastModified,omitempty"` +} + +func (s CopyObjectResult) String() string { + return tea.Prettify(s) +} + +func (s CopyObjectResult) GoString() string { + return s.String() +} + +func (s *CopyObjectResult) SetETag(v string) *CopyObjectResult { + s.ETag = &v + return s +} + +func (s *CopyObjectResult) SetLastModified(v string) *CopyObjectResult { + s.LastModified = &v + return s +} + +type CopyPartResult struct { + ETag *string `json:"ETag,omitempty" xml:"ETag,omitempty"` + LastModified *string `json:"LastModified,omitempty" xml:"LastModified,omitempty"` +} + +func (s CopyPartResult) String() string { + return tea.Prettify(s) +} + +func (s CopyPartResult) GoString() string { + return s.String() +} + +func (s *CopyPartResult) SetETag(v string) *CopyPartResult { + s.ETag = &v + return s +} + +func (s *CopyPartResult) SetLastModified(v string) *CopyPartResult { + s.LastModified = &v + return s +} + +type CreateAccessPointConfiguration struct { + AccessPointName *string `json:"AccessPointName,omitempty" xml:"AccessPointName,omitempty"` + NetworkOrigin *string `json:"NetworkOrigin,omitempty" xml:"NetworkOrigin,omitempty"` + VpcConfiguration *AccessPointVpcConfiguration `json:"VpcConfiguration,omitempty" xml:"VpcConfiguration,omitempty"` +} + +func (s CreateAccessPointConfiguration) String() string { + return tea.Prettify(s) +} + +func (s CreateAccessPointConfiguration) GoString() string { + return s.String() +} + +func (s *CreateAccessPointConfiguration) SetAccessPointName(v string) *CreateAccessPointConfiguration { + s.AccessPointName = &v + return s +} + +func (s *CreateAccessPointConfiguration) SetNetworkOrigin(v string) *CreateAccessPointConfiguration { + s.NetworkOrigin = &v + return s +} + +func (s *CreateAccessPointConfiguration) SetVpcConfiguration(v *AccessPointVpcConfiguration) *CreateAccessPointConfiguration { + s.VpcConfiguration = v + return s +} + +type CreateAccessPointResult struct { + AccessPointArn *string `json:"AccessPointArn,omitempty" xml:"AccessPointArn,omitempty"` + Alias *string `json:"Alias,omitempty" xml:"Alias,omitempty"` +} + +func (s CreateAccessPointResult) String() string { + return tea.Prettify(s) +} + +func (s CreateAccessPointResult) GoString() string { + return s.String() +} + +func (s *CreateAccessPointResult) SetAccessPointArn(v string) *CreateAccessPointResult { + s.AccessPointArn = &v + return s +} + +func (s *CreateAccessPointResult) SetAlias(v string) *CreateAccessPointResult { + s.Alias = &v + return s +} + +type CreateBucketConfiguration struct { + DataRedundancyType *string `json:"DataRedundancyType,omitempty" xml:"DataRedundancyType,omitempty"` + StorageClass *string `json:"StorageClass,omitempty" xml:"StorageClass,omitempty"` +} + +func (s CreateBucketConfiguration) String() string { + return tea.Prettify(s) +} + +func (s CreateBucketConfiguration) GoString() string { + return s.String() +} + +func (s *CreateBucketConfiguration) SetDataRedundancyType(v string) *CreateBucketConfiguration { + s.DataRedundancyType = &v + return s +} + +func (s *CreateBucketConfiguration) SetStorageClass(v string) *CreateBucketConfiguration { + s.StorageClass = &v + return s +} + +type Delete struct { + Object []*ObjectIdentifier `json:"Object,omitempty" xml:"Object,omitempty" type:"Repeated"` + Quiet *bool `json:"Quiet,omitempty" xml:"Quiet,omitempty"` +} + +func (s Delete) String() string { + return tea.Prettify(s) +} + +func (s Delete) GoString() string { + return s.String() +} + +func (s *Delete) SetObject(v []*ObjectIdentifier) *Delete { + s.Object = v + return s +} + +func (s *Delete) SetQuiet(v bool) *Delete { + s.Quiet = &v + return s +} + +type DeleteMarkerEntry struct { + IsLatest *bool `json:"IsLatest,omitempty" xml:"IsLatest,omitempty"` + Key *string `json:"Key,omitempty" xml:"Key,omitempty"` + LastModified *string `json:"LastModified,omitempty" xml:"LastModified,omitempty"` + Owner *Owner `json:"Owner,omitempty" xml:"Owner,omitempty"` + VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"` +} + +func (s DeleteMarkerEntry) String() string { + return tea.Prettify(s) +} + +func (s DeleteMarkerEntry) GoString() string { + return s.String() +} + +func (s *DeleteMarkerEntry) SetIsLatest(v bool) *DeleteMarkerEntry { + s.IsLatest = &v + return s +} + +func (s *DeleteMarkerEntry) SetKey(v string) *DeleteMarkerEntry { + s.Key = &v + return s +} + +func (s *DeleteMarkerEntry) SetLastModified(v string) *DeleteMarkerEntry { + s.LastModified = &v + return s +} + +func (s *DeleteMarkerEntry) SetOwner(v *Owner) *DeleteMarkerEntry { + s.Owner = v + return s +} + +func (s *DeleteMarkerEntry) SetVersionId(v string) *DeleteMarkerEntry { + s.VersionId = &v + return s +} + +type DeletedObject struct { + DeleteMarker *bool `json:"DeleteMarker,omitempty" xml:"DeleteMarker,omitempty"` + DeleteMarkerVersionId *string `json:"DeleteMarkerVersionId,omitempty" xml:"DeleteMarkerVersionId,omitempty"` + Key *string `json:"Key,omitempty" xml:"Key,omitempty"` + VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"` +} + +func (s DeletedObject) String() string { + return tea.Prettify(s) +} + +func (s DeletedObject) GoString() string { + return s.String() +} + +func (s *DeletedObject) SetDeleteMarker(v bool) *DeletedObject { + s.DeleteMarker = &v + return s +} + +func (s *DeletedObject) SetDeleteMarkerVersionId(v string) *DeletedObject { + s.DeleteMarkerVersionId = &v + return s +} + +func (s *DeletedObject) SetKey(v string) *DeletedObject { + s.Key = &v + return s +} + +func (s *DeletedObject) SetVersionId(v string) *DeletedObject { + s.VersionId = &v + return s +} + +type Error struct { + Code *string `json:"Code,omitempty" xml:"Code,omitempty"` + HostId *string `json:"HostId,omitempty" xml:"HostId,omitempty"` + Message *string `json:"Message,omitempty" xml:"Message,omitempty"` + RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` +} + +func (s Error) String() string { + return tea.Prettify(s) +} + +func (s Error) GoString() string { + return s.String() +} + +func (s *Error) SetCode(v string) *Error { + s.Code = &v + return s +} + +func (s *Error) SetHostId(v string) *Error { + s.HostId = &v + return s +} + +func (s *Error) SetMessage(v string) *Error { + s.Message = &v + return s +} + +func (s *Error) SetRequestId(v string) *Error { + s.RequestId = &v + return s +} + +type ErrorDocument struct { + HttpStatus *string `json:"HttpStatus,omitempty" xml:"HttpStatus,omitempty"` + Key *string `json:"Key,omitempty" xml:"Key,omitempty"` +} + +func (s ErrorDocument) String() string { + return tea.Prettify(s) +} + +func (s ErrorDocument) GoString() string { + return s.String() +} + +func (s *ErrorDocument) SetHttpStatus(v string) *ErrorDocument { + s.HttpStatus = &v + return s +} + +func (s *ErrorDocument) SetKey(v string) *ErrorDocument { + s.Key = &v + return s +} + +type ExtendWormConfiguration struct { + RetentionPeriodInDays *int32 `json:"RetentionPeriodInDays,omitempty" xml:"RetentionPeriodInDays,omitempty"` +} + +func (s ExtendWormConfiguration) String() string { + return tea.Prettify(s) +} + +func (s ExtendWormConfiguration) GoString() string { + return s.String() +} + +func (s *ExtendWormConfiguration) SetRetentionPeriodInDays(v int32) *ExtendWormConfiguration { + s.RetentionPeriodInDays = &v + return s +} + +type GetAccessPointResult struct { + AccessPointArn *string `json:"AccessPointArn,omitempty" xml:"AccessPointArn,omitempty"` + AccessPointName *string `json:"AccessPointName,omitempty" xml:"AccessPointName,omitempty"` + AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"` + Alias *string `json:"Alias,omitempty" xml:"Alias,omitempty"` + Bucket *string `json:"Bucket,omitempty" xml:"Bucket,omitempty"` + Endpoints *GetAccessPointResultEndpoints `json:"Endpoints,omitempty" xml:"Endpoints,omitempty" type:"Struct"` + InternalEndpoint *string `json:"InternalEndpoint,omitempty" xml:"InternalEndpoint,omitempty"` + NetworkOrigin *string `json:"NetworkOrigin,omitempty" xml:"NetworkOrigin,omitempty"` + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` + VpcConfiguration *AccessPointVpcConfiguration `json:"VpcConfiguration,omitempty" xml:"VpcConfiguration,omitempty"` +} + +func (s GetAccessPointResult) String() string { + return tea.Prettify(s) +} + +func (s GetAccessPointResult) GoString() string { + return s.String() +} + +func (s *GetAccessPointResult) SetAccessPointArn(v string) *GetAccessPointResult { + s.AccessPointArn = &v + return s +} + +func (s *GetAccessPointResult) SetAccessPointName(v string) *GetAccessPointResult { + s.AccessPointName = &v + return s +} + +func (s *GetAccessPointResult) SetAccountId(v string) *GetAccessPointResult { + s.AccountId = &v + return s +} + +func (s *GetAccessPointResult) SetAlias(v string) *GetAccessPointResult { + s.Alias = &v + return s +} + +func (s *GetAccessPointResult) SetBucket(v string) *GetAccessPointResult { + s.Bucket = &v + return s +} + +func (s *GetAccessPointResult) SetEndpoints(v *GetAccessPointResultEndpoints) *GetAccessPointResult { + s.Endpoints = v + return s +} + +func (s *GetAccessPointResult) SetInternalEndpoint(v string) *GetAccessPointResult { + s.InternalEndpoint = &v + return s +} + +func (s *GetAccessPointResult) SetNetworkOrigin(v string) *GetAccessPointResult { + s.NetworkOrigin = &v + return s +} + +func (s *GetAccessPointResult) SetStatus(v string) *GetAccessPointResult { + s.Status = &v + return s +} + +func (s *GetAccessPointResult) SetVpcConfiguration(v *AccessPointVpcConfiguration) *GetAccessPointResult { + s.VpcConfiguration = v + return s +} + +type GetAccessPointResultEndpoints struct { + PublicEndpoint *string `json:"PublicEndpoint,omitempty" xml:"PublicEndpoint,omitempty"` +} + +func (s GetAccessPointResultEndpoints) String() string { + return tea.Prettify(s) +} + +func (s GetAccessPointResultEndpoints) GoString() string { + return s.String() +} + +func (s *GetAccessPointResultEndpoints) SetPublicEndpoint(v string) *GetAccessPointResultEndpoints { + s.PublicEndpoint = &v + return s +} + +type HttpsConfiguration struct { + TLS *HttpsConfigurationTLS `json:"TLS,omitempty" xml:"TLS,omitempty" type:"Struct"` +} + +func (s HttpsConfiguration) String() string { + return tea.Prettify(s) +} + +func (s HttpsConfiguration) GoString() string { + return s.String() +} + +func (s *HttpsConfiguration) SetTLS(v *HttpsConfigurationTLS) *HttpsConfiguration { + s.TLS = v + return s +} + +type HttpsConfigurationTLS struct { + Enable *bool `json:"Enable,omitempty" xml:"Enable,omitempty"` + TLSVersion []*string `json:"TLSVersion,omitempty" xml:"TLSVersion,omitempty" type:"Repeated"` +} + +func (s HttpsConfigurationTLS) String() string { + return tea.Prettify(s) +} + +func (s HttpsConfigurationTLS) GoString() string { + return s.String() +} + +func (s *HttpsConfigurationTLS) SetEnable(v bool) *HttpsConfigurationTLS { + s.Enable = &v + return s +} + +func (s *HttpsConfigurationTLS) SetTLSVersion(v []*string) *HttpsConfigurationTLS { + s.TLSVersion = v + return s +} + +type IndexDocument struct { + Suffix *string `json:"Suffix,omitempty" xml:"Suffix,omitempty"` + SupportSubDir *bool `json:"SupportSubDir,omitempty" xml:"SupportSubDir,omitempty"` + Type *string `json:"Type,omitempty" xml:"Type,omitempty"` +} + +func (s IndexDocument) String() string { + return tea.Prettify(s) +} + +func (s IndexDocument) GoString() string { + return s.String() +} + +func (s *IndexDocument) SetSuffix(v string) *IndexDocument { + s.Suffix = &v + return s +} + +func (s *IndexDocument) SetSupportSubDir(v bool) *IndexDocument { + s.SupportSubDir = &v + return s +} + +func (s *IndexDocument) SetType(v string) *IndexDocument { + s.Type = &v + return s +} + +type InitiateWormConfiguration struct { + RetentionPeriodInDays *int32 `json:"RetentionPeriodInDays,omitempty" xml:"RetentionPeriodInDays,omitempty"` +} + +func (s InitiateWormConfiguration) String() string { + return tea.Prettify(s) +} + +func (s InitiateWormConfiguration) GoString() string { + return s.String() +} + +func (s *InitiateWormConfiguration) SetRetentionPeriodInDays(v int32) *InitiateWormConfiguration { + s.RetentionPeriodInDays = &v + return s +} + +type InputSerialization struct { + CSV *CSVInput `json:"CSV,omitempty" xml:"CSV,omitempty"` + CompressionType *string `json:"CompressionType,omitempty" xml:"CompressionType,omitempty"` + JSON *JSONInput `json:"JSON,omitempty" xml:"JSON,omitempty"` +} + +func (s InputSerialization) String() string { + return tea.Prettify(s) +} + +func (s InputSerialization) GoString() string { + return s.String() +} + +func (s *InputSerialization) SetCSV(v *CSVInput) *InputSerialization { + s.CSV = v + return s +} + +func (s *InputSerialization) SetCompressionType(v string) *InputSerialization { + s.CompressionType = &v + return s +} + +func (s *InputSerialization) SetJSON(v *JSONInput) *InputSerialization { + s.JSON = v + return s +} + +type InventoryConfiguration struct { + Destination *InventoryDestination `json:"Destination,omitempty" xml:"Destination,omitempty"` + Filter *InventoryFilter `json:"Filter,omitempty" xml:"Filter,omitempty"` + Id *string `json:"Id,omitempty" xml:"Id,omitempty"` + IncludedObjectVersions *string `json:"IncludedObjectVersions,omitempty" xml:"IncludedObjectVersions,omitempty"` + IsEnabled *bool `json:"IsEnabled,omitempty" xml:"IsEnabled,omitempty"` + OptionalFields *InventoryConfigurationOptionalFields `json:"OptionalFields,omitempty" xml:"OptionalFields,omitempty" type:"Struct"` + Schedule *InventorySchedule `json:"Schedule,omitempty" xml:"Schedule,omitempty"` +} + +func (s InventoryConfiguration) String() string { + return tea.Prettify(s) +} + +func (s InventoryConfiguration) GoString() string { + return s.String() +} + +func (s *InventoryConfiguration) SetDestination(v *InventoryDestination) *InventoryConfiguration { + s.Destination = v + return s +} + +func (s *InventoryConfiguration) SetFilter(v *InventoryFilter) *InventoryConfiguration { + s.Filter = v + return s +} + +func (s *InventoryConfiguration) SetId(v string) *InventoryConfiguration { + s.Id = &v + return s +} + +func (s *InventoryConfiguration) SetIncludedObjectVersions(v string) *InventoryConfiguration { + s.IncludedObjectVersions = &v + return s +} + +func (s *InventoryConfiguration) SetIsEnabled(v bool) *InventoryConfiguration { + s.IsEnabled = &v + return s +} + +func (s *InventoryConfiguration) SetOptionalFields(v *InventoryConfigurationOptionalFields) *InventoryConfiguration { + s.OptionalFields = v + return s +} + +func (s *InventoryConfiguration) SetSchedule(v *InventorySchedule) *InventoryConfiguration { + s.Schedule = v + return s +} + +type InventoryConfigurationOptionalFields struct { + Field []*string `json:"Field,omitempty" xml:"Field,omitempty" type:"Repeated"` +} + +func (s InventoryConfigurationOptionalFields) String() string { + return tea.Prettify(s) +} + +func (s InventoryConfigurationOptionalFields) GoString() string { + return s.String() +} + +func (s *InventoryConfigurationOptionalFields) SetField(v []*string) *InventoryConfigurationOptionalFields { + s.Field = v + return s +} + +type InventoryDestination struct { + OSSBucketDestination *InventoryOSSBucketDestination `json:"OSSBucketDestination,omitempty" xml:"OSSBucketDestination,omitempty"` +} + +func (s InventoryDestination) String() string { + return tea.Prettify(s) +} + +func (s InventoryDestination) GoString() string { + return s.String() +} + +func (s *InventoryDestination) SetOSSBucketDestination(v *InventoryOSSBucketDestination) *InventoryDestination { + s.OSSBucketDestination = v + return s +} + +type InventoryEncryption struct { + SSEKMS *SSEKMS `json:"SSE-KMS,omitempty" xml:"SSE-KMS,omitempty"` + SSEOSS *SSEOSS `json:"SSE-OSS,omitempty" xml:"SSE-OSS,omitempty"` +} + +func (s InventoryEncryption) String() string { + return tea.Prettify(s) +} + +func (s InventoryEncryption) GoString() string { + return s.String() +} + +func (s *InventoryEncryption) SetSSEKMS(v *SSEKMS) *InventoryEncryption { + s.SSEKMS = v + return s +} + +func (s *InventoryEncryption) SetSSEOSS(v *SSEOSS) *InventoryEncryption { + s.SSEOSS = v + return s +} + +type InventoryFilter struct { + Prefix *string `json:"Prefix,omitempty" xml:"Prefix,omitempty"` +} + +func (s InventoryFilter) String() string { + return tea.Prettify(s) +} + +func (s InventoryFilter) GoString() string { + return s.String() +} + +func (s *InventoryFilter) SetPrefix(v string) *InventoryFilter { + s.Prefix = &v + return s +} + +type InventoryOSSBucketDestination struct { + AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"` + Bucket *string `json:"Bucket,omitempty" xml:"Bucket,omitempty"` + Encryption *InventoryEncryption `json:"Encryption,omitempty" xml:"Encryption,omitempty"` + Format *string `json:"Format,omitempty" xml:"Format,omitempty"` + Prefix *string `json:"Prefix,omitempty" xml:"Prefix,omitempty"` + RoleArn *string `json:"RoleArn,omitempty" xml:"RoleArn,omitempty"` +} + +func (s InventoryOSSBucketDestination) String() string { + return tea.Prettify(s) +} + +func (s InventoryOSSBucketDestination) GoString() string { + return s.String() +} + +func (s *InventoryOSSBucketDestination) SetAccountId(v string) *InventoryOSSBucketDestination { + s.AccountId = &v + return s +} + +func (s *InventoryOSSBucketDestination) SetBucket(v string) *InventoryOSSBucketDestination { + s.Bucket = &v + return s +} + +func (s *InventoryOSSBucketDestination) SetEncryption(v *InventoryEncryption) *InventoryOSSBucketDestination { + s.Encryption = v + return s +} + +func (s *InventoryOSSBucketDestination) SetFormat(v string) *InventoryOSSBucketDestination { + s.Format = &v + return s +} + +func (s *InventoryOSSBucketDestination) SetPrefix(v string) *InventoryOSSBucketDestination { + s.Prefix = &v + return s +} + +func (s *InventoryOSSBucketDestination) SetRoleArn(v string) *InventoryOSSBucketDestination { + s.RoleArn = &v + return s +} + +type InventorySchedule struct { + Frequency *string `json:"Frequency,omitempty" xml:"Frequency,omitempty"` +} + +func (s InventorySchedule) String() string { + return tea.Prettify(s) +} + +func (s InventorySchedule) GoString() string { + return s.String() +} + +func (s *InventorySchedule) SetFrequency(v string) *InventorySchedule { + s.Frequency = &v + return s +} + +type JSONInput struct { + ParseJsonNumberAsString *bool `json:"ParseJsonNumberAsString,omitempty" xml:"ParseJsonNumberAsString,omitempty"` + Range *string `json:"Range,omitempty" xml:"Range,omitempty"` + Type *string `json:"Type,omitempty" xml:"Type,omitempty"` +} + +func (s JSONInput) String() string { + return tea.Prettify(s) +} + +func (s JSONInput) GoString() string { + return s.String() +} + +func (s *JSONInput) SetParseJsonNumberAsString(v bool) *JSONInput { + s.ParseJsonNumberAsString = &v + return s +} + +func (s *JSONInput) SetRange(v string) *JSONInput { + s.Range = &v + return s +} + +func (s *JSONInput) SetType(v string) *JSONInput { + s.Type = &v + return s +} + +type JSONOutput struct { + RecordDelimiter *string `json:"RecordDelimiter,omitempty" xml:"RecordDelimiter,omitempty"` +} + +func (s JSONOutput) String() string { + return tea.Prettify(s) +} + +func (s JSONOutput) GoString() string { + return s.String() +} + +func (s *JSONOutput) SetRecordDelimiter(v string) *JSONOutput { + s.RecordDelimiter = &v + return s +} + +type LifecycleConfiguration struct { + Rule []*LifecycleRule `json:"Rule,omitempty" xml:"Rule,omitempty" type:"Repeated"` +} + +func (s LifecycleConfiguration) String() string { + return tea.Prettify(s) +} + +func (s LifecycleConfiguration) GoString() string { + return s.String() +} + +func (s *LifecycleConfiguration) SetRule(v []*LifecycleRule) *LifecycleConfiguration { + s.Rule = v + return s +} + +type LifecycleRule struct { + AbortMultipartUpload *LifecycleRuleAbortMultipartUpload `json:"AbortMultipartUpload,omitempty" xml:"AbortMultipartUpload,omitempty" type:"Struct"` + Expiration *LifecycleRuleExpiration `json:"Expiration,omitempty" xml:"Expiration,omitempty" type:"Struct"` + Filter *LifecycleRuleFilter `json:"Filter,omitempty" xml:"Filter,omitempty" type:"Struct"` + ID *string `json:"ID,omitempty" xml:"ID,omitempty"` + NoncurrentVersionExpiration *LifecycleRuleNoncurrentVersionExpiration `json:"NoncurrentVersionExpiration,omitempty" xml:"NoncurrentVersionExpiration,omitempty" type:"Struct"` + NoncurrentVersionTransition []*LifecycleRuleNoncurrentVersionTransition `json:"NoncurrentVersionTransition,omitempty" xml:"NoncurrentVersionTransition,omitempty" type:"Repeated"` + Prefix *string `json:"Prefix,omitempty" xml:"Prefix,omitempty"` + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` + Tag []*Tag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"` + Transition []*LifecycleRuleTransition `json:"Transition,omitempty" xml:"Transition,omitempty" type:"Repeated"` +} + +func (s LifecycleRule) String() string { + return tea.Prettify(s) +} + +func (s LifecycleRule) GoString() string { + return s.String() +} + +func (s *LifecycleRule) SetAbortMultipartUpload(v *LifecycleRuleAbortMultipartUpload) *LifecycleRule { + s.AbortMultipartUpload = v + return s +} + +func (s *LifecycleRule) SetExpiration(v *LifecycleRuleExpiration) *LifecycleRule { + s.Expiration = v + return s +} + +func (s *LifecycleRule) SetFilter(v *LifecycleRuleFilter) *LifecycleRule { + s.Filter = v + return s +} + +func (s *LifecycleRule) SetID(v string) *LifecycleRule { + s.ID = &v + return s +} + +func (s *LifecycleRule) SetNoncurrentVersionExpiration(v *LifecycleRuleNoncurrentVersionExpiration) *LifecycleRule { + s.NoncurrentVersionExpiration = v + return s +} + +func (s *LifecycleRule) SetNoncurrentVersionTransition(v []*LifecycleRuleNoncurrentVersionTransition) *LifecycleRule { + s.NoncurrentVersionTransition = v + return s +} + +func (s *LifecycleRule) SetPrefix(v string) *LifecycleRule { + s.Prefix = &v + return s +} + +func (s *LifecycleRule) SetStatus(v string) *LifecycleRule { + s.Status = &v + return s +} + +func (s *LifecycleRule) SetTag(v []*Tag) *LifecycleRule { + s.Tag = v + return s +} + +func (s *LifecycleRule) SetTransition(v []*LifecycleRuleTransition) *LifecycleRule { + s.Transition = v + return s +} + +type LifecycleRuleAbortMultipartUpload struct { + CreatedBeforeDate *string `json:"CreatedBeforeDate,omitempty" xml:"CreatedBeforeDate,omitempty"` + Days *int32 `json:"Days,omitempty" xml:"Days,omitempty"` +} + +func (s LifecycleRuleAbortMultipartUpload) String() string { + return tea.Prettify(s) +} + +func (s LifecycleRuleAbortMultipartUpload) GoString() string { + return s.String() +} + +func (s *LifecycleRuleAbortMultipartUpload) SetCreatedBeforeDate(v string) *LifecycleRuleAbortMultipartUpload { + s.CreatedBeforeDate = &v + return s +} + +func (s *LifecycleRuleAbortMultipartUpload) SetDays(v int32) *LifecycleRuleAbortMultipartUpload { + s.Days = &v + return s +} + +type LifecycleRuleExpiration struct { + CreatedBeforeDate *string `json:"CreatedBeforeDate,omitempty" xml:"CreatedBeforeDate,omitempty"` + Days *int32 `json:"Days,omitempty" xml:"Days,omitempty"` + ExpiredObjectDeleteMarker *bool `json:"ExpiredObjectDeleteMarker,omitempty" xml:"ExpiredObjectDeleteMarker,omitempty"` +} + +func (s LifecycleRuleExpiration) String() string { + return tea.Prettify(s) +} + +func (s LifecycleRuleExpiration) GoString() string { + return s.String() +} + +func (s *LifecycleRuleExpiration) SetCreatedBeforeDate(v string) *LifecycleRuleExpiration { + s.CreatedBeforeDate = &v + return s +} + +func (s *LifecycleRuleExpiration) SetDays(v int32) *LifecycleRuleExpiration { + s.Days = &v + return s +} + +func (s *LifecycleRuleExpiration) SetExpiredObjectDeleteMarker(v bool) *LifecycleRuleExpiration { + s.ExpiredObjectDeleteMarker = &v + return s +} + +type LifecycleRuleFilter struct { + Not *LifecycleRuleFilterNot `json:"Not,omitempty" xml:"Not,omitempty" type:"Struct"` +} + +func (s LifecycleRuleFilter) String() string { + return tea.Prettify(s) +} + +func (s LifecycleRuleFilter) GoString() string { + return s.String() +} + +func (s *LifecycleRuleFilter) SetNot(v *LifecycleRuleFilterNot) *LifecycleRuleFilter { + s.Not = v + return s +} + +type LifecycleRuleFilterNot struct { + Prefix *string `json:"Prefix,omitempty" xml:"Prefix,omitempty"` + Tag *Tag `json:"Tag,omitempty" xml:"Tag,omitempty"` +} + +func (s LifecycleRuleFilterNot) String() string { + return tea.Prettify(s) +} + +func (s LifecycleRuleFilterNot) GoString() string { + return s.String() +} + +func (s *LifecycleRuleFilterNot) SetPrefix(v string) *LifecycleRuleFilterNot { + s.Prefix = &v + return s +} + +func (s *LifecycleRuleFilterNot) SetTag(v *Tag) *LifecycleRuleFilterNot { + s.Tag = v + return s +} + +type LifecycleRuleNoncurrentVersionExpiration struct { + NoncurrentDays *int32 `json:"NoncurrentDays,omitempty" xml:"NoncurrentDays,omitempty"` +} + +func (s LifecycleRuleNoncurrentVersionExpiration) String() string { + return tea.Prettify(s) +} + +func (s LifecycleRuleNoncurrentVersionExpiration) GoString() string { + return s.String() +} + +func (s *LifecycleRuleNoncurrentVersionExpiration) SetNoncurrentDays(v int32) *LifecycleRuleNoncurrentVersionExpiration { + s.NoncurrentDays = &v + return s +} + +type LifecycleRuleNoncurrentVersionTransition struct { + AllowSmallFile *bool `json:"AllowSmallFile,omitempty" xml:"AllowSmallFile,omitempty"` + IsAccessTime *bool `json:"IsAccessTime,omitempty" xml:"IsAccessTime,omitempty"` + NoncurrentDays *int32 `json:"NoncurrentDays,omitempty" xml:"NoncurrentDays,omitempty"` + ReturnToStdWhenVisit *bool `json:"ReturnToStdWhenVisit,omitempty" xml:"ReturnToStdWhenVisit,omitempty"` + StorageClass *string `json:"StorageClass,omitempty" xml:"StorageClass,omitempty"` +} + +func (s LifecycleRuleNoncurrentVersionTransition) String() string { + return tea.Prettify(s) +} + +func (s LifecycleRuleNoncurrentVersionTransition) GoString() string { + return s.String() +} + +func (s *LifecycleRuleNoncurrentVersionTransition) SetAllowSmallFile(v bool) *LifecycleRuleNoncurrentVersionTransition { + s.AllowSmallFile = &v + return s +} + +func (s *LifecycleRuleNoncurrentVersionTransition) SetIsAccessTime(v bool) *LifecycleRuleNoncurrentVersionTransition { + s.IsAccessTime = &v + return s +} + +func (s *LifecycleRuleNoncurrentVersionTransition) SetNoncurrentDays(v int32) *LifecycleRuleNoncurrentVersionTransition { + s.NoncurrentDays = &v + return s +} + +func (s *LifecycleRuleNoncurrentVersionTransition) SetReturnToStdWhenVisit(v bool) *LifecycleRuleNoncurrentVersionTransition { + s.ReturnToStdWhenVisit = &v + return s +} + +func (s *LifecycleRuleNoncurrentVersionTransition) SetStorageClass(v string) *LifecycleRuleNoncurrentVersionTransition { + s.StorageClass = &v + return s +} + +type LifecycleRuleTransition struct { + AllowSmallFile *bool `json:"AllowSmallFile,omitempty" xml:"AllowSmallFile,omitempty"` + CreatedBeforeDate *string `json:"CreatedBeforeDate,omitempty" xml:"CreatedBeforeDate,omitempty"` + Days *int32 `json:"Days,omitempty" xml:"Days,omitempty"` + IsAccessTime *bool `json:"IsAccessTime,omitempty" xml:"IsAccessTime,omitempty"` + ReturnToStdWhenVisit *bool `json:"ReturnToStdWhenVisit,omitempty" xml:"ReturnToStdWhenVisit,omitempty"` + StorageClass *string `json:"StorageClass,omitempty" xml:"StorageClass,omitempty"` +} + +func (s LifecycleRuleTransition) String() string { + return tea.Prettify(s) +} + +func (s LifecycleRuleTransition) GoString() string { + return s.String() +} + +func (s *LifecycleRuleTransition) SetAllowSmallFile(v bool) *LifecycleRuleTransition { + s.AllowSmallFile = &v + return s +} + +func (s *LifecycleRuleTransition) SetCreatedBeforeDate(v string) *LifecycleRuleTransition { + s.CreatedBeforeDate = &v + return s +} + +func (s *LifecycleRuleTransition) SetDays(v int32) *LifecycleRuleTransition { + s.Days = &v + return s +} + +func (s *LifecycleRuleTransition) SetIsAccessTime(v bool) *LifecycleRuleTransition { + s.IsAccessTime = &v + return s +} + +func (s *LifecycleRuleTransition) SetReturnToStdWhenVisit(v bool) *LifecycleRuleTransition { + s.ReturnToStdWhenVisit = &v + return s +} + +func (s *LifecycleRuleTransition) SetStorageClass(v string) *LifecycleRuleTransition { + s.StorageClass = &v + return s +} + +type ListAccessPointsResult struct { + AccessPoints []*AccessPoint `json:"AccessPoints,omitempty" xml:"AccessPoints,omitempty" type:"Repeated"` + AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"` + IsTruncated *string `json:"IsTruncated,omitempty" xml:"IsTruncated,omitempty"` + NextContinuationToken *string `json:"NextContinuationToken,omitempty" xml:"NextContinuationToken,omitempty"` +} + +func (s ListAccessPointsResult) String() string { + return tea.Prettify(s) +} + +func (s ListAccessPointsResult) GoString() string { + return s.String() +} + +func (s *ListAccessPointsResult) SetAccessPoints(v []*AccessPoint) *ListAccessPointsResult { + s.AccessPoints = v + return s +} + +func (s *ListAccessPointsResult) SetAccountId(v string) *ListAccessPointsResult { + s.AccountId = &v + return s +} + +func (s *ListAccessPointsResult) SetIsTruncated(v string) *ListAccessPointsResult { + s.IsTruncated = &v + return s +} + +func (s *ListAccessPointsResult) SetNextContinuationToken(v string) *ListAccessPointsResult { + s.NextContinuationToken = &v + return s +} + +type LiveChannel struct { + Description *string `json:"Description,omitempty" xml:"Description,omitempty"` + LastModified *string `json:"LastModified,omitempty" xml:"LastModified,omitempty"` + Name *string `json:"Name,omitempty" xml:"Name,omitempty"` + PlayUrls *LiveChannelPlayUrls `json:"PlayUrls,omitempty" xml:"PlayUrls,omitempty"` + PublishUrls *LiveChannelPublishUrls `json:"PublishUrls,omitempty" xml:"PublishUrls,omitempty"` + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` +} + +func (s LiveChannel) String() string { + return tea.Prettify(s) +} + +func (s LiveChannel) GoString() string { + return s.String() +} + +func (s *LiveChannel) SetDescription(v string) *LiveChannel { + s.Description = &v + return s +} + +func (s *LiveChannel) SetLastModified(v string) *LiveChannel { + s.LastModified = &v + return s +} + +func (s *LiveChannel) SetName(v string) *LiveChannel { + s.Name = &v + return s +} + +func (s *LiveChannel) SetPlayUrls(v *LiveChannelPlayUrls) *LiveChannel { + s.PlayUrls = v + return s +} + +func (s *LiveChannel) SetPublishUrls(v *LiveChannelPublishUrls) *LiveChannel { + s.PublishUrls = v + return s +} + +func (s *LiveChannel) SetStatus(v string) *LiveChannel { + s.Status = &v + return s +} + +type LiveChannelAudio struct { + Bandwidth *int64 `json:"Bandwidth,omitempty" xml:"Bandwidth,omitempty"` + Codec *string `json:"Codec,omitempty" xml:"Codec,omitempty"` + SampleRate *int64 `json:"SampleRate,omitempty" xml:"SampleRate,omitempty"` +} + +func (s LiveChannelAudio) String() string { + return tea.Prettify(s) +} + +func (s LiveChannelAudio) GoString() string { + return s.String() +} + +func (s *LiveChannelAudio) SetBandwidth(v int64) *LiveChannelAudio { + s.Bandwidth = &v + return s +} + +func (s *LiveChannelAudio) SetCodec(v string) *LiveChannelAudio { + s.Codec = &v + return s +} + +func (s *LiveChannelAudio) SetSampleRate(v int64) *LiveChannelAudio { + s.SampleRate = &v + return s +} + +type LiveChannelConfiguration struct { + Description *string `json:"Description,omitempty" xml:"Description,omitempty"` + Snapshot *LiveChannelSnapshot `json:"Snapshot,omitempty" xml:"Snapshot,omitempty"` + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` + Target *LiveChannelTarget `json:"Target,omitempty" xml:"Target,omitempty"` +} + +func (s LiveChannelConfiguration) String() string { + return tea.Prettify(s) +} + +func (s LiveChannelConfiguration) GoString() string { + return s.String() +} + +func (s *LiveChannelConfiguration) SetDescription(v string) *LiveChannelConfiguration { + s.Description = &v + return s +} + +func (s *LiveChannelConfiguration) SetSnapshot(v *LiveChannelSnapshot) *LiveChannelConfiguration { + s.Snapshot = v + return s +} + +func (s *LiveChannelConfiguration) SetStatus(v string) *LiveChannelConfiguration { + s.Status = &v + return s +} + +func (s *LiveChannelConfiguration) SetTarget(v *LiveChannelTarget) *LiveChannelConfiguration { + s.Target = v + return s +} + +type LiveChannelPlayUrls struct { + Url *string `json:"Url,omitempty" xml:"Url,omitempty"` +} + +func (s LiveChannelPlayUrls) String() string { + return tea.Prettify(s) +} + +func (s LiveChannelPlayUrls) GoString() string { + return s.String() +} + +func (s *LiveChannelPlayUrls) SetUrl(v string) *LiveChannelPlayUrls { + s.Url = &v + return s +} + +type LiveChannelPublishUrls struct { + Url *string `json:"Url,omitempty" xml:"Url,omitempty"` +} + +func (s LiveChannelPublishUrls) String() string { + return tea.Prettify(s) +} + +func (s LiveChannelPublishUrls) GoString() string { + return s.String() +} + +func (s *LiveChannelPublishUrls) SetUrl(v string) *LiveChannelPublishUrls { + s.Url = &v + return s +} + +type LiveChannelSnapshot struct { + DestBucket *string `json:"DestBucket,omitempty" xml:"DestBucket,omitempty"` + Interval *int64 `json:"Interval,omitempty" xml:"Interval,omitempty"` + NotifyTopic *string `json:"NotifyTopic,omitempty" xml:"NotifyTopic,omitempty"` + RoleName *string `json:"RoleName,omitempty" xml:"RoleName,omitempty"` +} + +func (s LiveChannelSnapshot) String() string { + return tea.Prettify(s) +} + +func (s LiveChannelSnapshot) GoString() string { + return s.String() +} + +func (s *LiveChannelSnapshot) SetDestBucket(v string) *LiveChannelSnapshot { + s.DestBucket = &v + return s +} + +func (s *LiveChannelSnapshot) SetInterval(v int64) *LiveChannelSnapshot { + s.Interval = &v + return s +} + +func (s *LiveChannelSnapshot) SetNotifyTopic(v string) *LiveChannelSnapshot { + s.NotifyTopic = &v + return s +} + +func (s *LiveChannelSnapshot) SetRoleName(v string) *LiveChannelSnapshot { + s.RoleName = &v + return s +} + +type LiveChannelTarget struct { + FragCount *int64 `json:"FragCount,omitempty" xml:"FragCount,omitempty"` + FragDuration *int64 `json:"FragDuration,omitempty" xml:"FragDuration,omitempty"` + PlaylistName *string `json:"PlaylistName,omitempty" xml:"PlaylistName,omitempty"` + Type *string `json:"Type,omitempty" xml:"Type,omitempty"` +} + +func (s LiveChannelTarget) String() string { + return tea.Prettify(s) +} + +func (s LiveChannelTarget) GoString() string { + return s.String() +} + +func (s *LiveChannelTarget) SetFragCount(v int64) *LiveChannelTarget { + s.FragCount = &v + return s +} + +func (s *LiveChannelTarget) SetFragDuration(v int64) *LiveChannelTarget { + s.FragDuration = &v + return s +} + +func (s *LiveChannelTarget) SetPlaylistName(v string) *LiveChannelTarget { + s.PlaylistName = &v + return s +} + +func (s *LiveChannelTarget) SetType(v string) *LiveChannelTarget { + s.Type = &v + return s +} + +type LiveChannelVideo struct { + Bandwidth *int64 `json:"Bandwidth,omitempty" xml:"Bandwidth,omitempty"` + Codec *string `json:"Codec,omitempty" xml:"Codec,omitempty"` + FrameRate *int64 `json:"FrameRate,omitempty" xml:"FrameRate,omitempty"` + Height *int64 `json:"Height,omitempty" xml:"Height,omitempty"` + Width *int64 `json:"Width,omitempty" xml:"Width,omitempty"` +} + +func (s LiveChannelVideo) String() string { + return tea.Prettify(s) +} + +func (s LiveChannelVideo) GoString() string { + return s.String() +} + +func (s *LiveChannelVideo) SetBandwidth(v int64) *LiveChannelVideo { + s.Bandwidth = &v + return s +} + +func (s *LiveChannelVideo) SetCodec(v string) *LiveChannelVideo { + s.Codec = &v + return s +} + +func (s *LiveChannelVideo) SetFrameRate(v int64) *LiveChannelVideo { + s.FrameRate = &v + return s +} + +func (s *LiveChannelVideo) SetHeight(v int64) *LiveChannelVideo { + s.Height = &v + return s +} + +func (s *LiveChannelVideo) SetWidth(v int64) *LiveChannelVideo { + s.Width = &v + return s +} + +type LiveRecord struct { + EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"` + RemoteAddr *string `json:"RemoteAddr,omitempty" xml:"RemoteAddr,omitempty"` + StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"` +} + +func (s LiveRecord) String() string { + return tea.Prettify(s) +} + +func (s LiveRecord) GoString() string { + return s.String() +} + +func (s *LiveRecord) SetEndTime(v string) *LiveRecord { + s.EndTime = &v + return s +} + +func (s *LiveRecord) SetRemoteAddr(v string) *LiveRecord { + s.RemoteAddr = &v + return s +} + +func (s *LiveRecord) SetStartTime(v string) *LiveRecord { + s.StartTime = &v + return s +} + +type LocationTransferType struct { + Location *string `json:"Location,omitempty" xml:"Location,omitempty"` + TransferTypes *LocationTransferTypeTransferTypes `json:"TransferTypes,omitempty" xml:"TransferTypes,omitempty" type:"Struct"` +} + +func (s LocationTransferType) String() string { + return tea.Prettify(s) +} + +func (s LocationTransferType) GoString() string { + return s.String() +} + +func (s *LocationTransferType) SetLocation(v string) *LocationTransferType { + s.Location = &v + return s +} + +func (s *LocationTransferType) SetTransferTypes(v *LocationTransferTypeTransferTypes) *LocationTransferType { + s.TransferTypes = v + return s +} + +type LocationTransferTypeTransferTypes struct { + Type *string `json:"Type,omitempty" xml:"Type,omitempty"` +} + +func (s LocationTransferTypeTransferTypes) String() string { + return tea.Prettify(s) +} + +func (s LocationTransferTypeTransferTypes) GoString() string { + return s.String() +} + +func (s *LocationTransferTypeTransferTypes) SetType(v string) *LocationTransferTypeTransferTypes { + s.Type = &v + return s +} + +type LoggingEnabled struct { + TargetBucket *string `json:"TargetBucket,omitempty" xml:"TargetBucket,omitempty"` + TargetPrefix *string `json:"TargetPrefix,omitempty" xml:"TargetPrefix,omitempty"` +} + +func (s LoggingEnabled) String() string { + return tea.Prettify(s) +} + +func (s LoggingEnabled) GoString() string { + return s.String() +} + +func (s *LoggingEnabled) SetTargetBucket(v string) *LoggingEnabled { + s.TargetBucket = &v + return s +} + +func (s *LoggingEnabled) SetTargetPrefix(v string) *LoggingEnabled { + s.TargetPrefix = &v + return s +} + +type MetaQuery struct { + Aggregations *MetaQueryAggregations `json:"Aggregations,omitempty" xml:"Aggregations,omitempty" type:"Struct"` + MaxResults *int64 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"` + NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"` + Order *string `json:"Order,omitempty" xml:"Order,omitempty"` + Query *string `json:"Query,omitempty" xml:"Query,omitempty"` + Sort *string `json:"Sort,omitempty" xml:"Sort,omitempty"` +} + +func (s MetaQuery) String() string { + return tea.Prettify(s) +} + +func (s MetaQuery) GoString() string { + return s.String() +} + +func (s *MetaQuery) SetAggregations(v *MetaQueryAggregations) *MetaQuery { + s.Aggregations = v + return s +} + +func (s *MetaQuery) SetMaxResults(v int64) *MetaQuery { + s.MaxResults = &v + return s +} + +func (s *MetaQuery) SetNextToken(v string) *MetaQuery { + s.NextToken = &v + return s +} + +func (s *MetaQuery) SetOrder(v string) *MetaQuery { + s.Order = &v + return s +} + +func (s *MetaQuery) SetQuery(v string) *MetaQuery { + s.Query = &v + return s +} + +func (s *MetaQuery) SetSort(v string) *MetaQuery { + s.Sort = &v + return s +} + +type MetaQueryAggregations struct { + Aggregation []*MetaQueryAggregation `json:"Aggregation,omitempty" xml:"Aggregation,omitempty" type:"Repeated"` +} + +func (s MetaQueryAggregations) String() string { + return tea.Prettify(s) +} + +func (s MetaQueryAggregations) GoString() string { + return s.String() +} + +func (s *MetaQueryAggregations) SetAggregation(v []*MetaQueryAggregation) *MetaQueryAggregations { + s.Aggregation = v + return s +} + +type MetaQueryAggregation struct { + Field *string `json:"Field,omitempty" xml:"Field,omitempty"` + Operation *string `json:"Operation,omitempty" xml:"Operation,omitempty"` +} + +func (s MetaQueryAggregation) String() string { + return tea.Prettify(s) +} + +func (s MetaQueryAggregation) GoString() string { + return s.String() +} + +func (s *MetaQueryAggregation) SetField(v string) *MetaQueryAggregation { + s.Field = &v + return s +} + +func (s *MetaQueryAggregation) SetOperation(v string) *MetaQueryAggregation { + s.Operation = &v + return s +} + +type MetaQueryFile struct { + ETag *string `json:"ETag,omitempty" xml:"ETag,omitempty"` + FileModifiedTime *string `json:"FileModifiedTime,omitempty" xml:"FileModifiedTime,omitempty"` + Filename *string `json:"Filename,omitempty" xml:"Filename,omitempty"` + OSSCRC64 *string `json:"OSSCRC64,omitempty" xml:"OSSCRC64,omitempty"` + OSSObjectType *string `json:"OSSObjectType,omitempty" xml:"OSSObjectType,omitempty"` + OSSStorageClass *string `json:"OSSStorageClass,omitempty" xml:"OSSStorageClass,omitempty"` + OSSTagging *MetaQueryFileOSSTagging `json:"OSSTagging,omitempty" xml:"OSSTagging,omitempty" type:"Struct"` + OSSTaggingCount *int64 `json:"OSSTaggingCount,omitempty" xml:"OSSTaggingCount,omitempty"` + OSSUserMeta *MetaQueryFileOSSUserMeta `json:"OSSUserMeta,omitempty" xml:"OSSUserMeta,omitempty" type:"Struct"` + ObjectACL *string `json:"ObjectACL,omitempty" xml:"ObjectACL,omitempty"` + ServerSideEncryption *string `json:"ServerSideEncryption,omitempty" xml:"ServerSideEncryption,omitempty"` + ServerSideEncryptionCustomerAlgorithm *string `json:"ServerSideEncryptionCustomerAlgorithm,omitempty" xml:"ServerSideEncryptionCustomerAlgorithm,omitempty"` + Size *int64 `json:"Size,omitempty" xml:"Size,omitempty"` +} + +func (s MetaQueryFile) String() string { + return tea.Prettify(s) +} + +func (s MetaQueryFile) GoString() string { + return s.String() +} + +func (s *MetaQueryFile) SetETag(v string) *MetaQueryFile { + s.ETag = &v + return s +} + +func (s *MetaQueryFile) SetFileModifiedTime(v string) *MetaQueryFile { + s.FileModifiedTime = &v + return s +} + +func (s *MetaQueryFile) SetFilename(v string) *MetaQueryFile { + s.Filename = &v + return s +} + +func (s *MetaQueryFile) SetOSSCRC64(v string) *MetaQueryFile { + s.OSSCRC64 = &v + return s +} + +func (s *MetaQueryFile) SetOSSObjectType(v string) *MetaQueryFile { + s.OSSObjectType = &v + return s +} + +func (s *MetaQueryFile) SetOSSStorageClass(v string) *MetaQueryFile { + s.OSSStorageClass = &v + return s +} + +func (s *MetaQueryFile) SetOSSTagging(v *MetaQueryFileOSSTagging) *MetaQueryFile { + s.OSSTagging = v + return s +} + +func (s *MetaQueryFile) SetOSSTaggingCount(v int64) *MetaQueryFile { + s.OSSTaggingCount = &v + return s +} + +func (s *MetaQueryFile) SetOSSUserMeta(v *MetaQueryFileOSSUserMeta) *MetaQueryFile { + s.OSSUserMeta = v + return s +} + +func (s *MetaQueryFile) SetObjectACL(v string) *MetaQueryFile { + s.ObjectACL = &v + return s +} + +func (s *MetaQueryFile) SetServerSideEncryption(v string) *MetaQueryFile { + s.ServerSideEncryption = &v + return s +} + +func (s *MetaQueryFile) SetServerSideEncryptionCustomerAlgorithm(v string) *MetaQueryFile { + s.ServerSideEncryptionCustomerAlgorithm = &v + return s +} + +func (s *MetaQueryFile) SetSize(v int64) *MetaQueryFile { + s.Size = &v + return s +} + +type MetaQueryFileOSSTagging struct { + Tagging []*MetaQueryTagging `json:"Tagging,omitempty" xml:"Tagging,omitempty" type:"Repeated"` +} + +func (s MetaQueryFileOSSTagging) String() string { + return tea.Prettify(s) +} + +func (s MetaQueryFileOSSTagging) GoString() string { + return s.String() +} + +func (s *MetaQueryFileOSSTagging) SetTagging(v []*MetaQueryTagging) *MetaQueryFileOSSTagging { + s.Tagging = v + return s +} + +type MetaQueryFileOSSUserMeta struct { + UserMeta []*MetaQueryUserMeta `json:"UserMeta,omitempty" xml:"UserMeta,omitempty" type:"Repeated"` +} + +func (s MetaQueryFileOSSUserMeta) String() string { + return tea.Prettify(s) +} + +func (s MetaQueryFileOSSUserMeta) GoString() string { + return s.String() +} + +func (s *MetaQueryFileOSSUserMeta) SetUserMeta(v []*MetaQueryUserMeta) *MetaQueryFileOSSUserMeta { + s.UserMeta = v + return s +} + +type MetaQueryTagging struct { + Key *string `json:"Key,omitempty" xml:"Key,omitempty"` + Value *string `json:"Value,omitempty" xml:"Value,omitempty"` +} + +func (s MetaQueryTagging) String() string { + return tea.Prettify(s) +} + +func (s MetaQueryTagging) GoString() string { + return s.String() +} + +func (s *MetaQueryTagging) SetKey(v string) *MetaQueryTagging { + s.Key = &v + return s +} + +func (s *MetaQueryTagging) SetValue(v string) *MetaQueryTagging { + s.Value = &v + return s +} + +type MetaQueryUserMeta struct { + Key *string `json:"Key,omitempty" xml:"Key,omitempty"` + Value *string `json:"Value,omitempty" xml:"Value,omitempty"` +} + +func (s MetaQueryUserMeta) String() string { + return tea.Prettify(s) +} + +func (s MetaQueryUserMeta) GoString() string { + return s.String() +} + +func (s *MetaQueryUserMeta) SetKey(v string) *MetaQueryUserMeta { + s.Key = &v + return s +} + +func (s *MetaQueryUserMeta) SetValue(v string) *MetaQueryUserMeta { + s.Value = &v + return s +} + +type ObjectIdentifier struct { + Key *string `json:"Key,omitempty" xml:"Key,omitempty"` + VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"` +} + +func (s ObjectIdentifier) String() string { + return tea.Prettify(s) +} + +func (s ObjectIdentifier) GoString() string { + return s.String() +} + +func (s *ObjectIdentifier) SetKey(v string) *ObjectIdentifier { + s.Key = &v + return s +} + +func (s *ObjectIdentifier) SetVersionId(v string) *ObjectIdentifier { + s.VersionId = &v + return s +} + +type ObjectProcessConfiguration struct { + AllowedFeatures *ObjectProcessConfigurationAllowedFeatures `json:"AllowedFeatures,omitempty" xml:"AllowedFeatures,omitempty" type:"Struct"` + TransformationConfigurations *ObjectProcessConfigurationTransformationConfigurations `json:"TransformationConfigurations,omitempty" xml:"TransformationConfigurations,omitempty" type:"Struct"` +} + +func (s ObjectProcessConfiguration) String() string { + return tea.Prettify(s) +} + +func (s ObjectProcessConfiguration) GoString() string { + return s.String() +} + +func (s *ObjectProcessConfiguration) SetAllowedFeatures(v *ObjectProcessConfigurationAllowedFeatures) *ObjectProcessConfiguration { + s.AllowedFeatures = v + return s +} + +func (s *ObjectProcessConfiguration) SetTransformationConfigurations(v *ObjectProcessConfigurationTransformationConfigurations) *ObjectProcessConfiguration { + s.TransformationConfigurations = v + return s +} + +type ObjectProcessConfigurationAllowedFeatures struct { + AllowedFeature []*string `json:"AllowedFeature,omitempty" xml:"AllowedFeature,omitempty" type:"Repeated"` +} + +func (s ObjectProcessConfigurationAllowedFeatures) String() string { + return tea.Prettify(s) +} + +func (s ObjectProcessConfigurationAllowedFeatures) GoString() string { + return s.String() +} + +func (s *ObjectProcessConfigurationAllowedFeatures) SetAllowedFeature(v []*string) *ObjectProcessConfigurationAllowedFeatures { + s.AllowedFeature = v + return s +} + +type ObjectProcessConfigurationTransformationConfigurations struct { + TransformationConfiguration []*ObjectProcessConfigurationTransformationConfigurationsTransformationConfiguration `json:"TransformationConfiguration,omitempty" xml:"TransformationConfiguration,omitempty" type:"Repeated"` +} + +func (s ObjectProcessConfigurationTransformationConfigurations) String() string { + return tea.Prettify(s) +} + +func (s ObjectProcessConfigurationTransformationConfigurations) GoString() string { + return s.String() +} + +func (s *ObjectProcessConfigurationTransformationConfigurations) SetTransformationConfiguration(v []*ObjectProcessConfigurationTransformationConfigurationsTransformationConfiguration) *ObjectProcessConfigurationTransformationConfigurations { + s.TransformationConfiguration = v + return s +} + +type ObjectProcessConfigurationTransformationConfigurationsTransformationConfiguration struct { + Actions *ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationActions `json:"Actions,omitempty" xml:"Actions,omitempty" type:"Struct"` + ContentTransformation *ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformation `json:"ContentTransformation,omitempty" xml:"ContentTransformation,omitempty" type:"Struct"` +} + +func (s ObjectProcessConfigurationTransformationConfigurationsTransformationConfiguration) String() string { + return tea.Prettify(s) +} + +func (s ObjectProcessConfigurationTransformationConfigurationsTransformationConfiguration) GoString() string { + return s.String() +} + +func (s *ObjectProcessConfigurationTransformationConfigurationsTransformationConfiguration) SetActions(v *ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationActions) *ObjectProcessConfigurationTransformationConfigurationsTransformationConfiguration { + s.Actions = v + return s +} + +func (s *ObjectProcessConfigurationTransformationConfigurationsTransformationConfiguration) SetContentTransformation(v *ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformation) *ObjectProcessConfigurationTransformationConfigurationsTransformationConfiguration { + s.ContentTransformation = v + return s +} + +type ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationActions struct { + Action []*string `json:"Action,omitempty" xml:"Action,omitempty" type:"Repeated"` +} + +func (s ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationActions) String() string { + return tea.Prettify(s) +} + +func (s ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationActions) GoString() string { + return s.String() +} + +func (s *ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationActions) SetAction(v []*string) *ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationActions { + s.Action = v + return s +} + +type ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformation struct { + FunctionCompute *ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformationFunctionCompute `json:"FunctionCompute,omitempty" xml:"FunctionCompute,omitempty" type:"Struct"` +} + +func (s ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformation) String() string { + return tea.Prettify(s) +} + +func (s ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformation) GoString() string { + return s.String() +} + +func (s *ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformation) SetFunctionCompute(v *ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformationFunctionCompute) *ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformation { + s.FunctionCompute = v + return s +} + +type ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformationFunctionCompute struct { + FunctionArn *string `json:"FunctionArn,omitempty" xml:"FunctionArn,omitempty"` + FunctionAssumeRoleArn *string `json:"FunctionAssumeRoleArn,omitempty" xml:"FunctionAssumeRoleArn,omitempty"` +} + +func (s ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformationFunctionCompute) String() string { + return tea.Prettify(s) +} + +func (s ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformationFunctionCompute) GoString() string { + return s.String() +} + +func (s *ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformationFunctionCompute) SetFunctionArn(v string) *ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformationFunctionCompute { + s.FunctionArn = &v + return s +} + +func (s *ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformationFunctionCompute) SetFunctionAssumeRoleArn(v string) *ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformationFunctionCompute { + s.FunctionAssumeRoleArn = &v + return s +} + +type ObjectSummary struct { + ETag *string `json:"ETag,omitempty" xml:"ETag,omitempty"` + Key *string `json:"Key,omitempty" xml:"Key,omitempty"` + LastModified *string `json:"LastModified,omitempty" xml:"LastModified,omitempty"` + Owner *Owner `json:"Owner,omitempty" xml:"Owner,omitempty"` + ResoreInfo *string `json:"ResoreInfo,omitempty" xml:"ResoreInfo,omitempty"` + Size *int64 `json:"Size,omitempty" xml:"Size,omitempty"` + StorageClass *string `json:"StorageClass,omitempty" xml:"StorageClass,omitempty"` + Type *string `json:"Type,omitempty" xml:"Type,omitempty"` +} + +func (s ObjectSummary) String() string { + return tea.Prettify(s) +} + +func (s ObjectSummary) GoString() string { + return s.String() +} + +func (s *ObjectSummary) SetETag(v string) *ObjectSummary { + s.ETag = &v + return s +} + +func (s *ObjectSummary) SetKey(v string) *ObjectSummary { + s.Key = &v + return s +} + +func (s *ObjectSummary) SetLastModified(v string) *ObjectSummary { + s.LastModified = &v + return s +} + +func (s *ObjectSummary) SetOwner(v *Owner) *ObjectSummary { + s.Owner = v + return s +} + +func (s *ObjectSummary) SetResoreInfo(v string) *ObjectSummary { + s.ResoreInfo = &v + return s +} + +func (s *ObjectSummary) SetSize(v int64) *ObjectSummary { + s.Size = &v + return s +} + +func (s *ObjectSummary) SetStorageClass(v string) *ObjectSummary { + s.StorageClass = &v + return s +} + +func (s *ObjectSummary) SetType(v string) *ObjectSummary { + s.Type = &v + return s +} + +type ObjectVersion struct { + ETag *string `json:"ETag,omitempty" xml:"ETag,omitempty"` + IsLatest *bool `json:"IsLatest,omitempty" xml:"IsLatest,omitempty"` + Key *string `json:"Key,omitempty" xml:"Key,omitempty"` + LastModified *string `json:"LastModified,omitempty" xml:"LastModified,omitempty"` + Owner *Owner `json:"Owner,omitempty" xml:"Owner,omitempty"` + Size *int64 `json:"Size,omitempty" xml:"Size,omitempty"` + StorageClass *string `json:"StorageClass,omitempty" xml:"StorageClass,omitempty"` + VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"` +} + +func (s ObjectVersion) String() string { + return tea.Prettify(s) +} + +func (s ObjectVersion) GoString() string { + return s.String() +} + +func (s *ObjectVersion) SetETag(v string) *ObjectVersion { + s.ETag = &v + return s +} + +func (s *ObjectVersion) SetIsLatest(v bool) *ObjectVersion { + s.IsLatest = &v + return s +} + +func (s *ObjectVersion) SetKey(v string) *ObjectVersion { + s.Key = &v + return s +} + +func (s *ObjectVersion) SetLastModified(v string) *ObjectVersion { + s.LastModified = &v + return s +} + +func (s *ObjectVersion) SetOwner(v *Owner) *ObjectVersion { + s.Owner = v + return s +} + +func (s *ObjectVersion) SetSize(v int64) *ObjectVersion { + s.Size = &v + return s +} + +func (s *ObjectVersion) SetStorageClass(v string) *ObjectVersion { + s.StorageClass = &v + return s +} + +func (s *ObjectVersion) SetVersionId(v string) *ObjectVersion { + s.VersionId = &v + return s +} + +type OutputSerialization struct { + CSV *CSVOutput `json:"CSV,omitempty" xml:"CSV,omitempty"` + EnablePayloadCrc *bool `json:"EnablePayloadCrc,omitempty" xml:"EnablePayloadCrc,omitempty"` + JSON *JSONOutput `json:"JSON,omitempty" xml:"JSON,omitempty"` + KeepAllColumns *bool `json:"KeepAllColumns,omitempty" xml:"KeepAllColumns,omitempty"` + OutputHeader *bool `json:"OutputHeader,omitempty" xml:"OutputHeader,omitempty"` + OutputRawData *bool `json:"OutputRawData,omitempty" xml:"OutputRawData,omitempty"` +} + +func (s OutputSerialization) String() string { + return tea.Prettify(s) +} + +func (s OutputSerialization) GoString() string { + return s.String() +} + +func (s *OutputSerialization) SetCSV(v *CSVOutput) *OutputSerialization { + s.CSV = v + return s +} + +func (s *OutputSerialization) SetEnablePayloadCrc(v bool) *OutputSerialization { + s.EnablePayloadCrc = &v + return s +} + +func (s *OutputSerialization) SetJSON(v *JSONOutput) *OutputSerialization { + s.JSON = v + return s +} + +func (s *OutputSerialization) SetKeepAllColumns(v bool) *OutputSerialization { + s.KeepAllColumns = &v + return s +} + +func (s *OutputSerialization) SetOutputHeader(v bool) *OutputSerialization { + s.OutputHeader = &v + return s +} + +func (s *OutputSerialization) SetOutputRawData(v bool) *OutputSerialization { + s.OutputRawData = &v + return s +} + +type Owner struct { + DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName,omitempty"` + ID *string `json:"ID,omitempty" xml:"ID,omitempty"` +} + +func (s Owner) String() string { + return tea.Prettify(s) +} + +func (s Owner) GoString() string { + return s.String() +} + +func (s *Owner) SetDisplayName(v string) *Owner { + s.DisplayName = &v + return s +} + +func (s *Owner) SetID(v string) *Owner { + s.ID = &v + return s +} + +type Part struct { + ETag *string `json:"ETag,omitempty" xml:"ETag,omitempty"` + LastModified *string `json:"LastModified,omitempty" xml:"LastModified,omitempty"` + PartNumber *int64 `json:"PartNumber,omitempty" xml:"PartNumber,omitempty"` + Size *int64 `json:"Size,omitempty" xml:"Size,omitempty"` +} + +func (s Part) String() string { + return tea.Prettify(s) +} + +func (s Part) GoString() string { + return s.String() +} + +func (s *Part) SetETag(v string) *Part { + s.ETag = &v + return s +} + +func (s *Part) SetLastModified(v string) *Part { + s.LastModified = &v + return s +} + +func (s *Part) SetPartNumber(v int64) *Part { + s.PartNumber = &v + return s +} + +func (s *Part) SetSize(v int64) *Part { + s.Size = &v + return s +} + +type PublicAccessBlockConfiguration struct { + BlockPublicAccess *bool `json:"BlockPublicAccess,omitempty" xml:"BlockPublicAccess,omitempty"` +} + +func (s PublicAccessBlockConfiguration) String() string { + return tea.Prettify(s) +} + +func (s PublicAccessBlockConfiguration) GoString() string { + return s.String() +} + +func (s *PublicAccessBlockConfiguration) SetBlockPublicAccess(v bool) *PublicAccessBlockConfiguration { + s.BlockPublicAccess = &v + return s +} + +type RTC struct { + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` +} + +func (s RTC) String() string { + return tea.Prettify(s) +} + +func (s RTC) GoString() string { + return s.String() +} + +func (s *RTC) SetStatus(v string) *RTC { + s.Status = &v + return s +} + +type RefererConfiguration struct { + AllowEmptyReferer *bool `json:"AllowEmptyReferer,omitempty" xml:"AllowEmptyReferer,omitempty"` + AllowTruncateQueryString *bool `json:"AllowTruncateQueryString,omitempty" xml:"AllowTruncateQueryString,omitempty"` + RefererBlacklist *RefererConfigurationRefererBlacklist `json:"RefererBlacklist,omitempty" xml:"RefererBlacklist,omitempty" type:"Struct"` + RefererList *RefererConfigurationRefererList `json:"RefererList,omitempty" xml:"RefererList,omitempty" type:"Struct"` + TruncatePath *bool `json:"TruncatePath,omitempty" xml:"TruncatePath,omitempty"` +} + +func (s RefererConfiguration) String() string { + return tea.Prettify(s) +} + +func (s RefererConfiguration) GoString() string { + return s.String() +} + +func (s *RefererConfiguration) SetAllowEmptyReferer(v bool) *RefererConfiguration { + s.AllowEmptyReferer = &v + return s +} + +func (s *RefererConfiguration) SetAllowTruncateQueryString(v bool) *RefererConfiguration { + s.AllowTruncateQueryString = &v + return s +} + +func (s *RefererConfiguration) SetRefererBlacklist(v *RefererConfigurationRefererBlacklist) *RefererConfiguration { + s.RefererBlacklist = v + return s +} + +func (s *RefererConfiguration) SetRefererList(v *RefererConfigurationRefererList) *RefererConfiguration { + s.RefererList = v + return s +} + +func (s *RefererConfiguration) SetTruncatePath(v bool) *RefererConfiguration { + s.TruncatePath = &v + return s +} + +type RefererConfigurationRefererBlacklist struct { + Referer []*string `json:"Referer,omitempty" xml:"Referer,omitempty" type:"Repeated"` +} + +func (s RefererConfigurationRefererBlacklist) String() string { + return tea.Prettify(s) +} + +func (s RefererConfigurationRefererBlacklist) GoString() string { + return s.String() +} + +func (s *RefererConfigurationRefererBlacklist) SetReferer(v []*string) *RefererConfigurationRefererBlacklist { + s.Referer = v + return s +} + +type RefererConfigurationRefererList struct { + Referer []*string `json:"Referer,omitempty" xml:"Referer,omitempty" type:"Repeated"` +} + +func (s RefererConfigurationRefererList) String() string { + return tea.Prettify(s) +} + +func (s RefererConfigurationRefererList) GoString() string { + return s.String() +} + +func (s *RefererConfigurationRefererList) SetReferer(v []*string) *RefererConfigurationRefererList { + s.Referer = v + return s +} + +type RegionInfo struct { + AccelerateEndpoint *string `json:"AccelerateEndpoint,omitempty" xml:"AccelerateEndpoint,omitempty"` + InternalEndpoint *string `json:"InternalEndpoint,omitempty" xml:"InternalEndpoint,omitempty"` + InternetEndpoint *string `json:"InternetEndpoint,omitempty" xml:"InternetEndpoint,omitempty"` + Region *string `json:"Region,omitempty" xml:"Region,omitempty"` +} + +func (s RegionInfo) String() string { + return tea.Prettify(s) +} + +func (s RegionInfo) GoString() string { + return s.String() +} + +func (s *RegionInfo) SetAccelerateEndpoint(v string) *RegionInfo { + s.AccelerateEndpoint = &v + return s +} + +func (s *RegionInfo) SetInternalEndpoint(v string) *RegionInfo { + s.InternalEndpoint = &v + return s +} + +func (s *RegionInfo) SetInternetEndpoint(v string) *RegionInfo { + s.InternetEndpoint = &v + return s +} + +func (s *RegionInfo) SetRegion(v string) *RegionInfo { + s.Region = &v + return s +} + +type ReplicationConfiguration struct { + Rule *ReplicationRule `json:"Rule,omitempty" xml:"Rule,omitempty"` +} + +func (s ReplicationConfiguration) String() string { + return tea.Prettify(s) +} + +func (s ReplicationConfiguration) GoString() string { + return s.String() +} + +func (s *ReplicationConfiguration) SetRule(v *ReplicationRule) *ReplicationConfiguration { + s.Rule = v + return s +} + +type ReplicationDestination struct { + Bucket *string `json:"Bucket,omitempty" xml:"Bucket,omitempty"` + Location *string `json:"Location,omitempty" xml:"Location,omitempty"` + TransferType *string `json:"TransferType,omitempty" xml:"TransferType,omitempty"` +} + +func (s ReplicationDestination) String() string { + return tea.Prettify(s) +} + +func (s ReplicationDestination) GoString() string { + return s.String() +} + +func (s *ReplicationDestination) SetBucket(v string) *ReplicationDestination { + s.Bucket = &v + return s +} + +func (s *ReplicationDestination) SetLocation(v string) *ReplicationDestination { + s.Location = &v + return s +} + +func (s *ReplicationDestination) SetTransferType(v string) *ReplicationDestination { + s.TransferType = &v + return s +} + +type ReplicationPrefixSet struct { + Prefix []*string `json:"Prefix,omitempty" xml:"Prefix,omitempty" type:"Repeated"` +} + +func (s ReplicationPrefixSet) String() string { + return tea.Prettify(s) +} + +func (s ReplicationPrefixSet) GoString() string { + return s.String() +} + +func (s *ReplicationPrefixSet) SetPrefix(v []*string) *ReplicationPrefixSet { + s.Prefix = v + return s +} + +type ReplicationProgressRule struct { + Action *string `json:"Action,omitempty" xml:"Action,omitempty"` + Destination *ReplicationDestination `json:"Destination,omitempty" xml:"Destination,omitempty"` + HistoricalObjectReplication *string `json:"HistoricalObjectReplication,omitempty" xml:"HistoricalObjectReplication,omitempty"` + ID *string `json:"ID,omitempty" xml:"ID,omitempty"` + PrefixSet *ReplicationPrefixSet `json:"PrefixSet,omitempty" xml:"PrefixSet,omitempty"` + Progress *ReplicationProgressRuleProgress `json:"Progress,omitempty" xml:"Progress,omitempty" type:"Struct"` + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` +} + +func (s ReplicationProgressRule) String() string { + return tea.Prettify(s) +} + +func (s ReplicationProgressRule) GoString() string { + return s.String() +} + +func (s *ReplicationProgressRule) SetAction(v string) *ReplicationProgressRule { + s.Action = &v + return s +} + +func (s *ReplicationProgressRule) SetDestination(v *ReplicationDestination) *ReplicationProgressRule { + s.Destination = v + return s +} + +func (s *ReplicationProgressRule) SetHistoricalObjectReplication(v string) *ReplicationProgressRule { + s.HistoricalObjectReplication = &v + return s +} + +func (s *ReplicationProgressRule) SetID(v string) *ReplicationProgressRule { + s.ID = &v + return s +} + +func (s *ReplicationProgressRule) SetPrefixSet(v *ReplicationPrefixSet) *ReplicationProgressRule { + s.PrefixSet = v + return s +} + +func (s *ReplicationProgressRule) SetProgress(v *ReplicationProgressRuleProgress) *ReplicationProgressRule { + s.Progress = v + return s +} + +func (s *ReplicationProgressRule) SetStatus(v string) *ReplicationProgressRule { + s.Status = &v + return s +} + +type ReplicationProgressRuleProgress struct { + HistoricalObject *string `json:"HistoricalObject,omitempty" xml:"HistoricalObject,omitempty"` + NewObject *string `json:"NewObject,omitempty" xml:"NewObject,omitempty"` +} + +func (s ReplicationProgressRuleProgress) String() string { + return tea.Prettify(s) +} + +func (s ReplicationProgressRuleProgress) GoString() string { + return s.String() +} + +func (s *ReplicationProgressRuleProgress) SetHistoricalObject(v string) *ReplicationProgressRuleProgress { + s.HistoricalObject = &v + return s +} + +func (s *ReplicationProgressRuleProgress) SetNewObject(v string) *ReplicationProgressRuleProgress { + s.NewObject = &v + return s +} + +type ReplicationRule struct { + Action *string `json:"Action,omitempty" xml:"Action,omitempty"` + Destination *ReplicationDestination `json:"Destination,omitempty" xml:"Destination,omitempty"` + EncryptionConfiguration *ReplicationRuleEncryptionConfiguration `json:"EncryptionConfiguration,omitempty" xml:"EncryptionConfiguration,omitempty" type:"Struct"` + HistoricalObjectReplication *string `json:"HistoricalObjectReplication,omitempty" xml:"HistoricalObjectReplication,omitempty"` + ID *string `json:"ID,omitempty" xml:"ID,omitempty"` + PrefixSet *ReplicationPrefixSet `json:"PrefixSet,omitempty" xml:"PrefixSet,omitempty"` + SourceSelectionCriteria *ReplicationSourceSelectionCriteria `json:"SourceSelectionCriteria,omitempty" xml:"SourceSelectionCriteria,omitempty"` + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` + SyncRole *string `json:"SyncRole,omitempty" xml:"SyncRole,omitempty"` +} + +func (s ReplicationRule) String() string { + return tea.Prettify(s) +} + +func (s ReplicationRule) GoString() string { + return s.String() +} + +func (s *ReplicationRule) SetAction(v string) *ReplicationRule { + s.Action = &v + return s +} + +func (s *ReplicationRule) SetDestination(v *ReplicationDestination) *ReplicationRule { + s.Destination = v + return s +} + +func (s *ReplicationRule) SetEncryptionConfiguration(v *ReplicationRuleEncryptionConfiguration) *ReplicationRule { + s.EncryptionConfiguration = v + return s +} + +func (s *ReplicationRule) SetHistoricalObjectReplication(v string) *ReplicationRule { + s.HistoricalObjectReplication = &v + return s +} + +func (s *ReplicationRule) SetID(v string) *ReplicationRule { + s.ID = &v + return s +} + +func (s *ReplicationRule) SetPrefixSet(v *ReplicationPrefixSet) *ReplicationRule { + s.PrefixSet = v + return s +} + +func (s *ReplicationRule) SetSourceSelectionCriteria(v *ReplicationSourceSelectionCriteria) *ReplicationRule { + s.SourceSelectionCriteria = v + return s +} + +func (s *ReplicationRule) SetStatus(v string) *ReplicationRule { + s.Status = &v + return s +} + +func (s *ReplicationRule) SetSyncRole(v string) *ReplicationRule { + s.SyncRole = &v + return s +} + +type ReplicationRuleEncryptionConfiguration struct { + ReplicaKmsKeyID *string `json:"ReplicaKmsKeyID,omitempty" xml:"ReplicaKmsKeyID,omitempty"` +} + +func (s ReplicationRuleEncryptionConfiguration) String() string { + return tea.Prettify(s) +} + +func (s ReplicationRuleEncryptionConfiguration) GoString() string { + return s.String() +} + +func (s *ReplicationRuleEncryptionConfiguration) SetReplicaKmsKeyID(v string) *ReplicationRuleEncryptionConfiguration { + s.ReplicaKmsKeyID = &v + return s +} + +type ReplicationRuleProgress struct { + Action *string `json:"Action,omitempty" xml:"Action,omitempty"` + ID *string `json:"ID,omitempty" xml:"ID,omitempty"` + PrefixSet *ReplicationPrefixSet `json:"PrefixSet,omitempty" xml:"PrefixSet,omitempty"` +} + +func (s ReplicationRuleProgress) String() string { + return tea.Prettify(s) +} + +func (s ReplicationRuleProgress) GoString() string { + return s.String() +} + +func (s *ReplicationRuleProgress) SetAction(v string) *ReplicationRuleProgress { + s.Action = &v + return s +} + +func (s *ReplicationRuleProgress) SetID(v string) *ReplicationRuleProgress { + s.ID = &v + return s +} + +func (s *ReplicationRuleProgress) SetPrefixSet(v *ReplicationPrefixSet) *ReplicationRuleProgress { + s.PrefixSet = v + return s +} + +type ReplicationRules struct { + ID []*string `json:"ID,omitempty" xml:"ID,omitempty" type:"Repeated"` +} + +func (s ReplicationRules) String() string { + return tea.Prettify(s) +} + +func (s ReplicationRules) GoString() string { + return s.String() +} + +func (s *ReplicationRules) SetID(v []*string) *ReplicationRules { + s.ID = v + return s +} + +type ReplicationSourceSelectionCriteria struct { + SseKmsEncryptedObjects *ReplicationSourceSelectionCriteriaSseKmsEncryptedObjects `json:"SseKmsEncryptedObjects,omitempty" xml:"SseKmsEncryptedObjects,omitempty" type:"Struct"` +} + +func (s ReplicationSourceSelectionCriteria) String() string { + return tea.Prettify(s) +} + +func (s ReplicationSourceSelectionCriteria) GoString() string { + return s.String() +} + +func (s *ReplicationSourceSelectionCriteria) SetSseKmsEncryptedObjects(v *ReplicationSourceSelectionCriteriaSseKmsEncryptedObjects) *ReplicationSourceSelectionCriteria { + s.SseKmsEncryptedObjects = v + return s +} + +type ReplicationSourceSelectionCriteriaSseKmsEncryptedObjects struct { + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` +} + +func (s ReplicationSourceSelectionCriteriaSseKmsEncryptedObjects) String() string { + return tea.Prettify(s) +} + +func (s ReplicationSourceSelectionCriteriaSseKmsEncryptedObjects) GoString() string { + return s.String() +} + +func (s *ReplicationSourceSelectionCriteriaSseKmsEncryptedObjects) SetStatus(v string) *ReplicationSourceSelectionCriteriaSseKmsEncryptedObjects { + s.Status = &v + return s +} + +type RequestPaymentConfiguration struct { + Payer *string `json:"Payer,omitempty" xml:"Payer,omitempty"` +} + +func (s RequestPaymentConfiguration) String() string { + return tea.Prettify(s) +} + +func (s RequestPaymentConfiguration) GoString() string { + return s.String() +} + +func (s *RequestPaymentConfiguration) SetPayer(v string) *RequestPaymentConfiguration { + s.Payer = &v + return s +} + +type ResponseHeaderConfiguration struct { + Rule []*ResponseHeaderConfigurationRule `json:"Rule,omitempty" xml:"Rule,omitempty" type:"Repeated"` +} + +func (s ResponseHeaderConfiguration) String() string { + return tea.Prettify(s) +} + +func (s ResponseHeaderConfiguration) GoString() string { + return s.String() +} + +func (s *ResponseHeaderConfiguration) SetRule(v []*ResponseHeaderConfigurationRule) *ResponseHeaderConfiguration { + s.Rule = v + return s +} + +type ResponseHeaderConfigurationRule struct { + Filters *ResponseHeaderConfigurationRuleFilters `json:"Filters,omitempty" xml:"Filters,omitempty" type:"Struct"` + HideHeaders *ResponseHeaderConfigurationRuleHideHeaders `json:"HideHeaders,omitempty" xml:"HideHeaders,omitempty" type:"Struct"` + Name *string `json:"Name,omitempty" xml:"Name,omitempty"` +} + +func (s ResponseHeaderConfigurationRule) String() string { + return tea.Prettify(s) +} + +func (s ResponseHeaderConfigurationRule) GoString() string { + return s.String() +} + +func (s *ResponseHeaderConfigurationRule) SetFilters(v *ResponseHeaderConfigurationRuleFilters) *ResponseHeaderConfigurationRule { + s.Filters = v + return s +} + +func (s *ResponseHeaderConfigurationRule) SetHideHeaders(v *ResponseHeaderConfigurationRuleHideHeaders) *ResponseHeaderConfigurationRule { + s.HideHeaders = v + return s +} + +func (s *ResponseHeaderConfigurationRule) SetName(v string) *ResponseHeaderConfigurationRule { + s.Name = &v + return s +} + +type ResponseHeaderConfigurationRuleFilters struct { + Operation []*string `json:"Operation,omitempty" xml:"Operation,omitempty" type:"Repeated"` +} + +func (s ResponseHeaderConfigurationRuleFilters) String() string { + return tea.Prettify(s) +} + +func (s ResponseHeaderConfigurationRuleFilters) GoString() string { + return s.String() +} + +func (s *ResponseHeaderConfigurationRuleFilters) SetOperation(v []*string) *ResponseHeaderConfigurationRuleFilters { + s.Operation = v + return s +} + +type ResponseHeaderConfigurationRuleHideHeaders struct { + Header []*string `json:"Header,omitempty" xml:"Header,omitempty" type:"Repeated"` +} + +func (s ResponseHeaderConfigurationRuleHideHeaders) String() string { + return tea.Prettify(s) +} + +func (s ResponseHeaderConfigurationRuleHideHeaders) GoString() string { + return s.String() +} + +func (s *ResponseHeaderConfigurationRuleHideHeaders) SetHeader(v []*string) *ResponseHeaderConfigurationRuleHideHeaders { + s.Header = v + return s +} + +type RestoreRequest struct { + Days *int64 `json:"Days,omitempty" xml:"Days,omitempty"` + JobParameters *RestoreRequestJobParameters `json:"JobParameters,omitempty" xml:"JobParameters,omitempty" type:"Struct"` +} + +func (s RestoreRequest) String() string { + return tea.Prettify(s) +} + +func (s RestoreRequest) GoString() string { + return s.String() +} + +func (s *RestoreRequest) SetDays(v int64) *RestoreRequest { + s.Days = &v + return s +} + +func (s *RestoreRequest) SetJobParameters(v *RestoreRequestJobParameters) *RestoreRequest { + s.JobParameters = v + return s +} + +type RestoreRequestJobParameters struct { + Tier *string `json:"Tier,omitempty" xml:"Tier,omitempty"` +} + +func (s RestoreRequestJobParameters) String() string { + return tea.Prettify(s) +} + +func (s RestoreRequestJobParameters) GoString() string { + return s.String() +} + +func (s *RestoreRequestJobParameters) SetTier(v string) *RestoreRequestJobParameters { + s.Tier = &v + return s +} + +type RoutingRule struct { + Condition *RoutingRuleCondition `json:"Condition,omitempty" xml:"Condition,omitempty"` + Redirect *RoutingRuleRedirect `json:"Redirect,omitempty" xml:"Redirect,omitempty"` + RuleNumber *int64 `json:"RuleNumber,omitempty" xml:"RuleNumber,omitempty"` +} + +func (s RoutingRule) String() string { + return tea.Prettify(s) +} + +func (s RoutingRule) GoString() string { + return s.String() +} + +func (s *RoutingRule) SetCondition(v *RoutingRuleCondition) *RoutingRule { + s.Condition = v + return s +} + +func (s *RoutingRule) SetRedirect(v *RoutingRuleRedirect) *RoutingRule { + s.Redirect = v + return s +} + +func (s *RoutingRule) SetRuleNumber(v int64) *RoutingRule { + s.RuleNumber = &v + return s +} + +type RoutingRuleCondition struct { + HttpErrorCodeReturnedEquals *int64 `json:"HttpErrorCodeReturnedEquals,omitempty" xml:"HttpErrorCodeReturnedEquals,omitempty"` + KeyPrefixEquals *string `json:"KeyPrefixEquals,omitempty" xml:"KeyPrefixEquals,omitempty"` +} + +func (s RoutingRuleCondition) String() string { + return tea.Prettify(s) +} + +func (s RoutingRuleCondition) GoString() string { + return s.String() +} + +func (s *RoutingRuleCondition) SetHttpErrorCodeReturnedEquals(v int64) *RoutingRuleCondition { + s.HttpErrorCodeReturnedEquals = &v + return s +} + +func (s *RoutingRuleCondition) SetKeyPrefixEquals(v string) *RoutingRuleCondition { + s.KeyPrefixEquals = &v + return s +} + +type RoutingRuleRedirect struct { + EnableReplacePrefix *bool `json:"EnableReplacePrefix,omitempty" xml:"EnableReplacePrefix,omitempty"` + HostName *string `json:"HostName,omitempty" xml:"HostName,omitempty"` + HttpRedirectCode *int64 `json:"HttpRedirectCode,omitempty" xml:"HttpRedirectCode,omitempty"` + MirrorCheckMd5 *bool `json:"MirrorCheckMd5,omitempty" xml:"MirrorCheckMd5,omitempty"` + MirrorFollowRedirect *bool `json:"MirrorFollowRedirect,omitempty" xml:"MirrorFollowRedirect,omitempty"` + MirrorHeaders *RoutingRuleRedirectMirrorHeaders `json:"MirrorHeaders,omitempty" xml:"MirrorHeaders,omitempty" type:"Struct"` + MirrorPassQueryString *bool `json:"MirrorPassQueryString,omitempty" xml:"MirrorPassQueryString,omitempty"` + MirrorURL *string `json:"MirrorURL,omitempty" xml:"MirrorURL,omitempty"` + PassQueryString *bool `json:"PassQueryString,omitempty" xml:"PassQueryString,omitempty"` + Protocol *string `json:"Protocol,omitempty" xml:"Protocol,omitempty"` + RedirectType *string `json:"RedirectType,omitempty" xml:"RedirectType,omitempty"` + ReplaceKeyPrefixWith *string `json:"ReplaceKeyPrefixWith,omitempty" xml:"ReplaceKeyPrefixWith,omitempty"` + ReplaceKeyWith *string `json:"ReplaceKeyWith,omitempty" xml:"ReplaceKeyWith,omitempty"` + TransparentMirrorResponseCodes *string `json:"TransparentMirrorResponseCodes,omitempty" xml:"TransparentMirrorResponseCodes,omitempty"` +} + +func (s RoutingRuleRedirect) String() string { + return tea.Prettify(s) +} + +func (s RoutingRuleRedirect) GoString() string { + return s.String() +} + +func (s *RoutingRuleRedirect) SetEnableReplacePrefix(v bool) *RoutingRuleRedirect { + s.EnableReplacePrefix = &v + return s +} + +func (s *RoutingRuleRedirect) SetHostName(v string) *RoutingRuleRedirect { + s.HostName = &v + return s +} + +func (s *RoutingRuleRedirect) SetHttpRedirectCode(v int64) *RoutingRuleRedirect { + s.HttpRedirectCode = &v + return s +} + +func (s *RoutingRuleRedirect) SetMirrorCheckMd5(v bool) *RoutingRuleRedirect { + s.MirrorCheckMd5 = &v + return s +} + +func (s *RoutingRuleRedirect) SetMirrorFollowRedirect(v bool) *RoutingRuleRedirect { + s.MirrorFollowRedirect = &v + return s +} + +func (s *RoutingRuleRedirect) SetMirrorHeaders(v *RoutingRuleRedirectMirrorHeaders) *RoutingRuleRedirect { + s.MirrorHeaders = v + return s +} + +func (s *RoutingRuleRedirect) SetMirrorPassQueryString(v bool) *RoutingRuleRedirect { + s.MirrorPassQueryString = &v + return s +} + +func (s *RoutingRuleRedirect) SetMirrorURL(v string) *RoutingRuleRedirect { + s.MirrorURL = &v + return s +} + +func (s *RoutingRuleRedirect) SetPassQueryString(v bool) *RoutingRuleRedirect { + s.PassQueryString = &v + return s +} + +func (s *RoutingRuleRedirect) SetProtocol(v string) *RoutingRuleRedirect { + s.Protocol = &v + return s +} + +func (s *RoutingRuleRedirect) SetRedirectType(v string) *RoutingRuleRedirect { + s.RedirectType = &v + return s +} + +func (s *RoutingRuleRedirect) SetReplaceKeyPrefixWith(v string) *RoutingRuleRedirect { + s.ReplaceKeyPrefixWith = &v + return s +} + +func (s *RoutingRuleRedirect) SetReplaceKeyWith(v string) *RoutingRuleRedirect { + s.ReplaceKeyWith = &v + return s +} + +func (s *RoutingRuleRedirect) SetTransparentMirrorResponseCodes(v string) *RoutingRuleRedirect { + s.TransparentMirrorResponseCodes = &v + return s +} + +type RoutingRuleRedirectMirrorHeaders struct { + Pass []*string `json:"Pass,omitempty" xml:"Pass,omitempty" type:"Repeated"` + PassAll *bool `json:"PassAll,omitempty" xml:"PassAll,omitempty"` + Remove []*string `json:"Remove,omitempty" xml:"Remove,omitempty" type:"Repeated"` + Set []*RoutingRuleRedirectMirrorHeadersSet `json:"Set,omitempty" xml:"Set,omitempty" type:"Repeated"` +} + +func (s RoutingRuleRedirectMirrorHeaders) String() string { + return tea.Prettify(s) +} + +func (s RoutingRuleRedirectMirrorHeaders) GoString() string { + return s.String() +} + +func (s *RoutingRuleRedirectMirrorHeaders) SetPass(v []*string) *RoutingRuleRedirectMirrorHeaders { + s.Pass = v + return s +} + +func (s *RoutingRuleRedirectMirrorHeaders) SetPassAll(v bool) *RoutingRuleRedirectMirrorHeaders { + s.PassAll = &v + return s +} + +func (s *RoutingRuleRedirectMirrorHeaders) SetRemove(v []*string) *RoutingRuleRedirectMirrorHeaders { + s.Remove = v + return s +} + +func (s *RoutingRuleRedirectMirrorHeaders) SetSet(v []*RoutingRuleRedirectMirrorHeadersSet) *RoutingRuleRedirectMirrorHeaders { + s.Set = v + return s +} + +type RoutingRuleRedirectMirrorHeadersSet struct { + Key *string `json:"Key,omitempty" xml:"Key,omitempty"` + Value *string `json:"Value,omitempty" xml:"Value,omitempty"` +} + +func (s RoutingRuleRedirectMirrorHeadersSet) String() string { + return tea.Prettify(s) +} + +func (s RoutingRuleRedirectMirrorHeadersSet) GoString() string { + return s.String() +} + +func (s *RoutingRuleRedirectMirrorHeadersSet) SetKey(v string) *RoutingRuleRedirectMirrorHeadersSet { + s.Key = &v + return s +} + +func (s *RoutingRuleRedirectMirrorHeadersSet) SetValue(v string) *RoutingRuleRedirectMirrorHeadersSet { + s.Value = &v + return s +} + +type RtcConfiguration struct { + ID *string `json:"ID,omitempty" xml:"ID,omitempty"` + RTC *RTC `json:"RTC,omitempty" xml:"RTC,omitempty"` +} + +func (s RtcConfiguration) String() string { + return tea.Prettify(s) +} + +func (s RtcConfiguration) GoString() string { + return s.String() +} + +func (s *RtcConfiguration) SetID(v string) *RtcConfiguration { + s.ID = &v + return s +} + +func (s *RtcConfiguration) SetRTC(v *RTC) *RtcConfiguration { + s.RTC = v + return s +} + +type SSEKMS struct { + KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` +} + +func (s SSEKMS) String() string { + return tea.Prettify(s) +} + +func (s SSEKMS) GoString() string { + return s.String() +} + +func (s *SSEKMS) SetKeyId(v string) *SSEKMS { + s.KeyId = &v + return s +} + +type SSEOSS struct { + Unused *string `json:"unused,omitempty" xml:"unused,omitempty"` +} + +func (s SSEOSS) String() string { + return tea.Prettify(s) +} + +func (s SSEOSS) GoString() string { + return s.String() +} + +func (s *SSEOSS) SetUnused(v string) *SSEOSS { + s.Unused = &v + return s +} + +type SelectMetaRequest struct { + InputSerialization *InputSerialization `json:"InputSerialization,omitempty" xml:"InputSerialization,omitempty"` + OverwriteIfExists *bool `json:"OverwriteIfExists,omitempty" xml:"OverwriteIfExists,omitempty"` +} + +func (s SelectMetaRequest) String() string { + return tea.Prettify(s) +} + +func (s SelectMetaRequest) GoString() string { + return s.String() +} + +func (s *SelectMetaRequest) SetInputSerialization(v *InputSerialization) *SelectMetaRequest { + s.InputSerialization = v + return s +} + +func (s *SelectMetaRequest) SetOverwriteIfExists(v bool) *SelectMetaRequest { + s.OverwriteIfExists = &v + return s +} + +type SelectMetaStatus struct { + ColsCount *int64 `json:"ColsCount,omitempty" xml:"ColsCount,omitempty"` + ErrorMessage *string `json:"ErrorMessage,omitempty" xml:"ErrorMessage,omitempty"` + Offset *int64 `json:"Offset,omitempty" xml:"Offset,omitempty"` + RowsCount *int64 `json:"RowsCount,omitempty" xml:"RowsCount,omitempty"` + SplitsCount *int64 `json:"SplitsCount,omitempty" xml:"SplitsCount,omitempty"` + Status *int64 `json:"Status,omitempty" xml:"Status,omitempty"` + TotalScannedBytes *int64 `json:"TotalScannedBytes,omitempty" xml:"TotalScannedBytes,omitempty"` +} + +func (s SelectMetaStatus) String() string { + return tea.Prettify(s) +} + +func (s SelectMetaStatus) GoString() string { + return s.String() +} + +func (s *SelectMetaStatus) SetColsCount(v int64) *SelectMetaStatus { + s.ColsCount = &v + return s +} + +func (s *SelectMetaStatus) SetErrorMessage(v string) *SelectMetaStatus { + s.ErrorMessage = &v + return s +} + +func (s *SelectMetaStatus) SetOffset(v int64) *SelectMetaStatus { + s.Offset = &v + return s +} + +func (s *SelectMetaStatus) SetRowsCount(v int64) *SelectMetaStatus { + s.RowsCount = &v + return s +} + +func (s *SelectMetaStatus) SetSplitsCount(v int64) *SelectMetaStatus { + s.SplitsCount = &v + return s +} + +func (s *SelectMetaStatus) SetStatus(v int64) *SelectMetaStatus { + s.Status = &v + return s +} + +func (s *SelectMetaStatus) SetTotalScannedBytes(v int64) *SelectMetaStatus { + s.TotalScannedBytes = &v + return s +} + +type SelectRequest struct { + Expression *string `json:"Expression,omitempty" xml:"Expression,omitempty"` + InputSerialization *InputSerialization `json:"InputSerialization,omitempty" xml:"InputSerialization,omitempty"` + Options *SelectRequestOptions `json:"Options,omitempty" xml:"Options,omitempty"` + OutputSerialization *OutputSerialization `json:"OutputSerialization,omitempty" xml:"OutputSerialization,omitempty"` +} + +func (s SelectRequest) String() string { + return tea.Prettify(s) +} + +func (s SelectRequest) GoString() string { + return s.String() +} + +func (s *SelectRequest) SetExpression(v string) *SelectRequest { + s.Expression = &v + return s +} + +func (s *SelectRequest) SetInputSerialization(v *InputSerialization) *SelectRequest { + s.InputSerialization = v + return s +} + +func (s *SelectRequest) SetOptions(v *SelectRequestOptions) *SelectRequest { + s.Options = v + return s +} + +func (s *SelectRequest) SetOutputSerialization(v *OutputSerialization) *SelectRequest { + s.OutputSerialization = v + return s +} + +type SelectRequestOptions struct { + MaxSkippedRecordsAllowed *int64 `json:"MaxSkippedRecordsAllowed,omitempty" xml:"MaxSkippedRecordsAllowed,omitempty"` + SkipPartialDataRecord *bool `json:"SkipPartialDataRecord,omitempty" xml:"SkipPartialDataRecord,omitempty"` +} + +func (s SelectRequestOptions) String() string { + return tea.Prettify(s) +} + +func (s SelectRequestOptions) GoString() string { + return s.String() +} + +func (s *SelectRequestOptions) SetMaxSkippedRecordsAllowed(v int64) *SelectRequestOptions { + s.MaxSkippedRecordsAllowed = &v + return s +} + +func (s *SelectRequestOptions) SetSkipPartialDataRecord(v bool) *SelectRequestOptions { + s.SkipPartialDataRecord = &v + return s +} + +type ServerSideEncryptionRule struct { + ApplyServerSideEncryptionByDefault *ApplyServerSideEncryptionByDefault `json:"ApplyServerSideEncryptionByDefault,omitempty" xml:"ApplyServerSideEncryptionByDefault,omitempty"` +} + +func (s ServerSideEncryptionRule) String() string { + return tea.Prettify(s) +} + +func (s ServerSideEncryptionRule) GoString() string { + return s.String() +} + +func (s *ServerSideEncryptionRule) SetApplyServerSideEncryptionByDefault(v *ApplyServerSideEncryptionByDefault) *ServerSideEncryptionRule { + s.ApplyServerSideEncryptionByDefault = v + return s +} + +type Style struct { + Content *string `json:"Content,omitempty" xml:"Content,omitempty"` +} + +func (s Style) String() string { + return tea.Prettify(s) +} + +func (s Style) GoString() string { + return s.String() +} + +func (s *Style) SetContent(v string) *Style { + s.Content = &v + return s +} + +type StyleInfo struct { + Content *string `json:"Content,omitempty" xml:"Content,omitempty"` + CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` + LastModifyTime *string `json:"LastModifyTime,omitempty" xml:"LastModifyTime,omitempty"` + Name *string `json:"Name,omitempty" xml:"Name,omitempty"` +} + +func (s StyleInfo) String() string { + return tea.Prettify(s) +} + +func (s StyleInfo) GoString() string { + return s.String() +} + +func (s *StyleInfo) SetContent(v string) *StyleInfo { + s.Content = &v + return s +} + +func (s *StyleInfo) SetCreateTime(v string) *StyleInfo { + s.CreateTime = &v + return s +} + +func (s *StyleInfo) SetLastModifyTime(v string) *StyleInfo { + s.LastModifyTime = &v + return s +} + +func (s *StyleInfo) SetName(v string) *StyleInfo { + s.Name = &v + return s +} + +type Tag struct { + Key *string `json:"Key,omitempty" xml:"Key,omitempty"` + Value *string `json:"Value,omitempty" xml:"Value,omitempty"` +} + +func (s Tag) String() string { + return tea.Prettify(s) +} + +func (s Tag) GoString() string { + return s.String() +} + +func (s *Tag) SetKey(v string) *Tag { + s.Key = &v + return s +} + +func (s *Tag) SetValue(v string) *Tag { + s.Value = &v + return s +} + +type TagSet struct { + Tag []*Tag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"` +} + +func (s TagSet) String() string { + return tea.Prettify(s) +} + +func (s TagSet) GoString() string { + return s.String() +} + +func (s *TagSet) SetTag(v []*Tag) *TagSet { + s.Tag = v + return s +} + +type Tagging struct { + TagSet *TagSet `json:"TagSet,omitempty" xml:"TagSet,omitempty"` +} + +func (s Tagging) String() string { + return tea.Prettify(s) +} + +func (s Tagging) GoString() string { + return s.String() +} + +func (s *Tagging) SetTagSet(v *TagSet) *Tagging { + s.TagSet = v + return s +} + +type TransferAccelerationConfiguration struct { + Enabled *bool `json:"Enabled,omitempty" xml:"Enabled,omitempty"` +} + +func (s TransferAccelerationConfiguration) String() string { + return tea.Prettify(s) +} + +func (s TransferAccelerationConfiguration) GoString() string { + return s.String() +} + +func (s *TransferAccelerationConfiguration) SetEnabled(v bool) *TransferAccelerationConfiguration { + s.Enabled = &v + return s +} + +type Upload struct { + Initiated *string `json:"Initiated,omitempty" xml:"Initiated,omitempty"` + Key *string `json:"Key,omitempty" xml:"Key,omitempty"` + UploadId *string `json:"UploadId,omitempty" xml:"UploadId,omitempty"` +} + +func (s Upload) String() string { + return tea.Prettify(s) +} + +func (s Upload) GoString() string { + return s.String() +} + +func (s *Upload) SetInitiated(v string) *Upload { + s.Initiated = &v + return s +} + +func (s *Upload) SetKey(v string) *Upload { + s.Key = &v + return s +} + +func (s *Upload) SetUploadId(v string) *Upload { + s.UploadId = &v + return s +} + +type UserAntiDDOSInfo struct { + ActiveTime *int64 `json:"ActiveTime,omitempty" xml:"ActiveTime,omitempty"` + Ctime *int64 `json:"Ctime,omitempty" xml:"Ctime,omitempty"` + InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"` + Mtime *int64 `json:"Mtime,omitempty" xml:"Mtime,omitempty"` + Owner *string `json:"Owner,omitempty" xml:"Owner,omitempty"` + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` +} + +func (s UserAntiDDOSInfo) String() string { + return tea.Prettify(s) +} + +func (s UserAntiDDOSInfo) GoString() string { + return s.String() +} + +func (s *UserAntiDDOSInfo) SetActiveTime(v int64) *UserAntiDDOSInfo { + s.ActiveTime = &v + return s +} + +func (s *UserAntiDDOSInfo) SetCtime(v int64) *UserAntiDDOSInfo { + s.Ctime = &v + return s +} + +func (s *UserAntiDDOSInfo) SetInstanceId(v string) *UserAntiDDOSInfo { + s.InstanceId = &v + return s +} + +func (s *UserAntiDDOSInfo) SetMtime(v int64) *UserAntiDDOSInfo { + s.Mtime = &v + return s +} + +func (s *UserAntiDDOSInfo) SetOwner(v string) *UserAntiDDOSInfo { + s.Owner = &v + return s +} + +func (s *UserAntiDDOSInfo) SetStatus(v string) *UserAntiDDOSInfo { + s.Status = &v + return s +} + +type UserDefinedLogFieldsConfiguration struct { + HeaderSet *UserDefinedLogFieldsConfigurationHeaderSet `json:"HeaderSet,omitempty" xml:"HeaderSet,omitempty" type:"Struct"` + ParamSet *UserDefinedLogFieldsConfigurationParamSet `json:"ParamSet,omitempty" xml:"ParamSet,omitempty" type:"Struct"` +} + +func (s UserDefinedLogFieldsConfiguration) String() string { + return tea.Prettify(s) +} + +func (s UserDefinedLogFieldsConfiguration) GoString() string { + return s.String() +} + +func (s *UserDefinedLogFieldsConfiguration) SetHeaderSet(v *UserDefinedLogFieldsConfigurationHeaderSet) *UserDefinedLogFieldsConfiguration { + s.HeaderSet = v + return s +} + +func (s *UserDefinedLogFieldsConfiguration) SetParamSet(v *UserDefinedLogFieldsConfigurationParamSet) *UserDefinedLogFieldsConfiguration { + s.ParamSet = v + return s +} + +type UserDefinedLogFieldsConfigurationHeaderSet struct { + Header []*string `json:"header,omitempty" xml:"header,omitempty" type:"Repeated"` +} + +func (s UserDefinedLogFieldsConfigurationHeaderSet) String() string { + return tea.Prettify(s) +} + +func (s UserDefinedLogFieldsConfigurationHeaderSet) GoString() string { + return s.String() +} + +func (s *UserDefinedLogFieldsConfigurationHeaderSet) SetHeader(v []*string) *UserDefinedLogFieldsConfigurationHeaderSet { + s.Header = v + return s +} + +type UserDefinedLogFieldsConfigurationParamSet struct { + Parameter []*string `json:"parameter,omitempty" xml:"parameter,omitempty" type:"Repeated"` +} + +func (s UserDefinedLogFieldsConfigurationParamSet) String() string { + return tea.Prettify(s) +} + +func (s UserDefinedLogFieldsConfigurationParamSet) GoString() string { + return s.String() +} + +func (s *UserDefinedLogFieldsConfigurationParamSet) SetParameter(v []*string) *UserDefinedLogFieldsConfigurationParamSet { + s.Parameter = v + return s +} + +type VersioningConfiguration struct { + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` +} + +func (s VersioningConfiguration) String() string { + return tea.Prettify(s) +} + +func (s VersioningConfiguration) GoString() string { + return s.String() +} + +func (s *VersioningConfiguration) SetStatus(v string) *VersioningConfiguration { + s.Status = &v + return s +} + +type WebsiteConfiguration struct { + ErrorDocument *ErrorDocument `json:"ErrorDocument,omitempty" xml:"ErrorDocument,omitempty"` + IndexDocument *IndexDocument `json:"IndexDocument,omitempty" xml:"IndexDocument,omitempty"` + RoutingRules *WebsiteConfigurationRoutingRules `json:"RoutingRules,omitempty" xml:"RoutingRules,omitempty" type:"Struct"` +} + +func (s WebsiteConfiguration) String() string { + return tea.Prettify(s) +} + +func (s WebsiteConfiguration) GoString() string { + return s.String() +} + +func (s *WebsiteConfiguration) SetErrorDocument(v *ErrorDocument) *WebsiteConfiguration { + s.ErrorDocument = v + return s +} + +func (s *WebsiteConfiguration) SetIndexDocument(v *IndexDocument) *WebsiteConfiguration { + s.IndexDocument = v + return s +} + +func (s *WebsiteConfiguration) SetRoutingRules(v *WebsiteConfigurationRoutingRules) *WebsiteConfiguration { + s.RoutingRules = v + return s +} + +type WebsiteConfigurationRoutingRules struct { + RoutingRule []*RoutingRule `json:"RoutingRule,omitempty" xml:"RoutingRule,omitempty" type:"Repeated"` +} + +func (s WebsiteConfigurationRoutingRules) String() string { + return tea.Prettify(s) +} + +func (s WebsiteConfigurationRoutingRules) GoString() string { + return s.String() +} + +func (s *WebsiteConfigurationRoutingRules) SetRoutingRule(v []*RoutingRule) *WebsiteConfigurationRoutingRules { + s.RoutingRule = v + return s +} + +type AbortBucketWormResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s AbortBucketWormResponse) String() string { + return tea.Prettify(s) +} + +func (s AbortBucketWormResponse) GoString() string { + return s.String() +} + +func (s *AbortBucketWormResponse) SetHeaders(v map[string]*string) *AbortBucketWormResponse { + s.Headers = v + return s +} + +func (s *AbortBucketWormResponse) SetStatusCode(v int32) *AbortBucketWormResponse { + s.StatusCode = &v + return s +} + +type AbortMultipartUploadRequest struct { + // The ID of the multipart upload task. + UploadId *string `json:"uploadId,omitempty" xml:"uploadId,omitempty"` +} + +func (s AbortMultipartUploadRequest) String() string { + return tea.Prettify(s) +} + +func (s AbortMultipartUploadRequest) GoString() string { + return s.String() +} + +func (s *AbortMultipartUploadRequest) SetUploadId(v string) *AbortMultipartUploadRequest { + s.UploadId = &v + return s +} + +type AbortMultipartUploadResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s AbortMultipartUploadResponse) String() string { + return tea.Prettify(s) +} + +func (s AbortMultipartUploadResponse) GoString() string { + return s.String() +} + +func (s *AbortMultipartUploadResponse) SetHeaders(v map[string]*string) *AbortMultipartUploadResponse { + s.Headers = v + return s +} + +func (s *AbortMultipartUploadResponse) SetStatusCode(v int32) *AbortMultipartUploadResponse { + s.StatusCode = &v + return s +} + +type AppendObjectHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + // The web page caching behavior for the object. For more information, see **[RFC 2616](https://www.ietf.org/rfc/rfc2616.txt)**. + // Default value: null. + CacheControl *string `json:"Cache-Control,omitempty" xml:"Cache-Control,omitempty"` + // The name of the object when the object is downloaded. For more information, see **[RFC 2616](https://www.ietf.org/rfc/rfc2616.txt)**. + // Default value: null. + ContentDisposition *string `json:"Content-Disposition,omitempty" xml:"Content-Disposition,omitempty"` + // The encoding format of the object content. For more information, see **[RFC 2616](https://www.ietf.org/rfc/rfc2616.txt)**. + // Default value: null. + ContentEncoding *string `json:"Content-Encoding,omitempty" xml:"Content-Encoding,omitempty"` + // The Content-MD5 header value is a string calculated by using the MD5 algorithm. The header is used to check whether the content of the received message is the same as that of the sent message. + // To obtain the value of the Content-MD5 header, calculate a 128-bit number based on the message content except for the header, and then encode the number in Base64. + // Default value: null. + // Limits: none. + ContentMD5 *string `json:"Content-MD5,omitempty" xml:"Content-MD5,omitempty"` + // The expiration time. For more information, see **[RFC 2616](https://www.ietf.org/rfc/rfc2616.txt)**. + // Default value: null. + Expires *string `json:"Expires,omitempty" xml:"Expires,omitempty"` + // You can add parameters whose names are prefixed with x-oss-meta-* when you call the AppendObject operation. These parameters cannot be included in the requests when you append objects to an existing object. Parameters whose names are prefixed with x-oss-meta-* are considered the metadata of the object. + // You can configure multiple parameters whose name are prefixed with x-oss-meta- for an object. However, the total size of user metadata cannot exceed 8 KB. + // The name of parameters whose name are prefixed with x-oss-meta- can contain hyphens (-), numbers, and letters. Uppercase letters are converted to lowercase letters. Other characters such as underscores (_) are not supported. + XOssMeta map[string]*string `json:"x-oss-meta-*,omitempty" xml:"x-oss-meta-*,omitempty"` + // The access control list (ACL) of the object. Default value: default. Valid values: + // + // - default: The ACL of the object is the same as that of the bucket in which the object is stored. + // - private: The ACL of the object is private. Only the owner of the object and authorized users can read and write this object. + // - public-read: The ACL of the object is public-read. Only the owner of the object and authorized users can read and write this object. Other users can only read the object. Exercise caution when you set the object ACL to this value. + // - public-read-write: The ACL of the object is public-read-write. All users can read and write this object. Exercise caution when you set the object ACL to this value. + // + // For more information about the ACL, see [ACL](~~100676~~). + XOssObjectAcl *string `json:"x-oss-object-acl,omitempty" xml:"x-oss-object-acl,omitempty"` + // The method used to encrypt objects on the specified OSS server. + // Valid values: + // + // - AES256: Keys managed by OSS are used for encryption and decryption (SSE-OSS). + // - KMS: Keys managed by Key Management Service (KMS) are used for encryption and decryption. + // - SM4: The SM4 block cipher algorithm is used for encryption and decryption. + XOssServerSideEncryption *string `json:"x-oss-server-side-encryption,omitempty" xml:"x-oss-server-side-encryption,omitempty"` + // The storage class of the object that you want to upload. Valid values: + // + // - Standard + // - IA + // - Archive + // If you specify the object storage class when you upload an object, the storage class of the uploaded object is the specified value regardless of the storage class of the bucket to which the object is uploaded. If you set x-oss-storage-class to Standard when you upload an object to an IA bucket, the object is stored as a Standard object. + // For more information about storage classes, see the "Overview" topic in Developer Guide. + // + // > The value that you specify takes effect only when you call the AppendObject operation on an object for the first time. + XOssStorageClass *string `json:"x-oss-storage-class,omitempty" xml:"x-oss-storage-class,omitempty"` +} + +func (s AppendObjectHeaders) String() string { + return tea.Prettify(s) +} + +func (s AppendObjectHeaders) GoString() string { + return s.String() +} + +func (s *AppendObjectHeaders) SetCommonHeaders(v map[string]*string) *AppendObjectHeaders { + s.CommonHeaders = v + return s +} + +func (s *AppendObjectHeaders) SetCacheControl(v string) *AppendObjectHeaders { + s.CacheControl = &v + return s +} + +func (s *AppendObjectHeaders) SetContentDisposition(v string) *AppendObjectHeaders { + s.ContentDisposition = &v + return s +} + +func (s *AppendObjectHeaders) SetContentEncoding(v string) *AppendObjectHeaders { + s.ContentEncoding = &v + return s +} + +func (s *AppendObjectHeaders) SetContentMD5(v string) *AppendObjectHeaders { + s.ContentMD5 = &v + return s +} + +func (s *AppendObjectHeaders) SetExpires(v string) *AppendObjectHeaders { + s.Expires = &v + return s +} + +func (s *AppendObjectHeaders) SetXOssMeta(v map[string]*string) *AppendObjectHeaders { + s.XOssMeta = v + return s +} + +func (s *AppendObjectHeaders) SetXOssObjectAcl(v string) *AppendObjectHeaders { + s.XOssObjectAcl = &v + return s +} + +func (s *AppendObjectHeaders) SetXOssServerSideEncryption(v string) *AppendObjectHeaders { + s.XOssServerSideEncryption = &v + return s +} + +func (s *AppendObjectHeaders) SetXOssStorageClass(v string) *AppendObjectHeaders { + s.XOssStorageClass = &v + return s +} + +type AppendObjectRequest struct { + // The request body. + Body io.Reader `json:"body,omitempty" xml:"body,omitempty"` + // The position from which the AppendObject operation starts. Each time an AppendObject operation succeeds, the x-oss-next-append-position header is included in the response to specify the position from which the next AppendObject operation starts. The value of position in the first AppendObject operation performed on an object must be 0. The value of position in subsequent AppendObject operations performed on the object is the current length of the object. For example, if the value of position specified in the first AppendObject request is 0 and the value of content-length is 65536, the value of position in the second AppendObject request must be 65536. + // + // - If the value of position in the AppendObject request is 0 and the name of the object that you want to append is unique, you can set headers such as x-oss-server-side-encryption in an AppendObject request in the same way as you set in a PutObject request. If you add the x-oss-server-side-encryption header to an AppendObject request, the x-oss-server-side-encryption header is included in the response to the request. If you want to modify metadata, you can call the CopyObject operation. + // - If you call an AppendObject operation to append a 0 KB object whose position value is valid to an Appendable object, the status of the Appendable object is not changed. + Position *int64 `json:"position,omitempty" xml:"position,omitempty"` +} + +func (s AppendObjectRequest) String() string { + return tea.Prettify(s) +} + +func (s AppendObjectRequest) GoString() string { + return s.String() +} + +func (s *AppendObjectRequest) SetBody(v io.Reader) *AppendObjectRequest { + s.Body = v + return s +} + +func (s *AppendObjectRequest) SetPosition(v int64) *AppendObjectRequest { + s.Position = &v + return s +} + +type AppendObjectResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s AppendObjectResponse) String() string { + return tea.Prettify(s) +} + +func (s AppendObjectResponse) GoString() string { + return s.String() +} + +func (s *AppendObjectResponse) SetHeaders(v map[string]*string) *AppendObjectResponse { + s.Headers = v + return s +} + +func (s *AppendObjectResponse) SetStatusCode(v int32) *AppendObjectResponse { + s.StatusCode = &v + return s +} + +type CloseMetaQueryResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s CloseMetaQueryResponse) String() string { + return tea.Prettify(s) +} + +func (s CloseMetaQueryResponse) GoString() string { + return s.String() +} + +func (s *CloseMetaQueryResponse) SetHeaders(v map[string]*string) *CloseMetaQueryResponse { + s.Headers = v + return s +} + +func (s *CloseMetaQueryResponse) SetStatusCode(v int32) *CloseMetaQueryResponse { + s.StatusCode = &v + return s +} + +type CompleteBucketWormRequest struct { + // The ID of the retention policy. + WormId *string `json:"wormId,omitempty" xml:"wormId,omitempty"` +} + +func (s CompleteBucketWormRequest) String() string { + return tea.Prettify(s) +} + +func (s CompleteBucketWormRequest) GoString() string { + return s.String() +} + +func (s *CompleteBucketWormRequest) SetWormId(v string) *CompleteBucketWormRequest { + s.WormId = &v + return s +} + +type CompleteBucketWormResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s CompleteBucketWormResponse) String() string { + return tea.Prettify(s) +} + +func (s CompleteBucketWormResponse) GoString() string { + return s.String() +} + +func (s *CompleteBucketWormResponse) SetHeaders(v map[string]*string) *CompleteBucketWormResponse { + s.Headers = v + return s +} + +func (s *CompleteBucketWormResponse) SetStatusCode(v int32) *CompleteBucketWormResponse { + s.StatusCode = &v + return s +} + +type CompleteMultipartUploadHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + // Specifies whether to list all parts that are uploaded by using the current upload ID. + // + // - If x-oss-complete-all:yes is specified in the request, OSS lists all parts that are uploaded by using the current upload ID, sorts the parts by part number, and then calls the CompleteMultipartUpload operation. OSS cannot detect the parts that are not uploaded or being uploaded when OSS calls the CompleteMultipartUpload operation. Before you call the CompleteMultipartUpload operation, make sure that all parts are uploaded. + // - If x-oss-complete-all:yes is specified in the request, the request body cannot be specified. Otherwise, an error occurs. + // - If x-oss-complete-all:yes is specified in the request, the format of the response remains unchanged. + XOssCompleteAll *string `json:"x-oss-complete-all,omitempty" xml:"x-oss-complete-all,omitempty"` + // Specifies whether the object with the same object name is overwritten when you call the CompleteMultipartUpload operation. + // + // - If the value of x-oss-forbid-overwrite is not specified or set to false, the existing object can be overwritten by the object that has the same name. + // - If the value of x-oss-forbid-overwrite is set to true, the existing object cannot be overwritten by the object that has the same name. + // + // > + // - The x-oss-forbid-overwrite request header is invalid if versioning is enabled or suspended for the bucket. In this case, the existing object can be overwritten by the object that has the same name when you call the CompleteMultipartUpload operation. + // - If you specify the x-oss-forbid-overwrite request header, the queries per second (QPS) performance of OSS may be degraded. If you want to configure the x-oss-forbid-overwrite header in a large number of requests (QPS > 1,000), submit a ticket. + XOssForbidOverwrite *string `json:"x-oss-forbid-overwrite,omitempty" xml:"x-oss-forbid-overwrite,omitempty"` +} + +func (s CompleteMultipartUploadHeaders) String() string { + return tea.Prettify(s) +} + +func (s CompleteMultipartUploadHeaders) GoString() string { + return s.String() +} + +func (s *CompleteMultipartUploadHeaders) SetCommonHeaders(v map[string]*string) *CompleteMultipartUploadHeaders { + s.CommonHeaders = v + return s +} + +func (s *CompleteMultipartUploadHeaders) SetXOssCompleteAll(v string) *CompleteMultipartUploadHeaders { + s.XOssCompleteAll = &v + return s +} + +func (s *CompleteMultipartUploadHeaders) SetXOssForbidOverwrite(v string) *CompleteMultipartUploadHeaders { + s.XOssForbidOverwrite = &v + return s +} + +type CompleteMultipartUploadRequest struct { + Body *CompleteMultipartUpload `json:"body,omitempty" xml:"body,omitempty"` + // The encoding type of the object name in the response. Only URL encoding is supported. + //
The object name can contain characters that are encoded in UTF-8. However, the XML 1.0 standard cannot be used to parse control characters, such as characters with an ASCII value from 0 to 10. You can configure this parameter to encode the object name in the response. + //
Default value: null + EncodingType *string `json:"encoding-type,omitempty" xml:"encoding-type,omitempty"` + // The upload ID of the multipart upload task. + UploadId *string `json:"uploadId,omitempty" xml:"uploadId,omitempty"` +} + +func (s CompleteMultipartUploadRequest) String() string { + return tea.Prettify(s) +} + +func (s CompleteMultipartUploadRequest) GoString() string { + return s.String() +} + +func (s *CompleteMultipartUploadRequest) SetBody(v *CompleteMultipartUpload) *CompleteMultipartUploadRequest { + s.Body = v + return s +} + +func (s *CompleteMultipartUploadRequest) SetEncodingType(v string) *CompleteMultipartUploadRequest { + s.EncodingType = &v + return s +} + +func (s *CompleteMultipartUploadRequest) SetUploadId(v string) *CompleteMultipartUploadRequest { + s.UploadId = &v + return s +} + +type CompleteMultipartUploadResponseBody struct { + // The name of the bucket. + Bucket *string `json:"Bucket,omitempty" xml:"Bucket,omitempty"` + // The ETag that is generated when an object is created. ETags are used to identify the content of objects. + //
If an object is created by calling the CompleteMultipartUpload operation, the ETag value is not the MD5 hash of the object content but a unique value calculated based on a specific rule. + // >The ETag value of the object can be used to check whether the object content is modified. However, we recommend that you use the MD5 hash of an object rather than the ETag value of the object to verify data integrity. + ETag *string `json:"ETag,omitempty" xml:"ETag,omitempty"` + // The encoding type of the object name in the response. If this parameter is specified in the request, the object name is encoded in the response. + EncodingType *string `json:"EncodingType,omitempty" xml:"EncodingType,omitempty"` + // The name of the uploaded object. + Key *string `json:"Key,omitempty" xml:"Key,omitempty"` + // The URL of the uploaded object. + Location *string `json:"Location,omitempty" xml:"Location,omitempty"` +} + +func (s CompleteMultipartUploadResponseBody) String() string { + return tea.Prettify(s) +} + +func (s CompleteMultipartUploadResponseBody) GoString() string { + return s.String() +} + +func (s *CompleteMultipartUploadResponseBody) SetBucket(v string) *CompleteMultipartUploadResponseBody { + s.Bucket = &v + return s +} + +func (s *CompleteMultipartUploadResponseBody) SetETag(v string) *CompleteMultipartUploadResponseBody { + s.ETag = &v + return s +} + +func (s *CompleteMultipartUploadResponseBody) SetEncodingType(v string) *CompleteMultipartUploadResponseBody { + s.EncodingType = &v + return s +} + +func (s *CompleteMultipartUploadResponseBody) SetKey(v string) *CompleteMultipartUploadResponseBody { + s.Key = &v + return s +} + +func (s *CompleteMultipartUploadResponseBody) SetLocation(v string) *CompleteMultipartUploadResponseBody { + s.Location = &v + return s +} + +type CompleteMultipartUploadResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *CompleteMultipartUploadResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s CompleteMultipartUploadResponse) String() string { + return tea.Prettify(s) +} + +func (s CompleteMultipartUploadResponse) GoString() string { + return s.String() +} + +func (s *CompleteMultipartUploadResponse) SetHeaders(v map[string]*string) *CompleteMultipartUploadResponse { + s.Headers = v + return s +} + +func (s *CompleteMultipartUploadResponse) SetStatusCode(v int32) *CompleteMultipartUploadResponse { + s.StatusCode = &v + return s +} + +func (s *CompleteMultipartUploadResponse) SetBody(v *CompleteMultipartUploadResponseBody) *CompleteMultipartUploadResponse { + s.Body = v + return s +} + +type CopyObjectHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + // The path of the source object. By default, this header is left empty. + XOssCopySource *string `json:"x-oss-copy-source,omitempty" xml:"x-oss-copy-source,omitempty"` + // The object copy condition. If the ETag value of the source object is the same as the ETag value that you specify in the request, OSS copies the object and returns 200 OK. By default, this header is left empty. + XOssCopySourceIfMatch *string `json:"x-oss-copy-source-if-match,omitempty" xml:"x-oss-copy-source-if-match,omitempty"` + // If the source object is modified after the time that you specify in the request, OSS copies the object. By default, this header is left empty. + XOssCopySourceIfModifiedSince *string `json:"x-oss-copy-source-if-modified-since,omitempty" xml:"x-oss-copy-source-if-modified-since,omitempty"` + // The object copy condition. If the ETag value of the source object is different from the ETag value that you specify in the request, OSS copies the object and returns 200 OK. By default, this header is left empty. + XOssCopySourceIfNoneMatch *string `json:"x-oss-copy-source-if-none-match,omitempty" xml:"x-oss-copy-source-if-none-match,omitempty"` + // The object copy condition. If the time that you specify in the request is the same as or later than the modification time of the object, OSS copies the object and returns 200 OK. By default, this header is left empty. + XOssCopySourceIfUnmodifiedSince *string `json:"x-oss-copy-source-if-unmodified-since,omitempty" xml:"x-oss-copy-source-if-unmodified-since,omitempty"` + // Specifies whether the CopyObject operation overwrites objects with the same name. The **x-oss-forbid-overwrite** request header does not take effect when versioning is enabled or suspended for the destination bucket. In this case, the CopyObject operation overwrites the existing object that has the same name as the destination object. + // + // * If you do not specify the **x-oss-forbid-overwrite** header or set the header to **false**, an existing object that has the same name as the object that you want to copy is overwritten.**** + // * If you set the **x-oss-forbid-overwrite** header to **true**, an existing object that has the same name as the object that you want to copy is not overwritten. + // + // If you specify the **x-oss-forbid-overwrite** header, the queries per second (QPS) performance of OSS may be degraded. If you want to specify the **x-oss-forbid-overwrite** header in a large number of requests (QPS greater than 1,000), contact technical support. Default value: false. + XOssForbidOverwrite *string `json:"x-oss-forbid-overwrite,omitempty" xml:"x-oss-forbid-overwrite,omitempty"` + // You can add parameters that contain the x-oss-meta- prefix when you create an append object. You cannot include these parameters in the requests when you append objects to an existing append object. Parameters that contain the x-oss-meta-\* prefix are considered the metadata of the object. You can specify multiple parameters that contain the x-oss-meta- prefix for an object. The total size of the metadata cannot exceed 8 KB. The names of parameters that contain the x-oss-meta- prefix can contain hyphens (-), digits, and letters. Uppercase letters are converted into lowercase letters. Other characters such as underscores (\_) are not supported. + XOssMeta map[string]*string `json:"x-oss-meta-*,omitempty" xml:"x-oss-meta-*,omitempty"` + // The method that is used to configure the metadata of the destination object. Default value: COPY. + // + // * **COPY**: The metadata of the source object is copied to the destination object. The **x-oss-server-side-encryption** attribute of the source object is not copied to the destination object. The **x-oss-server-side-encryption** header in the CopyObject request specifies the method that is used to encrypt the destination object. + // * **REPLACE**: The metadata that you specify in the request is used as the metadata of the destination object. + // + // > If the path of the source object is the same as the path of the destination object and versioning is disabled for the bucket in which the source and destination objects are stored, the metadata that you specify in the CopyObject request is used as the metadata of the destination object regardless of the value of the x-oss-metadata-directive header. + XOssMetadataDirective *string `json:"x-oss-metadata-directive,omitempty" xml:"x-oss-metadata-directive,omitempty"` + // The access control list (ACL) of the destination object when the object is created. Default value: default. + // + // Valid values: + // + // * default: The ACL of the object is the same as the ACL of the bucket in which the object is stored. + // * private: The ACL of the object is private. Only the owner of the object and authorized users have read and write permissions on the object. Other users do not have permissions on the object. + // * public-read: The ACL of the object is public-read. Only the owner of the object and authorized users have read and write permissions on the object. Other users have only read permissions on the object. Exercise caution when you set the ACL of the bucket to this value. + // * public-read-write: The ACL of the object is public-read-write. All users have read and write permissions on the object. Exercise caution when you set the ACL of the bucket to this value. + // + // For more information about ACLs, see [Object ACL](~~100676~~). + XOssObjectAcl *string `json:"x-oss-object-acl,omitempty" xml:"x-oss-object-acl,omitempty"` + // The entropy coding-based encryption algorithm that OSS uses to encrypt an object when you create the object. The valid values of the header are **AES256** and **KMS**. You must activate Key Management Service (KMS) in the OSS console before you can use the KMS encryption algorithm. Otherwise, the KmsServiceNotEnabled error is returned. + // + // * If you do not specify the **x-oss-server-side-encryption** header in the CopyObject request, the destination object is not encrypted on the server regardless of whether the source object is encrypted on the server. + // * If you specify the **x-oss-server-side-encryption** header in the CopyObject request, the destination object is encrypted on the server after the CopyObject operation is performed regardless of whether the source object is encrypted on the server. In addition, the response to a CopyObject request contains the **x-oss-server-side-encryption** header whose value is the encryption algorithm of the destination object. When the destination object is downloaded, the **x-oss-server-side-encryption** header is included in the response. The value of this header is the encryption algorithm of the destination object. + XOssServerSideEncryption *string `json:"x-oss-server-side-encryption,omitempty" xml:"x-oss-server-side-encryption,omitempty"` + // The ID of the customer master key (CMK) that is managed by KMS. This parameter is available only if you set **x-oss-server-side-encryption** to KMS. + XOssServerSideEncryptionKeyId *string `json:"x-oss-server-side-encryption-key-id,omitempty" xml:"x-oss-server-side-encryption-key-id,omitempty"` + // The storage class of the object that you want to upload. Default value: Standard. If you specify a storage class when you upload the object, the storage class applies regardless of the storage class of the bucket to which you upload the object. For example, if you set **x-oss-storage-class** to Standard when you upload an object to an IA bucket, the storage class of the uploaded object is Standard. + // + // Valid values: + // + // * Standard + // * IA + // * Archive + // * ColdArchive + // + // For more information about storage classes, see [Overview](~~51374~~). + XOssStorageClass *string `json:"x-oss-storage-class,omitempty" xml:"x-oss-storage-class,omitempty"` + // The tag of the destination object. You can add multiple tags to the destination object. Example: TagA=A\&TagB=B. + // + // > The tag key and tag value must be URL-encoded. If a key-value pair does not contain an equal sign (=), the tag value is considered an empty string. + XOssTagging *string `json:"x-oss-tagging,omitempty" xml:"x-oss-tagging,omitempty"` + // The method that is used to add tags to the destination object. Default value: Copy. Valid values: + // + // * **Copy**: The tags of the source object are copied to the destination object. + // * **Replace**: The tags that you specify in the request are added to the destination object. + XOssTaggingDirective *string `json:"x-oss-tagging-directive,omitempty" xml:"x-oss-tagging-directive,omitempty"` +} + +func (s CopyObjectHeaders) String() string { + return tea.Prettify(s) +} + +func (s CopyObjectHeaders) GoString() string { + return s.String() +} + +func (s *CopyObjectHeaders) SetCommonHeaders(v map[string]*string) *CopyObjectHeaders { + s.CommonHeaders = v + return s +} + +func (s *CopyObjectHeaders) SetXOssCopySource(v string) *CopyObjectHeaders { + s.XOssCopySource = &v + return s +} + +func (s *CopyObjectHeaders) SetXOssCopySourceIfMatch(v string) *CopyObjectHeaders { + s.XOssCopySourceIfMatch = &v + return s +} + +func (s *CopyObjectHeaders) SetXOssCopySourceIfModifiedSince(v string) *CopyObjectHeaders { + s.XOssCopySourceIfModifiedSince = &v + return s +} + +func (s *CopyObjectHeaders) SetXOssCopySourceIfNoneMatch(v string) *CopyObjectHeaders { + s.XOssCopySourceIfNoneMatch = &v + return s +} + +func (s *CopyObjectHeaders) SetXOssCopySourceIfUnmodifiedSince(v string) *CopyObjectHeaders { + s.XOssCopySourceIfUnmodifiedSince = &v + return s +} + +func (s *CopyObjectHeaders) SetXOssForbidOverwrite(v string) *CopyObjectHeaders { + s.XOssForbidOverwrite = &v + return s +} + +func (s *CopyObjectHeaders) SetXOssMeta(v map[string]*string) *CopyObjectHeaders { + s.XOssMeta = v + return s +} + +func (s *CopyObjectHeaders) SetXOssMetadataDirective(v string) *CopyObjectHeaders { + s.XOssMetadataDirective = &v + return s +} + +func (s *CopyObjectHeaders) SetXOssObjectAcl(v string) *CopyObjectHeaders { + s.XOssObjectAcl = &v + return s +} + +func (s *CopyObjectHeaders) SetXOssServerSideEncryption(v string) *CopyObjectHeaders { + s.XOssServerSideEncryption = &v + return s +} + +func (s *CopyObjectHeaders) SetXOssServerSideEncryptionKeyId(v string) *CopyObjectHeaders { + s.XOssServerSideEncryptionKeyId = &v + return s +} + +func (s *CopyObjectHeaders) SetXOssStorageClass(v string) *CopyObjectHeaders { + s.XOssStorageClass = &v + return s +} + +func (s *CopyObjectHeaders) SetXOssTagging(v string) *CopyObjectHeaders { + s.XOssTagging = &v + return s +} + +func (s *CopyObjectHeaders) SetXOssTaggingDirective(v string) *CopyObjectHeaders { + s.XOssTaggingDirective = &v + return s +} + +type CopyObjectResponseBody struct { + // The ETag value of the destination object. + ETag *string `json:"ETag,omitempty" xml:"ETag,omitempty"` + // The time when the destination object was last modified. + LastModified *string `json:"LastModified,omitempty" xml:"LastModified,omitempty"` +} + +func (s CopyObjectResponseBody) String() string { + return tea.Prettify(s) +} + +func (s CopyObjectResponseBody) GoString() string { + return s.String() +} + +func (s *CopyObjectResponseBody) SetETag(v string) *CopyObjectResponseBody { + s.ETag = &v + return s +} + +func (s *CopyObjectResponseBody) SetLastModified(v string) *CopyObjectResponseBody { + s.LastModified = &v + return s +} + +type CopyObjectResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *CopyObjectResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s CopyObjectResponse) String() string { + return tea.Prettify(s) +} + +func (s CopyObjectResponse) GoString() string { + return s.String() +} + +func (s *CopyObjectResponse) SetHeaders(v map[string]*string) *CopyObjectResponse { + s.Headers = v + return s +} + +func (s *CopyObjectResponse) SetStatusCode(v int32) *CopyObjectResponse { + s.StatusCode = &v + return s +} + +func (s *CopyObjectResponse) SetBody(v *CopyObjectResponseBody) *CopyObjectResponse { + s.Body = v + return s +} + +type CreateAccessPointRequest struct { + // The container that stores the information about the access point. + Body *CreateAccessPointConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s CreateAccessPointRequest) String() string { + return tea.Prettify(s) +} + +func (s CreateAccessPointRequest) GoString() string { + return s.String() +} + +func (s *CreateAccessPointRequest) SetBody(v *CreateAccessPointConfiguration) *CreateAccessPointRequest { + s.Body = v + return s +} + +type CreateAccessPointResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *CreateAccessPointResult `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s CreateAccessPointResponse) String() string { + return tea.Prettify(s) +} + +func (s CreateAccessPointResponse) GoString() string { + return s.String() +} + +func (s *CreateAccessPointResponse) SetHeaders(v map[string]*string) *CreateAccessPointResponse { + s.Headers = v + return s +} + +func (s *CreateAccessPointResponse) SetStatusCode(v int32) *CreateAccessPointResponse { + s.StatusCode = &v + return s +} + +func (s *CreateAccessPointResponse) SetBody(v *CreateAccessPointResult) *CreateAccessPointResponse { + s.Body = v + return s +} + +type CreateAccessPointForObjectProcessHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + XOssAccessPointForObjectProcessName *string `json:"x-oss-access-point-for-object-process-name,omitempty" xml:"x-oss-access-point-for-object-process-name,omitempty"` +} + +func (s CreateAccessPointForObjectProcessHeaders) String() string { + return tea.Prettify(s) +} + +func (s CreateAccessPointForObjectProcessHeaders) GoString() string { + return s.String() +} + +func (s *CreateAccessPointForObjectProcessHeaders) SetCommonHeaders(v map[string]*string) *CreateAccessPointForObjectProcessHeaders { + s.CommonHeaders = v + return s +} + +func (s *CreateAccessPointForObjectProcessHeaders) SetXOssAccessPointForObjectProcessName(v string) *CreateAccessPointForObjectProcessHeaders { + s.XOssAccessPointForObjectProcessName = &v + return s +} + +type CreateAccessPointForObjectProcessRequest struct { + AccessPointName *string `json:"AccessPointName,omitempty" xml:"AccessPointName,omitempty"` + ObjectProcessConfiguration *ObjectProcessConfiguration `json:"ObjectProcessConfiguration,omitempty" xml:"ObjectProcessConfiguration,omitempty"` +} + +func (s CreateAccessPointForObjectProcessRequest) String() string { + return tea.Prettify(s) +} + +func (s CreateAccessPointForObjectProcessRequest) GoString() string { + return s.String() +} + +func (s *CreateAccessPointForObjectProcessRequest) SetAccessPointName(v string) *CreateAccessPointForObjectProcessRequest { + s.AccessPointName = &v + return s +} + +func (s *CreateAccessPointForObjectProcessRequest) SetObjectProcessConfiguration(v *ObjectProcessConfiguration) *CreateAccessPointForObjectProcessRequest { + s.ObjectProcessConfiguration = v + return s +} + +type CreateAccessPointForObjectProcessResponseBody struct { + AccessPointForObjectProcessAlias *string `json:"AccessPointForObjectProcessAlias,omitempty" xml:"AccessPointForObjectProcessAlias,omitempty"` + AccessPointForObjectProcessArn *string `json:"AccessPointForObjectProcessArn,omitempty" xml:"AccessPointForObjectProcessArn,omitempty"` +} + +func (s CreateAccessPointForObjectProcessResponseBody) String() string { + return tea.Prettify(s) +} + +func (s CreateAccessPointForObjectProcessResponseBody) GoString() string { + return s.String() +} + +func (s *CreateAccessPointForObjectProcessResponseBody) SetAccessPointForObjectProcessAlias(v string) *CreateAccessPointForObjectProcessResponseBody { + s.AccessPointForObjectProcessAlias = &v + return s +} + +func (s *CreateAccessPointForObjectProcessResponseBody) SetAccessPointForObjectProcessArn(v string) *CreateAccessPointForObjectProcessResponseBody { + s.AccessPointForObjectProcessArn = &v + return s +} + +type CreateAccessPointForObjectProcessResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *CreateAccessPointForObjectProcessResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s CreateAccessPointForObjectProcessResponse) String() string { + return tea.Prettify(s) +} + +func (s CreateAccessPointForObjectProcessResponse) GoString() string { + return s.String() +} + +func (s *CreateAccessPointForObjectProcessResponse) SetHeaders(v map[string]*string) *CreateAccessPointForObjectProcessResponse { + s.Headers = v + return s +} + +func (s *CreateAccessPointForObjectProcessResponse) SetStatusCode(v int32) *CreateAccessPointForObjectProcessResponse { + s.StatusCode = &v + return s +} + +func (s *CreateAccessPointForObjectProcessResponse) SetBody(v *CreateAccessPointForObjectProcessResponseBody) *CreateAccessPointForObjectProcessResponse { + s.Body = v + return s +} + +type CreateBucketDataRedundancyTransitionRequest struct { + XOssTargetRedundancyType *string `json:"x-oss-target-redundancy-type,omitempty" xml:"x-oss-target-redundancy-type,omitempty"` +} + +func (s CreateBucketDataRedundancyTransitionRequest) String() string { + return tea.Prettify(s) +} + +func (s CreateBucketDataRedundancyTransitionRequest) GoString() string { + return s.String() +} + +func (s *CreateBucketDataRedundancyTransitionRequest) SetXOssTargetRedundancyType(v string) *CreateBucketDataRedundancyTransitionRequest { + s.XOssTargetRedundancyType = &v + return s +} + +type CreateBucketDataRedundancyTransitionResponseBody struct { + TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"` +} + +func (s CreateBucketDataRedundancyTransitionResponseBody) String() string { + return tea.Prettify(s) +} + +func (s CreateBucketDataRedundancyTransitionResponseBody) GoString() string { + return s.String() +} + +func (s *CreateBucketDataRedundancyTransitionResponseBody) SetTaskId(v string) *CreateBucketDataRedundancyTransitionResponseBody { + s.TaskId = &v + return s +} + +type CreateBucketDataRedundancyTransitionResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *CreateBucketDataRedundancyTransitionResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s CreateBucketDataRedundancyTransitionResponse) String() string { + return tea.Prettify(s) +} + +func (s CreateBucketDataRedundancyTransitionResponse) GoString() string { + return s.String() +} + +func (s *CreateBucketDataRedundancyTransitionResponse) SetHeaders(v map[string]*string) *CreateBucketDataRedundancyTransitionResponse { + s.Headers = v + return s +} + +func (s *CreateBucketDataRedundancyTransitionResponse) SetStatusCode(v int32) *CreateBucketDataRedundancyTransitionResponse { + s.StatusCode = &v + return s +} + +func (s *CreateBucketDataRedundancyTransitionResponse) SetBody(v *CreateBucketDataRedundancyTransitionResponseBody) *CreateBucketDataRedundancyTransitionResponse { + s.Body = v + return s +} + +type CreateCnameTokenRequest struct { + // The container that stores the CNAME record. + Body *BucketCnameConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s CreateCnameTokenRequest) String() string { + return tea.Prettify(s) +} + +func (s CreateCnameTokenRequest) GoString() string { + return s.String() +} + +func (s *CreateCnameTokenRequest) SetBody(v *BucketCnameConfiguration) *CreateCnameTokenRequest { + s.Body = v + return s +} + +type CreateCnameTokenResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *CnameToken `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s CreateCnameTokenResponse) String() string { + return tea.Prettify(s) +} + +func (s CreateCnameTokenResponse) GoString() string { + return s.String() +} + +func (s *CreateCnameTokenResponse) SetHeaders(v map[string]*string) *CreateCnameTokenResponse { + s.Headers = v + return s +} + +func (s *CreateCnameTokenResponse) SetStatusCode(v int32) *CreateCnameTokenResponse { + s.StatusCode = &v + return s +} + +func (s *CreateCnameTokenResponse) SetBody(v *CnameToken) *CreateCnameTokenResponse { + s.Body = v + return s +} + +type CreateSelectObjectMetaRequest struct { + // The container that stores SelectMetaRequest information. + Body *SelectMetaRequest `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s CreateSelectObjectMetaRequest) String() string { + return tea.Prettify(s) +} + +func (s CreateSelectObjectMetaRequest) GoString() string { + return s.String() +} + +func (s *CreateSelectObjectMetaRequest) SetBody(v *SelectMetaRequest) *CreateSelectObjectMetaRequest { + s.Body = v + return s +} + +type CreateSelectObjectMetaResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *SelectMetaStatus `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s CreateSelectObjectMetaResponse) String() string { + return tea.Prettify(s) +} + +func (s CreateSelectObjectMetaResponse) GoString() string { + return s.String() +} + +func (s *CreateSelectObjectMetaResponse) SetHeaders(v map[string]*string) *CreateSelectObjectMetaResponse { + s.Headers = v + return s +} + +func (s *CreateSelectObjectMetaResponse) SetStatusCode(v int32) *CreateSelectObjectMetaResponse { + s.StatusCode = &v + return s +} + +func (s *CreateSelectObjectMetaResponse) SetBody(v *SelectMetaStatus) *CreateSelectObjectMetaResponse { + s.Body = v + return s +} + +type DeleteAccessPointHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + // The name of the access point. + XOssAccessPointName *string `json:"x-oss-access-point-name,omitempty" xml:"x-oss-access-point-name,omitempty"` +} + +func (s DeleteAccessPointHeaders) String() string { + return tea.Prettify(s) +} + +func (s DeleteAccessPointHeaders) GoString() string { + return s.String() +} + +func (s *DeleteAccessPointHeaders) SetCommonHeaders(v map[string]*string) *DeleteAccessPointHeaders { + s.CommonHeaders = v + return s +} + +func (s *DeleteAccessPointHeaders) SetXOssAccessPointName(v string) *DeleteAccessPointHeaders { + s.XOssAccessPointName = &v + return s +} + +type DeleteAccessPointResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s DeleteAccessPointResponse) String() string { + return tea.Prettify(s) +} + +func (s DeleteAccessPointResponse) GoString() string { + return s.String() +} + +func (s *DeleteAccessPointResponse) SetHeaders(v map[string]*string) *DeleteAccessPointResponse { + s.Headers = v + return s +} + +func (s *DeleteAccessPointResponse) SetStatusCode(v int32) *DeleteAccessPointResponse { + s.StatusCode = &v + return s +} + +type DeleteAccessPointForObjectProcessHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + XOssAccessPointForObjectProcessName *string `json:"x-oss-access-point-for-object-process-name,omitempty" xml:"x-oss-access-point-for-object-process-name,omitempty"` +} + +func (s DeleteAccessPointForObjectProcessHeaders) String() string { + return tea.Prettify(s) +} + +func (s DeleteAccessPointForObjectProcessHeaders) GoString() string { + return s.String() +} + +func (s *DeleteAccessPointForObjectProcessHeaders) SetCommonHeaders(v map[string]*string) *DeleteAccessPointForObjectProcessHeaders { + s.CommonHeaders = v + return s +} + +func (s *DeleteAccessPointForObjectProcessHeaders) SetXOssAccessPointForObjectProcessName(v string) *DeleteAccessPointForObjectProcessHeaders { + s.XOssAccessPointForObjectProcessName = &v + return s +} + +type DeleteAccessPointForObjectProcessResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s DeleteAccessPointForObjectProcessResponse) String() string { + return tea.Prettify(s) +} + +func (s DeleteAccessPointForObjectProcessResponse) GoString() string { + return s.String() +} + +func (s *DeleteAccessPointForObjectProcessResponse) SetHeaders(v map[string]*string) *DeleteAccessPointForObjectProcessResponse { + s.Headers = v + return s +} + +func (s *DeleteAccessPointForObjectProcessResponse) SetStatusCode(v int32) *DeleteAccessPointForObjectProcessResponse { + s.StatusCode = &v + return s +} + +type DeleteAccessPointPolicyHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + // The name of the access point. + XOssAccessPointName *string `json:"x-oss-access-point-name,omitempty" xml:"x-oss-access-point-name,omitempty"` +} + +func (s DeleteAccessPointPolicyHeaders) String() string { + return tea.Prettify(s) +} + +func (s DeleteAccessPointPolicyHeaders) GoString() string { + return s.String() +} + +func (s *DeleteAccessPointPolicyHeaders) SetCommonHeaders(v map[string]*string) *DeleteAccessPointPolicyHeaders { + s.CommonHeaders = v + return s +} + +func (s *DeleteAccessPointPolicyHeaders) SetXOssAccessPointName(v string) *DeleteAccessPointPolicyHeaders { + s.XOssAccessPointName = &v + return s +} + +type DeleteAccessPointPolicyResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s DeleteAccessPointPolicyResponse) String() string { + return tea.Prettify(s) +} + +func (s DeleteAccessPointPolicyResponse) GoString() string { + return s.String() +} + +func (s *DeleteAccessPointPolicyResponse) SetHeaders(v map[string]*string) *DeleteAccessPointPolicyResponse { + s.Headers = v + return s +} + +func (s *DeleteAccessPointPolicyResponse) SetStatusCode(v int32) *DeleteAccessPointPolicyResponse { + s.StatusCode = &v + return s +} + +type DeleteAccessPointPolicyForObjectProcessHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + XOssAccessPointForObjectProcessName *string `json:"x-oss-access-point-for-object-process-name,omitempty" xml:"x-oss-access-point-for-object-process-name,omitempty"` +} + +func (s DeleteAccessPointPolicyForObjectProcessHeaders) String() string { + return tea.Prettify(s) +} + +func (s DeleteAccessPointPolicyForObjectProcessHeaders) GoString() string { + return s.String() +} + +func (s *DeleteAccessPointPolicyForObjectProcessHeaders) SetCommonHeaders(v map[string]*string) *DeleteAccessPointPolicyForObjectProcessHeaders { + s.CommonHeaders = v + return s +} + +func (s *DeleteAccessPointPolicyForObjectProcessHeaders) SetXOssAccessPointForObjectProcessName(v string) *DeleteAccessPointPolicyForObjectProcessHeaders { + s.XOssAccessPointForObjectProcessName = &v + return s +} + +type DeleteAccessPointPolicyForObjectProcessResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s DeleteAccessPointPolicyForObjectProcessResponse) String() string { + return tea.Prettify(s) +} + +func (s DeleteAccessPointPolicyForObjectProcessResponse) GoString() string { + return s.String() +} + +func (s *DeleteAccessPointPolicyForObjectProcessResponse) SetHeaders(v map[string]*string) *DeleteAccessPointPolicyForObjectProcessResponse { + s.Headers = v + return s +} + +func (s *DeleteAccessPointPolicyForObjectProcessResponse) SetStatusCode(v int32) *DeleteAccessPointPolicyForObjectProcessResponse { + s.StatusCode = &v + return s +} + +type DeleteAccessPointPublicAccessBlockRequest struct { + XOssAccessPointName *string `json:"x-oss-access-point-name,omitempty" xml:"x-oss-access-point-name,omitempty"` +} + +func (s DeleteAccessPointPublicAccessBlockRequest) String() string { + return tea.Prettify(s) +} + +func (s DeleteAccessPointPublicAccessBlockRequest) GoString() string { + return s.String() +} + +func (s *DeleteAccessPointPublicAccessBlockRequest) SetXOssAccessPointName(v string) *DeleteAccessPointPublicAccessBlockRequest { + s.XOssAccessPointName = &v + return s +} + +type DeleteAccessPointPublicAccessBlockResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s DeleteAccessPointPublicAccessBlockResponse) String() string { + return tea.Prettify(s) +} + +func (s DeleteAccessPointPublicAccessBlockResponse) GoString() string { + return s.String() +} + +func (s *DeleteAccessPointPublicAccessBlockResponse) SetHeaders(v map[string]*string) *DeleteAccessPointPublicAccessBlockResponse { + s.Headers = v + return s +} + +func (s *DeleteAccessPointPublicAccessBlockResponse) SetStatusCode(v int32) *DeleteAccessPointPublicAccessBlockResponse { + s.StatusCode = &v + return s +} + +type DeleteBucketResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s DeleteBucketResponse) String() string { + return tea.Prettify(s) +} + +func (s DeleteBucketResponse) GoString() string { + return s.String() +} + +func (s *DeleteBucketResponse) SetHeaders(v map[string]*string) *DeleteBucketResponse { + s.Headers = v + return s +} + +func (s *DeleteBucketResponse) SetStatusCode(v int32) *DeleteBucketResponse { + s.StatusCode = &v + return s +} + +type DeleteBucketCallbackPolicyResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s DeleteBucketCallbackPolicyResponse) String() string { + return tea.Prettify(s) +} + +func (s DeleteBucketCallbackPolicyResponse) GoString() string { + return s.String() +} + +func (s *DeleteBucketCallbackPolicyResponse) SetHeaders(v map[string]*string) *DeleteBucketCallbackPolicyResponse { + s.Headers = v + return s +} + +func (s *DeleteBucketCallbackPolicyResponse) SetStatusCode(v int32) *DeleteBucketCallbackPolicyResponse { + s.StatusCode = &v + return s +} + +type DeleteBucketCorsResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s DeleteBucketCorsResponse) String() string { + return tea.Prettify(s) +} + +func (s DeleteBucketCorsResponse) GoString() string { + return s.String() +} + +func (s *DeleteBucketCorsResponse) SetHeaders(v map[string]*string) *DeleteBucketCorsResponse { + s.Headers = v + return s +} + +func (s *DeleteBucketCorsResponse) SetStatusCode(v int32) *DeleteBucketCorsResponse { + s.StatusCode = &v + return s +} + +type DeleteBucketDataRedundancyTransitionRequest struct { + XOssRedundancyTransitionTaskid *string `json:"x-oss-redundancy-transition-taskid,omitempty" xml:"x-oss-redundancy-transition-taskid,omitempty"` +} + +func (s DeleteBucketDataRedundancyTransitionRequest) String() string { + return tea.Prettify(s) +} + +func (s DeleteBucketDataRedundancyTransitionRequest) GoString() string { + return s.String() +} + +func (s *DeleteBucketDataRedundancyTransitionRequest) SetXOssRedundancyTransitionTaskid(v string) *DeleteBucketDataRedundancyTransitionRequest { + s.XOssRedundancyTransitionTaskid = &v + return s +} + +type DeleteBucketDataRedundancyTransitionResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s DeleteBucketDataRedundancyTransitionResponse) String() string { + return tea.Prettify(s) +} + +func (s DeleteBucketDataRedundancyTransitionResponse) GoString() string { + return s.String() +} + +func (s *DeleteBucketDataRedundancyTransitionResponse) SetHeaders(v map[string]*string) *DeleteBucketDataRedundancyTransitionResponse { + s.Headers = v + return s +} + +func (s *DeleteBucketDataRedundancyTransitionResponse) SetStatusCode(v int32) *DeleteBucketDataRedundancyTransitionResponse { + s.StatusCode = &v + return s +} + +type DeleteBucketEncryptionResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s DeleteBucketEncryptionResponse) String() string { + return tea.Prettify(s) +} + +func (s DeleteBucketEncryptionResponse) GoString() string { + return s.String() +} + +func (s *DeleteBucketEncryptionResponse) SetHeaders(v map[string]*string) *DeleteBucketEncryptionResponse { + s.Headers = v + return s +} + +func (s *DeleteBucketEncryptionResponse) SetStatusCode(v int32) *DeleteBucketEncryptionResponse { + s.StatusCode = &v + return s +} + +type DeleteBucketInventoryRequest struct { + // The name of the inventory that you want to delete. + InventoryId *string `json:"inventoryId,omitempty" xml:"inventoryId,omitempty"` +} + +func (s DeleteBucketInventoryRequest) String() string { + return tea.Prettify(s) +} + +func (s DeleteBucketInventoryRequest) GoString() string { + return s.String() +} + +func (s *DeleteBucketInventoryRequest) SetInventoryId(v string) *DeleteBucketInventoryRequest { + s.InventoryId = &v + return s +} + +type DeleteBucketInventoryResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s DeleteBucketInventoryResponse) String() string { + return tea.Prettify(s) +} + +func (s DeleteBucketInventoryResponse) GoString() string { + return s.String() +} + +func (s *DeleteBucketInventoryResponse) SetHeaders(v map[string]*string) *DeleteBucketInventoryResponse { + s.Headers = v + return s +} + +func (s *DeleteBucketInventoryResponse) SetStatusCode(v int32) *DeleteBucketInventoryResponse { + s.StatusCode = &v + return s +} + +type DeleteBucketLifecycleResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s DeleteBucketLifecycleResponse) String() string { + return tea.Prettify(s) +} + +func (s DeleteBucketLifecycleResponse) GoString() string { + return s.String() +} + +func (s *DeleteBucketLifecycleResponse) SetHeaders(v map[string]*string) *DeleteBucketLifecycleResponse { + s.Headers = v + return s +} + +func (s *DeleteBucketLifecycleResponse) SetStatusCode(v int32) *DeleteBucketLifecycleResponse { + s.StatusCode = &v + return s +} + +type DeleteBucketLoggingResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s DeleteBucketLoggingResponse) String() string { + return tea.Prettify(s) +} + +func (s DeleteBucketLoggingResponse) GoString() string { + return s.String() +} + +func (s *DeleteBucketLoggingResponse) SetHeaders(v map[string]*string) *DeleteBucketLoggingResponse { + s.Headers = v + return s +} + +func (s *DeleteBucketLoggingResponse) SetStatusCode(v int32) *DeleteBucketLoggingResponse { + s.StatusCode = &v + return s +} + +type DeleteBucketPolicyResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s DeleteBucketPolicyResponse) String() string { + return tea.Prettify(s) +} + +func (s DeleteBucketPolicyResponse) GoString() string { + return s.String() +} + +func (s *DeleteBucketPolicyResponse) SetHeaders(v map[string]*string) *DeleteBucketPolicyResponse { + s.Headers = v + return s +} + +func (s *DeleteBucketPolicyResponse) SetStatusCode(v int32) *DeleteBucketPolicyResponse { + s.StatusCode = &v + return s +} + +type DeleteBucketPublicAccessBlockResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s DeleteBucketPublicAccessBlockResponse) String() string { + return tea.Prettify(s) +} + +func (s DeleteBucketPublicAccessBlockResponse) GoString() string { + return s.String() +} + +func (s *DeleteBucketPublicAccessBlockResponse) SetHeaders(v map[string]*string) *DeleteBucketPublicAccessBlockResponse { + s.Headers = v + return s +} + +func (s *DeleteBucketPublicAccessBlockResponse) SetStatusCode(v int32) *DeleteBucketPublicAccessBlockResponse { + s.StatusCode = &v + return s +} + +type DeleteBucketReplicationRequest struct { + // The container that stores the data replication rules to be deleted. + Body *ReplicationRules `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s DeleteBucketReplicationRequest) String() string { + return tea.Prettify(s) +} + +func (s DeleteBucketReplicationRequest) GoString() string { + return s.String() +} + +func (s *DeleteBucketReplicationRequest) SetBody(v *ReplicationRules) *DeleteBucketReplicationRequest { + s.Body = v + return s +} + +type DeleteBucketReplicationResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s DeleteBucketReplicationResponse) String() string { + return tea.Prettify(s) +} + +func (s DeleteBucketReplicationResponse) GoString() string { + return s.String() +} + +func (s *DeleteBucketReplicationResponse) SetHeaders(v map[string]*string) *DeleteBucketReplicationResponse { + s.Headers = v + return s +} + +func (s *DeleteBucketReplicationResponse) SetStatusCode(v int32) *DeleteBucketReplicationResponse { + s.StatusCode = &v + return s +} + +type DeleteBucketResponseHeaderResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s DeleteBucketResponseHeaderResponse) String() string { + return tea.Prettify(s) +} + +func (s DeleteBucketResponseHeaderResponse) GoString() string { + return s.String() +} + +func (s *DeleteBucketResponseHeaderResponse) SetHeaders(v map[string]*string) *DeleteBucketResponseHeaderResponse { + s.Headers = v + return s +} + +func (s *DeleteBucketResponseHeaderResponse) SetStatusCode(v int32) *DeleteBucketResponseHeaderResponse { + s.StatusCode = &v + return s +} + +type DeleteBucketTagsResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s DeleteBucketTagsResponse) String() string { + return tea.Prettify(s) +} + +func (s DeleteBucketTagsResponse) GoString() string { + return s.String() +} + +func (s *DeleteBucketTagsResponse) SetHeaders(v map[string]*string) *DeleteBucketTagsResponse { + s.Headers = v + return s +} + +func (s *DeleteBucketTagsResponse) SetStatusCode(v int32) *DeleteBucketTagsResponse { + s.StatusCode = &v + return s +} + +type DeleteBucketWebsiteResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s DeleteBucketWebsiteResponse) String() string { + return tea.Prettify(s) +} + +func (s DeleteBucketWebsiteResponse) GoString() string { + return s.String() +} + +func (s *DeleteBucketWebsiteResponse) SetHeaders(v map[string]*string) *DeleteBucketWebsiteResponse { + s.Headers = v + return s +} + +func (s *DeleteBucketWebsiteResponse) SetStatusCode(v int32) *DeleteBucketWebsiteResponse { + s.StatusCode = &v + return s +} + +type DeleteCnameRequest struct { + // The container that stores the CNAME record. + Body *BucketCnameConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s DeleteCnameRequest) String() string { + return tea.Prettify(s) +} + +func (s DeleteCnameRequest) GoString() string { + return s.String() +} + +func (s *DeleteCnameRequest) SetBody(v *BucketCnameConfiguration) *DeleteCnameRequest { + s.Body = v + return s +} + +type DeleteCnameResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s DeleteCnameResponse) String() string { + return tea.Prettify(s) +} + +func (s DeleteCnameResponse) GoString() string { + return s.String() +} + +func (s *DeleteCnameResponse) SetHeaders(v map[string]*string) *DeleteCnameResponse { + s.Headers = v + return s +} + +func (s *DeleteCnameResponse) SetStatusCode(v int32) *DeleteCnameResponse { + s.StatusCode = &v + return s +} + +type DeleteLiveChannelResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s DeleteLiveChannelResponse) String() string { + return tea.Prettify(s) +} + +func (s DeleteLiveChannelResponse) GoString() string { + return s.String() +} + +func (s *DeleteLiveChannelResponse) SetHeaders(v map[string]*string) *DeleteLiveChannelResponse { + s.Headers = v + return s +} + +func (s *DeleteLiveChannelResponse) SetStatusCode(v int32) *DeleteLiveChannelResponse { + s.StatusCode = &v + return s +} + +type DeleteMultipleObjectsHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + ContentMd5 *string `json:"content-md5,omitempty" xml:"content-md5,omitempty"` +} + +func (s DeleteMultipleObjectsHeaders) String() string { + return tea.Prettify(s) +} + +func (s DeleteMultipleObjectsHeaders) GoString() string { + return s.String() +} + +func (s *DeleteMultipleObjectsHeaders) SetCommonHeaders(v map[string]*string) *DeleteMultipleObjectsHeaders { + s.CommonHeaders = v + return s +} + +func (s *DeleteMultipleObjectsHeaders) SetContentMd5(v string) *DeleteMultipleObjectsHeaders { + s.ContentMd5 = &v + return s +} + +type DeleteMultipleObjectsRequest struct { + // The container that stores the DeleteMultipleObjects request. + Body *Delete `json:"body,omitempty" xml:"body,omitempty"` + // The encoding type of the object name in the response. The value of the Key parameter is UTF-8 encoded. If the Key parameter includes control characters that are not supported by the XML 1.0 standard, you can specify this header to encode the value of the Key parameter in the response. + EncodingType *string `json:"encoding-type,omitempty" xml:"encoding-type,omitempty"` +} + +func (s DeleteMultipleObjectsRequest) String() string { + return tea.Prettify(s) +} + +func (s DeleteMultipleObjectsRequest) GoString() string { + return s.String() +} + +func (s *DeleteMultipleObjectsRequest) SetBody(v *Delete) *DeleteMultipleObjectsRequest { + s.Body = v + return s +} + +func (s *DeleteMultipleObjectsRequest) SetEncodingType(v string) *DeleteMultipleObjectsRequest { + s.EncodingType = &v + return s +} + +type DeleteMultipleObjectsResponseBody struct { + // The container that stores the deleted objects. + Deleted []*DeletedObject `json:"Deleted,omitempty" xml:"Deleted,omitempty" type:"Repeated"` + // The encoding type for the returned results. If encoding-type is specified in the request, the object name is encoded in the returned result. + EncodingType *string `json:"EncodingType,omitempty" xml:"EncodingType,omitempty"` +} + +func (s DeleteMultipleObjectsResponseBody) String() string { + return tea.Prettify(s) +} + +func (s DeleteMultipleObjectsResponseBody) GoString() string { + return s.String() +} + +func (s *DeleteMultipleObjectsResponseBody) SetDeleted(v []*DeletedObject) *DeleteMultipleObjectsResponseBody { + s.Deleted = v + return s +} + +func (s *DeleteMultipleObjectsResponseBody) SetEncodingType(v string) *DeleteMultipleObjectsResponseBody { + s.EncodingType = &v + return s +} + +type DeleteMultipleObjectsResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *DeleteMultipleObjectsResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s DeleteMultipleObjectsResponse) String() string { + return tea.Prettify(s) +} + +func (s DeleteMultipleObjectsResponse) GoString() string { + return s.String() +} + +func (s *DeleteMultipleObjectsResponse) SetHeaders(v map[string]*string) *DeleteMultipleObjectsResponse { + s.Headers = v + return s +} + +func (s *DeleteMultipleObjectsResponse) SetStatusCode(v int32) *DeleteMultipleObjectsResponse { + s.StatusCode = &v + return s +} + +func (s *DeleteMultipleObjectsResponse) SetBody(v *DeleteMultipleObjectsResponseBody) *DeleteMultipleObjectsResponse { + s.Body = v + return s +} + +type DeleteObjectRequest struct { + // The version ID of the object. + VersionId *string `json:"versionId,omitempty" xml:"versionId,omitempty"` +} + +func (s DeleteObjectRequest) String() string { + return tea.Prettify(s) +} + +func (s DeleteObjectRequest) GoString() string { + return s.String() +} + +func (s *DeleteObjectRequest) SetVersionId(v string) *DeleteObjectRequest { + s.VersionId = &v + return s +} + +type DeleteObjectResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s DeleteObjectResponse) String() string { + return tea.Prettify(s) +} + +func (s DeleteObjectResponse) GoString() string { + return s.String() +} + +func (s *DeleteObjectResponse) SetHeaders(v map[string]*string) *DeleteObjectResponse { + s.Headers = v + return s +} + +func (s *DeleteObjectResponse) SetStatusCode(v int32) *DeleteObjectResponse { + s.StatusCode = &v + return s +} + +type DeleteObjectTaggingRequest struct { + // The version ID of the object that you want to delete. + VersionId *string `json:"versionId,omitempty" xml:"versionId,omitempty"` +} + +func (s DeleteObjectTaggingRequest) String() string { + return tea.Prettify(s) +} + +func (s DeleteObjectTaggingRequest) GoString() string { + return s.String() +} + +func (s *DeleteObjectTaggingRequest) SetVersionId(v string) *DeleteObjectTaggingRequest { + s.VersionId = &v + return s +} + +type DeleteObjectTaggingResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s DeleteObjectTaggingResponse) String() string { + return tea.Prettify(s) +} + +func (s DeleteObjectTaggingResponse) GoString() string { + return s.String() +} + +func (s *DeleteObjectTaggingResponse) SetHeaders(v map[string]*string) *DeleteObjectTaggingResponse { + s.Headers = v + return s +} + +func (s *DeleteObjectTaggingResponse) SetStatusCode(v int32) *DeleteObjectTaggingResponse { + s.StatusCode = &v + return s +} + +type DeletePublicAccessBlockResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s DeletePublicAccessBlockResponse) String() string { + return tea.Prettify(s) +} + +func (s DeletePublicAccessBlockResponse) GoString() string { + return s.String() +} + +func (s *DeletePublicAccessBlockResponse) SetHeaders(v map[string]*string) *DeletePublicAccessBlockResponse { + s.Headers = v + return s +} + +func (s *DeletePublicAccessBlockResponse) SetStatusCode(v int32) *DeletePublicAccessBlockResponse { + s.StatusCode = &v + return s +} + +type DeleteStyleRequest struct { + // The name of the image style. + StyleName *string `json:"styleName,omitempty" xml:"styleName,omitempty"` +} + +func (s DeleteStyleRequest) String() string { + return tea.Prettify(s) +} + +func (s DeleteStyleRequest) GoString() string { + return s.String() +} + +func (s *DeleteStyleRequest) SetStyleName(v string) *DeleteStyleRequest { + s.StyleName = &v + return s +} + +type DeleteStyleResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s DeleteStyleResponse) String() string { + return tea.Prettify(s) +} + +func (s DeleteStyleResponse) GoString() string { + return s.String() +} + +func (s *DeleteStyleResponse) SetHeaders(v map[string]*string) *DeleteStyleResponse { + s.Headers = v + return s +} + +func (s *DeleteStyleResponse) SetStatusCode(v int32) *DeleteStyleResponse { + s.StatusCode = &v + return s +} + +type DeleteUserDefinedLogFieldsConfigResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s DeleteUserDefinedLogFieldsConfigResponse) String() string { + return tea.Prettify(s) +} + +func (s DeleteUserDefinedLogFieldsConfigResponse) GoString() string { + return s.String() +} + +func (s *DeleteUserDefinedLogFieldsConfigResponse) SetHeaders(v map[string]*string) *DeleteUserDefinedLogFieldsConfigResponse { + s.Headers = v + return s +} + +func (s *DeleteUserDefinedLogFieldsConfigResponse) SetStatusCode(v int32) *DeleteUserDefinedLogFieldsConfigResponse { + s.StatusCode = &v + return s +} + +type DescribeRegionsRequest struct { + // The region ID of the request. + Regions *string `json:"regions,omitempty" xml:"regions,omitempty"` +} + +func (s DescribeRegionsRequest) String() string { + return tea.Prettify(s) +} + +func (s DescribeRegionsRequest) GoString() string { + return s.String() +} + +func (s *DescribeRegionsRequest) SetRegions(v string) *DescribeRegionsRequest { + s.Regions = &v + return s +} + +type DescribeRegionsResponseBody struct { + // The information about the regions. + RegionInfo []*RegionInfo `json:"RegionInfo,omitempty" xml:"RegionInfo,omitempty" type:"Repeated"` +} + +func (s DescribeRegionsResponseBody) String() string { + return tea.Prettify(s) +} + +func (s DescribeRegionsResponseBody) GoString() string { + return s.String() +} + +func (s *DescribeRegionsResponseBody) SetRegionInfo(v []*RegionInfo) *DescribeRegionsResponseBody { + s.RegionInfo = v + return s +} + +type DescribeRegionsResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *DescribeRegionsResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s DescribeRegionsResponse) String() string { + return tea.Prettify(s) +} + +func (s DescribeRegionsResponse) GoString() string { + return s.String() +} + +func (s *DescribeRegionsResponse) SetHeaders(v map[string]*string) *DescribeRegionsResponse { + s.Headers = v + return s +} + +func (s *DescribeRegionsResponse) SetStatusCode(v int32) *DescribeRegionsResponse { + s.StatusCode = &v + return s +} + +func (s *DescribeRegionsResponse) SetBody(v *DescribeRegionsResponseBody) *DescribeRegionsResponse { + s.Body = v + return s +} + +type DoMetaQueryRequest struct { + // The container that stores the query conditions. + Body *MetaQuery `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s DoMetaQueryRequest) String() string { + return tea.Prettify(s) +} + +func (s DoMetaQueryRequest) GoString() string { + return s.String() +} + +func (s *DoMetaQueryRequest) SetBody(v *MetaQuery) *DoMetaQueryRequest { + s.Body = v + return s +} + +type DoMetaQueryResponseBody struct { + // The container that stores the information about objects. + Files *DoMetaQueryResponseBodyFiles `json:"Files,omitempty" xml:"Files,omitempty" type:"Struct"` + // The token that is used in the next request to retrieve a new page of results when the total number of objects exceeds the value of MaxResults. The value of NextToken is used to return the unreturned results in the next request. + // + // A value is returned for this parameter only when not all objects are returned. + NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"` +} + +func (s DoMetaQueryResponseBody) String() string { + return tea.Prettify(s) +} + +func (s DoMetaQueryResponseBody) GoString() string { + return s.String() +} + +func (s *DoMetaQueryResponseBody) SetFiles(v *DoMetaQueryResponseBodyFiles) *DoMetaQueryResponseBody { + s.Files = v + return s +} + +func (s *DoMetaQueryResponseBody) SetNextToken(v string) *DoMetaQueryResponseBody { + s.NextToken = &v + return s +} + +type DoMetaQueryResponseBodyFiles struct { + // The container that stores the information about a single object. + File []*MetaQueryFile `json:"File,omitempty" xml:"File,omitempty" type:"Repeated"` +} + +func (s DoMetaQueryResponseBodyFiles) String() string { + return tea.Prettify(s) +} + +func (s DoMetaQueryResponseBodyFiles) GoString() string { + return s.String() +} + +func (s *DoMetaQueryResponseBodyFiles) SetFile(v []*MetaQueryFile) *DoMetaQueryResponseBodyFiles { + s.File = v + return s +} + +type DoMetaQueryResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *DoMetaQueryResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s DoMetaQueryResponse) String() string { + return tea.Prettify(s) +} + +func (s DoMetaQueryResponse) GoString() string { + return s.String() +} + +func (s *DoMetaQueryResponse) SetHeaders(v map[string]*string) *DoMetaQueryResponse { + s.Headers = v + return s +} + +func (s *DoMetaQueryResponse) SetStatusCode(v int32) *DoMetaQueryResponse { + s.StatusCode = &v + return s +} + +func (s *DoMetaQueryResponse) SetBody(v *DoMetaQueryResponseBody) *DoMetaQueryResponse { + s.Body = v + return s +} + +type ExtendBucketWormRequest struct { + // The container that stores the information about the retention policy. + Body *ExtendWormConfiguration `json:"body,omitempty" xml:"body,omitempty"` + // The ID of the retention policy. + // + // > If the ID of the retention policy that specifies the number of days for which objects can be retained does not exist, the HTTP status code 404 is returned. + WormId *string `json:"wormId,omitempty" xml:"wormId,omitempty"` +} + +func (s ExtendBucketWormRequest) String() string { + return tea.Prettify(s) +} + +func (s ExtendBucketWormRequest) GoString() string { + return s.String() +} + +func (s *ExtendBucketWormRequest) SetBody(v *ExtendWormConfiguration) *ExtendBucketWormRequest { + s.Body = v + return s +} + +func (s *ExtendBucketWormRequest) SetWormId(v string) *ExtendBucketWormRequest { + s.WormId = &v + return s +} + +type ExtendBucketWormResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s ExtendBucketWormResponse) String() string { + return tea.Prettify(s) +} + +func (s ExtendBucketWormResponse) GoString() string { + return s.String() +} + +func (s *ExtendBucketWormResponse) SetHeaders(v map[string]*string) *ExtendBucketWormResponse { + s.Headers = v + return s +} + +func (s *ExtendBucketWormResponse) SetStatusCode(v int32) *ExtendBucketWormResponse { + s.StatusCode = &v + return s +} + +type GetAccessPointHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + // The name of the access point. + XOssAccessPointName *string `json:"x-oss-access-point-name,omitempty" xml:"x-oss-access-point-name,omitempty"` +} + +func (s GetAccessPointHeaders) String() string { + return tea.Prettify(s) +} + +func (s GetAccessPointHeaders) GoString() string { + return s.String() +} + +func (s *GetAccessPointHeaders) SetCommonHeaders(v map[string]*string) *GetAccessPointHeaders { + s.CommonHeaders = v + return s +} + +func (s *GetAccessPointHeaders) SetXOssAccessPointName(v string) *GetAccessPointHeaders { + s.XOssAccessPointName = &v + return s +} + +type GetAccessPointResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetAccessPointResult `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetAccessPointResponse) String() string { + return tea.Prettify(s) +} + +func (s GetAccessPointResponse) GoString() string { + return s.String() +} + +func (s *GetAccessPointResponse) SetHeaders(v map[string]*string) *GetAccessPointResponse { + s.Headers = v + return s +} + +func (s *GetAccessPointResponse) SetStatusCode(v int32) *GetAccessPointResponse { + s.StatusCode = &v + return s +} + +func (s *GetAccessPointResponse) SetBody(v *GetAccessPointResult) *GetAccessPointResponse { + s.Body = v + return s +} + +type GetAccessPointConfigForObjectProcessHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + XOssAccessPointForObjectProcessName *string `json:"x-oss-access-point-for-object-process-name,omitempty" xml:"x-oss-access-point-for-object-process-name,omitempty"` +} + +func (s GetAccessPointConfigForObjectProcessHeaders) String() string { + return tea.Prettify(s) +} + +func (s GetAccessPointConfigForObjectProcessHeaders) GoString() string { + return s.String() +} + +func (s *GetAccessPointConfigForObjectProcessHeaders) SetCommonHeaders(v map[string]*string) *GetAccessPointConfigForObjectProcessHeaders { + s.CommonHeaders = v + return s +} + +func (s *GetAccessPointConfigForObjectProcessHeaders) SetXOssAccessPointForObjectProcessName(v string) *GetAccessPointConfigForObjectProcessHeaders { + s.XOssAccessPointForObjectProcessName = &v + return s +} + +type GetAccessPointConfigForObjectProcessResponseBody struct { + ObjectProcessConfiguration *ObjectProcessConfiguration `json:"ObjectProcessConfiguration,omitempty" xml:"ObjectProcessConfiguration,omitempty"` +} + +func (s GetAccessPointConfigForObjectProcessResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetAccessPointConfigForObjectProcessResponseBody) GoString() string { + return s.String() +} + +func (s *GetAccessPointConfigForObjectProcessResponseBody) SetObjectProcessConfiguration(v *ObjectProcessConfiguration) *GetAccessPointConfigForObjectProcessResponseBody { + s.ObjectProcessConfiguration = v + return s +} + +type GetAccessPointConfigForObjectProcessResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetAccessPointConfigForObjectProcessResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetAccessPointConfigForObjectProcessResponse) String() string { + return tea.Prettify(s) +} + +func (s GetAccessPointConfigForObjectProcessResponse) GoString() string { + return s.String() +} + +func (s *GetAccessPointConfigForObjectProcessResponse) SetHeaders(v map[string]*string) *GetAccessPointConfigForObjectProcessResponse { + s.Headers = v + return s +} + +func (s *GetAccessPointConfigForObjectProcessResponse) SetStatusCode(v int32) *GetAccessPointConfigForObjectProcessResponse { + s.StatusCode = &v + return s +} + +func (s *GetAccessPointConfigForObjectProcessResponse) SetBody(v *GetAccessPointConfigForObjectProcessResponseBody) *GetAccessPointConfigForObjectProcessResponse { + s.Body = v + return s +} + +type GetAccessPointForObjectProcessHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + XOssAccessPointForObjectProcessName *string `json:"x-oss-access-point-for-object-process-name,omitempty" xml:"x-oss-access-point-for-object-process-name,omitempty"` +} + +func (s GetAccessPointForObjectProcessHeaders) String() string { + return tea.Prettify(s) +} + +func (s GetAccessPointForObjectProcessHeaders) GoString() string { + return s.String() +} + +func (s *GetAccessPointForObjectProcessHeaders) SetCommonHeaders(v map[string]*string) *GetAccessPointForObjectProcessHeaders { + s.CommonHeaders = v + return s +} + +func (s *GetAccessPointForObjectProcessHeaders) SetXOssAccessPointForObjectProcessName(v string) *GetAccessPointForObjectProcessHeaders { + s.XOssAccessPointForObjectProcessName = &v + return s +} + +type GetAccessPointForObjectProcessResponseBody struct { + AccessPointForObjectProcessAlias *string `json:"AccessPointForObjectProcessAlias,omitempty" xml:"AccessPointForObjectProcessAlias,omitempty"` + AccessPointForObjectProcessArn *string `json:"AccessPointForObjectProcessArn,omitempty" xml:"AccessPointForObjectProcessArn,omitempty"` + AccessPointName *string `json:"AccessPointName,omitempty" xml:"AccessPointName,omitempty"` + AccessPointNameForObjectProcess *string `json:"AccessPointNameForObjectProcess,omitempty" xml:"AccessPointNameForObjectProcess,omitempty"` + AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"` + CreationDate *string `json:"CreationDate,omitempty" xml:"CreationDate,omitempty"` + Endpoints *GetAccessPointForObjectProcessResponseBodyEndpoints `json:"Endpoints,omitempty" xml:"Endpoints,omitempty" type:"Struct"` + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` +} + +func (s GetAccessPointForObjectProcessResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetAccessPointForObjectProcessResponseBody) GoString() string { + return s.String() +} + +func (s *GetAccessPointForObjectProcessResponseBody) SetAccessPointForObjectProcessAlias(v string) *GetAccessPointForObjectProcessResponseBody { + s.AccessPointForObjectProcessAlias = &v + return s +} + +func (s *GetAccessPointForObjectProcessResponseBody) SetAccessPointForObjectProcessArn(v string) *GetAccessPointForObjectProcessResponseBody { + s.AccessPointForObjectProcessArn = &v + return s +} + +func (s *GetAccessPointForObjectProcessResponseBody) SetAccessPointName(v string) *GetAccessPointForObjectProcessResponseBody { + s.AccessPointName = &v + return s +} + +func (s *GetAccessPointForObjectProcessResponseBody) SetAccessPointNameForObjectProcess(v string) *GetAccessPointForObjectProcessResponseBody { + s.AccessPointNameForObjectProcess = &v + return s +} + +func (s *GetAccessPointForObjectProcessResponseBody) SetAccountId(v string) *GetAccessPointForObjectProcessResponseBody { + s.AccountId = &v + return s +} + +func (s *GetAccessPointForObjectProcessResponseBody) SetCreationDate(v string) *GetAccessPointForObjectProcessResponseBody { + s.CreationDate = &v + return s +} + +func (s *GetAccessPointForObjectProcessResponseBody) SetEndpoints(v *GetAccessPointForObjectProcessResponseBodyEndpoints) *GetAccessPointForObjectProcessResponseBody { + s.Endpoints = v + return s +} + +func (s *GetAccessPointForObjectProcessResponseBody) SetStatus(v string) *GetAccessPointForObjectProcessResponseBody { + s.Status = &v + return s +} + +type GetAccessPointForObjectProcessResponseBodyEndpoints struct { + InternalEndpoint *string `json:"InternalEndpoint,omitempty" xml:"InternalEndpoint,omitempty"` + PublicEndpoint *string `json:"PublicEndpoint,omitempty" xml:"PublicEndpoint,omitempty"` +} + +func (s GetAccessPointForObjectProcessResponseBodyEndpoints) String() string { + return tea.Prettify(s) +} + +func (s GetAccessPointForObjectProcessResponseBodyEndpoints) GoString() string { + return s.String() +} + +func (s *GetAccessPointForObjectProcessResponseBodyEndpoints) SetInternalEndpoint(v string) *GetAccessPointForObjectProcessResponseBodyEndpoints { + s.InternalEndpoint = &v + return s +} + +func (s *GetAccessPointForObjectProcessResponseBodyEndpoints) SetPublicEndpoint(v string) *GetAccessPointForObjectProcessResponseBodyEndpoints { + s.PublicEndpoint = &v + return s +} + +type GetAccessPointForObjectProcessResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetAccessPointForObjectProcessResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetAccessPointForObjectProcessResponse) String() string { + return tea.Prettify(s) +} + +func (s GetAccessPointForObjectProcessResponse) GoString() string { + return s.String() +} + +func (s *GetAccessPointForObjectProcessResponse) SetHeaders(v map[string]*string) *GetAccessPointForObjectProcessResponse { + s.Headers = v + return s +} + +func (s *GetAccessPointForObjectProcessResponse) SetStatusCode(v int32) *GetAccessPointForObjectProcessResponse { + s.StatusCode = &v + return s +} + +func (s *GetAccessPointForObjectProcessResponse) SetBody(v *GetAccessPointForObjectProcessResponseBody) *GetAccessPointForObjectProcessResponse { + s.Body = v + return s +} + +type GetAccessPointPolicyHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + // The name of the access point. + XOssAccessPointName *string `json:"x-oss-access-point-name,omitempty" xml:"x-oss-access-point-name,omitempty"` +} + +func (s GetAccessPointPolicyHeaders) String() string { + return tea.Prettify(s) +} + +func (s GetAccessPointPolicyHeaders) GoString() string { + return s.String() +} + +func (s *GetAccessPointPolicyHeaders) SetCommonHeaders(v map[string]*string) *GetAccessPointPolicyHeaders { + s.CommonHeaders = v + return s +} + +func (s *GetAccessPointPolicyHeaders) SetXOssAccessPointName(v string) *GetAccessPointPolicyHeaders { + s.XOssAccessPointName = &v + return s +} + +type GetAccessPointPolicyResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *string `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetAccessPointPolicyResponse) String() string { + return tea.Prettify(s) +} + +func (s GetAccessPointPolicyResponse) GoString() string { + return s.String() +} + +func (s *GetAccessPointPolicyResponse) SetHeaders(v map[string]*string) *GetAccessPointPolicyResponse { + s.Headers = v + return s +} + +func (s *GetAccessPointPolicyResponse) SetStatusCode(v int32) *GetAccessPointPolicyResponse { + s.StatusCode = &v + return s +} + +func (s *GetAccessPointPolicyResponse) SetBody(v string) *GetAccessPointPolicyResponse { + s.Body = &v + return s +} + +type GetAccessPointPolicyForObjectProcessHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + XOssAccessPointForObjectProcessName *string `json:"x-oss-access-point-for-object-process-name,omitempty" xml:"x-oss-access-point-for-object-process-name,omitempty"` +} + +func (s GetAccessPointPolicyForObjectProcessHeaders) String() string { + return tea.Prettify(s) +} + +func (s GetAccessPointPolicyForObjectProcessHeaders) GoString() string { + return s.String() +} + +func (s *GetAccessPointPolicyForObjectProcessHeaders) SetCommonHeaders(v map[string]*string) *GetAccessPointPolicyForObjectProcessHeaders { + s.CommonHeaders = v + return s +} + +func (s *GetAccessPointPolicyForObjectProcessHeaders) SetXOssAccessPointForObjectProcessName(v string) *GetAccessPointPolicyForObjectProcessHeaders { + s.XOssAccessPointForObjectProcessName = &v + return s +} + +type GetAccessPointPolicyForObjectProcessResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *string `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetAccessPointPolicyForObjectProcessResponse) String() string { + return tea.Prettify(s) +} + +func (s GetAccessPointPolicyForObjectProcessResponse) GoString() string { + return s.String() +} + +func (s *GetAccessPointPolicyForObjectProcessResponse) SetHeaders(v map[string]*string) *GetAccessPointPolicyForObjectProcessResponse { + s.Headers = v + return s +} + +func (s *GetAccessPointPolicyForObjectProcessResponse) SetStatusCode(v int32) *GetAccessPointPolicyForObjectProcessResponse { + s.StatusCode = &v + return s +} + +func (s *GetAccessPointPolicyForObjectProcessResponse) SetBody(v string) *GetAccessPointPolicyForObjectProcessResponse { + s.Body = &v + return s +} + +type GetAccessPointPublicAccessBlockRequest struct { + XOssAccessPointName *string `json:"x-oss-access-point-name,omitempty" xml:"x-oss-access-point-name,omitempty"` +} + +func (s GetAccessPointPublicAccessBlockRequest) String() string { + return tea.Prettify(s) +} + +func (s GetAccessPointPublicAccessBlockRequest) GoString() string { + return s.String() +} + +func (s *GetAccessPointPublicAccessBlockRequest) SetXOssAccessPointName(v string) *GetAccessPointPublicAccessBlockRequest { + s.XOssAccessPointName = &v + return s +} + +type GetAccessPointPublicAccessBlockResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *PublicAccessBlockConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetAccessPointPublicAccessBlockResponse) String() string { + return tea.Prettify(s) +} + +func (s GetAccessPointPublicAccessBlockResponse) GoString() string { + return s.String() +} + +func (s *GetAccessPointPublicAccessBlockResponse) SetHeaders(v map[string]*string) *GetAccessPointPublicAccessBlockResponse { + s.Headers = v + return s +} + +func (s *GetAccessPointPublicAccessBlockResponse) SetStatusCode(v int32) *GetAccessPointPublicAccessBlockResponse { + s.StatusCode = &v + return s +} + +func (s *GetAccessPointPublicAccessBlockResponse) SetBody(v *PublicAccessBlockConfiguration) *GetAccessPointPublicAccessBlockResponse { + s.Body = v + return s +} + +type GetBucketRequest struct { + // The character that is used to group objects by name. If you specify prefix and delimiter in the request, the response contains CommonPrefixes. The objects whose name contains the same string from the prefix to the next occurrence of the delimiter are grouped as a single result element in CommonPrefixes.\ + // By default, this parameter is left empty. + Delimiter *string `json:"delimiter,omitempty" xml:"delimiter,omitempty"` + // The encoding type of the content in the response.\ + // By default, this parameter is left empty.\ + // Set the value to URL.\ + // The values of Delimiter, Marker, Prefix, NextMarker, and Key are UTF-8 encoded. If the value of Delimiter, Marker, Prefix, NextMarker, or Key contains a control character that is not supported by Extensible Markup Language (XML) 1.0, you can specify encoding-type to encode the value in the response. + EncodingType *string `json:"encoding-type,omitempty" xml:"encoding-type,omitempty"` + // The name of the object after which the GetBucket (ListObjects) operation begins. If this parameter is specified, objects whose name is alphabetically after the value of marker are returned.\ + // The objects are returned by page based on marker. The value of marker must be less than 1,024 bytes in length.\ + // If the value of marker does not exist in the list when you perform a conditional query, the GetBucket (ListObjects) operation also starts from the object name that is alphabetically after the value of marker.\ + // By default, this parameter is left empty. + Marker *string `json:"marker,omitempty" xml:"marker,omitempty"` + // The maximum number of objects to be returned. If the number of returned objects exceeds the value of max-keys, use the value of NextMarker returned in the response as the value of marker in the next request.\ + // Valid values: 1 to 999.\ + // Default value: 100. + MaxKeys *int64 `json:"max-keys,omitempty" xml:"max-keys,omitempty"` + // The prefix that the names of returned objects must contain. + // + // * The value of prefix must be less than 1,024 bytes in length. + // * If you specify prefix, the names of the returned objects contain the prefix.\ + // + // + // If you set prefix to a directory name, the objects whose name starts with the prefix are listed. The listed objects consist of all objects and subdirectories in the directory.\ + // If you specify prefix and set delimiter to a forward slash (/), only the objects in the directory are listed. The subdirectories in the directory are returned in CommonPrefixes. Objects and subdirectories in the subdirectories are not listed.\ + // For example, a bucket contains the following three objects: fun/test.jpg, fun/movie/001.avi, and fun/movie/007.avi. If you set prefix to fun/, the three objects are returned. If you set prefix to fun/and delimiter to a forward slash (/), fun/test.jpg and fun/movie/are returned.\ + // By default, this parameter is left empty. + Prefix *string `json:"prefix,omitempty" xml:"prefix,omitempty"` +} + +func (s GetBucketRequest) String() string { + return tea.Prettify(s) +} + +func (s GetBucketRequest) GoString() string { + return s.String() +} + +func (s *GetBucketRequest) SetDelimiter(v string) *GetBucketRequest { + s.Delimiter = &v + return s +} + +func (s *GetBucketRequest) SetEncodingType(v string) *GetBucketRequest { + s.EncodingType = &v + return s +} + +func (s *GetBucketRequest) SetMarker(v string) *GetBucketRequest { + s.Marker = &v + return s +} + +func (s *GetBucketRequest) SetMaxKeys(v int64) *GetBucketRequest { + s.MaxKeys = &v + return s +} + +func (s *GetBucketRequest) SetPrefix(v string) *GetBucketRequest { + s.Prefix = &v + return s +} + +type GetBucketResponseBody struct { + // If delimiter is specified in the request, the response contains CommonPrefixes. The objects whose name contains the same string from the prefix to the next occurrence of the delimiter are grouped as a single result element in CommonPrefixes. + CommonPrefixes []*CommonPrefix `json:"CommonPrefixes,omitempty" xml:"CommonPrefixes,omitempty" type:"Repeated"` + // The container that stores the metadata of the returned objects. + Contents []*ObjectSummary `json:"Contents,omitempty" xml:"Contents,omitempty" type:"Repeated"` + // The character that is used to group objects by name. The objects whose name contains the same string from the prefix to the next occurrence of the delimiter are grouped as a single result element in CommonPrefixes. + Delimiter *string `json:"Delimiter,omitempty" xml:"Delimiter,omitempty"` + // Indicates whether the returned results are truncated. + IsTruncated *bool `json:"IsTruncated,omitempty" xml:"IsTruncated,omitempty"` + // The name of the object from which the GetBucket (ListObjects) operation begins. + Marker *string `json:"Marker,omitempty" xml:"Marker,omitempty"` + // The maximum number of returned objects in the response. + MaxKeys *int32 `json:"MaxKeys,omitempty" xml:"MaxKeys,omitempty"` + // The name of the bucket. + Name *string `json:"Name,omitempty" xml:"Name,omitempty"` + // The prefix in the names of the returned objects. + Prefix *string `json:"Prefix,omitempty" xml:"Prefix,omitempty"` +} + +func (s GetBucketResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetBucketResponseBody) GoString() string { + return s.String() +} + +func (s *GetBucketResponseBody) SetCommonPrefixes(v []*CommonPrefix) *GetBucketResponseBody { + s.CommonPrefixes = v + return s +} + +func (s *GetBucketResponseBody) SetContents(v []*ObjectSummary) *GetBucketResponseBody { + s.Contents = v + return s +} + +func (s *GetBucketResponseBody) SetDelimiter(v string) *GetBucketResponseBody { + s.Delimiter = &v + return s +} + +func (s *GetBucketResponseBody) SetIsTruncated(v bool) *GetBucketResponseBody { + s.IsTruncated = &v + return s +} + +func (s *GetBucketResponseBody) SetMarker(v string) *GetBucketResponseBody { + s.Marker = &v + return s +} + +func (s *GetBucketResponseBody) SetMaxKeys(v int32) *GetBucketResponseBody { + s.MaxKeys = &v + return s +} + +func (s *GetBucketResponseBody) SetName(v string) *GetBucketResponseBody { + s.Name = &v + return s +} + +func (s *GetBucketResponseBody) SetPrefix(v string) *GetBucketResponseBody { + s.Prefix = &v + return s +} + +type GetBucketResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetBucketResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketResponse) GoString() string { + return s.String() +} + +func (s *GetBucketResponse) SetHeaders(v map[string]*string) *GetBucketResponse { + s.Headers = v + return s +} + +func (s *GetBucketResponse) SetStatusCode(v int32) *GetBucketResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketResponse) SetBody(v *GetBucketResponseBody) *GetBucketResponse { + s.Body = v + return s +} + +type GetBucketAccessMonitorResponseBody struct { + // The access tracking status of the bucket. + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` +} + +func (s GetBucketAccessMonitorResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetBucketAccessMonitorResponseBody) GoString() string { + return s.String() +} + +func (s *GetBucketAccessMonitorResponseBody) SetStatus(v string) *GetBucketAccessMonitorResponseBody { + s.Status = &v + return s +} + +type GetBucketAccessMonitorResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetBucketAccessMonitorResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketAccessMonitorResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketAccessMonitorResponse) GoString() string { + return s.String() +} + +func (s *GetBucketAccessMonitorResponse) SetHeaders(v map[string]*string) *GetBucketAccessMonitorResponse { + s.Headers = v + return s +} + +func (s *GetBucketAccessMonitorResponse) SetStatusCode(v int32) *GetBucketAccessMonitorResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketAccessMonitorResponse) SetBody(v *GetBucketAccessMonitorResponseBody) *GetBucketAccessMonitorResponse { + s.Body = v + return s +} + +type GetBucketAclResponseBody struct { + // The class of the container that stores the ACL information. + AccessControlList *GetBucketAclResponseBodyAccessControlList `json:"AccessControlList,omitempty" xml:"AccessControlList,omitempty" type:"Struct"` + // The container that stores the information about the bucket owner. + Owner *Owner `json:"Owner,omitempty" xml:"Owner,omitempty"` +} + +func (s GetBucketAclResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetBucketAclResponseBody) GoString() string { + return s.String() +} + +func (s *GetBucketAclResponseBody) SetAccessControlList(v *GetBucketAclResponseBodyAccessControlList) *GetBucketAclResponseBody { + s.AccessControlList = v + return s +} + +func (s *GetBucketAclResponseBody) SetOwner(v *Owner) *GetBucketAclResponseBody { + s.Owner = v + return s +} + +type GetBucketAclResponseBodyAccessControlList struct { + // The ACL of the bucket. + Grant *string `json:"Grant,omitempty" xml:"Grant,omitempty"` +} + +func (s GetBucketAclResponseBodyAccessControlList) String() string { + return tea.Prettify(s) +} + +func (s GetBucketAclResponseBodyAccessControlList) GoString() string { + return s.String() +} + +func (s *GetBucketAclResponseBodyAccessControlList) SetGrant(v string) *GetBucketAclResponseBodyAccessControlList { + s.Grant = &v + return s +} + +type GetBucketAclResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetBucketAclResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketAclResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketAclResponse) GoString() string { + return s.String() +} + +func (s *GetBucketAclResponse) SetHeaders(v map[string]*string) *GetBucketAclResponse { + s.Headers = v + return s +} + +func (s *GetBucketAclResponse) SetStatusCode(v int32) *GetBucketAclResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketAclResponse) SetBody(v *GetBucketAclResponseBody) *GetBucketAclResponse { + s.Body = v + return s +} + +type GetBucketArchiveDirectReadResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *ArchiveDirectReadConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketArchiveDirectReadResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketArchiveDirectReadResponse) GoString() string { + return s.String() +} + +func (s *GetBucketArchiveDirectReadResponse) SetHeaders(v map[string]*string) *GetBucketArchiveDirectReadResponse { + s.Headers = v + return s +} + +func (s *GetBucketArchiveDirectReadResponse) SetStatusCode(v int32) *GetBucketArchiveDirectReadResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketArchiveDirectReadResponse) SetBody(v *ArchiveDirectReadConfiguration) *GetBucketArchiveDirectReadResponse { + s.Body = v + return s +} + +type GetBucketCallbackPolicyResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *CallbackPolicy `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketCallbackPolicyResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketCallbackPolicyResponse) GoString() string { + return s.String() +} + +func (s *GetBucketCallbackPolicyResponse) SetHeaders(v map[string]*string) *GetBucketCallbackPolicyResponse { + s.Headers = v + return s +} + +func (s *GetBucketCallbackPolicyResponse) SetStatusCode(v int32) *GetBucketCallbackPolicyResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketCallbackPolicyResponse) SetBody(v *CallbackPolicy) *GetBucketCallbackPolicyResponse { + s.Body = v + return s +} + +type GetBucketCorsResponseBody struct { + // The container that stores the CORS rules. Up to 10 rules can be configured for a bucket. + CORSRule []*CORSRule `json:"CORSRule,omitempty" xml:"CORSRule,omitempty" type:"Repeated"` + // Indicates whether the Vary: Origin header is returned. Valid values: + // + // * **true**: The Vary: Origin header is returned regardless whether the request is a cross-origin request or whether the cross-origin request succeeds. + // * **false** (default): The Vary: Origin header is not returned. + // + // > This parameter is valid only when at least one CORS rule is configured. + ResponseVary *bool `json:"ResponseVary,omitempty" xml:"ResponseVary,omitempty"` +} + +func (s GetBucketCorsResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetBucketCorsResponseBody) GoString() string { + return s.String() +} + +func (s *GetBucketCorsResponseBody) SetCORSRule(v []*CORSRule) *GetBucketCorsResponseBody { + s.CORSRule = v + return s +} + +func (s *GetBucketCorsResponseBody) SetResponseVary(v bool) *GetBucketCorsResponseBody { + s.ResponseVary = &v + return s +} + +type GetBucketCorsResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetBucketCorsResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketCorsResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketCorsResponse) GoString() string { + return s.String() +} + +func (s *GetBucketCorsResponse) SetHeaders(v map[string]*string) *GetBucketCorsResponse { + s.Headers = v + return s +} + +func (s *GetBucketCorsResponse) SetStatusCode(v int32) *GetBucketCorsResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketCorsResponse) SetBody(v *GetBucketCorsResponseBody) *GetBucketCorsResponse { + s.Body = v + return s +} + +type GetBucketDataRedundancyTransitionRequest struct { + XOssRedundancyTransitionTaskid *string `json:"x-oss-redundancy-transition-taskid,omitempty" xml:"x-oss-redundancy-transition-taskid,omitempty"` +} + +func (s GetBucketDataRedundancyTransitionRequest) String() string { + return tea.Prettify(s) +} + +func (s GetBucketDataRedundancyTransitionRequest) GoString() string { + return s.String() +} + +func (s *GetBucketDataRedundancyTransitionRequest) SetXOssRedundancyTransitionTaskid(v string) *GetBucketDataRedundancyTransitionRequest { + s.XOssRedundancyTransitionTaskid = &v + return s +} + +type GetBucketDataRedundancyTransitionResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *BucketDataRedundancyTransition `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketDataRedundancyTransitionResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketDataRedundancyTransitionResponse) GoString() string { + return s.String() +} + +func (s *GetBucketDataRedundancyTransitionResponse) SetHeaders(v map[string]*string) *GetBucketDataRedundancyTransitionResponse { + s.Headers = v + return s +} + +func (s *GetBucketDataRedundancyTransitionResponse) SetStatusCode(v int32) *GetBucketDataRedundancyTransitionResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketDataRedundancyTransitionResponse) SetBody(v *BucketDataRedundancyTransition) *GetBucketDataRedundancyTransitionResponse { + s.Body = v + return s +} + +type GetBucketEncryptionResponseBody struct { + // The container that stores the default server-side encryption method. + ApplyServerSideEncryptionByDefault *ApplyServerSideEncryptionByDefault `json:"ApplyServerSideEncryptionByDefault,omitempty" xml:"ApplyServerSideEncryptionByDefault,omitempty"` +} + +func (s GetBucketEncryptionResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetBucketEncryptionResponseBody) GoString() string { + return s.String() +} + +func (s *GetBucketEncryptionResponseBody) SetApplyServerSideEncryptionByDefault(v *ApplyServerSideEncryptionByDefault) *GetBucketEncryptionResponseBody { + s.ApplyServerSideEncryptionByDefault = v + return s +} + +type GetBucketEncryptionResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetBucketEncryptionResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketEncryptionResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketEncryptionResponse) GoString() string { + return s.String() +} + +func (s *GetBucketEncryptionResponse) SetHeaders(v map[string]*string) *GetBucketEncryptionResponse { + s.Headers = v + return s +} + +func (s *GetBucketEncryptionResponse) SetStatusCode(v int32) *GetBucketEncryptionResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketEncryptionResponse) SetBody(v *GetBucketEncryptionResponseBody) *GetBucketEncryptionResponse { + s.Body = v + return s +} + +type GetBucketHttpsConfigResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *HttpsConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketHttpsConfigResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketHttpsConfigResponse) GoString() string { + return s.String() +} + +func (s *GetBucketHttpsConfigResponse) SetHeaders(v map[string]*string) *GetBucketHttpsConfigResponse { + s.Headers = v + return s +} + +func (s *GetBucketHttpsConfigResponse) SetStatusCode(v int32) *GetBucketHttpsConfigResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketHttpsConfigResponse) SetBody(v *HttpsConfiguration) *GetBucketHttpsConfigResponse { + s.Body = v + return s +} + +type GetBucketInfoResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *BucketInfo `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketInfoResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketInfoResponse) GoString() string { + return s.String() +} + +func (s *GetBucketInfoResponse) SetHeaders(v map[string]*string) *GetBucketInfoResponse { + s.Headers = v + return s +} + +func (s *GetBucketInfoResponse) SetStatusCode(v int32) *GetBucketInfoResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketInfoResponse) SetBody(v *BucketInfo) *GetBucketInfoResponse { + s.Body = v + return s +} + +type GetBucketInventoryRequest struct { + // The name of the inventory to be queried. + InventoryId *string `json:"inventoryId,omitempty" xml:"inventoryId,omitempty"` +} + +func (s GetBucketInventoryRequest) String() string { + return tea.Prettify(s) +} + +func (s GetBucketInventoryRequest) GoString() string { + return s.String() +} + +func (s *GetBucketInventoryRequest) SetInventoryId(v string) *GetBucketInventoryRequest { + s.InventoryId = &v + return s +} + +type GetBucketInventoryResponseBody struct { + // The container that stores the information about the exported inventories. + Destination *InventoryDestination `json:"Destination,omitempty" xml:"Destination,omitempty"` + // The prefix that is used to filter objects. Only objects whose names contain the specified prefix are included in the inventories. + Filter *InventoryFilter `json:"Filter,omitempty" xml:"Filter,omitempty"` + // The name of the inventory. The name is globally unique in the bucket. + Id *string `json:"Id,omitempty" xml:"Id,omitempty"` + // Indicates whether the version information about objects is included in inventories. + // + // Valid values: + // + // * All: All versions of the objects are exported. + // * Current: Only the current versions of the objects are exported. + IncludedObjectVersions *string `json:"IncludedObjectVersions,omitempty" xml:"IncludedObjectVersions,omitempty"` + // Indicates whether the inventory feature is enabled. Valid values: + // + // * true: The inventory feature is enabled. + // * false: No inventory is generated. + IsEnabled *bool `json:"IsEnabled,omitempty" xml:"IsEnabled,omitempty"` + // The configurations that you specified to be included in an exported inventory. + OptionalFields *GetBucketInventoryResponseBodyOptionalFields `json:"OptionalFields,omitempty" xml:"OptionalFields,omitempty" type:"Struct"` + // The container that stores the information about the frequency at which inventories are exported. + Schedule *InventorySchedule `json:"Schedule,omitempty" xml:"Schedule,omitempty"` +} + +func (s GetBucketInventoryResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetBucketInventoryResponseBody) GoString() string { + return s.String() +} + +func (s *GetBucketInventoryResponseBody) SetDestination(v *InventoryDestination) *GetBucketInventoryResponseBody { + s.Destination = v + return s +} + +func (s *GetBucketInventoryResponseBody) SetFilter(v *InventoryFilter) *GetBucketInventoryResponseBody { + s.Filter = v + return s +} + +func (s *GetBucketInventoryResponseBody) SetId(v string) *GetBucketInventoryResponseBody { + s.Id = &v + return s +} + +func (s *GetBucketInventoryResponseBody) SetIncludedObjectVersions(v string) *GetBucketInventoryResponseBody { + s.IncludedObjectVersions = &v + return s +} + +func (s *GetBucketInventoryResponseBody) SetIsEnabled(v bool) *GetBucketInventoryResponseBody { + s.IsEnabled = &v + return s +} + +func (s *GetBucketInventoryResponseBody) SetOptionalFields(v *GetBucketInventoryResponseBodyOptionalFields) *GetBucketInventoryResponseBody { + s.OptionalFields = v + return s +} + +func (s *GetBucketInventoryResponseBody) SetSchedule(v *InventorySchedule) *GetBucketInventoryResponseBody { + s.Schedule = v + return s +} + +type GetBucketInventoryResponseBodyOptionalFields struct { + // The configurations that are included in an exported inventory. Valid values: Size, LastModifiedDate, ETag, StorageClass, IsMultipartUploaded, and EncryptionStatus. + Field []*string `json:"Field,omitempty" xml:"Field,omitempty" type:"Repeated"` +} + +func (s GetBucketInventoryResponseBodyOptionalFields) String() string { + return tea.Prettify(s) +} + +func (s GetBucketInventoryResponseBodyOptionalFields) GoString() string { + return s.String() +} + +func (s *GetBucketInventoryResponseBodyOptionalFields) SetField(v []*string) *GetBucketInventoryResponseBodyOptionalFields { + s.Field = v + return s +} + +type GetBucketInventoryResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetBucketInventoryResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketInventoryResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketInventoryResponse) GoString() string { + return s.String() +} + +func (s *GetBucketInventoryResponse) SetHeaders(v map[string]*string) *GetBucketInventoryResponse { + s.Headers = v + return s +} + +func (s *GetBucketInventoryResponse) SetStatusCode(v int32) *GetBucketInventoryResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketInventoryResponse) SetBody(v *GetBucketInventoryResponseBody) *GetBucketInventoryResponse { + s.Body = v + return s +} + +type GetBucketLifecycleResponseBody struct { + // The container that stores the lifecycle rules. + Rule []*LifecycleRule `json:"Rule,omitempty" xml:"Rule,omitempty" type:"Repeated"` +} + +func (s GetBucketLifecycleResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetBucketLifecycleResponseBody) GoString() string { + return s.String() +} + +func (s *GetBucketLifecycleResponseBody) SetRule(v []*LifecycleRule) *GetBucketLifecycleResponseBody { + s.Rule = v + return s +} + +type GetBucketLifecycleResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetBucketLifecycleResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketLifecycleResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketLifecycleResponse) GoString() string { + return s.String() +} + +func (s *GetBucketLifecycleResponse) SetHeaders(v map[string]*string) *GetBucketLifecycleResponse { + s.Headers = v + return s +} + +func (s *GetBucketLifecycleResponse) SetStatusCode(v int32) *GetBucketLifecycleResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketLifecycleResponse) SetBody(v *GetBucketLifecycleResponseBody) *GetBucketLifecycleResponse { + s.Body = v + return s +} + +type GetBucketLocationResponseBody struct { + // The region in which the bucket resides.\ + // Examples: oss-cn-hangzhou, oss-cn-shanghai, oss-cn-qingdao, oss-cn-beijing, oss-cn-zhangjiakou, oss-cn-hongkong, oss-cn-shenzhen, oss-us-west-1, oss-us-east-1, and oss-ap-southeast-1. + // + // \ + // For more information about the regions in which buckets reside, see [Regions and endpoints](~~31837~~). + LocationConstraint *string `json:"LocationConstraint,omitempty" xml:"LocationConstraint,omitempty"` +} + +func (s GetBucketLocationResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetBucketLocationResponseBody) GoString() string { + return s.String() +} + +func (s *GetBucketLocationResponseBody) SetLocationConstraint(v string) *GetBucketLocationResponseBody { + s.LocationConstraint = &v + return s +} + +type GetBucketLocationResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetBucketLocationResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketLocationResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketLocationResponse) GoString() string { + return s.String() +} + +func (s *GetBucketLocationResponse) SetHeaders(v map[string]*string) *GetBucketLocationResponse { + s.Headers = v + return s +} + +func (s *GetBucketLocationResponse) SetStatusCode(v int32) *GetBucketLocationResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketLocationResponse) SetBody(v *GetBucketLocationResponseBody) *GetBucketLocationResponse { + s.Body = v + return s +} + +type GetBucketLoggingResponseBody struct { + // The container that stores the information about access log collection. This parameter is returned if access log collection is enabled for the bucket. + LoggingEnabled *LoggingEnabled `json:"LoggingEnabled,omitempty" xml:"LoggingEnabled,omitempty"` +} + +func (s GetBucketLoggingResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetBucketLoggingResponseBody) GoString() string { + return s.String() +} + +func (s *GetBucketLoggingResponseBody) SetLoggingEnabled(v *LoggingEnabled) *GetBucketLoggingResponseBody { + s.LoggingEnabled = v + return s +} + +type GetBucketLoggingResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetBucketLoggingResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketLoggingResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketLoggingResponse) GoString() string { + return s.String() +} + +func (s *GetBucketLoggingResponse) SetHeaders(v map[string]*string) *GetBucketLoggingResponse { + s.Headers = v + return s +} + +func (s *GetBucketLoggingResponse) SetStatusCode(v int32) *GetBucketLoggingResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketLoggingResponse) SetBody(v *GetBucketLoggingResponseBody) *GetBucketLoggingResponse { + s.Body = v + return s +} + +type GetBucketPolicyResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *string `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketPolicyResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketPolicyResponse) GoString() string { + return s.String() +} + +func (s *GetBucketPolicyResponse) SetHeaders(v map[string]*string) *GetBucketPolicyResponse { + s.Headers = v + return s +} + +func (s *GetBucketPolicyResponse) SetStatusCode(v int32) *GetBucketPolicyResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketPolicyResponse) SetBody(v string) *GetBucketPolicyResponse { + s.Body = &v + return s +} + +type GetBucketPolicyStatusResponseBody struct { + IsPublic *bool `json:"IsPublic,omitempty" xml:"IsPublic,omitempty"` +} + +func (s GetBucketPolicyStatusResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetBucketPolicyStatusResponseBody) GoString() string { + return s.String() +} + +func (s *GetBucketPolicyStatusResponseBody) SetIsPublic(v bool) *GetBucketPolicyStatusResponseBody { + s.IsPublic = &v + return s +} + +type GetBucketPolicyStatusResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetBucketPolicyStatusResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketPolicyStatusResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketPolicyStatusResponse) GoString() string { + return s.String() +} + +func (s *GetBucketPolicyStatusResponse) SetHeaders(v map[string]*string) *GetBucketPolicyStatusResponse { + s.Headers = v + return s +} + +func (s *GetBucketPolicyStatusResponse) SetStatusCode(v int32) *GetBucketPolicyStatusResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketPolicyStatusResponse) SetBody(v *GetBucketPolicyStatusResponseBody) *GetBucketPolicyStatusResponse { + s.Body = v + return s +} + +type GetBucketPublicAccessBlockResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *PublicAccessBlockConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketPublicAccessBlockResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketPublicAccessBlockResponse) GoString() string { + return s.String() +} + +func (s *GetBucketPublicAccessBlockResponse) SetHeaders(v map[string]*string) *GetBucketPublicAccessBlockResponse { + s.Headers = v + return s +} + +func (s *GetBucketPublicAccessBlockResponse) SetStatusCode(v int32) *GetBucketPublicAccessBlockResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketPublicAccessBlockResponse) SetBody(v *PublicAccessBlockConfiguration) *GetBucketPublicAccessBlockResponse { + s.Body = v + return s +} + +type GetBucketRefererResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *RefererConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketRefererResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketRefererResponse) GoString() string { + return s.String() +} + +func (s *GetBucketRefererResponse) SetHeaders(v map[string]*string) *GetBucketRefererResponse { + s.Headers = v + return s +} + +func (s *GetBucketRefererResponse) SetStatusCode(v int32) *GetBucketRefererResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketRefererResponse) SetBody(v *RefererConfiguration) *GetBucketRefererResponse { + s.Body = v + return s +} + +type GetBucketReplicationResponseBody struct { + // The container that stores the information about the specified data replication rule. + Rule []*ReplicationRule `json:"Rule,omitempty" xml:"Rule,omitempty" type:"Repeated"` +} + +func (s GetBucketReplicationResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetBucketReplicationResponseBody) GoString() string { + return s.String() +} + +func (s *GetBucketReplicationResponseBody) SetRule(v []*ReplicationRule) *GetBucketReplicationResponseBody { + s.Rule = v + return s +} + +type GetBucketReplicationResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetBucketReplicationResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketReplicationResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketReplicationResponse) GoString() string { + return s.String() +} + +func (s *GetBucketReplicationResponse) SetHeaders(v map[string]*string) *GetBucketReplicationResponse { + s.Headers = v + return s +} + +func (s *GetBucketReplicationResponse) SetStatusCode(v int32) *GetBucketReplicationResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketReplicationResponse) SetBody(v *GetBucketReplicationResponseBody) *GetBucketReplicationResponse { + s.Body = v + return s +} + +type GetBucketReplicationLocationResponseBody struct { + // The regions in which available destination buckets reside. + // + // > If available destination buckets reside in multiple regions, multiple values of Location are returned in the response. If no destination bucket is available, the value of Location is null. + Location []*string `json:"Location,omitempty" xml:"Location,omitempty" type:"Repeated"` + // The container that stores the regions in which available destination buckets reside with TransferType specified. + LocationTransferTypeConstraint *GetBucketReplicationLocationResponseBodyLocationTransferTypeConstraint `json:"LocationTransferTypeConstraint,omitempty" xml:"LocationTransferTypeConstraint,omitempty" type:"Struct"` +} + +func (s GetBucketReplicationLocationResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetBucketReplicationLocationResponseBody) GoString() string { + return s.String() +} + +func (s *GetBucketReplicationLocationResponseBody) SetLocation(v []*string) *GetBucketReplicationLocationResponseBody { + s.Location = v + return s +} + +func (s *GetBucketReplicationLocationResponseBody) SetLocationTransferTypeConstraint(v *GetBucketReplicationLocationResponseBodyLocationTransferTypeConstraint) *GetBucketReplicationLocationResponseBody { + s.LocationTransferTypeConstraint = v + return s +} + +type GetBucketReplicationLocationResponseBodyLocationTransferTypeConstraint struct { + // The container that stores the regions in which available destination buckets reside with TransferType specified. + LocationTransferType []*LocationTransferType `json:"LocationTransferType,omitempty" xml:"LocationTransferType,omitempty" type:"Repeated"` +} + +func (s GetBucketReplicationLocationResponseBodyLocationTransferTypeConstraint) String() string { + return tea.Prettify(s) +} + +func (s GetBucketReplicationLocationResponseBodyLocationTransferTypeConstraint) GoString() string { + return s.String() +} + +func (s *GetBucketReplicationLocationResponseBodyLocationTransferTypeConstraint) SetLocationTransferType(v []*LocationTransferType) *GetBucketReplicationLocationResponseBodyLocationTransferTypeConstraint { + s.LocationTransferType = v + return s +} + +type GetBucketReplicationLocationResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetBucketReplicationLocationResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketReplicationLocationResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketReplicationLocationResponse) GoString() string { + return s.String() +} + +func (s *GetBucketReplicationLocationResponse) SetHeaders(v map[string]*string) *GetBucketReplicationLocationResponse { + s.Headers = v + return s +} + +func (s *GetBucketReplicationLocationResponse) SetStatusCode(v int32) *GetBucketReplicationLocationResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketReplicationLocationResponse) SetBody(v *GetBucketReplicationLocationResponseBody) *GetBucketReplicationLocationResponse { + s.Body = v + return s +} + +type GetBucketReplicationProgressRequest struct { + // The ID of the data replication rule. You can call the GetBucketReplication operation to query the ID. + RuleId *string `json:"rule-id,omitempty" xml:"rule-id,omitempty"` +} + +func (s GetBucketReplicationProgressRequest) String() string { + return tea.Prettify(s) +} + +func (s GetBucketReplicationProgressRequest) GoString() string { + return s.String() +} + +func (s *GetBucketReplicationProgressRequest) SetRuleId(v string) *GetBucketReplicationProgressRequest { + s.RuleId = &v + return s +} + +type GetBucketReplicationProgressResponseBody struct { + // The container that stores the progress of the data replication task corresponding to the specified data replication rule. + Rule *ReplicationProgressRule `json:"Rule,omitempty" xml:"Rule,omitempty"` +} + +func (s GetBucketReplicationProgressResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetBucketReplicationProgressResponseBody) GoString() string { + return s.String() +} + +func (s *GetBucketReplicationProgressResponseBody) SetRule(v *ReplicationProgressRule) *GetBucketReplicationProgressResponseBody { + s.Rule = v + return s +} + +type GetBucketReplicationProgressResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetBucketReplicationProgressResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketReplicationProgressResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketReplicationProgressResponse) GoString() string { + return s.String() +} + +func (s *GetBucketReplicationProgressResponse) SetHeaders(v map[string]*string) *GetBucketReplicationProgressResponse { + s.Headers = v + return s +} + +func (s *GetBucketReplicationProgressResponse) SetStatusCode(v int32) *GetBucketReplicationProgressResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketReplicationProgressResponse) SetBody(v *GetBucketReplicationProgressResponseBody) *GetBucketReplicationProgressResponse { + s.Body = v + return s +} + +type GetBucketRequestPaymentResponseBody struct { + // The payer of the request and traffic fees. Valid values: **BucketOwner** and **Requester**. + Payer *string `json:"Payer,omitempty" xml:"Payer,omitempty"` +} + +func (s GetBucketRequestPaymentResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetBucketRequestPaymentResponseBody) GoString() string { + return s.String() +} + +func (s *GetBucketRequestPaymentResponseBody) SetPayer(v string) *GetBucketRequestPaymentResponseBody { + s.Payer = &v + return s +} + +type GetBucketRequestPaymentResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetBucketRequestPaymentResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketRequestPaymentResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketRequestPaymentResponse) GoString() string { + return s.String() +} + +func (s *GetBucketRequestPaymentResponse) SetHeaders(v map[string]*string) *GetBucketRequestPaymentResponse { + s.Headers = v + return s +} + +func (s *GetBucketRequestPaymentResponse) SetStatusCode(v int32) *GetBucketRequestPaymentResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketRequestPaymentResponse) SetBody(v *GetBucketRequestPaymentResponseBody) *GetBucketRequestPaymentResponse { + s.Body = v + return s +} + +type GetBucketResourceGroupResponseBody struct { + // The ID of the resource group to which the bucket belongs. + ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"` +} + +func (s GetBucketResourceGroupResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetBucketResourceGroupResponseBody) GoString() string { + return s.String() +} + +func (s *GetBucketResourceGroupResponseBody) SetResourceGroupId(v string) *GetBucketResourceGroupResponseBody { + s.ResourceGroupId = &v + return s +} + +type GetBucketResourceGroupResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetBucketResourceGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketResourceGroupResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketResourceGroupResponse) GoString() string { + return s.String() +} + +func (s *GetBucketResourceGroupResponse) SetHeaders(v map[string]*string) *GetBucketResourceGroupResponse { + s.Headers = v + return s +} + +func (s *GetBucketResourceGroupResponse) SetStatusCode(v int32) *GetBucketResourceGroupResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketResourceGroupResponse) SetBody(v *GetBucketResourceGroupResponseBody) *GetBucketResourceGroupResponse { + s.Body = v + return s +} + +type GetBucketResponseHeaderResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *ResponseHeaderConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketResponseHeaderResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketResponseHeaderResponse) GoString() string { + return s.String() +} + +func (s *GetBucketResponseHeaderResponse) SetHeaders(v map[string]*string) *GetBucketResponseHeaderResponse { + s.Headers = v + return s +} + +func (s *GetBucketResponseHeaderResponse) SetStatusCode(v int32) *GetBucketResponseHeaderResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketResponseHeaderResponse) SetBody(v *ResponseHeaderConfiguration) *GetBucketResponseHeaderResponse { + s.Body = v + return s +} + +type GetBucketStatResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *BucketStat `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketStatResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketStatResponse) GoString() string { + return s.String() +} + +func (s *GetBucketStatResponse) SetHeaders(v map[string]*string) *GetBucketStatResponse { + s.Headers = v + return s +} + +func (s *GetBucketStatResponse) SetStatusCode(v int32) *GetBucketStatResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketStatResponse) SetBody(v *BucketStat) *GetBucketStatResponse { + s.Body = v + return s +} + +type GetBucketTagsResponseBody struct { + // The container that stores the returned tags of the bucket. + TagSet *TagSet `json:"TagSet,omitempty" xml:"TagSet,omitempty"` +} + +func (s GetBucketTagsResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetBucketTagsResponseBody) GoString() string { + return s.String() +} + +func (s *GetBucketTagsResponseBody) SetTagSet(v *TagSet) *GetBucketTagsResponseBody { + s.TagSet = v + return s +} + +type GetBucketTagsResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetBucketTagsResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketTagsResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketTagsResponse) GoString() string { + return s.String() +} + +func (s *GetBucketTagsResponse) SetHeaders(v map[string]*string) *GetBucketTagsResponse { + s.Headers = v + return s +} + +func (s *GetBucketTagsResponse) SetStatusCode(v int32) *GetBucketTagsResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketTagsResponse) SetBody(v *GetBucketTagsResponseBody) *GetBucketTagsResponse { + s.Body = v + return s +} + +type GetBucketTransferAccelerationResponseBody struct { + // Indicates whether the transfer acceleration feature is enabled. Valid values: + // + // * true + // * false + Enabled *bool `json:"Enabled,omitempty" xml:"Enabled,omitempty"` +} + +func (s GetBucketTransferAccelerationResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetBucketTransferAccelerationResponseBody) GoString() string { + return s.String() +} + +func (s *GetBucketTransferAccelerationResponseBody) SetEnabled(v bool) *GetBucketTransferAccelerationResponseBody { + s.Enabled = &v + return s +} + +type GetBucketTransferAccelerationResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetBucketTransferAccelerationResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketTransferAccelerationResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketTransferAccelerationResponse) GoString() string { + return s.String() +} + +func (s *GetBucketTransferAccelerationResponse) SetHeaders(v map[string]*string) *GetBucketTransferAccelerationResponse { + s.Headers = v + return s +} + +func (s *GetBucketTransferAccelerationResponse) SetStatusCode(v int32) *GetBucketTransferAccelerationResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketTransferAccelerationResponse) SetBody(v *GetBucketTransferAccelerationResponseBody) *GetBucketTransferAccelerationResponse { + s.Body = v + return s +} + +type GetBucketVersioningResponseBody struct { + // The versioning state. Valid values: + // + // * Enabled + // * Suspended + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` +} + +func (s GetBucketVersioningResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetBucketVersioningResponseBody) GoString() string { + return s.String() +} + +func (s *GetBucketVersioningResponseBody) SetStatus(v string) *GetBucketVersioningResponseBody { + s.Status = &v + return s +} + +type GetBucketVersioningResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetBucketVersioningResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketVersioningResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketVersioningResponse) GoString() string { + return s.String() +} + +func (s *GetBucketVersioningResponse) SetHeaders(v map[string]*string) *GetBucketVersioningResponse { + s.Headers = v + return s +} + +func (s *GetBucketVersioningResponse) SetStatusCode(v int32) *GetBucketVersioningResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketVersioningResponse) SetBody(v *GetBucketVersioningResponseBody) *GetBucketVersioningResponse { + s.Body = v + return s +} + +type GetBucketWebsiteResponseBody struct { + // The container that stores the error page. + ErrorDocument *ErrorDocument `json:"ErrorDocument,omitempty" xml:"ErrorDocument,omitempty"` + // The container that stores the default homepage. + IndexDocument *IndexDocument `json:"IndexDocument,omitempty" xml:"IndexDocument,omitempty"` + // The container that stores redirection rules or mirroring-based back-to-origin rules. + RoutingRules *GetBucketWebsiteResponseBodyRoutingRules `json:"RoutingRules,omitempty" xml:"RoutingRules,omitempty" type:"Struct"` +} + +func (s GetBucketWebsiteResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetBucketWebsiteResponseBody) GoString() string { + return s.String() +} + +func (s *GetBucketWebsiteResponseBody) SetErrorDocument(v *ErrorDocument) *GetBucketWebsiteResponseBody { + s.ErrorDocument = v + return s +} + +func (s *GetBucketWebsiteResponseBody) SetIndexDocument(v *IndexDocument) *GetBucketWebsiteResponseBody { + s.IndexDocument = v + return s +} + +func (s *GetBucketWebsiteResponseBody) SetRoutingRules(v *GetBucketWebsiteResponseBodyRoutingRules) *GetBucketWebsiteResponseBody { + s.RoutingRules = v + return s +} + +type GetBucketWebsiteResponseBodyRoutingRules struct { + // The redirection rules or mirroring-based back-to-origin rules. + RoutingRule []*RoutingRule `json:"RoutingRule,omitempty" xml:"RoutingRule,omitempty" type:"Repeated"` +} + +func (s GetBucketWebsiteResponseBodyRoutingRules) String() string { + return tea.Prettify(s) +} + +func (s GetBucketWebsiteResponseBodyRoutingRules) GoString() string { + return s.String() +} + +func (s *GetBucketWebsiteResponseBodyRoutingRules) SetRoutingRule(v []*RoutingRule) *GetBucketWebsiteResponseBodyRoutingRules { + s.RoutingRule = v + return s +} + +type GetBucketWebsiteResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetBucketWebsiteResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketWebsiteResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketWebsiteResponse) GoString() string { + return s.String() +} + +func (s *GetBucketWebsiteResponse) SetHeaders(v map[string]*string) *GetBucketWebsiteResponse { + s.Headers = v + return s +} + +func (s *GetBucketWebsiteResponse) SetStatusCode(v int32) *GetBucketWebsiteResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketWebsiteResponse) SetBody(v *GetBucketWebsiteResponseBody) *GetBucketWebsiteResponse { + s.Body = v + return s +} + +type GetBucketWormResponseBody struct { + // The time at which the retention policy was created. + CreationDate *string `json:"CreationDate,omitempty" xml:"CreationDate,omitempty"` + // The number of days for which objects can be retained. + RetentionPeriodInDays *int32 `json:"RetentionPeriodInDays,omitempty" xml:"RetentionPeriodInDays,omitempty"` + // The status of the retention policy. Valid values: + // + // * InProgress: indicates that the retention policy is in the InProgress state. By default, a retention policy is in the InProgress state after it is created. The policy remains in this state for 24 hours. + // * Locked: indicates that the retention policy is in the Locked state. + State *string `json:"State,omitempty" xml:"State,omitempty"` + // The ID of the retention policy. + // + // > If the specified retention policy ID that is used to query the retention policy configurations of the bucket does not exist, OSS returns the 404 error code. + WormId *string `json:"WormId,omitempty" xml:"WormId,omitempty"` +} + +func (s GetBucketWormResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetBucketWormResponseBody) GoString() string { + return s.String() +} + +func (s *GetBucketWormResponseBody) SetCreationDate(v string) *GetBucketWormResponseBody { + s.CreationDate = &v + return s +} + +func (s *GetBucketWormResponseBody) SetRetentionPeriodInDays(v int32) *GetBucketWormResponseBody { + s.RetentionPeriodInDays = &v + return s +} + +func (s *GetBucketWormResponseBody) SetState(v string) *GetBucketWormResponseBody { + s.State = &v + return s +} + +func (s *GetBucketWormResponseBody) SetWormId(v string) *GetBucketWormResponseBody { + s.WormId = &v + return s +} + +type GetBucketWormResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetBucketWormResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetBucketWormResponse) String() string { + return tea.Prettify(s) +} + +func (s GetBucketWormResponse) GoString() string { + return s.String() +} + +func (s *GetBucketWormResponse) SetHeaders(v map[string]*string) *GetBucketWormResponse { + s.Headers = v + return s +} + +func (s *GetBucketWormResponse) SetStatusCode(v int32) *GetBucketWormResponse { + s.StatusCode = &v + return s +} + +func (s *GetBucketWormResponse) SetBody(v *GetBucketWormResponseBody) *GetBucketWormResponse { + s.Body = v + return s +} + +type GetCnameTokenRequest struct { + // The name of the CNAME record that is mapped to the bucket. + Cname *string `json:"cname,omitempty" xml:"cname,omitempty"` +} + +func (s GetCnameTokenRequest) String() string { + return tea.Prettify(s) +} + +func (s GetCnameTokenRequest) GoString() string { + return s.String() +} + +func (s *GetCnameTokenRequest) SetCname(v string) *GetCnameTokenRequest { + s.Cname = &v + return s +} + +type GetCnameTokenResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *CnameToken `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetCnameTokenResponse) String() string { + return tea.Prettify(s) +} + +func (s GetCnameTokenResponse) GoString() string { + return s.String() +} + +func (s *GetCnameTokenResponse) SetHeaders(v map[string]*string) *GetCnameTokenResponse { + s.Headers = v + return s +} + +func (s *GetCnameTokenResponse) SetStatusCode(v int32) *GetCnameTokenResponse { + s.StatusCode = &v + return s +} + +func (s *GetCnameTokenResponse) SetBody(v *CnameToken) *GetCnameTokenResponse { + s.Body = v + return s +} + +type GetLiveChannelHistoryResponseBody struct { + // Specifies the container that stores a stream pushing record. + LiveRecord []*LiveRecord `json:"LiveRecord,omitempty" xml:"LiveRecord,omitempty" type:"Repeated"` +} + +func (s GetLiveChannelHistoryResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetLiveChannelHistoryResponseBody) GoString() string { + return s.String() +} + +func (s *GetLiveChannelHistoryResponseBody) SetLiveRecord(v []*LiveRecord) *GetLiveChannelHistoryResponseBody { + s.LiveRecord = v + return s +} + +type GetLiveChannelHistoryResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetLiveChannelHistoryResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetLiveChannelHistoryResponse) String() string { + return tea.Prettify(s) +} + +func (s GetLiveChannelHistoryResponse) GoString() string { + return s.String() +} + +func (s *GetLiveChannelHistoryResponse) SetHeaders(v map[string]*string) *GetLiveChannelHistoryResponse { + s.Headers = v + return s +} + +func (s *GetLiveChannelHistoryResponse) SetStatusCode(v int32) *GetLiveChannelHistoryResponse { + s.StatusCode = &v + return s +} + +func (s *GetLiveChannelHistoryResponse) SetBody(v *GetLiveChannelHistoryResponseBody) *GetLiveChannelHistoryResponse { + s.Body = v + return s +} + +type GetLiveChannelInfoResponseBody struct { + // The description of the LiveChannel. + Description *string `json:"Description,omitempty" xml:"Description,omitempty"` + // The status of the LiveChannel. + //
Valid values: + // + // - enabled: indicates that the LiveChannel is enabled. + // - disabled: indicates that the LiveChannel is disabled. + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` + // The container that stores the configurations used by the LiveChannel to store uploaded data. + Target *LiveChannelTarget `json:"Target,omitempty" xml:"Target,omitempty"` +} + +func (s GetLiveChannelInfoResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetLiveChannelInfoResponseBody) GoString() string { + return s.String() +} + +func (s *GetLiveChannelInfoResponseBody) SetDescription(v string) *GetLiveChannelInfoResponseBody { + s.Description = &v + return s +} + +func (s *GetLiveChannelInfoResponseBody) SetStatus(v string) *GetLiveChannelInfoResponseBody { + s.Status = &v + return s +} + +func (s *GetLiveChannelInfoResponseBody) SetTarget(v *LiveChannelTarget) *GetLiveChannelInfoResponseBody { + s.Target = v + return s +} + +type GetLiveChannelInfoResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetLiveChannelInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetLiveChannelInfoResponse) String() string { + return tea.Prettify(s) +} + +func (s GetLiveChannelInfoResponse) GoString() string { + return s.String() +} + +func (s *GetLiveChannelInfoResponse) SetHeaders(v map[string]*string) *GetLiveChannelInfoResponse { + s.Headers = v + return s +} + +func (s *GetLiveChannelInfoResponse) SetStatusCode(v int32) *GetLiveChannelInfoResponse { + s.StatusCode = &v + return s +} + +func (s *GetLiveChannelInfoResponse) SetBody(v *GetLiveChannelInfoResponseBody) *GetLiveChannelInfoResponse { + s.Body = v + return s +} + +type GetLiveChannelStatResponseBody struct { + // The container that stores audio stream information when Status is set to Live. + // > The Video and Audio containers can be returned only when Status is set to Live. However, the Video and Audio containers may not be returned when Status is set to Live. For example, if the client has connected to the LiveChannel but no audio or video stream is sent, these two containers are not returned. + Audio *LiveChannelAudio `json:"Audio,omitempty" xml:"Audio,omitempty"` + // If the value of Status is Live, this parameter indicates the time when the current client start to push streams. The value of this parameter is in the ISO8601 format. + ConnectedTime *string `json:"ConnectedTime,omitempty" xml:"ConnectedTime,omitempty"` + // If the value of Status is Live, this parameter indicates the IP address of the current client that pushes streams. + RemoteAddr *string `json:"RemoteAddr,omitempty" xml:"RemoteAddr,omitempty"` + // Indicates the current stream pushing status of the LiveChannel. + //
Valid value: Disabled, Live, and Idle + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` + // The container that stores video stream information when Status is set to Live. + // > Video and audio containers can be returned only when Status is set to Live. However, these two containers may not be returned when Status is set to Live. For example, if the client has connected to the LiveChannel but no audio or video stream is sent, these two containers are not returned. + Video *LiveChannelVideo `json:"Video,omitempty" xml:"Video,omitempty"` +} + +func (s GetLiveChannelStatResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetLiveChannelStatResponseBody) GoString() string { + return s.String() +} + +func (s *GetLiveChannelStatResponseBody) SetAudio(v *LiveChannelAudio) *GetLiveChannelStatResponseBody { + s.Audio = v + return s +} + +func (s *GetLiveChannelStatResponseBody) SetConnectedTime(v string) *GetLiveChannelStatResponseBody { + s.ConnectedTime = &v + return s +} + +func (s *GetLiveChannelStatResponseBody) SetRemoteAddr(v string) *GetLiveChannelStatResponseBody { + s.RemoteAddr = &v + return s +} + +func (s *GetLiveChannelStatResponseBody) SetStatus(v string) *GetLiveChannelStatResponseBody { + s.Status = &v + return s +} + +func (s *GetLiveChannelStatResponseBody) SetVideo(v *LiveChannelVideo) *GetLiveChannelStatResponseBody { + s.Video = v + return s +} + +type GetLiveChannelStatResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetLiveChannelStatResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetLiveChannelStatResponse) String() string { + return tea.Prettify(s) +} + +func (s GetLiveChannelStatResponse) GoString() string { + return s.String() +} + +func (s *GetLiveChannelStatResponse) SetHeaders(v map[string]*string) *GetLiveChannelStatResponse { + s.Headers = v + return s +} + +func (s *GetLiveChannelStatResponse) SetStatusCode(v int32) *GetLiveChannelStatResponse { + s.StatusCode = &v + return s +} + +func (s *GetLiveChannelStatResponse) SetBody(v *GetLiveChannelStatResponseBody) *GetLiveChannelStatResponse { + s.Body = v + return s +} + +type GetMetaQueryStatusResponseBody struct { + // The time when the metadata index library was created. The value follows the [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339) standard in the YYYY-MM-DDTHH:mm:ss+TIMEZONE format. YYYY-MM-DD indicates the year, month, and day. T indicates the beginning of the time element. HH:mm:ss indicates the hour, minute, and second. TIMEZONE indicates the time zone. + CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` + // The scan type. Valid values: + // + // * FullScanning + // * IncrementalScanning + Phase *string `json:"Phase,omitempty" xml:"Phase,omitempty"` + // The state of the metadata index library. Valid values: + // + // * Ready: The metadata index library is being prepared after it is created. In this case, the metadata index library cannot be used to query data. + // * Stop: The metadata index library is paused. + // * Running: The metadata index library is running. + // * Retrying: The metadata index library failed to be created and is being created again. + // * Failed: The metadata index library failed to be created. + // * Deleted: The metadata index library is deleted. + State *string `json:"State,omitempty" xml:"State,omitempty"` + // The time when the metadata index library was updated. The value follows the [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339) standard in the YYYY-MM-DDTHH:mm:ss+TIMEZONE format. YYYY-MM-DD indicates the year, month, and day. T indicates the beginning of the time element. HH:mm:ss indicates the hour, minute, and second. TIMEZONE indicates the time zone. + UpdateTime *string `json:"UpdateTime,omitempty" xml:"UpdateTime,omitempty"` +} + +func (s GetMetaQueryStatusResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetMetaQueryStatusResponseBody) GoString() string { + return s.String() +} + +func (s *GetMetaQueryStatusResponseBody) SetCreateTime(v string) *GetMetaQueryStatusResponseBody { + s.CreateTime = &v + return s +} + +func (s *GetMetaQueryStatusResponseBody) SetPhase(v string) *GetMetaQueryStatusResponseBody { + s.Phase = &v + return s +} + +func (s *GetMetaQueryStatusResponseBody) SetState(v string) *GetMetaQueryStatusResponseBody { + s.State = &v + return s +} + +func (s *GetMetaQueryStatusResponseBody) SetUpdateTime(v string) *GetMetaQueryStatusResponseBody { + s.UpdateTime = &v + return s +} + +type GetMetaQueryStatusResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetMetaQueryStatusResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetMetaQueryStatusResponse) String() string { + return tea.Prettify(s) +} + +func (s GetMetaQueryStatusResponse) GoString() string { + return s.String() +} + +func (s *GetMetaQueryStatusResponse) SetHeaders(v map[string]*string) *GetMetaQueryStatusResponse { + s.Headers = v + return s +} + +func (s *GetMetaQueryStatusResponse) SetStatusCode(v int32) *GetMetaQueryStatusResponse { + s.StatusCode = &v + return s +} + +func (s *GetMetaQueryStatusResponse) SetBody(v *GetMetaQueryStatusResponseBody) *GetMetaQueryStatusResponse { + s.Body = v + return s +} + +type GetObjectHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + // The encoding type at the client side. + // If you want an object to be returned in the GZIP format, you must include the Accept-Encoding:gzip header in your request. OSS determines whether to return the object compressed in the GZip format based on the Content-Type header and whether the size of the object is larger than or equal to 1 KB. + // + // > If an object is compressed in the GZip format, the response OSS returns does not include the ETag value of the object. + // > - OSS supports the following Content-Type values to compress the object in the GZip format: text/cache-manifest, text/xml, text/plain, text/css, application/javascript, application/x-javascript, application/rss+xml, application/json, and text/json. + // + // Default value: null + AcceptEncoding *string `json:"Accept-Encoding,omitempty" xml:"Accept-Encoding,omitempty"` + // If the ETag specified in the request matches the ETag value of the object, OSS transmits the object and returns 200 OK. If the ETag specified in the request does not match the ETag value of the object, OSS returns 412 Precondition Failed. + // The ETag value of an object is used to check whether the content of the object has changed. You can check data integrity by using the ETag value. + // Default value: null + IfMatch *string `json:"If-Match,omitempty" xml:"If-Match,omitempty"` + // If the time specified in this header is earlier than the object modified time or is invalid, OSS returns the object and 200 OK. If the time specified in this header is later than or the same as the object modified time, OSS returns 304 Not Modified. + // The time must be in GMT. Example: `Fri, 13 Nov 2015 14:47:53 GMT`. + // Default value: null + IfModifiedSince *string `json:"If-Modified-Since,omitempty" xml:"If-Modified-Since,omitempty"` + // If the ETag specified in the request does not match the ETag value of the object, OSS transmits the object and returns 200 OK. If the ETag specified in the request matches the ETag value of the object, OSS returns 304 Not Modified. + // You can specify both the **If-Match** and **If-None-Match** headers in a request. + // Default value: null + IfNoneMatch *string `json:"If-None-Match,omitempty" xml:"If-None-Match,omitempty"` + // If the time specified in this header is the same as or later than the object modified time, OSS returns the object and 200 OK. If the time specified in this header is earlier than the object modified time, OSS returns 412 Precondition Failed. + // + // The time must be in GMT. Example: `Fri, 13 Nov 2015 14:47:53 GMT`. + // You can specify both the **If-Modified-Since** and **If-Unmodified-Since** headers in a request. + // Default value: null + IfUnmodifiedSince *string `json:"If-Unmodified-Since,omitempty" xml:"If-Unmodified-Since,omitempty"` + // The range of data of the object to be returned. + // - If the value of Range is valid, OSS returns the response that includes the total size of the object and the range of data returned. For example, Content-Range: bytes 0~9/44 indicates that the total size of the object is 44 bytes, and the range of data returned is the first 10 bytes. + // - However, if the value of Range is invalid, the entire object is returned, and the response returned by OSS excludes Content-Range. + // + // Default value: null + Range *string `json:"Range,omitempty" xml:"Range,omitempty"` +} + +func (s GetObjectHeaders) String() string { + return tea.Prettify(s) +} + +func (s GetObjectHeaders) GoString() string { + return s.String() +} + +func (s *GetObjectHeaders) SetCommonHeaders(v map[string]*string) *GetObjectHeaders { + s.CommonHeaders = v + return s +} + +func (s *GetObjectHeaders) SetAcceptEncoding(v string) *GetObjectHeaders { + s.AcceptEncoding = &v + return s +} + +func (s *GetObjectHeaders) SetIfMatch(v string) *GetObjectHeaders { + s.IfMatch = &v + return s +} + +func (s *GetObjectHeaders) SetIfModifiedSince(v string) *GetObjectHeaders { + s.IfModifiedSince = &v + return s +} + +func (s *GetObjectHeaders) SetIfNoneMatch(v string) *GetObjectHeaders { + s.IfNoneMatch = &v + return s +} + +func (s *GetObjectHeaders) SetIfUnmodifiedSince(v string) *GetObjectHeaders { + s.IfUnmodifiedSince = &v + return s +} + +func (s *GetObjectHeaders) SetRange(v string) *GetObjectHeaders { + s.Range = &v + return s +} + +type GetObjectRequest struct { + // The cache-control header in the response that OSS returns. + ResponseCacheControl *string `json:"response-cache-control,omitempty" xml:"response-cache-control,omitempty"` + // The content-disposition header in the response that OSS returns. + ResponseContentDisposition *string `json:"response-content-disposition,omitempty" xml:"response-content-disposition,omitempty"` + // The content-encoding header in the response that OSS returns. + ResponseContentEncoding *string `json:"response-content-encoding,omitempty" xml:"response-content-encoding,omitempty"` + // The content-language header in the response that OSS returns. + ResponseContentLanguage *string `json:"response-content-language,omitempty" xml:"response-content-language,omitempty"` + // The content-type header in the response that OSS returns. + ResponseContentType *string `json:"response-content-type,omitempty" xml:"response-content-type,omitempty"` + // The expires header in the response that OSS returns. + ResponseExpires *string `json:"response-expires,omitempty" xml:"response-expires,omitempty"` + // The version ID of the object that you want to query. + VersionId *string `json:"versionId,omitempty" xml:"versionId,omitempty"` +} + +func (s GetObjectRequest) String() string { + return tea.Prettify(s) +} + +func (s GetObjectRequest) GoString() string { + return s.String() +} + +func (s *GetObjectRequest) SetResponseCacheControl(v string) *GetObjectRequest { + s.ResponseCacheControl = &v + return s +} + +func (s *GetObjectRequest) SetResponseContentDisposition(v string) *GetObjectRequest { + s.ResponseContentDisposition = &v + return s +} + +func (s *GetObjectRequest) SetResponseContentEncoding(v string) *GetObjectRequest { + s.ResponseContentEncoding = &v + return s +} + +func (s *GetObjectRequest) SetResponseContentLanguage(v string) *GetObjectRequest { + s.ResponseContentLanguage = &v + return s +} + +func (s *GetObjectRequest) SetResponseContentType(v string) *GetObjectRequest { + s.ResponseContentType = &v + return s +} + +func (s *GetObjectRequest) SetResponseExpires(v string) *GetObjectRequest { + s.ResponseExpires = &v + return s +} + +func (s *GetObjectRequest) SetVersionId(v string) *GetObjectRequest { + s.VersionId = &v + return s +} + +type GetObjectResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body io.Reader `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetObjectResponse) String() string { + return tea.Prettify(s) +} + +func (s GetObjectResponse) GoString() string { + return s.String() +} + +func (s *GetObjectResponse) SetHeaders(v map[string]*string) *GetObjectResponse { + s.Headers = v + return s +} + +func (s *GetObjectResponse) SetStatusCode(v int32) *GetObjectResponse { + s.StatusCode = &v + return s +} + +func (s *GetObjectResponse) SetBody(v io.Reader) *GetObjectResponse { + s.Body = v + return s +} + +type GetObjectAclRequest struct { + // The version of the object. + VersionId *string `json:"versionId,omitempty" xml:"versionId,omitempty"` +} + +func (s GetObjectAclRequest) String() string { + return tea.Prettify(s) +} + +func (s GetObjectAclRequest) GoString() string { + return s.String() +} + +func (s *GetObjectAclRequest) SetVersionId(v string) *GetObjectAclRequest { + s.VersionId = &v + return s +} + +type GetObjectAclResponseBody struct { + // The container used to store the ACL information. + AccessControlList *GetObjectAclResponseBodyAccessControlList `json:"AccessControlList,omitempty" xml:"AccessControlList,omitempty" type:"Struct"` + // The container used to store the information about the bucket owner. + Owner *Owner `json:"Owner,omitempty" xml:"Owner,omitempty"` +} + +func (s GetObjectAclResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetObjectAclResponseBody) GoString() string { + return s.String() +} + +func (s *GetObjectAclResponseBody) SetAccessControlList(v *GetObjectAclResponseBodyAccessControlList) *GetObjectAclResponseBody { + s.AccessControlList = v + return s +} + +func (s *GetObjectAclResponseBody) SetOwner(v *Owner) *GetObjectAclResponseBody { + s.Owner = v + return s +} + +type GetObjectAclResponseBodyAccessControlList struct { + // The ACL of the object. + //
Valid values: default, private, public-read, and public-read-write. + Grant *string `json:"Grant,omitempty" xml:"Grant,omitempty"` +} + +func (s GetObjectAclResponseBodyAccessControlList) String() string { + return tea.Prettify(s) +} + +func (s GetObjectAclResponseBodyAccessControlList) GoString() string { + return s.String() +} + +func (s *GetObjectAclResponseBodyAccessControlList) SetGrant(v string) *GetObjectAclResponseBodyAccessControlList { + s.Grant = &v + return s +} + +type GetObjectAclResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetObjectAclResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetObjectAclResponse) String() string { + return tea.Prettify(s) +} + +func (s GetObjectAclResponse) GoString() string { + return s.String() +} + +func (s *GetObjectAclResponse) SetHeaders(v map[string]*string) *GetObjectAclResponse { + s.Headers = v + return s +} + +func (s *GetObjectAclResponse) SetStatusCode(v int32) *GetObjectAclResponse { + s.StatusCode = &v + return s +} + +func (s *GetObjectAclResponse) SetBody(v *GetObjectAclResponseBody) *GetObjectAclResponse { + s.Body = v + return s +} + +type GetObjectMetaRequest struct { + // The version ID of the object. This element is displayed only if you query the metadata of an object of a specific version. + VersionId *string `json:"versionId,omitempty" xml:"versionId,omitempty"` +} + +func (s GetObjectMetaRequest) String() string { + return tea.Prettify(s) +} + +func (s GetObjectMetaRequest) GoString() string { + return s.String() +} + +func (s *GetObjectMetaRequest) SetVersionId(v string) *GetObjectMetaRequest { + s.VersionId = &v + return s +} + +type GetObjectMetaResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s GetObjectMetaResponse) String() string { + return tea.Prettify(s) +} + +func (s GetObjectMetaResponse) GoString() string { + return s.String() +} + +func (s *GetObjectMetaResponse) SetHeaders(v map[string]*string) *GetObjectMetaResponse { + s.Headers = v + return s +} + +func (s *GetObjectMetaResponse) SetStatusCode(v int32) *GetObjectMetaResponse { + s.StatusCode = &v + return s +} + +type GetObjectTaggingRequest struct { + // The version ID of the object that you want to query. + VersionId *string `json:"versionId,omitempty" xml:"versionId,omitempty"` +} + +func (s GetObjectTaggingRequest) String() string { + return tea.Prettify(s) +} + +func (s GetObjectTaggingRequest) GoString() string { + return s.String() +} + +func (s *GetObjectTaggingRequest) SetVersionId(v string) *GetObjectTaggingRequest { + s.VersionId = &v + return s +} + +type GetObjectTaggingResponseBody struct { + // The collection of tags. + TagSet *TagSet `json:"TagSet,omitempty" xml:"TagSet,omitempty"` +} + +func (s GetObjectTaggingResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetObjectTaggingResponseBody) GoString() string { + return s.String() +} + +func (s *GetObjectTaggingResponseBody) SetTagSet(v *TagSet) *GetObjectTaggingResponseBody { + s.TagSet = v + return s +} + +type GetObjectTaggingResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetObjectTaggingResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetObjectTaggingResponse) String() string { + return tea.Prettify(s) +} + +func (s GetObjectTaggingResponse) GoString() string { + return s.String() +} + +func (s *GetObjectTaggingResponse) SetHeaders(v map[string]*string) *GetObjectTaggingResponse { + s.Headers = v + return s +} + +func (s *GetObjectTaggingResponse) SetStatusCode(v int32) *GetObjectTaggingResponse { + s.StatusCode = &v + return s +} + +func (s *GetObjectTaggingResponse) SetBody(v *GetObjectTaggingResponseBody) *GetObjectTaggingResponse { + s.Body = v + return s +} + +type GetPublicAccessBlockResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *PublicAccessBlockConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetPublicAccessBlockResponse) String() string { + return tea.Prettify(s) +} + +func (s GetPublicAccessBlockResponse) GoString() string { + return s.String() +} + +func (s *GetPublicAccessBlockResponse) SetHeaders(v map[string]*string) *GetPublicAccessBlockResponse { + s.Headers = v + return s +} + +func (s *GetPublicAccessBlockResponse) SetStatusCode(v int32) *GetPublicAccessBlockResponse { + s.StatusCode = &v + return s +} + +func (s *GetPublicAccessBlockResponse) SetBody(v *PublicAccessBlockConfiguration) *GetPublicAccessBlockResponse { + s.Body = v + return s +} + +type GetServiceRequest struct { + // The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of marker.\ + // By default, this parameter is left empty. + Marker *string `json:"marker,omitempty" xml:"marker,omitempty"` + // The maximum number of buckets that can be returned.\ + // Valid values: 1 to 1000.\ + // Default value: 100. + MaxKeys *int64 `json:"max-keys,omitempty" xml:"max-keys,omitempty"` + // The prefix that the names of returned buckets must contain. If this parameter is not specified, prefixes are not used to filter returned buckets.\ + // By default, this parameter is left empty. + Prefix *string `json:"prefix,omitempty" xml:"prefix,omitempty"` +} + +func (s GetServiceRequest) String() string { + return tea.Prettify(s) +} + +func (s GetServiceRequest) GoString() string { + return s.String() +} + +func (s *GetServiceRequest) SetMarker(v string) *GetServiceRequest { + s.Marker = &v + return s +} + +func (s *GetServiceRequest) SetMaxKeys(v int64) *GetServiceRequest { + s.MaxKeys = &v + return s +} + +func (s *GetServiceRequest) SetPrefix(v string) *GetServiceRequest { + s.Prefix = &v + return s +} + +type GetServiceResponseBody struct { + // The container that stores the information about buckets. + Buckets *GetServiceResponseBodyBuckets `json:"Buckets,omitempty" xml:"Buckets,omitempty" type:"Struct"` + // Indicates whether all results are returned. Valid values: + // + // * true + // * false + IsTruncated *bool `json:"IsTruncated,omitempty" xml:"IsTruncated,omitempty"` + // The pagination token used in the current request. + Marker *string `json:"Marker,omitempty" xml:"Marker,omitempty"` + // The maximum number of buckets that can be returned. + MaxKeys *int64 `json:"MaxKeys,omitempty" xml:"MaxKeys,omitempty"` + // A pagination token. It can be used in the next request to retrieve a new page of results. + NextMarker *string `json:"NextMarker,omitempty" xml:"NextMarker,omitempty"` + // The container that stores the information about the bucket owner. + Owner *Owner `json:"Owner,omitempty" xml:"Owner,omitempty"` + // The prefix that the names of returned buckets contain. + Prefix *string `json:"Prefix,omitempty" xml:"Prefix,omitempty"` +} + +func (s GetServiceResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetServiceResponseBody) GoString() string { + return s.String() +} + +func (s *GetServiceResponseBody) SetBuckets(v *GetServiceResponseBodyBuckets) *GetServiceResponseBody { + s.Buckets = v + return s +} + +func (s *GetServiceResponseBody) SetIsTruncated(v bool) *GetServiceResponseBody { + s.IsTruncated = &v + return s +} + +func (s *GetServiceResponseBody) SetMarker(v string) *GetServiceResponseBody { + s.Marker = &v + return s +} + +func (s *GetServiceResponseBody) SetMaxKeys(v int64) *GetServiceResponseBody { + s.MaxKeys = &v + return s +} + +func (s *GetServiceResponseBody) SetNextMarker(v string) *GetServiceResponseBody { + s.NextMarker = &v + return s +} + +func (s *GetServiceResponseBody) SetOwner(v *Owner) *GetServiceResponseBody { + s.Owner = v + return s +} + +func (s *GetServiceResponseBody) SetPrefix(v string) *GetServiceResponseBody { + s.Prefix = &v + return s +} + +type GetServiceResponseBodyBuckets struct { + // The container that stores the information about a single bucket. + Bucket []*Bucket `json:"Bucket,omitempty" xml:"Bucket,omitempty" type:"Repeated"` +} + +func (s GetServiceResponseBodyBuckets) String() string { + return tea.Prettify(s) +} + +func (s GetServiceResponseBodyBuckets) GoString() string { + return s.String() +} + +func (s *GetServiceResponseBodyBuckets) SetBucket(v []*Bucket) *GetServiceResponseBodyBuckets { + s.Bucket = v + return s +} + +type GetServiceResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetServiceResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetServiceResponse) String() string { + return tea.Prettify(s) +} + +func (s GetServiceResponse) GoString() string { + return s.String() +} + +func (s *GetServiceResponse) SetHeaders(v map[string]*string) *GetServiceResponse { + s.Headers = v + return s +} + +func (s *GetServiceResponse) SetStatusCode(v int32) *GetServiceResponse { + s.StatusCode = &v + return s +} + +func (s *GetServiceResponse) SetBody(v *GetServiceResponseBody) *GetServiceResponse { + s.Body = v + return s +} + +type GetStyleRequest struct { + // The name of the image style. + StyleName *string `json:"styleName,omitempty" xml:"styleName,omitempty"` +} + +func (s GetStyleRequest) String() string { + return tea.Prettify(s) +} + +func (s GetStyleRequest) GoString() string { + return s.String() +} + +func (s *GetStyleRequest) SetStyleName(v string) *GetStyleRequest { + s.StyleName = &v + return s +} + +type GetStyleResponseBody struct { + // The content of the image style. + Content *string `json:"Content,omitempty" xml:"Content,omitempty"` + // The time when the image style was created. + CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` + // The time when the image style was last modified. + LastModifyTime *string `json:"LastModifyTime,omitempty" xml:"LastModifyTime,omitempty"` + // The name of the image style. + Name *string `json:"Name,omitempty" xml:"Name,omitempty"` +} + +func (s GetStyleResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetStyleResponseBody) GoString() string { + return s.String() +} + +func (s *GetStyleResponseBody) SetContent(v string) *GetStyleResponseBody { + s.Content = &v + return s +} + +func (s *GetStyleResponseBody) SetCreateTime(v string) *GetStyleResponseBody { + s.CreateTime = &v + return s +} + +func (s *GetStyleResponseBody) SetLastModifyTime(v string) *GetStyleResponseBody { + s.LastModifyTime = &v + return s +} + +func (s *GetStyleResponseBody) SetName(v string) *GetStyleResponseBody { + s.Name = &v + return s +} + +type GetStyleResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetStyleResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetStyleResponse) String() string { + return tea.Prettify(s) +} + +func (s GetStyleResponse) GoString() string { + return s.String() +} + +func (s *GetStyleResponse) SetHeaders(v map[string]*string) *GetStyleResponse { + s.Headers = v + return s +} + +func (s *GetStyleResponse) SetStatusCode(v int32) *GetStyleResponse { + s.StatusCode = &v + return s +} + +func (s *GetStyleResponse) SetBody(v *GetStyleResponseBody) *GetStyleResponse { + s.Body = v + return s +} + +type GetSymlinkRequest struct { + // The version of the object to which the symbolic link points. + VersionId *string `json:"versionId,omitempty" xml:"versionId,omitempty"` +} + +func (s GetSymlinkRequest) String() string { + return tea.Prettify(s) +} + +func (s GetSymlinkRequest) GoString() string { + return s.String() +} + +func (s *GetSymlinkRequest) SetVersionId(v string) *GetSymlinkRequest { + s.VersionId = &v + return s +} + +type GetSymlinkResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s GetSymlinkResponse) String() string { + return tea.Prettify(s) +} + +func (s GetSymlinkResponse) GoString() string { + return s.String() +} + +func (s *GetSymlinkResponse) SetHeaders(v map[string]*string) *GetSymlinkResponse { + s.Headers = v + return s +} + +func (s *GetSymlinkResponse) SetStatusCode(v int32) *GetSymlinkResponse { + s.StatusCode = &v + return s +} + +type GetUserAntiDDosInfoResponseBody struct { + // The container that stores the information about the specified Anti-DDoS instance. + AntiDDOSConfiguration []*UserAntiDDOSInfo `json:"AntiDDOSConfiguration,omitempty" xml:"AntiDDOSConfiguration,omitempty" type:"Repeated"` +} + +func (s GetUserAntiDDosInfoResponseBody) String() string { + return tea.Prettify(s) +} + +func (s GetUserAntiDDosInfoResponseBody) GoString() string { + return s.String() +} + +func (s *GetUserAntiDDosInfoResponseBody) SetAntiDDOSConfiguration(v []*UserAntiDDOSInfo) *GetUserAntiDDosInfoResponseBody { + s.AntiDDOSConfiguration = v + return s +} + +type GetUserAntiDDosInfoResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *GetUserAntiDDosInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetUserAntiDDosInfoResponse) String() string { + return tea.Prettify(s) +} + +func (s GetUserAntiDDosInfoResponse) GoString() string { + return s.String() +} + +func (s *GetUserAntiDDosInfoResponse) SetHeaders(v map[string]*string) *GetUserAntiDDosInfoResponse { + s.Headers = v + return s +} + +func (s *GetUserAntiDDosInfoResponse) SetStatusCode(v int32) *GetUserAntiDDosInfoResponse { + s.StatusCode = &v + return s +} + +func (s *GetUserAntiDDosInfoResponse) SetBody(v *GetUserAntiDDosInfoResponseBody) *GetUserAntiDDosInfoResponse { + s.Body = v + return s +} + +type GetUserDefinedLogFieldsConfigResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *UserDefinedLogFieldsConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetUserDefinedLogFieldsConfigResponse) String() string { + return tea.Prettify(s) +} + +func (s GetUserDefinedLogFieldsConfigResponse) GoString() string { + return s.String() +} + +func (s *GetUserDefinedLogFieldsConfigResponse) SetHeaders(v map[string]*string) *GetUserDefinedLogFieldsConfigResponse { + s.Headers = v + return s +} + +func (s *GetUserDefinedLogFieldsConfigResponse) SetStatusCode(v int32) *GetUserDefinedLogFieldsConfigResponse { + s.StatusCode = &v + return s +} + +func (s *GetUserDefinedLogFieldsConfigResponse) SetBody(v *UserDefinedLogFieldsConfiguration) *GetUserDefinedLogFieldsConfigResponse { + s.Body = v + return s +} + +type GetVodPlaylistRequest struct { + // The end time of the time range during which the TS files that you want to query are generated in the Unix timestamp format. + // > The value of EndTime must be greater than the value of StartTime. The duration between EndTime and StartTime must be less than one day. + EndTime *string `json:"endTime,omitempty" xml:"endTime,omitempty"` + // The start time of the time range during which the TS files that you want to query are generated in the Unix timestamp format. + StartTime *string `json:"startTime,omitempty" xml:"startTime,omitempty"` +} + +func (s GetVodPlaylistRequest) String() string { + return tea.Prettify(s) +} + +func (s GetVodPlaylistRequest) GoString() string { + return s.String() +} + +func (s *GetVodPlaylistRequest) SetEndTime(v string) *GetVodPlaylistRequest { + s.EndTime = &v + return s +} + +func (s *GetVodPlaylistRequest) SetStartTime(v string) *GetVodPlaylistRequest { + s.StartTime = &v + return s +} + +type GetVodPlaylistResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body io.Reader `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s GetVodPlaylistResponse) String() string { + return tea.Prettify(s) +} + +func (s GetVodPlaylistResponse) GoString() string { + return s.String() +} + +func (s *GetVodPlaylistResponse) SetHeaders(v map[string]*string) *GetVodPlaylistResponse { + s.Headers = v + return s +} + +func (s *GetVodPlaylistResponse) SetStatusCode(v int32) *GetVodPlaylistResponse { + s.StatusCode = &v + return s +} + +func (s *GetVodPlaylistResponse) SetBody(v io.Reader) *GetVodPlaylistResponse { + s.Body = v + return s +} + +type HeadObjectHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + // If the ETag value that is specified in the request matches the ETag value of the object, OSS returns 200 OK and the metadata of the object. Otherwise, OSS returns 412 precondition failed. + // Default value: null. + IfMatch *string `json:"If-Match,omitempty" xml:"If-Match,omitempty"` + // If the time that is specified in the request is earlier than the time when the object is modified, OSS returns 200 OK and the metadata of the object. Otherwise, OSS returns 304 not modified. + // Default value: null. + IfModifiedSince *string `json:"If-Modified-Since,omitempty" xml:"If-Modified-Since,omitempty"` + // If the ETag value that is specified in the request does not match the ETag value of the object, OSS returns 200 OK and the metadata of the object. Otherwise, OSS returns 304 Not Modified. + // Default value: null. + IfNoneMatch *string `json:"If-None-Match,omitempty" xml:"If-None-Match,omitempty"` + // If the time that is specified in the request is later than or the same as the time when the object is modified, OSS returns 200 OK and the metadata of the object. Otherwise, OSS returns 412 precondition failed. + // Default value: null. + IfUnmodifiedSince *string `json:"If-Unmodified-Since,omitempty" xml:"If-Unmodified-Since,omitempty"` +} + +func (s HeadObjectHeaders) String() string { + return tea.Prettify(s) +} + +func (s HeadObjectHeaders) GoString() string { + return s.String() +} + +func (s *HeadObjectHeaders) SetCommonHeaders(v map[string]*string) *HeadObjectHeaders { + s.CommonHeaders = v + return s +} + +func (s *HeadObjectHeaders) SetIfMatch(v string) *HeadObjectHeaders { + s.IfMatch = &v + return s +} + +func (s *HeadObjectHeaders) SetIfModifiedSince(v string) *HeadObjectHeaders { + s.IfModifiedSince = &v + return s +} + +func (s *HeadObjectHeaders) SetIfNoneMatch(v string) *HeadObjectHeaders { + s.IfNoneMatch = &v + return s +} + +func (s *HeadObjectHeaders) SetIfUnmodifiedSince(v string) *HeadObjectHeaders { + s.IfUnmodifiedSince = &v + return s +} + +type HeadObjectRequest struct { + // The version ID of the object for which you want to query metadata. + VersionId *string `json:"versionId,omitempty" xml:"versionId,omitempty"` +} + +func (s HeadObjectRequest) String() string { + return tea.Prettify(s) +} + +func (s HeadObjectRequest) GoString() string { + return s.String() +} + +func (s *HeadObjectRequest) SetVersionId(v string) *HeadObjectRequest { + s.VersionId = &v + return s +} + +type HeadObjectResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s HeadObjectResponse) String() string { + return tea.Prettify(s) +} + +func (s HeadObjectResponse) GoString() string { + return s.String() +} + +func (s *HeadObjectResponse) SetHeaders(v map[string]*string) *HeadObjectResponse { + s.Headers = v + return s +} + +func (s *HeadObjectResponse) SetStatusCode(v int32) *HeadObjectResponse { + s.StatusCode = &v + return s +} + +type InitBucketAntiDDosInfoHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + // The ID of the Anti-DDoS instance. + XOssDefenderInstance *string `json:"x-oss-defender-instance,omitempty" xml:"x-oss-defender-instance,omitempty"` + // The type of the Anti-DDoS instance. Set the value to AntiDDosPremimum. + XOssDefenderType *string `json:"x-oss-defender-type,omitempty" xml:"x-oss-defender-type,omitempty"` +} + +func (s InitBucketAntiDDosInfoHeaders) String() string { + return tea.Prettify(s) +} + +func (s InitBucketAntiDDosInfoHeaders) GoString() string { + return s.String() +} + +func (s *InitBucketAntiDDosInfoHeaders) SetCommonHeaders(v map[string]*string) *InitBucketAntiDDosInfoHeaders { + s.CommonHeaders = v + return s +} + +func (s *InitBucketAntiDDosInfoHeaders) SetXOssDefenderInstance(v string) *InitBucketAntiDDosInfoHeaders { + s.XOssDefenderInstance = &v + return s +} + +func (s *InitBucketAntiDDosInfoHeaders) SetXOssDefenderType(v string) *InitBucketAntiDDosInfoHeaders { + s.XOssDefenderType = &v + return s +} + +type InitBucketAntiDDosInfoRequest struct { + // The container that stores the configurations of the Anti-DDoS instance. + Body *BucketAntiDDOSConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s InitBucketAntiDDosInfoRequest) String() string { + return tea.Prettify(s) +} + +func (s InitBucketAntiDDosInfoRequest) GoString() string { + return s.String() +} + +func (s *InitBucketAntiDDosInfoRequest) SetBody(v *BucketAntiDDOSConfiguration) *InitBucketAntiDDosInfoRequest { + s.Body = v + return s +} + +type InitBucketAntiDDosInfoResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s InitBucketAntiDDosInfoResponse) String() string { + return tea.Prettify(s) +} + +func (s InitBucketAntiDDosInfoResponse) GoString() string { + return s.String() +} + +func (s *InitBucketAntiDDosInfoResponse) SetHeaders(v map[string]*string) *InitBucketAntiDDosInfoResponse { + s.Headers = v + return s +} + +func (s *InitBucketAntiDDosInfoResponse) SetStatusCode(v int32) *InitBucketAntiDDosInfoResponse { + s.StatusCode = &v + return s +} + +type InitUserAntiDDosInfoResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s InitUserAntiDDosInfoResponse) String() string { + return tea.Prettify(s) +} + +func (s InitUserAntiDDosInfoResponse) GoString() string { + return s.String() +} + +func (s *InitUserAntiDDosInfoResponse) SetHeaders(v map[string]*string) *InitUserAntiDDosInfoResponse { + s.Headers = v + return s +} + +func (s *InitUserAntiDDosInfoResponse) SetStatusCode(v int32) *InitUserAntiDDosInfoResponse { + s.StatusCode = &v + return s +} + +type InitiateBucketWormRequest struct { + // The request parameters. + Body *InitiateWormConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s InitiateBucketWormRequest) String() string { + return tea.Prettify(s) +} + +func (s InitiateBucketWormRequest) GoString() string { + return s.String() +} + +func (s *InitiateBucketWormRequest) SetBody(v *InitiateWormConfiguration) *InitiateBucketWormRequest { + s.Body = v + return s +} + +type InitiateBucketWormResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s InitiateBucketWormResponse) String() string { + return tea.Prettify(s) +} + +func (s InitiateBucketWormResponse) GoString() string { + return s.String() +} + +func (s *InitiateBucketWormResponse) SetHeaders(v map[string]*string) *InitiateBucketWormResponse { + s.Headers = v + return s +} + +func (s *InitiateBucketWormResponse) SetStatusCode(v int32) *InitiateBucketWormResponse { + s.StatusCode = &v + return s +} + +type InitiateMultipartUploadHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + // The caching behavior of the web page when the object is downloaded. For more information, see **[RFC 2616](https://www.ietf.org/rfc/rfc2616.txt)**. + // Default value: null. + CacheControl *string `json:"Cache-Control,omitempty" xml:"Cache-Control,omitempty"` + // The name of the object when the object is downloaded. For more information, see **[RFC 2616](https://www.ietf.org/rfc/rfc2616.txt)**. + // Default value: null. + ContentDisposition *string `json:"Content-Disposition,omitempty" xml:"Content-Disposition,omitempty"` + // The content encoding format of the object when the object is downloaded. For more information, see **[RFC 2616](https://www.ietf.org/rfc/rfc2616.txt)**. + // Default value: null. + ContentEncoding *string `json:"Content-Encoding,omitempty" xml:"Content-Encoding,omitempty"` + // The expiration time of the request. Unit: milliseconds. For more information, see **[RFC 2616](https://www.ietf.org/rfc/rfc2616.txt)**. + // Default value: null. + Expires *string `json:"Expires,omitempty" xml:"Expires,omitempty"` + // Specifies whether the InitiateMultipartUpload operation overwrites the existing object that has the same name as the object that you want to upload. When versioning is enabled or suspended for the bucket to which you want to upload the object, the **x-oss-forbid-overwrite** header does not take effect. In this case, the InitiateMultipartUpload operation overwrites the existing object that has the same name as the object that you want to upload. + // - If you do not specify the **x-oss-forbid-overwrite** header or set the **x-oss-forbid-overwrite** header to **false**, the object that is uploaded by calling the PutObject operation overwrites the existing object that has the same name. + // - If the value of **x-oss-forbid-overwrite** is set to **true**, existing objects cannot be overwritten by objects that have the same names. + // + // If you specify the **x-oss-forbid-overwrite** request header, the queries per second (QPS) performance of OSS is degraded. If you want to use the **x-oss-forbid-overwrite** request header to perform a large number of operations (QPS greater than 1,000), contact technical support + XOssForbidOverwrite *string `json:"x-oss-forbid-overwrite,omitempty" xml:"x-oss-forbid-overwrite,omitempty"` + // The algorithm that is used to encrypt the object that you want to upload. If this header is not specified, the object is encrypted by using AES-256. This header is valid only when **x-oss-server-side-encryption** is set to KMS. + // Valid value: SM4. + XOssServerSideDataEncryption *string `json:"x-oss-server-side-data-encryption,omitempty" xml:"x-oss-server-side-data-encryption,omitempty"` + // The server-side encryption method that is used to encrypt each part of the object that you want to upload. + // Valid values: **AES256**, **KMS**, and **SM4**. + // > You must activate Key Management Service (KMS) before you set this header to KMS. + // + // + // If you specify this header in the request, this header is included in the response. OSS uses the method specified by this header to encrypt each uploaded part. When you download the object, the x-oss-server-side-encryption header is included in the response and the header value is set to the algorithm that is used to encrypt the object. + XOssServerSideEncryption *string `json:"x-oss-server-side-encryption,omitempty" xml:"x-oss-server-side-encryption,omitempty"` + // The ID of the CMK that is managed by KMS. + // This header is valid only when **x-oss-server-side-encryption** is set to KMS. + XOssServerSideEncryptionKeyId *string `json:"x-oss-server-side-encryption-key-id,omitempty" xml:"x-oss-server-side-encryption-key-id,omitempty"` + // The storage class of the bucket. Default value: Standard. Valid values: + // + // - Standard + // - IA + // - Archive + // - ColdArchive + XOssStorageClass *string `json:"x-oss-storage-class,omitempty" xml:"x-oss-storage-class,omitempty"` + // The tag of the object. You can configure multiple tags for the object. Example: TagA=A&TagB=B. + // > The key and value of a tag must be URL-encoded. If a tag does not contain an equal sign (=), the value of the tag is considered an empty string. + XOssTagging *string `json:"x-oss-tagging,omitempty" xml:"x-oss-tagging,omitempty"` +} + +func (s InitiateMultipartUploadHeaders) String() string { + return tea.Prettify(s) +} + +func (s InitiateMultipartUploadHeaders) GoString() string { + return s.String() +} + +func (s *InitiateMultipartUploadHeaders) SetCommonHeaders(v map[string]*string) *InitiateMultipartUploadHeaders { + s.CommonHeaders = v + return s +} + +func (s *InitiateMultipartUploadHeaders) SetCacheControl(v string) *InitiateMultipartUploadHeaders { + s.CacheControl = &v + return s +} + +func (s *InitiateMultipartUploadHeaders) SetContentDisposition(v string) *InitiateMultipartUploadHeaders { + s.ContentDisposition = &v + return s +} + +func (s *InitiateMultipartUploadHeaders) SetContentEncoding(v string) *InitiateMultipartUploadHeaders { + s.ContentEncoding = &v + return s +} + +func (s *InitiateMultipartUploadHeaders) SetExpires(v string) *InitiateMultipartUploadHeaders { + s.Expires = &v + return s +} + +func (s *InitiateMultipartUploadHeaders) SetXOssForbidOverwrite(v string) *InitiateMultipartUploadHeaders { + s.XOssForbidOverwrite = &v + return s +} + +func (s *InitiateMultipartUploadHeaders) SetXOssServerSideDataEncryption(v string) *InitiateMultipartUploadHeaders { + s.XOssServerSideDataEncryption = &v + return s +} + +func (s *InitiateMultipartUploadHeaders) SetXOssServerSideEncryption(v string) *InitiateMultipartUploadHeaders { + s.XOssServerSideEncryption = &v + return s +} + +func (s *InitiateMultipartUploadHeaders) SetXOssServerSideEncryptionKeyId(v string) *InitiateMultipartUploadHeaders { + s.XOssServerSideEncryptionKeyId = &v + return s +} + +func (s *InitiateMultipartUploadHeaders) SetXOssStorageClass(v string) *InitiateMultipartUploadHeaders { + s.XOssStorageClass = &v + return s +} + +func (s *InitiateMultipartUploadHeaders) SetXOssTagging(v string) *InitiateMultipartUploadHeaders { + s.XOssTagging = &v + return s +} + +type InitiateMultipartUploadRequest struct { + // The method used to encode the object name in the response. Only URL encoding is supported. The object name can contain characters encoded in UTF-8. However, the XML 1.0 standard cannot be used to parse specific control characters, such as characters whose ASCII values range from 0 to 10. You can configure the encoding-type parameter to encode object names that include characters that cannot be parsed by XML 1.0 in the response. + //
Default value: null + EncodingType *string `json:"encoding-type,omitempty" xml:"encoding-type,omitempty"` +} + +func (s InitiateMultipartUploadRequest) String() string { + return tea.Prettify(s) +} + +func (s InitiateMultipartUploadRequest) GoString() string { + return s.String() +} + +func (s *InitiateMultipartUploadRequest) SetEncodingType(v string) *InitiateMultipartUploadRequest { + s.EncodingType = &v + return s +} + +type InitiateMultipartUploadResponseBody struct { + // The name of the bucket to which the object is uploaded by the multipart upload task. + Bucket *string `json:"Bucket,omitempty" xml:"Bucket,omitempty"` + // The encoding type of the object name in the response. If the encoding-type parameter is specified in the request, the object name in the response is encoded. + EncodingType *string `json:"EncodingType,omitempty" xml:"EncodingType,omitempty"` + // The name of the object that is uploaded by the multipart upload task. + Key *string `json:"Key,omitempty" xml:"Key,omitempty"` + // The Upload ID that uniquely identifies the multipart upload task. The Upload ID is used to call UploadPart and CompleteMultipartUpload later. + UploadId *string `json:"UploadId,omitempty" xml:"UploadId,omitempty"` +} + +func (s InitiateMultipartUploadResponseBody) String() string { + return tea.Prettify(s) +} + +func (s InitiateMultipartUploadResponseBody) GoString() string { + return s.String() +} + +func (s *InitiateMultipartUploadResponseBody) SetBucket(v string) *InitiateMultipartUploadResponseBody { + s.Bucket = &v + return s +} + +func (s *InitiateMultipartUploadResponseBody) SetEncodingType(v string) *InitiateMultipartUploadResponseBody { + s.EncodingType = &v + return s +} + +func (s *InitiateMultipartUploadResponseBody) SetKey(v string) *InitiateMultipartUploadResponseBody { + s.Key = &v + return s +} + +func (s *InitiateMultipartUploadResponseBody) SetUploadId(v string) *InitiateMultipartUploadResponseBody { + s.UploadId = &v + return s +} + +type InitiateMultipartUploadResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *InitiateMultipartUploadResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s InitiateMultipartUploadResponse) String() string { + return tea.Prettify(s) +} + +func (s InitiateMultipartUploadResponse) GoString() string { + return s.String() +} + +func (s *InitiateMultipartUploadResponse) SetHeaders(v map[string]*string) *InitiateMultipartUploadResponse { + s.Headers = v + return s +} + +func (s *InitiateMultipartUploadResponse) SetStatusCode(v int32) *InitiateMultipartUploadResponse { + s.StatusCode = &v + return s +} + +func (s *InitiateMultipartUploadResponse) SetBody(v *InitiateMultipartUploadResponseBody) *InitiateMultipartUploadResponse { + s.Body = v + return s +} + +type ListAccessPointsRequest struct { + // The token from which the listing operation starts. You must specify the value of NextContinuationToken that is obtained from the previous query as the value of continuation-token. + ContinuationToken *string `json:"continuation-token,omitempty" xml:"continuation-token,omitempty"` + // The maximum number of access points that can be returned. Valid values: + // + // * For user-level access points: (0,1000]. + // * For bucket-level access points: (0,100]. + MaxKeys *int64 `json:"max-keys,omitempty" xml:"max-keys,omitempty"` +} + +func (s ListAccessPointsRequest) String() string { + return tea.Prettify(s) +} + +func (s ListAccessPointsRequest) GoString() string { + return s.String() +} + +func (s *ListAccessPointsRequest) SetContinuationToken(v string) *ListAccessPointsRequest { + s.ContinuationToken = &v + return s +} + +func (s *ListAccessPointsRequest) SetMaxKeys(v int64) *ListAccessPointsRequest { + s.MaxKeys = &v + return s +} + +type ListAccessPointsResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *ListAccessPointsResult `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s ListAccessPointsResponse) String() string { + return tea.Prettify(s) +} + +func (s ListAccessPointsResponse) GoString() string { + return s.String() +} + +func (s *ListAccessPointsResponse) SetHeaders(v map[string]*string) *ListAccessPointsResponse { + s.Headers = v + return s +} + +func (s *ListAccessPointsResponse) SetStatusCode(v int32) *ListAccessPointsResponse { + s.StatusCode = &v + return s +} + +func (s *ListAccessPointsResponse) SetBody(v *ListAccessPointsResult) *ListAccessPointsResponse { + s.Body = v + return s +} + +type ListAccessPointsForObjectProcessRequest struct { + ContinuationToken *string `json:"continuation-token,omitempty" xml:"continuation-token,omitempty"` + MaxKeys *int64 `json:"max-keys,omitempty" xml:"max-keys,omitempty"` +} + +func (s ListAccessPointsForObjectProcessRequest) String() string { + return tea.Prettify(s) +} + +func (s ListAccessPointsForObjectProcessRequest) GoString() string { + return s.String() +} + +func (s *ListAccessPointsForObjectProcessRequest) SetContinuationToken(v string) *ListAccessPointsForObjectProcessRequest { + s.ContinuationToken = &v + return s +} + +func (s *ListAccessPointsForObjectProcessRequest) SetMaxKeys(v int64) *ListAccessPointsForObjectProcessRequest { + s.MaxKeys = &v + return s +} + +type ListAccessPointsForObjectProcessResponseBody struct { + AccessPointsForObjectProcess *ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcess `json:"AccessPointsForObjectProcess,omitempty" xml:"AccessPointsForObjectProcess,omitempty" type:"Struct"` + AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"` + IsTruncated *bool `json:"IsTruncated,omitempty" xml:"IsTruncated,omitempty"` + NextContinuationToken *string `json:"NextContinuationToken,omitempty" xml:"NextContinuationToken,omitempty"` +} + +func (s ListAccessPointsForObjectProcessResponseBody) String() string { + return tea.Prettify(s) +} + +func (s ListAccessPointsForObjectProcessResponseBody) GoString() string { + return s.String() +} + +func (s *ListAccessPointsForObjectProcessResponseBody) SetAccessPointsForObjectProcess(v *ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcess) *ListAccessPointsForObjectProcessResponseBody { + s.AccessPointsForObjectProcess = v + return s +} + +func (s *ListAccessPointsForObjectProcessResponseBody) SetAccountId(v string) *ListAccessPointsForObjectProcessResponseBody { + s.AccountId = &v + return s +} + +func (s *ListAccessPointsForObjectProcessResponseBody) SetIsTruncated(v bool) *ListAccessPointsForObjectProcessResponseBody { + s.IsTruncated = &v + return s +} + +func (s *ListAccessPointsForObjectProcessResponseBody) SetNextContinuationToken(v string) *ListAccessPointsForObjectProcessResponseBody { + s.NextContinuationToken = &v + return s +} + +type ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcess struct { + AccessPointForObjectProcess []*ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcessAccessPointForObjectProcess `json:"AccessPointForObjectProcess,omitempty" xml:"AccessPointForObjectProcess,omitempty" type:"Repeated"` +} + +func (s ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcess) String() string { + return tea.Prettify(s) +} + +func (s ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcess) GoString() string { + return s.String() +} + +func (s *ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcess) SetAccessPointForObjectProcess(v []*ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcessAccessPointForObjectProcess) *ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcess { + s.AccessPointForObjectProcess = v + return s +} + +type ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcessAccessPointForObjectProcess struct { + AccessPointForObjectProcessAlias *string `json:"AccessPointForObjectProcessAlias,omitempty" xml:"AccessPointForObjectProcessAlias,omitempty"` + AccessPointName *string `json:"AccessPointName,omitempty" xml:"AccessPointName,omitempty"` + AccessPointNameForObjectProcess *string `json:"AccessPointNameForObjectProcess,omitempty" xml:"AccessPointNameForObjectProcess,omitempty"` + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` +} + +func (s ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcessAccessPointForObjectProcess) String() string { + return tea.Prettify(s) +} + +func (s ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcessAccessPointForObjectProcess) GoString() string { + return s.String() +} + +func (s *ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcessAccessPointForObjectProcess) SetAccessPointForObjectProcessAlias(v string) *ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcessAccessPointForObjectProcess { + s.AccessPointForObjectProcessAlias = &v + return s +} + +func (s *ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcessAccessPointForObjectProcess) SetAccessPointName(v string) *ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcessAccessPointForObjectProcess { + s.AccessPointName = &v + return s +} + +func (s *ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcessAccessPointForObjectProcess) SetAccessPointNameForObjectProcess(v string) *ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcessAccessPointForObjectProcess { + s.AccessPointNameForObjectProcess = &v + return s +} + +func (s *ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcessAccessPointForObjectProcess) SetStatus(v string) *ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcessAccessPointForObjectProcess { + s.Status = &v + return s +} + +type ListAccessPointsForObjectProcessResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *ListAccessPointsForObjectProcessResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s ListAccessPointsForObjectProcessResponse) String() string { + return tea.Prettify(s) +} + +func (s ListAccessPointsForObjectProcessResponse) GoString() string { + return s.String() +} + +func (s *ListAccessPointsForObjectProcessResponse) SetHeaders(v map[string]*string) *ListAccessPointsForObjectProcessResponse { + s.Headers = v + return s +} + +func (s *ListAccessPointsForObjectProcessResponse) SetStatusCode(v int32) *ListAccessPointsForObjectProcessResponse { + s.StatusCode = &v + return s +} + +func (s *ListAccessPointsForObjectProcessResponse) SetBody(v *ListAccessPointsForObjectProcessResponseBody) *ListAccessPointsForObjectProcessResponse { + s.Body = v + return s +} + +type ListBucketAntiDDosInfoRequest struct { + // The name of the Anti-DDoS instance from which the list starts. The Anti-DDoS instances whose names are alphabetically after the value of marker are returned. + // + // > You can set marker to an empty string in the first request. If IsTruncated is returned in the response and the value of IsTruncated is true, you must use the value of Marker in the response as the value of marker in the next request. + Marker *string `json:"marker,omitempty" xml:"marker,omitempty"` + // The maximum number of Anti-DDoS instances that can be returned. + // + // Valid values: 1 to 100. + // + // Default value: 100. + MaxKeys *string `json:"max-keys,omitempty" xml:"max-keys,omitempty"` +} + +func (s ListBucketAntiDDosInfoRequest) String() string { + return tea.Prettify(s) +} + +func (s ListBucketAntiDDosInfoRequest) GoString() string { + return s.String() +} + +func (s *ListBucketAntiDDosInfoRequest) SetMarker(v string) *ListBucketAntiDDosInfoRequest { + s.Marker = &v + return s +} + +func (s *ListBucketAntiDDosInfoRequest) SetMaxKeys(v string) *ListBucketAntiDDosInfoRequest { + s.MaxKeys = &v + return s +} + +type ListBucketAntiDDosInfoResponseBody struct { + // The container that stores the information about Anti-DDoS instances. + AntiDDOSConfiguration []*BucketAntiDDOSInfo `json:"AntiDDOSConfiguration,omitempty" xml:"AntiDDOSConfiguration,omitempty" type:"Repeated"` + // Indicates whether all Anti-DDoS instances are returned. + // + // * true: All Anti-DDoS instances are not returned. + // * false: All Anti-DDoS instances are returned. + IsTruncated *bool `json:"IsTruncated,omitempty" xml:"IsTruncated,omitempty"` + // The Anti-DDoS instances whose names are alphabetically after the value of marker in the request. + Marker *string `json:"Marker,omitempty" xml:"Marker,omitempty"` +} + +func (s ListBucketAntiDDosInfoResponseBody) String() string { + return tea.Prettify(s) +} + +func (s ListBucketAntiDDosInfoResponseBody) GoString() string { + return s.String() +} + +func (s *ListBucketAntiDDosInfoResponseBody) SetAntiDDOSConfiguration(v []*BucketAntiDDOSInfo) *ListBucketAntiDDosInfoResponseBody { + s.AntiDDOSConfiguration = v + return s +} + +func (s *ListBucketAntiDDosInfoResponseBody) SetIsTruncated(v bool) *ListBucketAntiDDosInfoResponseBody { + s.IsTruncated = &v + return s +} + +func (s *ListBucketAntiDDosInfoResponseBody) SetMarker(v string) *ListBucketAntiDDosInfoResponseBody { + s.Marker = &v + return s +} + +type ListBucketAntiDDosInfoResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *ListBucketAntiDDosInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s ListBucketAntiDDosInfoResponse) String() string { + return tea.Prettify(s) +} + +func (s ListBucketAntiDDosInfoResponse) GoString() string { + return s.String() +} + +func (s *ListBucketAntiDDosInfoResponse) SetHeaders(v map[string]*string) *ListBucketAntiDDosInfoResponse { + s.Headers = v + return s +} + +func (s *ListBucketAntiDDosInfoResponse) SetStatusCode(v int32) *ListBucketAntiDDosInfoResponse { + s.StatusCode = &v + return s +} + +func (s *ListBucketAntiDDosInfoResponse) SetBody(v *ListBucketAntiDDosInfoResponseBody) *ListBucketAntiDDosInfoResponse { + s.Body = v + return s +} + +type ListBucketDataRedundancyTransitionResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body []*BucketDataRedundancyTransition `json:"body,omitempty" xml:"body,omitempty" type:"Repeated"` +} + +func (s ListBucketDataRedundancyTransitionResponse) String() string { + return tea.Prettify(s) +} + +func (s ListBucketDataRedundancyTransitionResponse) GoString() string { + return s.String() +} + +func (s *ListBucketDataRedundancyTransitionResponse) SetHeaders(v map[string]*string) *ListBucketDataRedundancyTransitionResponse { + s.Headers = v + return s +} + +func (s *ListBucketDataRedundancyTransitionResponse) SetStatusCode(v int32) *ListBucketDataRedundancyTransitionResponse { + s.StatusCode = &v + return s +} + +func (s *ListBucketDataRedundancyTransitionResponse) SetBody(v []*BucketDataRedundancyTransition) *ListBucketDataRedundancyTransitionResponse { + s.Body = v + return s +} + +type ListBucketInventoryRequest struct { + // > + // + // * Syntax of requests that contain continuation-token: GET /?inventory\&continuation-token=xxx HTTP/1.1 + // + // * Syntax of requests that do not contain continuation-token: `GET /?inventory HTTP/1.1` + ContinuationToken *string `json:"continuation-token,omitempty" xml:"continuation-token,omitempty"` +} + +func (s ListBucketInventoryRequest) String() string { + return tea.Prettify(s) +} + +func (s ListBucketInventoryRequest) GoString() string { + return s.String() +} + +func (s *ListBucketInventoryRequest) SetContinuationToken(v string) *ListBucketInventoryRequest { + s.ContinuationToken = &v + return s +} + +type ListBucketInventoryResponseBody struct { + // The container that stores inventory configurations. + InventoryConfiguration []*InventoryConfiguration `json:"InventoryConfiguration,omitempty" xml:"InventoryConfiguration,omitempty" type:"Repeated"` + // Indicates whether all inventories of the bucket are listed. Valid values: + // + // * false: All inventories of the bucket are listed. + // * true: All inventories of the bucket are not listed. You can specify the value of NextContinuationToken as the value of continuation-token in the next request to retrieve a new page of results. + IsTruncated *bool `json:"IsTruncated,omitempty" xml:"IsTruncated,omitempty"` + // If the value of IsTruncated is true and the value of this parameter is not empty, set continuation-token in the next request to the value of this parameter. + NextContinuationToken *string `json:"NextContinuationToken,omitempty" xml:"NextContinuationToken,omitempty"` +} + +func (s ListBucketInventoryResponseBody) String() string { + return tea.Prettify(s) +} + +func (s ListBucketInventoryResponseBody) GoString() string { + return s.String() +} + +func (s *ListBucketInventoryResponseBody) SetInventoryConfiguration(v []*InventoryConfiguration) *ListBucketInventoryResponseBody { + s.InventoryConfiguration = v + return s +} + +func (s *ListBucketInventoryResponseBody) SetIsTruncated(v bool) *ListBucketInventoryResponseBody { + s.IsTruncated = &v + return s +} + +func (s *ListBucketInventoryResponseBody) SetNextContinuationToken(v string) *ListBucketInventoryResponseBody { + s.NextContinuationToken = &v + return s +} + +type ListBucketInventoryResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *ListBucketInventoryResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s ListBucketInventoryResponse) String() string { + return tea.Prettify(s) +} + +func (s ListBucketInventoryResponse) GoString() string { + return s.String() +} + +func (s *ListBucketInventoryResponse) SetHeaders(v map[string]*string) *ListBucketInventoryResponse { + s.Headers = v + return s +} + +func (s *ListBucketInventoryResponse) SetStatusCode(v int32) *ListBucketInventoryResponse { + s.StatusCode = &v + return s +} + +func (s *ListBucketInventoryResponse) SetBody(v *ListBucketInventoryResponseBody) *ListBucketInventoryResponse { + s.Body = v + return s +} + +type ListBucketsHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + // The ID of the resource group to which the bucket belongs. + XOssResourceGroupId *string `json:"x-oss-resource-group-id,omitempty" xml:"x-oss-resource-group-id,omitempty"` +} + +func (s ListBucketsHeaders) String() string { + return tea.Prettify(s) +} + +func (s ListBucketsHeaders) GoString() string { + return s.String() +} + +func (s *ListBucketsHeaders) SetCommonHeaders(v map[string]*string) *ListBucketsHeaders { + s.CommonHeaders = v + return s +} + +func (s *ListBucketsHeaders) SetXOssResourceGroupId(v string) *ListBucketsHeaders { + s.XOssResourceGroupId = &v + return s +} + +type ListBucketsRequest struct { + // The name of the bucket from which the buckets start to return. The buckets whose names are alphabetically after the value of marker are returned. If this parameter is not specified, all results are returned. By default, this parameter is left empty. + Marker *string `json:"marker,omitempty" xml:"marker,omitempty"` + // The maximum number of buckets that can be returned. Valid values: 1 to 1000. Default value: 100 + MaxKeys *int64 `json:"max-keys,omitempty" xml:"max-keys,omitempty"` + // The prefix that the names of returned buckets must contain. If this parameter is not specified, prefixes are not used to filter returned buckets. By default, this parameter is left empty. + Prefix *string `json:"prefix,omitempty" xml:"prefix,omitempty"` +} + +func (s ListBucketsRequest) String() string { + return tea.Prettify(s) +} + +func (s ListBucketsRequest) GoString() string { + return s.String() +} + +func (s *ListBucketsRequest) SetMarker(v string) *ListBucketsRequest { + s.Marker = &v + return s +} + +func (s *ListBucketsRequest) SetMaxKeys(v int64) *ListBucketsRequest { + s.MaxKeys = &v + return s +} + +func (s *ListBucketsRequest) SetPrefix(v string) *ListBucketsRequest { + s.Prefix = &v + return s +} + +type ListBucketsResponseBody struct { + // The container that stores the information about multiple buckets. + Buckets []*Bucket `json:"buckets,omitempty" xml:"buckets,omitempty" type:"Repeated"` + // Indicates whether all results are returned. Valid values: true: All results are not returned in the response. false: All results are returned in the response. + IsTruncated *bool `json:"isTruncated,omitempty" xml:"isTruncated,omitempty"` + // The name of the bucket from which the buckets are returned. + Marker *string `json:"marker,omitempty" xml:"marker,omitempty"` + // The maximum number of buckets that can be returned. + MaxKeys *int64 `json:"maxKeys,omitempty" xml:"maxKeys,omitempty"` + // The marker for the next ListBuckets (GetService) request. You can use the value of this parameter as the value of marker in the next ListBuckets (GetService) request to retrieve the unreturned results. + NextMarker *string `json:"nextMarker,omitempty" xml:"nextMarker,omitempty"` + // The container that stores the information about the bucket owner. + Owner *Owner `json:"owner,omitempty" xml:"owner,omitempty"` + // The prefix contained in the names of returned buckets. + Prefix *string `json:"prefix,omitempty" xml:"prefix,omitempty"` +} + +func (s ListBucketsResponseBody) String() string { + return tea.Prettify(s) +} + +func (s ListBucketsResponseBody) GoString() string { + return s.String() +} + +func (s *ListBucketsResponseBody) SetBuckets(v []*Bucket) *ListBucketsResponseBody { + s.Buckets = v + return s +} + +func (s *ListBucketsResponseBody) SetIsTruncated(v bool) *ListBucketsResponseBody { + s.IsTruncated = &v + return s +} + +func (s *ListBucketsResponseBody) SetMarker(v string) *ListBucketsResponseBody { + s.Marker = &v + return s +} + +func (s *ListBucketsResponseBody) SetMaxKeys(v int64) *ListBucketsResponseBody { + s.MaxKeys = &v + return s +} + +func (s *ListBucketsResponseBody) SetNextMarker(v string) *ListBucketsResponseBody { + s.NextMarker = &v + return s +} + +func (s *ListBucketsResponseBody) SetOwner(v *Owner) *ListBucketsResponseBody { + s.Owner = v + return s +} + +func (s *ListBucketsResponseBody) SetPrefix(v string) *ListBucketsResponseBody { + s.Prefix = &v + return s +} + +type ListBucketsResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *ListBucketsResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s ListBucketsResponse) String() string { + return tea.Prettify(s) +} + +func (s ListBucketsResponse) GoString() string { + return s.String() +} + +func (s *ListBucketsResponse) SetHeaders(v map[string]*string) *ListBucketsResponse { + s.Headers = v + return s +} + +func (s *ListBucketsResponse) SetStatusCode(v int32) *ListBucketsResponse { + s.StatusCode = &v + return s +} + +func (s *ListBucketsResponse) SetBody(v *ListBucketsResponseBody) *ListBucketsResponse { + s.Body = v + return s +} + +type ListCnameResponseBody struct { + // The name of the bucket to which the CNAME records are mapped. + Bucket *string `json:"Bucket,omitempty" xml:"Bucket,omitempty"` + // The container that stores the information about the CNAME records. + Cname []*CnameInfo `json:"Cname,omitempty" xml:"Cname,omitempty" type:"Repeated"` + // The name of the bucket owner. + Owner *string `json:"Owner,omitempty" xml:"Owner,omitempty"` +} + +func (s ListCnameResponseBody) String() string { + return tea.Prettify(s) +} + +func (s ListCnameResponseBody) GoString() string { + return s.String() +} + +func (s *ListCnameResponseBody) SetBucket(v string) *ListCnameResponseBody { + s.Bucket = &v + return s +} + +func (s *ListCnameResponseBody) SetCname(v []*CnameInfo) *ListCnameResponseBody { + s.Cname = v + return s +} + +func (s *ListCnameResponseBody) SetOwner(v string) *ListCnameResponseBody { + s.Owner = &v + return s +} + +type ListCnameResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *ListCnameResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s ListCnameResponse) String() string { + return tea.Prettify(s) +} + +func (s ListCnameResponse) GoString() string { + return s.String() +} + +func (s *ListCnameResponse) SetHeaders(v map[string]*string) *ListCnameResponse { + s.Headers = v + return s +} + +func (s *ListCnameResponse) SetStatusCode(v int32) *ListCnameResponse { + s.StatusCode = &v + return s +} + +func (s *ListCnameResponse) SetBody(v *ListCnameResponseBody) *ListCnameResponse { + s.Body = v + return s +} + +type ListLiveChannelRequest struct { + // The name of the LiveChannel from which the list operation starts. LiveChannels whose names are alphabetically after the value of the marker parameter are returned. + Marker *string `json:"marker,omitempty" xml:"marker,omitempty"` + // The maximum number of LiveChannels that can be returned for the current request. The value of max-keys cannot exceed 1000. + // Default value: 100. + MaxKeys *int64 `json:"max-keys,omitempty" xml:"max-keys,omitempty"` + // The prefix that the names of the LiveChannels that you want to return must contain. If you specify a prefix in the request, the specified prefix is included in the response. + Prefix *string `json:"prefix,omitempty" xml:"prefix,omitempty"` +} + +func (s ListLiveChannelRequest) String() string { + return tea.Prettify(s) +} + +func (s ListLiveChannelRequest) GoString() string { + return s.String() +} + +func (s *ListLiveChannelRequest) SetMarker(v string) *ListLiveChannelRequest { + s.Marker = &v + return s +} + +func (s *ListLiveChannelRequest) SetMaxKeys(v int64) *ListLiveChannelRequest { + s.MaxKeys = &v + return s +} + +func (s *ListLiveChannelRequest) SetPrefix(v string) *ListLiveChannelRequest { + s.Prefix = &v + return s +} + +type ListLiveChannelResponseBody struct { + // Indicates whether the returned results are truncated. + // + // - true: indicates that all results are returned. + // - false: indicates that not all results are returned. + IsTruncated *bool `json:"IsTruncated,omitempty" xml:"IsTruncated,omitempty"` + // The container that stores the information about each returned LiveChannel. + LiveChannel []*LiveChannel `json:"LiveChannel,omitempty" xml:"LiveChannel,omitempty" type:"Repeated"` + // The name of the LiveChannel from which the ListLiveChannel operation begins. + Marker *string `json:"Marker,omitempty" xml:"Marker,omitempty"` + // The maximum number of buckets returned each time. + MaxKeys *int64 `json:"MaxKeys,omitempty" xml:"MaxKeys,omitempty"` + // If not all results are returned, the NextMarker element is included in the response to indicate the Marker value of the next request. + NextMarker *string `json:"NextMarker,omitempty" xml:"NextMarker,omitempty"` + // The prefix that the names of the returned LiveChannels contain. + Prefix *string `json:"Prefix,omitempty" xml:"Prefix,omitempty"` +} + +func (s ListLiveChannelResponseBody) String() string { + return tea.Prettify(s) +} + +func (s ListLiveChannelResponseBody) GoString() string { + return s.String() +} + +func (s *ListLiveChannelResponseBody) SetIsTruncated(v bool) *ListLiveChannelResponseBody { + s.IsTruncated = &v + return s +} + +func (s *ListLiveChannelResponseBody) SetLiveChannel(v []*LiveChannel) *ListLiveChannelResponseBody { + s.LiveChannel = v + return s +} + +func (s *ListLiveChannelResponseBody) SetMarker(v string) *ListLiveChannelResponseBody { + s.Marker = &v + return s +} + +func (s *ListLiveChannelResponseBody) SetMaxKeys(v int64) *ListLiveChannelResponseBody { + s.MaxKeys = &v + return s +} + +func (s *ListLiveChannelResponseBody) SetNextMarker(v string) *ListLiveChannelResponseBody { + s.NextMarker = &v + return s +} + +func (s *ListLiveChannelResponseBody) SetPrefix(v string) *ListLiveChannelResponseBody { + s.Prefix = &v + return s +} + +type ListLiveChannelResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *ListLiveChannelResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s ListLiveChannelResponse) String() string { + return tea.Prettify(s) +} + +func (s ListLiveChannelResponse) GoString() string { + return s.String() +} + +func (s *ListLiveChannelResponse) SetHeaders(v map[string]*string) *ListLiveChannelResponse { + s.Headers = v + return s +} + +func (s *ListLiveChannelResponse) SetStatusCode(v int32) *ListLiveChannelResponse { + s.StatusCode = &v + return s +} + +func (s *ListLiveChannelResponse) SetBody(v *ListLiveChannelResponseBody) *ListLiveChannelResponse { + s.Body = v + return s +} + +type ListMultipartUploadsRequest struct { + // The character used to group objects by name. Objects whose names contain the same string that ranges from the specified prefix to the delimiter that appears for the first time are grouped as a CommonPrefixes element. + Delimiter *string `json:"delimiter,omitempty" xml:"delimiter,omitempty"` + // The encoding type of the object name in the response. Values of Delimiter, KeyMarker, Prefix, NextKeyMarker, and Key can be encoded in UTF-8. However, the XML 1.0 standard cannot be used to parse control characters such as characters with an American Standard Code for Information Interchange (ASCII) value from 0 to 10. You can set the encoding-type parameter to encode values of Delimiter, KeyMarker, Prefix, NextKeyMarker, and Key in the response. + //
Default value: null + EncodingType *string `json:"encoding-type,omitempty" xml:"encoding-type,omitempty"` + // This parameter is used together with the upload-id-marker parameter to specify the position from which the returned results start. + // - If the upload-id-marker parameter is not specified, OSS returns all multipart upload tasks in which object names are alphabetically after the value of the key-marker parameter. + // - If the upload-id-marker parameter is specified, the response includes the following tasks: + // - Multipart upload tasks in which object names are alphabetically after the value of the key-marker parameter. + // - Multipart upload tasks in which object names are the same as the value of the key-marker parameter but whose upload IDs are greater than the value of the upload-id-marker parameter. + KeyMarker *string `json:"key-marker,omitempty" xml:"key-marker,omitempty"` + // The maximum number of multipart upload tasks that can be returned for the current request. Default value: 1000. Maximum value: 1000. + MaxUploads *int64 `json:"max-uploads,omitempty" xml:"max-uploads,omitempty"` + // The prefix that the names of the objects that you want to return must contain. If you specify a prefix in the request, the specified prefix is included in the response. + // > You can use prefixes to group and manage objects in buckets in the same way you manage a folder in a file system. + Prefix *string `json:"prefix,omitempty" xml:"prefix,omitempty"` + // The upload ID of the multipart upload task after which the list operation starts. This parameter is used together with the key-marker parameter. + // - If the key-marker parameter is not specified, OSS ignores the upload-id-marker parameter. + // - If the key-marker parameter is specified, the query result includes the following tasks: + // - Multipart upload tasks in which object names are alphabetically after the value of the key-marker parameter. + // - Multipart upload tasks in which object names are the same as the value of the key-marker parameter but whose upload IDs are greater than the value of the upload-id-marker parameter. + UploadIdMarker *string `json:"upload-id-marker,omitempty" xml:"upload-id-marker,omitempty"` +} + +func (s ListMultipartUploadsRequest) String() string { + return tea.Prettify(s) +} + +func (s ListMultipartUploadsRequest) GoString() string { + return s.String() +} + +func (s *ListMultipartUploadsRequest) SetDelimiter(v string) *ListMultipartUploadsRequest { + s.Delimiter = &v + return s +} + +func (s *ListMultipartUploadsRequest) SetEncodingType(v string) *ListMultipartUploadsRequest { + s.EncodingType = &v + return s +} + +func (s *ListMultipartUploadsRequest) SetKeyMarker(v string) *ListMultipartUploadsRequest { + s.KeyMarker = &v + return s +} + +func (s *ListMultipartUploadsRequest) SetMaxUploads(v int64) *ListMultipartUploadsRequest { + s.MaxUploads = &v + return s +} + +func (s *ListMultipartUploadsRequest) SetPrefix(v string) *ListMultipartUploadsRequest { + s.Prefix = &v + return s +} + +func (s *ListMultipartUploadsRequest) SetUploadIdMarker(v string) *ListMultipartUploadsRequest { + s.UploadIdMarker = &v + return s +} + +type ListMultipartUploadsResponseBody struct { + // The name of the bucket. + Bucket *string `json:"Bucket,omitempty" xml:"Bucket,omitempty"` + // If the delimiter parameter is specified in the request, the response contains the CommonPrefixes element. Objects whose names contain the same string that ranges from the prefix to the delimiter that appears for the first time are grouped as a CommonPrefixes element. + CommonPrefixes []*CommonPrefix `json:"CommonPrefixes,omitempty" xml:"CommonPrefixes,omitempty" type:"Repeated"` + // The character used to group objects by name. If you specify the Delimiter parameter in the request, the response contains the CommonPrefixes element. Objects whose names contain the same string from the prefix to the next occurrence of the delimiter are grouped as a single result element in CommonPrefixes. + Delimiter *string `json:"Delimiter,omitempty" xml:"Delimiter,omitempty"` + // The method used to encode the object name in the response. If encoding-type is specified in the request, values of those elements including Delimiter, KeyMarker, Prefix, NextKeyMarker, and Key are encoded in the returned result. + EncodingType *string `json:"EncodingType,omitempty" xml:"EncodingType,omitempty"` + // Indicates whether the list of multipart upload tasks returned in the response is truncated. Default value: false. Valid values: + // + // - true: Only part of the results are returned this time. + // - false: All results are returned. + IsTruncated *bool `json:"IsTruncated,omitempty" xml:"IsTruncated,omitempty"` + // The name of the object that corresponds to the multipart upload task after which the list begins. + KeyMarker *string `json:"KeyMarker,omitempty" xml:"KeyMarker,omitempty"` + // The maximum number of multipart upload tasks returned by OSS. + MaxUploads *int64 `json:"MaxUploads,omitempty" xml:"MaxUploads,omitempty"` + // The object name marker in the response for the next request to return the remaining results. + NextKeyMarker *string `json:"NextKeyMarker,omitempty" xml:"NextKeyMarker,omitempty"` + // The NextUploadMarker value that is used for the UploadMarker value in the next request if the response does not contain all required results. + NextUploadIdMarker *string `json:"NextUploadIdMarker,omitempty" xml:"NextUploadIdMarker,omitempty"` + // The prefix that the returned object names must contain. If you specify a prefix in the request, the specified prefix is included in the response. + // >You can use prefixes to group and manage objects in buckets in the same way you manage a folder in a file system. + Prefix *string `json:"Prefix,omitempty" xml:"Prefix,omitempty"` + // The container that stores the information about multipart upload tasks. + Upload []*Upload `json:"Upload,omitempty" xml:"Upload,omitempty" type:"Repeated"` + // The upload ID of the multipart upload task after which the list begins. + UploadIdMarker *string `json:"UploadIdMarker,omitempty" xml:"UploadIdMarker,omitempty"` +} + +func (s ListMultipartUploadsResponseBody) String() string { + return tea.Prettify(s) +} + +func (s ListMultipartUploadsResponseBody) GoString() string { + return s.String() +} + +func (s *ListMultipartUploadsResponseBody) SetBucket(v string) *ListMultipartUploadsResponseBody { + s.Bucket = &v + return s +} + +func (s *ListMultipartUploadsResponseBody) SetCommonPrefixes(v []*CommonPrefix) *ListMultipartUploadsResponseBody { + s.CommonPrefixes = v + return s +} + +func (s *ListMultipartUploadsResponseBody) SetDelimiter(v string) *ListMultipartUploadsResponseBody { + s.Delimiter = &v + return s +} + +func (s *ListMultipartUploadsResponseBody) SetEncodingType(v string) *ListMultipartUploadsResponseBody { + s.EncodingType = &v + return s +} + +func (s *ListMultipartUploadsResponseBody) SetIsTruncated(v bool) *ListMultipartUploadsResponseBody { + s.IsTruncated = &v + return s +} + +func (s *ListMultipartUploadsResponseBody) SetKeyMarker(v string) *ListMultipartUploadsResponseBody { + s.KeyMarker = &v + return s +} + +func (s *ListMultipartUploadsResponseBody) SetMaxUploads(v int64) *ListMultipartUploadsResponseBody { + s.MaxUploads = &v + return s +} + +func (s *ListMultipartUploadsResponseBody) SetNextKeyMarker(v string) *ListMultipartUploadsResponseBody { + s.NextKeyMarker = &v + return s +} + +func (s *ListMultipartUploadsResponseBody) SetNextUploadIdMarker(v string) *ListMultipartUploadsResponseBody { + s.NextUploadIdMarker = &v + return s +} + +func (s *ListMultipartUploadsResponseBody) SetPrefix(v string) *ListMultipartUploadsResponseBody { + s.Prefix = &v + return s +} + +func (s *ListMultipartUploadsResponseBody) SetUpload(v []*Upload) *ListMultipartUploadsResponseBody { + s.Upload = v + return s +} + +func (s *ListMultipartUploadsResponseBody) SetUploadIdMarker(v string) *ListMultipartUploadsResponseBody { + s.UploadIdMarker = &v + return s +} + +type ListMultipartUploadsResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *ListMultipartUploadsResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s ListMultipartUploadsResponse) String() string { + return tea.Prettify(s) +} + +func (s ListMultipartUploadsResponse) GoString() string { + return s.String() +} + +func (s *ListMultipartUploadsResponse) SetHeaders(v map[string]*string) *ListMultipartUploadsResponse { + s.Headers = v + return s +} + +func (s *ListMultipartUploadsResponse) SetStatusCode(v int32) *ListMultipartUploadsResponse { + s.StatusCode = &v + return s +} + +func (s *ListMultipartUploadsResponse) SetBody(v *ListMultipartUploadsResponseBody) *ListMultipartUploadsResponse { + s.Body = v + return s +} + +type ListObjectVersionsRequest struct { + // The character that is used to group objects by name. If you specify prefix and delimiter in the request, the response contains CommonPrefixes. The objects whose name contains the same string from the prefix to the next occurrence of the delimiter are grouped as a single result element in CommonPrefixes. If you specify prefix and set delimiter to a forward slash (/), only the objects in the directory are listed. The subdirectories in the directory are returned in CommonPrefixes. Objects and subdirectories in the subdirectories are not listed. + // + // By default, this parameter is left empty. + Delimiter *string `json:"delimiter,omitempty" xml:"delimiter,omitempty"` + // The encoding type of the content in the response. By default, this parameter is left empty. Set the value to URL. + // + // > The values of Delimiter, Marker, Prefix, NextMarker, and Key are UTF-8 encoded. If the value of Delimiter, Marker, Prefix, NextMarker, or Key contains a control character that is not supported by Extensible Markup Language (XML) 1.0, you can specify encoding-type to encode the value in the response. + EncodingType *string `json:"encoding-type,omitempty" xml:"encoding-type,omitempty"` + // The name of the object after which the GetBucketVersions (ListObjectVersions) operation begins. If this parameter is specified, objects whose name is alphabetically after the value of key-marker are returned. Use key-marker and version-id-marker in combination. The value of key-marker must be less than 1,024 bytes in length. + // + // By default, this parameter is left empty. + // + // > You must also specify key-marker if you specify version-id-marker. + KeyMarker *string `json:"key-marker,omitempty" xml:"key-marker,omitempty"` + // The maximum number of objects to be returned. If the number of returned objects exceeds the value of max-keys, the response contains `NextKeyMarker` and `NextVersionIdMarker`. Specify the values of `NextKeyMarker` and `NextVersionIdMarker` as the markers for the next request. Valid values: 1 to 999. Default value: 100. + MaxKeys *int64 `json:"max-keys,omitempty" xml:"max-keys,omitempty"` + // The prefix that the names of returned objects must contain. + // + // * The value of prefix must be less than 1,024 bytes in length. + // * If you specify prefix, the names of the returned objects contain the prefix. + // + // If you set prefix to a directory name, the objects whose name starts with the prefix are listed. The returned objects consist of all objects and subdirectories in the directory. + // + // By default, this parameter is left empty. + Prefix *string `json:"prefix,omitempty" xml:"prefix,omitempty"` + // The version ID of the object specified in key-marker after which the GetBucketVersions (ListObjectVersions) operation begins. The versions are returned from the latest version to the earliest version. If version-id-marker is not specified, the GetBucketVersions (ListObjectVersions) operation starts from the latest version of the object whose name is alphabetically after the value of key-marker by default. + // + // By default, this parameter is left empty. + // + // Valid values: version IDs. + VersionIdMarker *string `json:"version-id-marker,omitempty" xml:"version-id-marker,omitempty"` +} + +func (s ListObjectVersionsRequest) String() string { + return tea.Prettify(s) +} + +func (s ListObjectVersionsRequest) GoString() string { + return s.String() +} + +func (s *ListObjectVersionsRequest) SetDelimiter(v string) *ListObjectVersionsRequest { + s.Delimiter = &v + return s +} + +func (s *ListObjectVersionsRequest) SetEncodingType(v string) *ListObjectVersionsRequest { + s.EncodingType = &v + return s +} + +func (s *ListObjectVersionsRequest) SetKeyMarker(v string) *ListObjectVersionsRequest { + s.KeyMarker = &v + return s +} + +func (s *ListObjectVersionsRequest) SetMaxKeys(v int64) *ListObjectVersionsRequest { + s.MaxKeys = &v + return s +} + +func (s *ListObjectVersionsRequest) SetPrefix(v string) *ListObjectVersionsRequest { + s.Prefix = &v + return s +} + +func (s *ListObjectVersionsRequest) SetVersionIdMarker(v string) *ListObjectVersionsRequest { + s.VersionIdMarker = &v + return s +} + +type ListObjectVersionsResponseBody struct { + // If delimiter is specified in the request, the response contains CommonPrefixes. Objects whose name contains the same string from the prefix to the next occurrence of the delimiter are grouped as a single result element in CommonPrefixes. + CommonPrefixes []*CommonPrefix `json:"CommonPrefixes,omitempty" xml:"CommonPrefixes,omitempty" type:"Repeated"` + // The container that stores the delete markers. + DeleteMarker []*DeleteMarkerEntry `json:"DeleteMarker,omitempty" xml:"DeleteMarker,omitempty" type:"Repeated"` + // The character that is used to group objects by name. The objects whose name contains the same string from the prefix to the next occurrence of the delimiter are grouped as a single result element in CommonPrefixes. + Delimiter *string `json:"Delimiter,omitempty" xml:"Delimiter,omitempty"` + // The encoding type of the content in the response. If encoding-type is specified in the request, the values of Delimiter, Marker, Prefix, NextMarker, and Key are encoded in the response. + EncodingType *string `json:"EncodingType,omitempty" xml:"EncodingType,omitempty"` + // Indicates whether the returned results are truncated. + // + // * true + // * false + // + // Valid values: true and false. + IsTruncated *bool `json:"IsTruncated,omitempty" xml:"IsTruncated,omitempty"` + // The name of the object from which the GetBucketVersions (ListObjectVersions) operation begins. + KeyMarker *string `json:"KeyMarker,omitempty" xml:"KeyMarker,omitempty"` + // The maximum number of returned objects in the response. + MaxKeys *int64 `json:"MaxKeys,omitempty" xml:"MaxKeys,omitempty"` + // The name of the bucket. + Name *string `json:"Name,omitempty" xml:"Name,omitempty"` + // If not all results are returned for the request, the response contains NextKeyMarker. Use the value of NextKeyMarker as the value of key-marker in the next request. + NextKeyMarker *string `json:"NextKeyMarker,omitempty" xml:"NextKeyMarker,omitempty"` + // If not all results are returned for the request, the response contains NextVersionIdMarker. Use the value of NextVersionIdMarker as the value of version-id-marker in the next request. + NextVersionIdMarker *string `json:"NextVersionIdMarker,omitempty" xml:"NextVersionIdMarker,omitempty"` + // The prefix in the names of the returned objects. + Prefix *string `json:"Prefix,omitempty" xml:"Prefix,omitempty"` + // The container that stores the versions of objects, excluding the delete markers. + Version []*ObjectVersion `json:"Version,omitempty" xml:"Version,omitempty" type:"Repeated"` + // The version from which the GetBucketVersions (ListObjectVersions) operation begins. VersionIdMarker is returned together with KeyMarker. + VersionIdMarker *string `json:"VersionIdMarker,omitempty" xml:"VersionIdMarker,omitempty"` +} + +func (s ListObjectVersionsResponseBody) String() string { + return tea.Prettify(s) +} + +func (s ListObjectVersionsResponseBody) GoString() string { + return s.String() +} + +func (s *ListObjectVersionsResponseBody) SetCommonPrefixes(v []*CommonPrefix) *ListObjectVersionsResponseBody { + s.CommonPrefixes = v + return s +} + +func (s *ListObjectVersionsResponseBody) SetDeleteMarker(v []*DeleteMarkerEntry) *ListObjectVersionsResponseBody { + s.DeleteMarker = v + return s +} + +func (s *ListObjectVersionsResponseBody) SetDelimiter(v string) *ListObjectVersionsResponseBody { + s.Delimiter = &v + return s +} + +func (s *ListObjectVersionsResponseBody) SetEncodingType(v string) *ListObjectVersionsResponseBody { + s.EncodingType = &v + return s +} + +func (s *ListObjectVersionsResponseBody) SetIsTruncated(v bool) *ListObjectVersionsResponseBody { + s.IsTruncated = &v + return s +} + +func (s *ListObjectVersionsResponseBody) SetKeyMarker(v string) *ListObjectVersionsResponseBody { + s.KeyMarker = &v + return s +} + +func (s *ListObjectVersionsResponseBody) SetMaxKeys(v int64) *ListObjectVersionsResponseBody { + s.MaxKeys = &v + return s +} + +func (s *ListObjectVersionsResponseBody) SetName(v string) *ListObjectVersionsResponseBody { + s.Name = &v + return s +} + +func (s *ListObjectVersionsResponseBody) SetNextKeyMarker(v string) *ListObjectVersionsResponseBody { + s.NextKeyMarker = &v + return s +} + +func (s *ListObjectVersionsResponseBody) SetNextVersionIdMarker(v string) *ListObjectVersionsResponseBody { + s.NextVersionIdMarker = &v + return s +} + +func (s *ListObjectVersionsResponseBody) SetPrefix(v string) *ListObjectVersionsResponseBody { + s.Prefix = &v + return s +} + +func (s *ListObjectVersionsResponseBody) SetVersion(v []*ObjectVersion) *ListObjectVersionsResponseBody { + s.Version = v + return s +} + +func (s *ListObjectVersionsResponseBody) SetVersionIdMarker(v string) *ListObjectVersionsResponseBody { + s.VersionIdMarker = &v + return s +} + +type ListObjectVersionsResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *ListObjectVersionsResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s ListObjectVersionsResponse) String() string { + return tea.Prettify(s) +} + +func (s ListObjectVersionsResponse) GoString() string { + return s.String() +} + +func (s *ListObjectVersionsResponse) SetHeaders(v map[string]*string) *ListObjectVersionsResponse { + s.Headers = v + return s +} + +func (s *ListObjectVersionsResponse) SetStatusCode(v int32) *ListObjectVersionsResponse { + s.StatusCode = &v + return s +} + +func (s *ListObjectVersionsResponse) SetBody(v *ListObjectVersionsResponseBody) *ListObjectVersionsResponse { + s.Body = v + return s +} + +type ListObjectsRequest struct { + // The character that is used to group objects by name. If you specify delimiter in the request, the response contains CommonPrefixes. The objects whose names contain the same string from the prefix to the next occurrence of the delimiter are grouped as a single result element in CommonPrefixes. + Delimiter *string `json:"delimiter,omitempty" xml:"delimiter,omitempty"` + // The encoding format of the content in the response. + // + // > The value of Delimiter, Marker, Prefix, NextMarker, and Key are UTF-8 encoded. If the values of Delimiter, Marker, Prefix, NextMarker, and Key contain a control character that is not supported by Extensible Markup Language (XML) 1.0, you can specify encoding-type to encode the value in the response. + EncodingType *string `json:"encoding-type,omitempty" xml:"encoding-type,omitempty"` + // The name of the object after which the GetBucket (ListObjects) operation begins. If this parameter is specified, objects whose names are alphabetically after the value of marker are returned.\ + // The objects are returned by page based on marker. The value of marker can be up to 1,024 bytes.\ + // If the value of marker does not exist in the list when you perform a conditional query, the GetBucket (ListObjects) operation starts from the object whose name is alphabetically after the value of marker. + Marker *string `json:"marker,omitempty" xml:"marker,omitempty"` + // The maximum number of objects that can be returned. If the number of objects to be returned exceeds the value of max-keys specified in the request, NextMarker is included in the returned response. The value of NextMarker is used as the value of marker for the next request.\ + // Valid values: 1 to 999.\ + // Default value: 100. + MaxKeys *int64 `json:"max-keys,omitempty" xml:"max-keys,omitempty"` + // The prefix that must be contained in names of the returned objects. + // + // * The value of prefix can be up to 1,024 bytes in length. + // * If you specify prefix, the names of the returned objects contain the prefix. + // + // If you set prefix to a directory name, the object whose names start with this prefix are listed. The objects consist of all recursive objects and subdirectories in this directory.\ + // If you set prefix to a directory name and set delimiter to a forward slash (/), only the objects in the directory are listed. The subdirectories in the directory are listed in CommonPrefixes. Recursive objects and subdirectories in the subdirectories are not listed.\ + // For example, a bucket contains the following three objects: fun/test.jpg, fun/movie/001.avi, and fun/movie/007.avi. If prefix is set to fun/, the three objects are returned. If prefix is set to fun/ and delimiter is set to a forward slash (/), fun/test.jpg and fun/movie/ are returned. + Prefix *string `json:"prefix,omitempty" xml:"prefix,omitempty"` +} + +func (s ListObjectsRequest) String() string { + return tea.Prettify(s) +} + +func (s ListObjectsRequest) GoString() string { + return s.String() +} + +func (s *ListObjectsRequest) SetDelimiter(v string) *ListObjectsRequest { + s.Delimiter = &v + return s +} + +func (s *ListObjectsRequest) SetEncodingType(v string) *ListObjectsRequest { + s.EncodingType = &v + return s +} + +func (s *ListObjectsRequest) SetMarker(v string) *ListObjectsRequest { + s.Marker = &v + return s +} + +func (s *ListObjectsRequest) SetMaxKeys(v int64) *ListObjectsRequest { + s.MaxKeys = &v + return s +} + +func (s *ListObjectsRequest) SetPrefix(v string) *ListObjectsRequest { + s.Prefix = &v + return s +} + +type ListObjectsResponseBody struct { + // If delimiter is specified in the request, the response contains CommonPrefixes. The objects whose names contain the same string from the prefix to the next occurrence of the delimiter are grouped as a single result element in CommonPrefixes. + CommonPrefixes []*CommonPrefix `json:"CommonPrefixes,omitempty" xml:"CommonPrefixes,omitempty" type:"Repeated"` + // The container that stores the metadata of the returned objects. + Contents []*ObjectSummary `json:"Contents,omitempty" xml:"Contents,omitempty" type:"Repeated"` + // The character that is used to group objects by name. The objects whose names contain the same string from the prefix to the next occurrence of the delimiter are grouped as a single result element in CommonPrefixes. + Delimiter *string `json:"Delimiter,omitempty" xml:"Delimiter,omitempty"` + // The encoding type of the content in the response. If you specify encoding-type in the request, the values of Delimiter, Marker, Prefix, NextMarker, and Key are encoded in the response. + EncodingType *string `json:"EncodingType,omitempty" xml:"EncodingType,omitempty"` + // Indicates whether the returned list in the result is truncated. Valid values: + // + // * true + // * false + IsTruncated *bool `json:"IsTruncated,omitempty" xml:"IsTruncated,omitempty"` + // The name of the object after which the GetBucket (ListObjects) operation begins. + Marker *string `json:"Marker,omitempty" xml:"Marker,omitempty"` + // The maximum number of returned objects in the response. + MaxKeys *int32 `json:"MaxKeys,omitempty" xml:"MaxKeys,omitempty"` + // The name of the bucket. + Name *string `json:"Name,omitempty" xml:"Name,omitempty"` + // If not all results are returned, NextMarker is included in the response to indicate the value of marker in the next request. + NextMarker *string `json:"NextMarker,omitempty" xml:"NextMarker,omitempty"` + // The prefix in the names of the returned objects. + Prefix *string `json:"Prefix,omitempty" xml:"Prefix,omitempty"` +} + +func (s ListObjectsResponseBody) String() string { + return tea.Prettify(s) +} + +func (s ListObjectsResponseBody) GoString() string { + return s.String() +} + +func (s *ListObjectsResponseBody) SetCommonPrefixes(v []*CommonPrefix) *ListObjectsResponseBody { + s.CommonPrefixes = v + return s +} + +func (s *ListObjectsResponseBody) SetContents(v []*ObjectSummary) *ListObjectsResponseBody { + s.Contents = v + return s +} + +func (s *ListObjectsResponseBody) SetDelimiter(v string) *ListObjectsResponseBody { + s.Delimiter = &v + return s +} + +func (s *ListObjectsResponseBody) SetEncodingType(v string) *ListObjectsResponseBody { + s.EncodingType = &v + return s +} + +func (s *ListObjectsResponseBody) SetIsTruncated(v bool) *ListObjectsResponseBody { + s.IsTruncated = &v + return s +} + +func (s *ListObjectsResponseBody) SetMarker(v string) *ListObjectsResponseBody { + s.Marker = &v + return s +} + +func (s *ListObjectsResponseBody) SetMaxKeys(v int32) *ListObjectsResponseBody { + s.MaxKeys = &v + return s +} + +func (s *ListObjectsResponseBody) SetName(v string) *ListObjectsResponseBody { + s.Name = &v + return s +} + +func (s *ListObjectsResponseBody) SetNextMarker(v string) *ListObjectsResponseBody { + s.NextMarker = &v + return s +} + +func (s *ListObjectsResponseBody) SetPrefix(v string) *ListObjectsResponseBody { + s.Prefix = &v + return s +} + +type ListObjectsResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *ListObjectsResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s ListObjectsResponse) String() string { + return tea.Prettify(s) +} + +func (s ListObjectsResponse) GoString() string { + return s.String() +} + +func (s *ListObjectsResponse) SetHeaders(v map[string]*string) *ListObjectsResponse { + s.Headers = v + return s +} + +func (s *ListObjectsResponse) SetStatusCode(v int32) *ListObjectsResponse { + s.StatusCode = &v + return s +} + +func (s *ListObjectsResponse) SetBody(v *ListObjectsResponseBody) *ListObjectsResponse { + s.Body = v + return s +} + +type ListObjectsV2Request struct { + // The token from which the list operation starts. You can obtain the token from NextContinuationToken in the response of the ListObjectsV2 request. + ContinuationToken *string `json:"continuation-token,omitempty" xml:"continuation-token,omitempty"` + // The character that is used to group objects by name. If you specify delimiter in the request, the response contains CommonPrefixes. The objects whose names contain the same string from the prefix to the next occurrence of the delimiter are grouped as a single result element in CommonPrefixes. + Delimiter *string `json:"delimiter,omitempty" xml:"delimiter,omitempty"` + // The encoding format of the returned objects in the response. + // + // > The values of Delimiter, StartAfter, Prefix, NextContinuationToken, and Key are UTF-8 encoded. If the value of Delimiter, StartAfter, Prefix, NextContinuationToken, or Key contains a control character that is not supported by Extensible Markup Language (XML) 1.0, you can specify encoding-type to encode the value in the response. + EncodingType *string `json:"encoding-type,omitempty" xml:"encoding-type,omitempty"` + // Specifies whether to include the information about the bucket owner in the response. Valid values: + // + // * true + // * false + FetchOwner *bool `json:"fetch-owner,omitempty" xml:"fetch-owner,omitempty"` + // The maximum number of objects to be returned.\ + // Valid values: 1 to 999.\ + // Default value: 100. + // + // > If the number of returned objects exceeds the value of max-keys, the response contains NextContinuationToken.Use the value of NextContinuationToken as the value of continuation-token in the next request. + MaxKeys *int64 `json:"max-keys,omitempty" xml:"max-keys,omitempty"` + // The prefix that must be contained in names of the returned objects.\ + // + // + // * The value of prefix can be up to 1,024 bytes in length. + // * If you specify prefix, the names of the returned objects contain the prefix. + // + // If you set prefix to a directory name, the objects whose names start with this prefix are listed. The objects consist of all objects and subdirectories in this directory.\ + // If you set prefix to a directory name and set delimiter to a forward slash (/), only the objects in the directory are listed. The subdirectories in the directory are returned in CommonPrefixes. Objects and subdirectories in the subdirectories are not listed.\ + // For example, a bucket contains the following three objects: fun/test.jpg, fun/movie/001.avi, and fun/movie/007.avi. If prefix is set to fun/, the three objects are returned. If prefix is set to fun/ and delimiter is set to a forward slash (/), fun/test.jpg and fun/movie/ are returned. + Prefix *string `json:"prefix,omitempty" xml:"prefix,omitempty"` + // The name of the object after which the list operation begins. If this parameter is specified, objects whose names are alphabetically after the value of start-after are returned.\ + // The objects are returned by page based on start-after. The value of start-after can be up to 1,024 bytes in length.\ + // If the value of start-after does not exist when you perform a conditional query, the list starts from the object whose name is alphabetically after the value of start-after. + StartAfter *string `json:"start-after,omitempty" xml:"start-after,omitempty"` +} + +func (s ListObjectsV2Request) String() string { + return tea.Prettify(s) +} + +func (s ListObjectsV2Request) GoString() string { + return s.String() +} + +func (s *ListObjectsV2Request) SetContinuationToken(v string) *ListObjectsV2Request { + s.ContinuationToken = &v + return s +} + +func (s *ListObjectsV2Request) SetDelimiter(v string) *ListObjectsV2Request { + s.Delimiter = &v + return s +} + +func (s *ListObjectsV2Request) SetEncodingType(v string) *ListObjectsV2Request { + s.EncodingType = &v + return s +} + +func (s *ListObjectsV2Request) SetFetchOwner(v bool) *ListObjectsV2Request { + s.FetchOwner = &v + return s +} + +func (s *ListObjectsV2Request) SetMaxKeys(v int64) *ListObjectsV2Request { + s.MaxKeys = &v + return s +} + +func (s *ListObjectsV2Request) SetPrefix(v string) *ListObjectsV2Request { + s.Prefix = &v + return s +} + +func (s *ListObjectsV2Request) SetStartAfter(v string) *ListObjectsV2Request { + s.StartAfter = &v + return s +} + +type ListObjectsV2ResponseBody struct { + // If delimiter is specified in the request, the response contains CommonPrefixes. The objects whose names contain the same string from the prefix to the next occurrence of the delimiter are grouped as a single result element in CommonPrefixes. + CommonPrefixes []*CommonPrefix `json:"CommonPrefixes,omitempty" xml:"CommonPrefixes,omitempty" type:"Repeated"` + // The container that stores the metadata of the returned objects. + Contents []*ObjectSummary `json:"Contents,omitempty" xml:"Contents,omitempty" type:"Repeated"` + // If continuation-token is specified in the request, the response contains ContinuationToken. + ContinuationToken *string `json:"ContinuationToken,omitempty" xml:"ContinuationToken,omitempty"` + // The character that is used to group objects by name. The objects whose names contain the same string from the prefix to the next occurrence of the delimiter are grouped as a single result element in CommonPrefixes. + Delimiter *string `json:"Delimiter,omitempty" xml:"Delimiter,omitempty"` + // The encoding type of the content in the response. If you specify encoding-type in the request, the values of Delimiter, StartAfter, Prefix, NextContinuationToken, and Key are encoded in the response. + EncodingType *string `json:"EncodingType,omitempty" xml:"EncodingType,omitempty"` + // Indicates whether the returned results are truncated. Valid values: + // + // * true + // * false + IsTruncated *bool `json:"IsTruncated,omitempty" xml:"IsTruncated,omitempty"` + // The number of objects returned for this request. If delimiter is specified in the request, the value of KeyCount is the sum of the values of Key and CommonPrefixes. + KeyCount *int32 `json:"KeyCount,omitempty" xml:"KeyCount,omitempty"` + // The maximum number of returned objects in the response. + MaxKeys *int32 `json:"MaxKeys,omitempty" xml:"MaxKeys,omitempty"` + // The name of the bucket. + Name *string `json:"Name,omitempty" xml:"Name,omitempty"` + // The token from which the next list operation starts. Use the value of NextContinuationToken as the value of continuation-token in the next request. + NextContinuationToken *string `json:"NextContinuationToken,omitempty" xml:"NextContinuationToken,omitempty"` + // The prefix in the names of the returned objects. + Prefix *string `json:"Prefix,omitempty" xml:"Prefix,omitempty"` + // If start-after is specified in the request, the response contains StartAfter. + StartAfter *string `json:"StartAfter,omitempty" xml:"StartAfter,omitempty"` +} + +func (s ListObjectsV2ResponseBody) String() string { + return tea.Prettify(s) +} + +func (s ListObjectsV2ResponseBody) GoString() string { + return s.String() +} + +func (s *ListObjectsV2ResponseBody) SetCommonPrefixes(v []*CommonPrefix) *ListObjectsV2ResponseBody { + s.CommonPrefixes = v + return s +} + +func (s *ListObjectsV2ResponseBody) SetContents(v []*ObjectSummary) *ListObjectsV2ResponseBody { + s.Contents = v + return s +} + +func (s *ListObjectsV2ResponseBody) SetContinuationToken(v string) *ListObjectsV2ResponseBody { + s.ContinuationToken = &v + return s +} + +func (s *ListObjectsV2ResponseBody) SetDelimiter(v string) *ListObjectsV2ResponseBody { + s.Delimiter = &v + return s +} + +func (s *ListObjectsV2ResponseBody) SetEncodingType(v string) *ListObjectsV2ResponseBody { + s.EncodingType = &v + return s +} + +func (s *ListObjectsV2ResponseBody) SetIsTruncated(v bool) *ListObjectsV2ResponseBody { + s.IsTruncated = &v + return s +} + +func (s *ListObjectsV2ResponseBody) SetKeyCount(v int32) *ListObjectsV2ResponseBody { + s.KeyCount = &v + return s +} + +func (s *ListObjectsV2ResponseBody) SetMaxKeys(v int32) *ListObjectsV2ResponseBody { + s.MaxKeys = &v + return s +} + +func (s *ListObjectsV2ResponseBody) SetName(v string) *ListObjectsV2ResponseBody { + s.Name = &v + return s +} + +func (s *ListObjectsV2ResponseBody) SetNextContinuationToken(v string) *ListObjectsV2ResponseBody { + s.NextContinuationToken = &v + return s +} + +func (s *ListObjectsV2ResponseBody) SetPrefix(v string) *ListObjectsV2ResponseBody { + s.Prefix = &v + return s +} + +func (s *ListObjectsV2ResponseBody) SetStartAfter(v string) *ListObjectsV2ResponseBody { + s.StartAfter = &v + return s +} + +type ListObjectsV2Response struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *ListObjectsV2ResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s ListObjectsV2Response) String() string { + return tea.Prettify(s) +} + +func (s ListObjectsV2Response) GoString() string { + return s.String() +} + +func (s *ListObjectsV2Response) SetHeaders(v map[string]*string) *ListObjectsV2Response { + s.Headers = v + return s +} + +func (s *ListObjectsV2Response) SetStatusCode(v int32) *ListObjectsV2Response { + s.StatusCode = &v + return s +} + +func (s *ListObjectsV2Response) SetBody(v *ListObjectsV2ResponseBody) *ListObjectsV2Response { + s.Body = v + return s +} + +type ListPartsRequest struct { + // The encoding type of the object name in the response. The object name can contain any characters encoded in UTF-8. However, the XML 1.0 standard cannot be used to parse certain control characters, such as characters with an ASCII value from 0 to 10. You can set the Encoding-type parameter to encode the returned object name. + //
Default value: null + EncodingType *string `json:"encoding-type,omitempty" xml:"encoding-type,omitempty"` + // The maximum number of parts that can be returned by OSS. + // + // Default value: 1000. + // + // Maximum value: 1000. + MaxParts *int64 `json:"max-parts,omitempty" xml:"max-parts,omitempty"` + // The number of the part after which the list starts. All parts whose part numbers are greater than this parameter value are listed. + // Default value: null. + PartNumberMarker *int64 `json:"part-number-marker,omitempty" xml:"part-number-marker,omitempty"` + // The ID of the multipart upload task. + UploadId *string `json:"uploadId,omitempty" xml:"uploadId,omitempty"` +} + +func (s ListPartsRequest) String() string { + return tea.Prettify(s) +} + +func (s ListPartsRequest) GoString() string { + return s.String() +} + +func (s *ListPartsRequest) SetEncodingType(v string) *ListPartsRequest { + s.EncodingType = &v + return s +} + +func (s *ListPartsRequest) SetMaxParts(v int64) *ListPartsRequest { + s.MaxParts = &v + return s +} + +func (s *ListPartsRequest) SetPartNumberMarker(v int64) *ListPartsRequest { + s.PartNumberMarker = &v + return s +} + +func (s *ListPartsRequest) SetUploadId(v string) *ListPartsRequest { + s.UploadId = &v + return s +} + +type ListPartsShrinkRequest struct { + // The encoding type of the object name in the response. The object name can contain any characters encoded in UTF-8. However, the XML 1.0 standard cannot be used to parse certain control characters, such as characters with an ASCII value from 0 to 10. You can set the Encoding-type parameter to encode the returned object name. + //
Default value: null + EncodingTypeShrink *string `json:"encoding-type,omitempty" xml:"encoding-type,omitempty"` + // The maximum number of parts that can be returned by OSS. + // + // Default value: 1000. + // + // Maximum value: 1000. + MaxParts *int64 `json:"max-parts,omitempty" xml:"max-parts,omitempty"` + // The number of the part after which the list starts. All parts whose part numbers are greater than this parameter value are listed. + // Default value: null. + PartNumberMarker *int64 `json:"part-number-marker,omitempty" xml:"part-number-marker,omitempty"` + // The ID of the multipart upload task. + UploadId *string `json:"uploadId,omitempty" xml:"uploadId,omitempty"` +} + +func (s ListPartsShrinkRequest) String() string { + return tea.Prettify(s) +} + +func (s ListPartsShrinkRequest) GoString() string { + return s.String() +} + +func (s *ListPartsShrinkRequest) SetEncodingTypeShrink(v string) *ListPartsShrinkRequest { + s.EncodingTypeShrink = &v + return s +} + +func (s *ListPartsShrinkRequest) SetMaxParts(v int64) *ListPartsShrinkRequest { + s.MaxParts = &v + return s +} + +func (s *ListPartsShrinkRequest) SetPartNumberMarker(v int64) *ListPartsShrinkRequest { + s.PartNumberMarker = &v + return s +} + +func (s *ListPartsShrinkRequest) SetUploadId(v string) *ListPartsShrinkRequest { + s.UploadId = &v + return s +} + +type ListPartsResponseBody struct { + // The name of the bucket. + Bucket *string `json:"Bucket,omitempty" xml:"Bucket,omitempty"` + // Indicates whether the list of parts returned in the response has been truncated. "true" indicates that the response does not contain all required results. "false" indicates that the response contains all required results. + //
Valid values: true and false + IsTruncated *bool `json:"IsTruncated,omitempty" xml:"IsTruncated,omitempty"` + // The full path of the object. + Key *string `json:"Key,omitempty" xml:"Key,omitempty"` + // The maximum number of parts in this response. + MaxParts *int64 `json:"MaxParts,omitempty" xml:"MaxParts,omitempty"` + // If the response does not contain all required results, all parts whose part numbers are greater than the value of this parameter are listed. + NextPartNumberMarker *int64 `json:"NextPartNumberMarker,omitempty" xml:"NextPartNumberMarker,omitempty"` + // The container that stores part information. + Part []*Part `json:"Part,omitempty" xml:"Part,omitempty" type:"Repeated"` + // The number of the part after which the list operation begins. All parts whose numbers are greater than the value of this parameter are listed. + PartNumberMarker *int64 `json:"PartNumberMarker,omitempty" xml:"PartNumberMarker,omitempty"` + // The ID of the upload task. + UploadId *string `json:"UploadId,omitempty" xml:"UploadId,omitempty"` +} + +func (s ListPartsResponseBody) String() string { + return tea.Prettify(s) +} + +func (s ListPartsResponseBody) GoString() string { + return s.String() +} + +func (s *ListPartsResponseBody) SetBucket(v string) *ListPartsResponseBody { + s.Bucket = &v + return s +} + +func (s *ListPartsResponseBody) SetIsTruncated(v bool) *ListPartsResponseBody { + s.IsTruncated = &v + return s +} + +func (s *ListPartsResponseBody) SetKey(v string) *ListPartsResponseBody { + s.Key = &v + return s +} + +func (s *ListPartsResponseBody) SetMaxParts(v int64) *ListPartsResponseBody { + s.MaxParts = &v + return s +} + +func (s *ListPartsResponseBody) SetNextPartNumberMarker(v int64) *ListPartsResponseBody { + s.NextPartNumberMarker = &v + return s +} + +func (s *ListPartsResponseBody) SetPart(v []*Part) *ListPartsResponseBody { + s.Part = v + return s +} + +func (s *ListPartsResponseBody) SetPartNumberMarker(v int64) *ListPartsResponseBody { + s.PartNumberMarker = &v + return s +} + +func (s *ListPartsResponseBody) SetUploadId(v string) *ListPartsResponseBody { + s.UploadId = &v + return s +} + +type ListPartsResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *ListPartsResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s ListPartsResponse) String() string { + return tea.Prettify(s) +} + +func (s ListPartsResponse) GoString() string { + return s.String() +} + +func (s *ListPartsResponse) SetHeaders(v map[string]*string) *ListPartsResponse { + s.Headers = v + return s +} + +func (s *ListPartsResponse) SetStatusCode(v int32) *ListPartsResponse { + s.StatusCode = &v + return s +} + +func (s *ListPartsResponse) SetBody(v *ListPartsResponseBody) *ListPartsResponse { + s.Body = v + return s +} + +type ListStyleResponseBody struct { + // The container that was used to query the information about the specified image style. + Style []*StyleInfo `json:"Style,omitempty" xml:"Style,omitempty" type:"Repeated"` +} + +func (s ListStyleResponseBody) String() string { + return tea.Prettify(s) +} + +func (s ListStyleResponseBody) GoString() string { + return s.String() +} + +func (s *ListStyleResponseBody) SetStyle(v []*StyleInfo) *ListStyleResponseBody { + s.Style = v + return s +} + +type ListStyleResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *ListStyleResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s ListStyleResponse) String() string { + return tea.Prettify(s) +} + +func (s ListStyleResponse) GoString() string { + return s.String() +} + +func (s *ListStyleResponse) SetHeaders(v map[string]*string) *ListStyleResponse { + s.Headers = v + return s +} + +func (s *ListStyleResponse) SetStatusCode(v int32) *ListStyleResponse { + s.StatusCode = &v + return s +} + +func (s *ListStyleResponse) SetBody(v *ListStyleResponseBody) *ListStyleResponse { + s.Body = v + return s +} + +type ListUserDataRedundancyTransitionRequest struct { + ContinuationToken *string `json:"continuation-token,omitempty" xml:"continuation-token,omitempty"` + MaxKeys *int32 `json:"max-keys,omitempty" xml:"max-keys,omitempty"` +} + +func (s ListUserDataRedundancyTransitionRequest) String() string { + return tea.Prettify(s) +} + +func (s ListUserDataRedundancyTransitionRequest) GoString() string { + return s.String() +} + +func (s *ListUserDataRedundancyTransitionRequest) SetContinuationToken(v string) *ListUserDataRedundancyTransitionRequest { + s.ContinuationToken = &v + return s +} + +func (s *ListUserDataRedundancyTransitionRequest) SetMaxKeys(v int32) *ListUserDataRedundancyTransitionRequest { + s.MaxKeys = &v + return s +} + +type ListUserDataRedundancyTransitionResponseBody struct { + BucketDataRedundancyTransition []*BucketDataRedundancyTransition `json:"BucketDataRedundancyTransition,omitempty" xml:"BucketDataRedundancyTransition,omitempty" type:"Repeated"` + IsTruncated *bool `json:"IsTruncated,omitempty" xml:"IsTruncated,omitempty"` + NextContinuationToken *string `json:"NextContinuationToken,omitempty" xml:"NextContinuationToken,omitempty"` +} + +func (s ListUserDataRedundancyTransitionResponseBody) String() string { + return tea.Prettify(s) +} + +func (s ListUserDataRedundancyTransitionResponseBody) GoString() string { + return s.String() +} + +func (s *ListUserDataRedundancyTransitionResponseBody) SetBucketDataRedundancyTransition(v []*BucketDataRedundancyTransition) *ListUserDataRedundancyTransitionResponseBody { + s.BucketDataRedundancyTransition = v + return s +} + +func (s *ListUserDataRedundancyTransitionResponseBody) SetIsTruncated(v bool) *ListUserDataRedundancyTransitionResponseBody { + s.IsTruncated = &v + return s +} + +func (s *ListUserDataRedundancyTransitionResponseBody) SetNextContinuationToken(v string) *ListUserDataRedundancyTransitionResponseBody { + s.NextContinuationToken = &v + return s +} + +type ListUserDataRedundancyTransitionResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *ListUserDataRedundancyTransitionResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s ListUserDataRedundancyTransitionResponse) String() string { + return tea.Prettify(s) +} + +func (s ListUserDataRedundancyTransitionResponse) GoString() string { + return s.String() +} + +func (s *ListUserDataRedundancyTransitionResponse) SetHeaders(v map[string]*string) *ListUserDataRedundancyTransitionResponse { + s.Headers = v + return s +} + +func (s *ListUserDataRedundancyTransitionResponse) SetStatusCode(v int32) *ListUserDataRedundancyTransitionResponse { + s.StatusCode = &v + return s +} + +func (s *ListUserDataRedundancyTransitionResponse) SetBody(v *ListUserDataRedundancyTransitionResponseBody) *ListUserDataRedundancyTransitionResponse { + s.Body = v + return s +} + +type OpenMetaQueryResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s OpenMetaQueryResponse) String() string { + return tea.Prettify(s) +} + +func (s OpenMetaQueryResponse) GoString() string { + return s.String() +} + +func (s *OpenMetaQueryResponse) SetHeaders(v map[string]*string) *OpenMetaQueryResponse { + s.Headers = v + return s +} + +func (s *OpenMetaQueryResponse) SetStatusCode(v int32) *OpenMetaQueryResponse { + s.StatusCode = &v + return s +} + +type OptionObjectHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + // The custom headers to be sent in the actual cross-origin request. You can configure multiple custom headers in a cross-origin request. Custom headers are separated by commas (,). By default, this header is left empty. + AccessControlRequestHeaders *string `json:"Access-Control-Request-Headers,omitempty" xml:"Access-Control-Request-Headers,omitempty"` + // The method to be used in the actual cross-origin request. You can specify only one Access-Control-Request-Method header in a cross-origin request. By default, this header is left empty. + AccessControlRequestMethod *string `json:"Access-Control-Request-Method,omitempty" xml:"Access-Control-Request-Method,omitempty"` + // The origin of the request. It is used to identify a cross-origin request. You can specify only one Origin header in a cross-origin request. By default, this header is left empty. + Origin *string `json:"Origin,omitempty" xml:"Origin,omitempty"` +} + +func (s OptionObjectHeaders) String() string { + return tea.Prettify(s) +} + +func (s OptionObjectHeaders) GoString() string { + return s.String() +} + +func (s *OptionObjectHeaders) SetCommonHeaders(v map[string]*string) *OptionObjectHeaders { + s.CommonHeaders = v + return s +} + +func (s *OptionObjectHeaders) SetAccessControlRequestHeaders(v string) *OptionObjectHeaders { + s.AccessControlRequestHeaders = &v + return s +} + +func (s *OptionObjectHeaders) SetAccessControlRequestMethod(v string) *OptionObjectHeaders { + s.AccessControlRequestMethod = &v + return s +} + +func (s *OptionObjectHeaders) SetOrigin(v string) *OptionObjectHeaders { + s.Origin = &v + return s +} + +type OptionObjectResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s OptionObjectResponse) String() string { + return tea.Prettify(s) +} + +func (s OptionObjectResponse) GoString() string { + return s.String() +} + +func (s *OptionObjectResponse) SetHeaders(v map[string]*string) *OptionObjectResponse { + s.Headers = v + return s +} + +func (s *OptionObjectResponse) SetStatusCode(v int32) *OptionObjectResponse { + s.StatusCode = &v + return s +} + +type PostObjectRequest struct { + Key *string `json:"key,omitempty" xml:"key,omitempty"` +} + +func (s PostObjectRequest) String() string { + return tea.Prettify(s) +} + +func (s PostObjectRequest) GoString() string { + return s.String() +} + +func (s *PostObjectRequest) SetKey(v string) *PostObjectRequest { + s.Key = &v + return s +} + +type PostObjectResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PostObjectResponse) String() string { + return tea.Prettify(s) +} + +func (s PostObjectResponse) GoString() string { + return s.String() +} + +func (s *PostObjectResponse) SetHeaders(v map[string]*string) *PostObjectResponse { + s.Headers = v + return s +} + +func (s *PostObjectResponse) SetStatusCode(v int32) *PostObjectResponse { + s.StatusCode = &v + return s +} + +type PostVodPlaylistRequest struct { + // The end time of the time range during which the TS files that you want to query are generated, + // which is a Unix timestamp. + // > The value of EndTime must be later than the value of StartTime. The duration between EndTime and StartTime must be shorter than one day. + EndTime *string `json:"endTime,omitempty" xml:"endTime,omitempty"` + // The start time of the time range during which the TS files that you want to query are generated, which is a Unix timestamp. + StartTime *string `json:"startTime,omitempty" xml:"startTime,omitempty"` +} + +func (s PostVodPlaylistRequest) String() string { + return tea.Prettify(s) +} + +func (s PostVodPlaylistRequest) GoString() string { + return s.String() +} + +func (s *PostVodPlaylistRequest) SetEndTime(v string) *PostVodPlaylistRequest { + s.EndTime = &v + return s +} + +func (s *PostVodPlaylistRequest) SetStartTime(v string) *PostVodPlaylistRequest { + s.StartTime = &v + return s +} + +type PostVodPlaylistResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PostVodPlaylistResponse) String() string { + return tea.Prettify(s) +} + +func (s PostVodPlaylistResponse) GoString() string { + return s.String() +} + +func (s *PostVodPlaylistResponse) SetHeaders(v map[string]*string) *PostVodPlaylistResponse { + s.Headers = v + return s +} + +func (s *PostVodPlaylistResponse) SetStatusCode(v int32) *PostVodPlaylistResponse { + s.StatusCode = &v + return s +} + +type PutAccessPointConfigForObjectProcessHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + XOssAccessPointForObjectProcessName *string `json:"x-oss-access-point-for-object-process-name,omitempty" xml:"x-oss-access-point-for-object-process-name,omitempty"` +} + +func (s PutAccessPointConfigForObjectProcessHeaders) String() string { + return tea.Prettify(s) +} + +func (s PutAccessPointConfigForObjectProcessHeaders) GoString() string { + return s.String() +} + +func (s *PutAccessPointConfigForObjectProcessHeaders) SetCommonHeaders(v map[string]*string) *PutAccessPointConfigForObjectProcessHeaders { + s.CommonHeaders = v + return s +} + +func (s *PutAccessPointConfigForObjectProcessHeaders) SetXOssAccessPointForObjectProcessName(v string) *PutAccessPointConfigForObjectProcessHeaders { + s.XOssAccessPointForObjectProcessName = &v + return s +} + +type PutAccessPointConfigForObjectProcessRequest struct { + ObjectProcessConfiguration *ObjectProcessConfiguration `json:"ObjectProcessConfiguration,omitempty" xml:"ObjectProcessConfiguration,omitempty"` +} + +func (s PutAccessPointConfigForObjectProcessRequest) String() string { + return tea.Prettify(s) +} + +func (s PutAccessPointConfigForObjectProcessRequest) GoString() string { + return s.String() +} + +func (s *PutAccessPointConfigForObjectProcessRequest) SetObjectProcessConfiguration(v *ObjectProcessConfiguration) *PutAccessPointConfigForObjectProcessRequest { + s.ObjectProcessConfiguration = v + return s +} + +type PutAccessPointConfigForObjectProcessResponseBody struct { + ObjectProcessConfiguration *ObjectProcessConfiguration `json:"ObjectProcessConfiguration,omitempty" xml:"ObjectProcessConfiguration,omitempty"` +} + +func (s PutAccessPointConfigForObjectProcessResponseBody) String() string { + return tea.Prettify(s) +} + +func (s PutAccessPointConfigForObjectProcessResponseBody) GoString() string { + return s.String() +} + +func (s *PutAccessPointConfigForObjectProcessResponseBody) SetObjectProcessConfiguration(v *ObjectProcessConfiguration) *PutAccessPointConfigForObjectProcessResponseBody { + s.ObjectProcessConfiguration = v + return s +} + +type PutAccessPointConfigForObjectProcessResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *PutAccessPointConfigForObjectProcessResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutAccessPointConfigForObjectProcessResponse) String() string { + return tea.Prettify(s) +} + +func (s PutAccessPointConfigForObjectProcessResponse) GoString() string { + return s.String() +} + +func (s *PutAccessPointConfigForObjectProcessResponse) SetHeaders(v map[string]*string) *PutAccessPointConfigForObjectProcessResponse { + s.Headers = v + return s +} + +func (s *PutAccessPointConfigForObjectProcessResponse) SetStatusCode(v int32) *PutAccessPointConfigForObjectProcessResponse { + s.StatusCode = &v + return s +} + +func (s *PutAccessPointConfigForObjectProcessResponse) SetBody(v *PutAccessPointConfigForObjectProcessResponseBody) *PutAccessPointConfigForObjectProcessResponse { + s.Body = v + return s +} + +type PutAccessPointPolicyHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + // The name of the access point. + XOssAccessPointName *string `json:"x-oss-access-point-name,omitempty" xml:"x-oss-access-point-name,omitempty"` +} + +func (s PutAccessPointPolicyHeaders) String() string { + return tea.Prettify(s) +} + +func (s PutAccessPointPolicyHeaders) GoString() string { + return s.String() +} + +func (s *PutAccessPointPolicyHeaders) SetCommonHeaders(v map[string]*string) *PutAccessPointPolicyHeaders { + s.CommonHeaders = v + return s +} + +func (s *PutAccessPointPolicyHeaders) SetXOssAccessPointName(v string) *PutAccessPointPolicyHeaders { + s.XOssAccessPointName = &v + return s +} + +type PutAccessPointPolicyRequest struct { + // The configurations of the access point policy. + Body *string `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutAccessPointPolicyRequest) String() string { + return tea.Prettify(s) +} + +func (s PutAccessPointPolicyRequest) GoString() string { + return s.String() +} + +func (s *PutAccessPointPolicyRequest) SetBody(v string) *PutAccessPointPolicyRequest { + s.Body = &v + return s +} + +type PutAccessPointPolicyResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutAccessPointPolicyResponse) String() string { + return tea.Prettify(s) +} + +func (s PutAccessPointPolicyResponse) GoString() string { + return s.String() +} + +func (s *PutAccessPointPolicyResponse) SetHeaders(v map[string]*string) *PutAccessPointPolicyResponse { + s.Headers = v + return s +} + +func (s *PutAccessPointPolicyResponse) SetStatusCode(v int32) *PutAccessPointPolicyResponse { + s.StatusCode = &v + return s +} + +type PutAccessPointPolicyForObjectProcessHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + XOssAccessPointForObjectProcessName *string `json:"x-oss-access-point-for-object-process-name,omitempty" xml:"x-oss-access-point-for-object-process-name,omitempty"` +} + +func (s PutAccessPointPolicyForObjectProcessHeaders) String() string { + return tea.Prettify(s) +} + +func (s PutAccessPointPolicyForObjectProcessHeaders) GoString() string { + return s.String() +} + +func (s *PutAccessPointPolicyForObjectProcessHeaders) SetCommonHeaders(v map[string]*string) *PutAccessPointPolicyForObjectProcessHeaders { + s.CommonHeaders = v + return s +} + +func (s *PutAccessPointPolicyForObjectProcessHeaders) SetXOssAccessPointForObjectProcessName(v string) *PutAccessPointPolicyForObjectProcessHeaders { + s.XOssAccessPointForObjectProcessName = &v + return s +} + +type PutAccessPointPolicyForObjectProcessRequest struct { + Body *string `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutAccessPointPolicyForObjectProcessRequest) String() string { + return tea.Prettify(s) +} + +func (s PutAccessPointPolicyForObjectProcessRequest) GoString() string { + return s.String() +} + +func (s *PutAccessPointPolicyForObjectProcessRequest) SetBody(v string) *PutAccessPointPolicyForObjectProcessRequest { + s.Body = &v + return s +} + +type PutAccessPointPolicyForObjectProcessResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutAccessPointPolicyForObjectProcessResponse) String() string { + return tea.Prettify(s) +} + +func (s PutAccessPointPolicyForObjectProcessResponse) GoString() string { + return s.String() +} + +func (s *PutAccessPointPolicyForObjectProcessResponse) SetHeaders(v map[string]*string) *PutAccessPointPolicyForObjectProcessResponse { + s.Headers = v + return s +} + +func (s *PutAccessPointPolicyForObjectProcessResponse) SetStatusCode(v int32) *PutAccessPointPolicyForObjectProcessResponse { + s.StatusCode = &v + return s +} + +type PutAccessPointPublicAccessBlockRequest struct { + Body *PublicAccessBlockConfiguration `json:"body,omitempty" xml:"body,omitempty"` + XOssAccessPointName *string `json:"x-oss-access-point-name,omitempty" xml:"x-oss-access-point-name,omitempty"` +} + +func (s PutAccessPointPublicAccessBlockRequest) String() string { + return tea.Prettify(s) +} + +func (s PutAccessPointPublicAccessBlockRequest) GoString() string { + return s.String() +} + +func (s *PutAccessPointPublicAccessBlockRequest) SetBody(v *PublicAccessBlockConfiguration) *PutAccessPointPublicAccessBlockRequest { + s.Body = v + return s +} + +func (s *PutAccessPointPublicAccessBlockRequest) SetXOssAccessPointName(v string) *PutAccessPointPublicAccessBlockRequest { + s.XOssAccessPointName = &v + return s +} + +type PutAccessPointPublicAccessBlockResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutAccessPointPublicAccessBlockResponse) String() string { + return tea.Prettify(s) +} + +func (s PutAccessPointPublicAccessBlockResponse) GoString() string { + return s.String() +} + +func (s *PutAccessPointPublicAccessBlockResponse) SetHeaders(v map[string]*string) *PutAccessPointPublicAccessBlockResponse { + s.Headers = v + return s +} + +func (s *PutAccessPointPublicAccessBlockResponse) SetStatusCode(v int32) *PutAccessPointPublicAccessBlockResponse { + s.StatusCode = &v + return s +} + +type PutBucketHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + // The access control list (ACL) of the bucket to be created. Valid values: + // + // * public-read-write + // * public-read + // * private (default) + // + // For more information, see [Bucket ACL](~~31843~~). + XOssAcl *string `json:"x-oss-acl,omitempty" xml:"x-oss-acl,omitempty"` + // The ID of the resource group. + // + // * If you include the header in the request and specify the ID of the resource group, the bucket that you create belongs to the resource group. If the specified resource group ID is rg-default-id, the bucket that you create belongs to the default resource group. + // * If you do not include the header in the request, the bucket that you create belongs to the default resource group. + // + // You can obtain the ID of a resource group in the Resource Management console or by calling the ListResourceGroups operation. For more information, see [View basic information of a resource group](~~151181~~) and [ListResourceGroups](~~158855~~). + // + // > You cannot configure a resource group for an Anywhere Bucket. + XOssResourceGroupId *string `json:"x-oss-resource-group-id,omitempty" xml:"x-oss-resource-group-id,omitempty"` +} + +func (s PutBucketHeaders) String() string { + return tea.Prettify(s) +} + +func (s PutBucketHeaders) GoString() string { + return s.String() +} + +func (s *PutBucketHeaders) SetCommonHeaders(v map[string]*string) *PutBucketHeaders { + s.CommonHeaders = v + return s +} + +func (s *PutBucketHeaders) SetXOssAcl(v string) *PutBucketHeaders { + s.XOssAcl = &v + return s +} + +func (s *PutBucketHeaders) SetXOssResourceGroupId(v string) *PutBucketHeaders { + s.XOssResourceGroupId = &v + return s +} + +type PutBucketRequest struct { + // The container that stores the information about the bucket to be created. + Body *CreateBucketConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutBucketRequest) String() string { + return tea.Prettify(s) +} + +func (s PutBucketRequest) GoString() string { + return s.String() +} + +func (s *PutBucketRequest) SetBody(v *CreateBucketConfiguration) *PutBucketRequest { + s.Body = v + return s +} + +type PutBucketResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutBucketResponse) String() string { + return tea.Prettify(s) +} + +func (s PutBucketResponse) GoString() string { + return s.String() +} + +func (s *PutBucketResponse) SetHeaders(v map[string]*string) *PutBucketResponse { + s.Headers = v + return s +} + +func (s *PutBucketResponse) SetStatusCode(v int32) *PutBucketResponse { + s.StatusCode = &v + return s +} + +type PutBucketAccessMonitorRequest struct { + // The access tracking configurations of the bucket. + Body *AccessMonitorConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutBucketAccessMonitorRequest) String() string { + return tea.Prettify(s) +} + +func (s PutBucketAccessMonitorRequest) GoString() string { + return s.String() +} + +func (s *PutBucketAccessMonitorRequest) SetBody(v *AccessMonitorConfiguration) *PutBucketAccessMonitorRequest { + s.Body = v + return s +} + +type PutBucketAccessMonitorResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutBucketAccessMonitorResponse) String() string { + return tea.Prettify(s) +} + +func (s PutBucketAccessMonitorResponse) GoString() string { + return s.String() +} + +func (s *PutBucketAccessMonitorResponse) SetHeaders(v map[string]*string) *PutBucketAccessMonitorResponse { + s.Headers = v + return s +} + +func (s *PutBucketAccessMonitorResponse) SetStatusCode(v int32) *PutBucketAccessMonitorResponse { + s.StatusCode = &v + return s +} + +type PutBucketAclHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + // The ACL that you want to configure or modify for the bucket. The x-oss-acl header is included in PutBucketAcl requests to configure or modify the ACL of the bucket. If this header is not included, the ACL configurations do not take effect.\ + // Valid values: + // + // * public-read-write: All users can read and write objects in the bucket. Exercise caution when you set the value to public-read-write. + // * public-read: Only the owner and authorized users of the bucket can read and write objects in the bucket. Other users can only read objects in the bucket. Exercise caution when you set the value to public-read. + // * private: Only the owner and authorized users of this bucket can read and write objects in the bucket. Other users cannot access objects in the bucket. + XOssAcl *string `json:"x-oss-acl,omitempty" xml:"x-oss-acl,omitempty"` +} + +func (s PutBucketAclHeaders) String() string { + return tea.Prettify(s) +} + +func (s PutBucketAclHeaders) GoString() string { + return s.String() +} + +func (s *PutBucketAclHeaders) SetCommonHeaders(v map[string]*string) *PutBucketAclHeaders { + s.CommonHeaders = v + return s +} + +func (s *PutBucketAclHeaders) SetXOssAcl(v string) *PutBucketAclHeaders { + s.XOssAcl = &v + return s +} + +type PutBucketAclResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutBucketAclResponse) String() string { + return tea.Prettify(s) +} + +func (s PutBucketAclResponse) GoString() string { + return s.String() +} + +func (s *PutBucketAclResponse) SetHeaders(v map[string]*string) *PutBucketAclResponse { + s.Headers = v + return s +} + +func (s *PutBucketAclResponse) SetStatusCode(v int32) *PutBucketAclResponse { + s.StatusCode = &v + return s +} + +type PutBucketArchiveDirectReadRequest struct { + Body *ArchiveDirectReadConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutBucketArchiveDirectReadRequest) String() string { + return tea.Prettify(s) +} + +func (s PutBucketArchiveDirectReadRequest) GoString() string { + return s.String() +} + +func (s *PutBucketArchiveDirectReadRequest) SetBody(v *ArchiveDirectReadConfiguration) *PutBucketArchiveDirectReadRequest { + s.Body = v + return s +} + +type PutBucketArchiveDirectReadResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutBucketArchiveDirectReadResponse) String() string { + return tea.Prettify(s) +} + +func (s PutBucketArchiveDirectReadResponse) GoString() string { + return s.String() +} + +func (s *PutBucketArchiveDirectReadResponse) SetHeaders(v map[string]*string) *PutBucketArchiveDirectReadResponse { + s.Headers = v + return s +} + +func (s *PutBucketArchiveDirectReadResponse) SetStatusCode(v int32) *PutBucketArchiveDirectReadResponse { + s.StatusCode = &v + return s +} + +type PutBucketCallbackPolicyResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *CallbackPolicy `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutBucketCallbackPolicyResponse) String() string { + return tea.Prettify(s) +} + +func (s PutBucketCallbackPolicyResponse) GoString() string { + return s.String() +} + +func (s *PutBucketCallbackPolicyResponse) SetHeaders(v map[string]*string) *PutBucketCallbackPolicyResponse { + s.Headers = v + return s +} + +func (s *PutBucketCallbackPolicyResponse) SetStatusCode(v int32) *PutBucketCallbackPolicyResponse { + s.StatusCode = &v + return s +} + +func (s *PutBucketCallbackPolicyResponse) SetBody(v *CallbackPolicy) *PutBucketCallbackPolicyResponse { + s.Body = v + return s +} + +type PutBucketCorsRequest struct { + // The container that stores the information about CORS rules of the bucket. + Body *CORSConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutBucketCorsRequest) String() string { + return tea.Prettify(s) +} + +func (s PutBucketCorsRequest) GoString() string { + return s.String() +} + +func (s *PutBucketCorsRequest) SetBody(v *CORSConfiguration) *PutBucketCorsRequest { + s.Body = v + return s +} + +type PutBucketCorsResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutBucketCorsResponse) String() string { + return tea.Prettify(s) +} + +func (s PutBucketCorsResponse) GoString() string { + return s.String() +} + +func (s *PutBucketCorsResponse) SetHeaders(v map[string]*string) *PutBucketCorsResponse { + s.Headers = v + return s +} + +func (s *PutBucketCorsResponse) SetStatusCode(v int32) *PutBucketCorsResponse { + s.StatusCode = &v + return s +} + +type PutBucketEncryptionRequest struct { + // The container that stores server-side encryption rules. + Body *ServerSideEncryptionRule `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutBucketEncryptionRequest) String() string { + return tea.Prettify(s) +} + +func (s PutBucketEncryptionRequest) GoString() string { + return s.String() +} + +func (s *PutBucketEncryptionRequest) SetBody(v *ServerSideEncryptionRule) *PutBucketEncryptionRequest { + s.Body = v + return s +} + +type PutBucketEncryptionResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutBucketEncryptionResponse) String() string { + return tea.Prettify(s) +} + +func (s PutBucketEncryptionResponse) GoString() string { + return s.String() +} + +func (s *PutBucketEncryptionResponse) SetHeaders(v map[string]*string) *PutBucketEncryptionResponse { + s.Headers = v + return s +} + +func (s *PutBucketEncryptionResponse) SetStatusCode(v int32) *PutBucketEncryptionResponse { + s.StatusCode = &v + return s +} + +type PutBucketHttpsConfigRequest struct { + // The container that stores HTTPS configurations. + Body *HttpsConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutBucketHttpsConfigRequest) String() string { + return tea.Prettify(s) +} + +func (s PutBucketHttpsConfigRequest) GoString() string { + return s.String() +} + +func (s *PutBucketHttpsConfigRequest) SetBody(v *HttpsConfiguration) *PutBucketHttpsConfigRequest { + s.Body = v + return s +} + +type PutBucketHttpsConfigResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutBucketHttpsConfigResponse) String() string { + return tea.Prettify(s) +} + +func (s PutBucketHttpsConfigResponse) GoString() string { + return s.String() +} + +func (s *PutBucketHttpsConfigResponse) SetHeaders(v map[string]*string) *PutBucketHttpsConfigResponse { + s.Headers = v + return s +} + +func (s *PutBucketHttpsConfigResponse) SetStatusCode(v int32) *PutBucketHttpsConfigResponse { + s.StatusCode = &v + return s +} + +type PutBucketInventoryRequest struct { + // The container that stores the configurations of the inventory. + Body *InventoryConfiguration `json:"body,omitempty" xml:"body,omitempty"` + // The name of the inventory. + InventoryId *string `json:"inventoryId,omitempty" xml:"inventoryId,omitempty"` +} + +func (s PutBucketInventoryRequest) String() string { + return tea.Prettify(s) +} + +func (s PutBucketInventoryRequest) GoString() string { + return s.String() +} + +func (s *PutBucketInventoryRequest) SetBody(v *InventoryConfiguration) *PutBucketInventoryRequest { + s.Body = v + return s +} + +func (s *PutBucketInventoryRequest) SetInventoryId(v string) *PutBucketInventoryRequest { + s.InventoryId = &v + return s +} + +type PutBucketInventoryResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutBucketInventoryResponse) String() string { + return tea.Prettify(s) +} + +func (s PutBucketInventoryResponse) GoString() string { + return s.String() +} + +func (s *PutBucketInventoryResponse) SetHeaders(v map[string]*string) *PutBucketInventoryResponse { + s.Headers = v + return s +} + +func (s *PutBucketInventoryResponse) SetStatusCode(v int32) *PutBucketInventoryResponse { + s.StatusCode = &v + return s +} + +type PutBucketLifecycleRequest struct { + // The container that stores the lifecycle configurations. The container can contain up to 1,000 lifecycle rules. + Body *LifecycleConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutBucketLifecycleRequest) String() string { + return tea.Prettify(s) +} + +func (s PutBucketLifecycleRequest) GoString() string { + return s.String() +} + +func (s *PutBucketLifecycleRequest) SetBody(v *LifecycleConfiguration) *PutBucketLifecycleRequest { + s.Body = v + return s +} + +type PutBucketLifecycleResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutBucketLifecycleResponse) String() string { + return tea.Prettify(s) +} + +func (s PutBucketLifecycleResponse) GoString() string { + return s.String() +} + +func (s *PutBucketLifecycleResponse) SetHeaders(v map[string]*string) *PutBucketLifecycleResponse { + s.Headers = v + return s +} + +func (s *PutBucketLifecycleResponse) SetStatusCode(v int32) *PutBucketLifecycleResponse { + s.StatusCode = &v + return s +} + +type PutBucketLoggingRequest struct { + // The container that stores the information about the logging status. + Body *BucketLoggingStatus `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutBucketLoggingRequest) String() string { + return tea.Prettify(s) +} + +func (s PutBucketLoggingRequest) GoString() string { + return s.String() +} + +func (s *PutBucketLoggingRequest) SetBody(v *BucketLoggingStatus) *PutBucketLoggingRequest { + s.Body = v + return s +} + +type PutBucketLoggingResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutBucketLoggingResponse) String() string { + return tea.Prettify(s) +} + +func (s PutBucketLoggingResponse) GoString() string { + return s.String() +} + +func (s *PutBucketLoggingResponse) SetHeaders(v map[string]*string) *PutBucketLoggingResponse { + s.Headers = v + return s +} + +func (s *PutBucketLoggingResponse) SetStatusCode(v int32) *PutBucketLoggingResponse { + s.StatusCode = &v + return s +} + +type PutBucketPolicyRequest struct { + // The request parameters. + Body *string `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutBucketPolicyRequest) String() string { + return tea.Prettify(s) +} + +func (s PutBucketPolicyRequest) GoString() string { + return s.String() +} + +func (s *PutBucketPolicyRequest) SetBody(v string) *PutBucketPolicyRequest { + s.Body = &v + return s +} + +type PutBucketPolicyResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutBucketPolicyResponse) String() string { + return tea.Prettify(s) +} + +func (s PutBucketPolicyResponse) GoString() string { + return s.String() +} + +func (s *PutBucketPolicyResponse) SetHeaders(v map[string]*string) *PutBucketPolicyResponse { + s.Headers = v + return s +} + +func (s *PutBucketPolicyResponse) SetStatusCode(v int32) *PutBucketPolicyResponse { + s.StatusCode = &v + return s +} + +type PutBucketPublicAccessBlockRequest struct { + Body *PublicAccessBlockConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutBucketPublicAccessBlockRequest) String() string { + return tea.Prettify(s) +} + +func (s PutBucketPublicAccessBlockRequest) GoString() string { + return s.String() +} + +func (s *PutBucketPublicAccessBlockRequest) SetBody(v *PublicAccessBlockConfiguration) *PutBucketPublicAccessBlockRequest { + s.Body = v + return s +} + +type PutBucketPublicAccessBlockResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutBucketPublicAccessBlockResponse) String() string { + return tea.Prettify(s) +} + +func (s PutBucketPublicAccessBlockResponse) GoString() string { + return s.String() +} + +func (s *PutBucketPublicAccessBlockResponse) SetHeaders(v map[string]*string) *PutBucketPublicAccessBlockResponse { + s.Headers = v + return s +} + +func (s *PutBucketPublicAccessBlockResponse) SetStatusCode(v int32) *PutBucketPublicAccessBlockResponse { + s.StatusCode = &v + return s +} + +type PutBucketRedundancyTypeRequest struct { + Type *string `json:"Type,omitempty" xml:"Type,omitempty"` +} + +func (s PutBucketRedundancyTypeRequest) String() string { + return tea.Prettify(s) +} + +func (s PutBucketRedundancyTypeRequest) GoString() string { + return s.String() +} + +func (s *PutBucketRedundancyTypeRequest) SetType(v string) *PutBucketRedundancyTypeRequest { + s.Type = &v + return s +} + +type PutBucketRedundancyTypeResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutBucketRedundancyTypeResponse) String() string { + return tea.Prettify(s) +} + +func (s PutBucketRedundancyTypeResponse) GoString() string { + return s.String() +} + +func (s *PutBucketRedundancyTypeResponse) SetHeaders(v map[string]*string) *PutBucketRedundancyTypeResponse { + s.Headers = v + return s +} + +func (s *PutBucketRedundancyTypeResponse) SetStatusCode(v int32) *PutBucketRedundancyTypeResponse { + s.StatusCode = &v + return s +} + +type PutBucketRefererRequest struct { + // The container that stores the Referer configurations. + Body *RefererConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutBucketRefererRequest) String() string { + return tea.Prettify(s) +} + +func (s PutBucketRefererRequest) GoString() string { + return s.String() +} + +func (s *PutBucketRefererRequest) SetBody(v *RefererConfiguration) *PutBucketRefererRequest { + s.Body = v + return s +} + +type PutBucketRefererResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutBucketRefererResponse) String() string { + return tea.Prettify(s) +} + +func (s PutBucketRefererResponse) GoString() string { + return s.String() +} + +func (s *PutBucketRefererResponse) SetHeaders(v map[string]*string) *PutBucketRefererResponse { + s.Headers = v + return s +} + +func (s *PutBucketRefererResponse) SetStatusCode(v int32) *PutBucketRefererResponse { + s.StatusCode = &v + return s +} + +type PutBucketReplicationRequest struct { + // The configurations for data replication. + Body *ReplicationConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutBucketReplicationRequest) String() string { + return tea.Prettify(s) +} + +func (s PutBucketReplicationRequest) GoString() string { + return s.String() +} + +func (s *PutBucketReplicationRequest) SetBody(v *ReplicationConfiguration) *PutBucketReplicationRequest { + s.Body = v + return s +} + +type PutBucketReplicationResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutBucketReplicationResponse) String() string { + return tea.Prettify(s) +} + +func (s PutBucketReplicationResponse) GoString() string { + return s.String() +} + +func (s *PutBucketReplicationResponse) SetHeaders(v map[string]*string) *PutBucketReplicationResponse { + s.Headers = v + return s +} + +func (s *PutBucketReplicationResponse) SetStatusCode(v int32) *PutBucketReplicationResponse { + s.StatusCode = &v + return s +} + +type PutBucketRequestPaymentRequest struct { + // The container that stores pay-by-requester configurations. + Body *RequestPaymentConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutBucketRequestPaymentRequest) String() string { + return tea.Prettify(s) +} + +func (s PutBucketRequestPaymentRequest) GoString() string { + return s.String() +} + +func (s *PutBucketRequestPaymentRequest) SetBody(v *RequestPaymentConfiguration) *PutBucketRequestPaymentRequest { + s.Body = v + return s +} + +type PutBucketRequestPaymentResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutBucketRequestPaymentResponse) String() string { + return tea.Prettify(s) +} + +func (s PutBucketRequestPaymentResponse) GoString() string { + return s.String() +} + +func (s *PutBucketRequestPaymentResponse) SetHeaders(v map[string]*string) *PutBucketRequestPaymentResponse { + s.Headers = v + return s +} + +func (s *PutBucketRequestPaymentResponse) SetStatusCode(v int32) *PutBucketRequestPaymentResponse { + s.StatusCode = &v + return s +} + +type PutBucketResourceGroupRequest struct { + // The container that stores the ID of the resource group. + Body *BucketResourceGroupConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutBucketResourceGroupRequest) String() string { + return tea.Prettify(s) +} + +func (s PutBucketResourceGroupRequest) GoString() string { + return s.String() +} + +func (s *PutBucketResourceGroupRequest) SetBody(v *BucketResourceGroupConfiguration) *PutBucketResourceGroupRequest { + s.Body = v + return s +} + +type PutBucketResourceGroupResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutBucketResourceGroupResponse) String() string { + return tea.Prettify(s) +} + +func (s PutBucketResourceGroupResponse) GoString() string { + return s.String() +} + +func (s *PutBucketResourceGroupResponse) SetHeaders(v map[string]*string) *PutBucketResourceGroupResponse { + s.Headers = v + return s +} + +func (s *PutBucketResourceGroupResponse) SetStatusCode(v int32) *PutBucketResourceGroupResponse { + s.StatusCode = &v + return s +} + +type PutBucketResponseHeaderRequest struct { + Body *ResponseHeaderConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutBucketResponseHeaderRequest) String() string { + return tea.Prettify(s) +} + +func (s PutBucketResponseHeaderRequest) GoString() string { + return s.String() +} + +func (s *PutBucketResponseHeaderRequest) SetBody(v *ResponseHeaderConfiguration) *PutBucketResponseHeaderRequest { + s.Body = v + return s +} + +type PutBucketResponseHeaderResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutBucketResponseHeaderResponse) String() string { + return tea.Prettify(s) +} + +func (s PutBucketResponseHeaderResponse) GoString() string { + return s.String() +} + +func (s *PutBucketResponseHeaderResponse) SetHeaders(v map[string]*string) *PutBucketResponseHeaderResponse { + s.Headers = v + return s +} + +func (s *PutBucketResponseHeaderResponse) SetStatusCode(v int32) *PutBucketResponseHeaderResponse { + s.StatusCode = &v + return s +} + +type PutBucketRtcRequest struct { + // The container that stores the RTC configurations. + Body *RtcConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutBucketRtcRequest) String() string { + return tea.Prettify(s) +} + +func (s PutBucketRtcRequest) GoString() string { + return s.String() +} + +func (s *PutBucketRtcRequest) SetBody(v *RtcConfiguration) *PutBucketRtcRequest { + s.Body = v + return s +} + +type PutBucketRtcResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutBucketRtcResponse) String() string { + return tea.Prettify(s) +} + +func (s PutBucketRtcResponse) GoString() string { + return s.String() +} + +func (s *PutBucketRtcResponse) SetHeaders(v map[string]*string) *PutBucketRtcResponse { + s.Headers = v + return s +} + +func (s *PutBucketRtcResponse) SetStatusCode(v int32) *PutBucketRtcResponse { + s.StatusCode = &v + return s +} + +type PutBucketTagsRequest struct { + // The container that stores the tags. + Body *Tagging `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutBucketTagsRequest) String() string { + return tea.Prettify(s) +} + +func (s PutBucketTagsRequest) GoString() string { + return s.String() +} + +func (s *PutBucketTagsRequest) SetBody(v *Tagging) *PutBucketTagsRequest { + s.Body = v + return s +} + +type PutBucketTagsResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutBucketTagsResponse) String() string { + return tea.Prettify(s) +} + +func (s PutBucketTagsResponse) GoString() string { + return s.String() +} + +func (s *PutBucketTagsResponse) SetHeaders(v map[string]*string) *PutBucketTagsResponse { + s.Headers = v + return s +} + +func (s *PutBucketTagsResponse) SetStatusCode(v int32) *PutBucketTagsResponse { + s.StatusCode = &v + return s +} + +type PutBucketTransferAccelerationRequest struct { + // The container that stores the transfer acceleration configurations. + Body *TransferAccelerationConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutBucketTransferAccelerationRequest) String() string { + return tea.Prettify(s) +} + +func (s PutBucketTransferAccelerationRequest) GoString() string { + return s.String() +} + +func (s *PutBucketTransferAccelerationRequest) SetBody(v *TransferAccelerationConfiguration) *PutBucketTransferAccelerationRequest { + s.Body = v + return s +} + +type PutBucketTransferAccelerationResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutBucketTransferAccelerationResponse) String() string { + return tea.Prettify(s) +} + +func (s PutBucketTransferAccelerationResponse) GoString() string { + return s.String() +} + +func (s *PutBucketTransferAccelerationResponse) SetHeaders(v map[string]*string) *PutBucketTransferAccelerationResponse { + s.Headers = v + return s +} + +func (s *PutBucketTransferAccelerationResponse) SetStatusCode(v int32) *PutBucketTransferAccelerationResponse { + s.StatusCode = &v + return s +} + +type PutBucketVersioningRequest struct { + // The request parameters. + Body *VersioningConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutBucketVersioningRequest) String() string { + return tea.Prettify(s) +} + +func (s PutBucketVersioningRequest) GoString() string { + return s.String() +} + +func (s *PutBucketVersioningRequest) SetBody(v *VersioningConfiguration) *PutBucketVersioningRequest { + s.Body = v + return s +} + +type PutBucketVersioningResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutBucketVersioningResponse) String() string { + return tea.Prettify(s) +} + +func (s PutBucketVersioningResponse) GoString() string { + return s.String() +} + +func (s *PutBucketVersioningResponse) SetHeaders(v map[string]*string) *PutBucketVersioningResponse { + s.Headers = v + return s +} + +func (s *PutBucketVersioningResponse) SetStatusCode(v int32) *PutBucketVersioningResponse { + s.StatusCode = &v + return s +} + +type PutBucketWebsiteRequest struct { + // The information about the root node. + Body *WebsiteConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutBucketWebsiteRequest) String() string { + return tea.Prettify(s) +} + +func (s PutBucketWebsiteRequest) GoString() string { + return s.String() +} + +func (s *PutBucketWebsiteRequest) SetBody(v *WebsiteConfiguration) *PutBucketWebsiteRequest { + s.Body = v + return s +} + +type PutBucketWebsiteResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutBucketWebsiteResponse) String() string { + return tea.Prettify(s) +} + +func (s PutBucketWebsiteResponse) GoString() string { + return s.String() +} + +func (s *PutBucketWebsiteResponse) SetHeaders(v map[string]*string) *PutBucketWebsiteResponse { + s.Headers = v + return s +} + +func (s *PutBucketWebsiteResponse) SetStatusCode(v int32) *PutBucketWebsiteResponse { + s.StatusCode = &v + return s +} + +type PutCnameRequest struct { + // The container that stores the CNAME record. + Body *BucketCnameConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutCnameRequest) String() string { + return tea.Prettify(s) +} + +func (s PutCnameRequest) GoString() string { + return s.String() +} + +func (s *PutCnameRequest) SetBody(v *BucketCnameConfiguration) *PutCnameRequest { + s.Body = v + return s +} + +type PutCnameResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutCnameResponse) String() string { + return tea.Prettify(s) +} + +func (s PutCnameResponse) GoString() string { + return s.String() +} + +func (s *PutCnameResponse) SetHeaders(v map[string]*string) *PutCnameResponse { + s.Headers = v + return s +} + +func (s *PutCnameResponse) SetStatusCode(v int32) *PutCnameResponse { + s.StatusCode = &v + return s +} + +type PutLiveChannelRequest struct { + // The container that stores the configurations of the LiveChannel. + Body *LiveChannelConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutLiveChannelRequest) String() string { + return tea.Prettify(s) +} + +func (s PutLiveChannelRequest) GoString() string { + return s.String() +} + +func (s *PutLiveChannelRequest) SetBody(v *LiveChannelConfiguration) *PutLiveChannelRequest { + s.Body = v + return s +} + +type PutLiveChannelResponseBody struct { + // The container that stores the URL used to play the streams ingested to the LiveChannel. + PlayUrls *LiveChannelPlayUrls `json:"PlayUrls,omitempty" xml:"PlayUrls,omitempty"` + // The container that stores the URL used to ingest streams to the LiveChannel. + PublishUrls *LiveChannelPublishUrls `json:"PublishUrls,omitempty" xml:"PublishUrls,omitempty"` +} + +func (s PutLiveChannelResponseBody) String() string { + return tea.Prettify(s) +} + +func (s PutLiveChannelResponseBody) GoString() string { + return s.String() +} + +func (s *PutLiveChannelResponseBody) SetPlayUrls(v *LiveChannelPlayUrls) *PutLiveChannelResponseBody { + s.PlayUrls = v + return s +} + +func (s *PutLiveChannelResponseBody) SetPublishUrls(v *LiveChannelPublishUrls) *PutLiveChannelResponseBody { + s.PublishUrls = v + return s +} + +type PutLiveChannelResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *PutLiveChannelResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutLiveChannelResponse) String() string { + return tea.Prettify(s) +} + +func (s PutLiveChannelResponse) GoString() string { + return s.String() +} + +func (s *PutLiveChannelResponse) SetHeaders(v map[string]*string) *PutLiveChannelResponse { + s.Headers = v + return s +} + +func (s *PutLiveChannelResponse) SetStatusCode(v int32) *PutLiveChannelResponse { + s.StatusCode = &v + return s +} + +func (s *PutLiveChannelResponse) SetBody(v *PutLiveChannelResponseBody) *PutLiveChannelResponse { + s.Body = v + return s +} + +type PutLiveChannelStatusRequest struct { + // The status of the LiveChannel. + // Valid values: + // - enabled: enables the LiveChannel. + // - disabled: disables the LiveChannel. + Status *string `json:"status,omitempty" xml:"status,omitempty"` +} + +func (s PutLiveChannelStatusRequest) String() string { + return tea.Prettify(s) +} + +func (s PutLiveChannelStatusRequest) GoString() string { + return s.String() +} + +func (s *PutLiveChannelStatusRequest) SetStatus(v string) *PutLiveChannelStatusRequest { + s.Status = &v + return s +} + +type PutLiveChannelStatusResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutLiveChannelStatusResponse) String() string { + return tea.Prettify(s) +} + +func (s PutLiveChannelStatusResponse) GoString() string { + return s.String() +} + +func (s *PutLiveChannelStatusResponse) SetHeaders(v map[string]*string) *PutLiveChannelStatusResponse { + s.Headers = v + return s +} + +func (s *PutLiveChannelStatusResponse) SetStatusCode(v int32) *PutLiveChannelStatusResponse { + s.StatusCode = &v + return s +} + +type PutObjectHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + // Specifies whether the object that is uploaded by calling the PutObject operation overwrites the existing object that has the same name. When versioning is enabled or suspended for the bucket to which you want to upload the object, the **x-oss-forbid-overwrite** header does not take effect. In this case, the object that is uploaded by calling the PutObject operation overwrites the existing object that has the same name. + // - If you do not specify the **x-oss-forbid-overwrite** header or set the **x-oss-forbid-overwrite** header to **false**, the object that is uploaded by calling the PutObject operation overwrites the existing object that has the same name. + // - If the value of **x-oss-forbid-overwrite** is set to **true**, existing objects cannot be overwritten by objects that have the same names. + // + // If you specify the **x-oss-forbid-overwrite** request header, the queries per second (QPS) performance of OSS is degraded. If you want to use the **x-oss-forbid-overwrite** request header to perform a large number of operations (QPS greater than 1,000), contact technical support. + // Default value: **false**. + XOssForbidOverwrite *bool `json:"x-oss-forbid-overwrite,omitempty" xml:"x-oss-forbid-overwrite,omitempty"` + // If the PutObject request contains a parameter prefixed with **x-oss-meta-***, the parameter is considered as the user metadata. Example: `x-oss-meta-location`. You can specify multiple similar headers for an object. However, the user metadata of an object cannot exceed 8 KB in size. + // + // The names of user metadata headers can contain letters, digits, and hyphens (-). Uppercase letters are converted to lowercase letters. Other characters such as underscores (_) are not supported. + XOssMeta map[string]*string `json:"x-oss-meta-*,omitempty" xml:"x-oss-meta-*,omitempty"` + // The access control list (ACL) of the object. Default value: default. + // Valid values: + // + // - default: The ACL of the object is the same as that of the bucket in which the object is stored. + // - private: The ACL of the object is private. Only the owner of the object and authorized users can read and write this object. + // - public-read: The ACL of the object is public-read. Only the owner of the object and authorized users can read and write this object. Other users can only read the object. Exercise caution when you set the object ACL to this value. + // - public-read-write: The ACL of the object is public-read-write. All users can read and write this object. Exercise caution when you set the object ACL to this value. + // + // For more information about the ACL, see **[ACL](~~100676~~)**. + XOssObjectAcl *string `json:"x-oss-object-acl,omitempty" xml:"x-oss-object-acl,omitempty"` + // The encryption method on the server side when an object is created. + // + // Valid values: **AES256**, **KMS**, and **SM4**. + // + // If you specify the header, the header is returned in the response. OSS uses the method that is specified by this header to encrypt the uploaded object. When you download the encrypted object, the **x-oss-server-side-encryption** header is included in the response and the header value is set to the algorithm that is used to encrypt the object. + XOssServerSideDataEncryption *string `json:"x-oss-server-side-data-encryption,omitempty" xml:"x-oss-server-side-data-encryption,omitempty"` + // The method that is used to encrypt the object on the OSS server when the object is created. + // + // Valid values: **AES256**, **KMS**, and **SM4****. + // + // If you specify the header, the header is returned in the response. OSS uses the method that is specified by this header to encrypt the uploaded object. When you download the encrypted object, the **x-oss-server-side-encryption** header is included in the response and the header value is set to the algorithm that is used to encrypt the object. + XOssServerSideEncryption *string `json:"x-oss-server-side-encryption,omitempty" xml:"x-oss-server-side-encryption,omitempty"` + // The ID of the customer master key (CMK) managed by Key Management Service (KMS). + // This header is valid only when the **x-oss-server-side-encryption** header is set to KMS. + XOssServerSideEncryptionKeyId *string `json:"x-oss-server-side-encryption-key-id,omitempty" xml:"x-oss-server-side-encryption-key-id,omitempty"` + // The storage class of the bucket. Default value: Standard. Valid values: + // + // - Standard + // - IA + // - Archive + // - ColdArchive + XOssStorageClass *string `json:"x-oss-storage-class,omitempty" xml:"x-oss-storage-class,omitempty"` + // The tag of the object. You can configure multiple tags for the object. Example: TagA=A&TagB=B. + // > The key and value of a tag must be URL-encoded. If a tag does not contain an equal sign (=), the value of the tag is considered an empty string. + XOssTagging *string `json:"x-oss-tagging,omitempty" xml:"x-oss-tagging,omitempty"` +} + +func (s PutObjectHeaders) String() string { + return tea.Prettify(s) +} + +func (s PutObjectHeaders) GoString() string { + return s.String() +} + +func (s *PutObjectHeaders) SetCommonHeaders(v map[string]*string) *PutObjectHeaders { + s.CommonHeaders = v + return s +} + +func (s *PutObjectHeaders) SetXOssForbidOverwrite(v bool) *PutObjectHeaders { + s.XOssForbidOverwrite = &v + return s +} + +func (s *PutObjectHeaders) SetXOssMeta(v map[string]*string) *PutObjectHeaders { + s.XOssMeta = v + return s +} + +func (s *PutObjectHeaders) SetXOssObjectAcl(v string) *PutObjectHeaders { + s.XOssObjectAcl = &v + return s +} + +func (s *PutObjectHeaders) SetXOssServerSideDataEncryption(v string) *PutObjectHeaders { + s.XOssServerSideDataEncryption = &v + return s +} + +func (s *PutObjectHeaders) SetXOssServerSideEncryption(v string) *PutObjectHeaders { + s.XOssServerSideEncryption = &v + return s +} + +func (s *PutObjectHeaders) SetXOssServerSideEncryptionKeyId(v string) *PutObjectHeaders { + s.XOssServerSideEncryptionKeyId = &v + return s +} + +func (s *PutObjectHeaders) SetXOssStorageClass(v string) *PutObjectHeaders { + s.XOssStorageClass = &v + return s +} + +func (s *PutObjectHeaders) SetXOssTagging(v string) *PutObjectHeaders { + s.XOssTagging = &v + return s +} + +type PutObjectRequest struct { + // The body of the request. + Body io.Reader `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutObjectRequest) String() string { + return tea.Prettify(s) +} + +func (s PutObjectRequest) GoString() string { + return s.String() +} + +func (s *PutObjectRequest) SetBody(v io.Reader) *PutObjectRequest { + s.Body = v + return s +} + +type PutObjectResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutObjectResponse) String() string { + return tea.Prettify(s) +} + +func (s PutObjectResponse) GoString() string { + return s.String() +} + +func (s *PutObjectResponse) SetHeaders(v map[string]*string) *PutObjectResponse { + s.Headers = v + return s +} + +func (s *PutObjectResponse) SetStatusCode(v int32) *PutObjectResponse { + s.StatusCode = &v + return s +} + +type PutObjectAclHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + // The name of the bucket. + XOssObjectAcl *string `json:"x-oss-object-acl,omitempty" xml:"x-oss-object-acl,omitempty"` +} + +func (s PutObjectAclHeaders) String() string { + return tea.Prettify(s) +} + +func (s PutObjectAclHeaders) GoString() string { + return s.String() +} + +func (s *PutObjectAclHeaders) SetCommonHeaders(v map[string]*string) *PutObjectAclHeaders { + s.CommonHeaders = v + return s +} + +func (s *PutObjectAclHeaders) SetXOssObjectAcl(v string) *PutObjectAclHeaders { + s.XOssObjectAcl = &v + return s +} + +type PutObjectAclRequest struct { + // The full path of the object. + VersionId *string `json:"versionId,omitempty" xml:"versionId,omitempty"` +} + +func (s PutObjectAclRequest) String() string { + return tea.Prettify(s) +} + +func (s PutObjectAclRequest) GoString() string { + return s.String() +} + +func (s *PutObjectAclRequest) SetVersionId(v string) *PutObjectAclRequest { + s.VersionId = &v + return s +} + +type PutObjectAclResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutObjectAclResponse) String() string { + return tea.Prettify(s) +} + +func (s PutObjectAclResponse) GoString() string { + return s.String() +} + +func (s *PutObjectAclResponse) SetHeaders(v map[string]*string) *PutObjectAclResponse { + s.Headers = v + return s +} + +func (s *PutObjectAclResponse) SetStatusCode(v int32) *PutObjectAclResponse { + s.StatusCode = &v + return s +} + +type PutObjectTaggingRequest struct { + // The container used to store Tagset. + Body *Tagging `json:"body,omitempty" xml:"body,omitempty"` + // The ID of the version. + VersionId *string `json:"versionId,omitempty" xml:"versionId,omitempty"` +} + +func (s PutObjectTaggingRequest) String() string { + return tea.Prettify(s) +} + +func (s PutObjectTaggingRequest) GoString() string { + return s.String() +} + +func (s *PutObjectTaggingRequest) SetBody(v *Tagging) *PutObjectTaggingRequest { + s.Body = v + return s +} + +func (s *PutObjectTaggingRequest) SetVersionId(v string) *PutObjectTaggingRequest { + s.VersionId = &v + return s +} + +type PutObjectTaggingResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutObjectTaggingResponse) String() string { + return tea.Prettify(s) +} + +func (s PutObjectTaggingResponse) GoString() string { + return s.String() +} + +func (s *PutObjectTaggingResponse) SetHeaders(v map[string]*string) *PutObjectTaggingResponse { + s.Headers = v + return s +} + +func (s *PutObjectTaggingResponse) SetStatusCode(v int32) *PutObjectTaggingResponse { + s.StatusCode = &v + return s +} + +type PutPublicAccessBlockRequest struct { + Body *PublicAccessBlockConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutPublicAccessBlockRequest) String() string { + return tea.Prettify(s) +} + +func (s PutPublicAccessBlockRequest) GoString() string { + return s.String() +} + +func (s *PutPublicAccessBlockRequest) SetBody(v *PublicAccessBlockConfiguration) *PutPublicAccessBlockRequest { + s.Body = v + return s +} + +type PutPublicAccessBlockResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutPublicAccessBlockResponse) String() string { + return tea.Prettify(s) +} + +func (s PutPublicAccessBlockResponse) GoString() string { + return s.String() +} + +func (s *PutPublicAccessBlockResponse) SetHeaders(v map[string]*string) *PutPublicAccessBlockResponse { + s.Headers = v + return s +} + +func (s *PutPublicAccessBlockResponse) SetStatusCode(v int32) *PutPublicAccessBlockResponse { + s.StatusCode = &v + return s +} + +type PutStyleRequest struct { + // The container that stores the content information about the image style. + Body *Style `json:"body,omitempty" xml:"body,omitempty"` + // The name of the image style. + StyleName *string `json:"styleName,omitempty" xml:"styleName,omitempty"` +} + +func (s PutStyleRequest) String() string { + return tea.Prettify(s) +} + +func (s PutStyleRequest) GoString() string { + return s.String() +} + +func (s *PutStyleRequest) SetBody(v *Style) *PutStyleRequest { + s.Body = v + return s +} + +func (s *PutStyleRequest) SetStyleName(v string) *PutStyleRequest { + s.StyleName = &v + return s +} + +type PutStyleResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutStyleResponse) String() string { + return tea.Prettify(s) +} + +func (s PutStyleResponse) GoString() string { + return s.String() +} + +func (s *PutStyleResponse) SetHeaders(v map[string]*string) *PutStyleResponse { + s.Headers = v + return s +} + +func (s *PutStyleResponse) SetStatusCode(v int32) *PutStyleResponse { + s.StatusCode = &v + return s +} + +type PutSymlinkHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + // Specifies whether the PutSymlink operation overwrites the object that has the same name as that of the symbolic link you want to create. + // - If the value of **x-oss-forbid-overwrite** is not specified or set to **false**, existing objects can be overwritten by objects that have the same names. + // - If the value of **x-oss-forbid-overwrite** is set to **true**, existing objects cannot be overwritten by objects that have the same names. + // + // If you specify the **x-oss-forbid-overwrite** request header, the queries per second (QPS) performance of OSS is degraded. If you want to use the **x-oss-forbid-overwrite** request header to perform a large number of operations (QPS greater than 1,000), contact technical support. + // > The **x-oss-forbid-overwrite** request header is invalid when versioning is enabled or suspended for the destination bucket. In this case, the object with the same name can be overwritten. + XOssForbidOverwrite *string `json:"x-oss-forbid-overwrite,omitempty" xml:"x-oss-forbid-overwrite,omitempty"` + // The access control list (ACL) of the object. Default value: default. + // Valid values: + // + // - default: The ACL of the object is the same as that of the bucket in which the object is stored. + // - private: The ACL of the object is private. Only the owner of the object and authorized users can read and write this object. + // - public-read: The ACL of the object is public-read. Only the owner of the object and authorized users can read and write this object. Other users can only read the object. Exercise caution when you set the object ACL to this value. + // - public-read-write: The ACL of the object is public-read-write. All users can read and write this object. Exercise caution when you set the object ACL to this value. + // + // For more information about the ACL, see **[ACL](~~100676~~)**. + XOssObjectAcl *string `json:"x-oss-object-acl,omitempty" xml:"x-oss-object-acl,omitempty"` + // The storage class of the bucket. Default value: Standard. Valid values: + // + // - Standard + // - IA + // - Archive + // - ColdArchive + XOssStorageClass *string `json:"x-oss-storage-class,omitempty" xml:"x-oss-storage-class,omitempty"` + // The target object to which the symbolic link points. + // The naming conventions for target objects are the same as those for objects. + // - Similar to ObjectName, TargetObjectName must be URL-encoded. + // - The target object to which a symbolic link points cannot be a symbolic link. + XOssSymlinkTarget *string `json:"x-oss-symlink-target,omitempty" xml:"x-oss-symlink-target,omitempty"` +} + +func (s PutSymlinkHeaders) String() string { + return tea.Prettify(s) +} + +func (s PutSymlinkHeaders) GoString() string { + return s.String() +} + +func (s *PutSymlinkHeaders) SetCommonHeaders(v map[string]*string) *PutSymlinkHeaders { + s.CommonHeaders = v + return s +} + +func (s *PutSymlinkHeaders) SetXOssForbidOverwrite(v string) *PutSymlinkHeaders { + s.XOssForbidOverwrite = &v + return s +} + +func (s *PutSymlinkHeaders) SetXOssObjectAcl(v string) *PutSymlinkHeaders { + s.XOssObjectAcl = &v + return s +} + +func (s *PutSymlinkHeaders) SetXOssStorageClass(v string) *PutSymlinkHeaders { + s.XOssStorageClass = &v + return s +} + +func (s *PutSymlinkHeaders) SetXOssSymlinkTarget(v string) *PutSymlinkHeaders { + s.XOssSymlinkTarget = &v + return s +} + +type PutSymlinkResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutSymlinkResponse) String() string { + return tea.Prettify(s) +} + +func (s PutSymlinkResponse) GoString() string { + return s.String() +} + +func (s *PutSymlinkResponse) SetHeaders(v map[string]*string) *PutSymlinkResponse { + s.Headers = v + return s +} + +func (s *PutSymlinkResponse) SetStatusCode(v int32) *PutSymlinkResponse { + s.StatusCode = &v + return s +} + +type PutUserDefinedLogFieldsConfigRequest struct { + Body *UserDefinedLogFieldsConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s PutUserDefinedLogFieldsConfigRequest) String() string { + return tea.Prettify(s) +} + +func (s PutUserDefinedLogFieldsConfigRequest) GoString() string { + return s.String() +} + +func (s *PutUserDefinedLogFieldsConfigRequest) SetBody(v *UserDefinedLogFieldsConfiguration) *PutUserDefinedLogFieldsConfigRequest { + s.Body = v + return s +} + +type PutUserDefinedLogFieldsConfigResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s PutUserDefinedLogFieldsConfigResponse) String() string { + return tea.Prettify(s) +} + +func (s PutUserDefinedLogFieldsConfigResponse) GoString() string { + return s.String() +} + +func (s *PutUserDefinedLogFieldsConfigResponse) SetHeaders(v map[string]*string) *PutUserDefinedLogFieldsConfigResponse { + s.Headers = v + return s +} + +func (s *PutUserDefinedLogFieldsConfigResponse) SetStatusCode(v int32) *PutUserDefinedLogFieldsConfigResponse { + s.StatusCode = &v + return s +} + +type RestoreObjectRequest struct { + // Request information of the restoration. + Body *RestoreRequest `json:"body,omitempty" xml:"body,omitempty"` + // The version number of the object that you want to restore. + VersionId *string `json:"versionId,omitempty" xml:"versionId,omitempty"` +} + +func (s RestoreObjectRequest) String() string { + return tea.Prettify(s) +} + +func (s RestoreObjectRequest) GoString() string { + return s.String() +} + +func (s *RestoreObjectRequest) SetBody(v *RestoreRequest) *RestoreObjectRequest { + s.Body = v + return s +} + +func (s *RestoreObjectRequest) SetVersionId(v string) *RestoreObjectRequest { + s.VersionId = &v + return s +} + +type RestoreObjectResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s RestoreObjectResponse) String() string { + return tea.Prettify(s) +} + +func (s RestoreObjectResponse) GoString() string { + return s.String() +} + +func (s *RestoreObjectResponse) SetHeaders(v map[string]*string) *RestoreObjectResponse { + s.Headers = v + return s +} + +func (s *RestoreObjectResponse) SetStatusCode(v int32) *RestoreObjectResponse { + s.StatusCode = &v + return s +} + +type SelectObjectRequest struct { + // The container that stores the SelectObject request. + Body *SelectRequest `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s SelectObjectRequest) String() string { + return tea.Prettify(s) +} + +func (s SelectObjectRequest) GoString() string { + return s.String() +} + +func (s *SelectObjectRequest) SetBody(v *SelectRequest) *SelectObjectRequest { + s.Body = v + return s +} + +type SelectObjectResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body io.Reader `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s SelectObjectResponse) String() string { + return tea.Prettify(s) +} + +func (s SelectObjectResponse) GoString() string { + return s.String() +} + +func (s *SelectObjectResponse) SetHeaders(v map[string]*string) *SelectObjectResponse { + s.Headers = v + return s +} + +func (s *SelectObjectResponse) SetStatusCode(v int32) *SelectObjectResponse { + s.StatusCode = &v + return s +} + +func (s *SelectObjectResponse) SetBody(v io.Reader) *SelectObjectResponse { + s.Body = v + return s +} + +type UpdateBucketAntiDDosInfoHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + // The Anti-DDoS instance ID. + XOssDefenderInstance *string `json:"x-oss-defender-instance,omitempty" xml:"x-oss-defender-instance,omitempty"` + // The new status of the Anti-DDoS instance. Valid values: + // + // * Init: You must specify the custom domain name that you want to protect. + // * Defending: You can select whether to specify the custom domain name that you want to protect. + // * HaltDefending: You do not need to specify the custom domain name that you want to protect. + XOssDefenderStatus *string `json:"x-oss-defender-status,omitempty" xml:"x-oss-defender-status,omitempty"` +} + +func (s UpdateBucketAntiDDosInfoHeaders) String() string { + return tea.Prettify(s) +} + +func (s UpdateBucketAntiDDosInfoHeaders) GoString() string { + return s.String() +} + +func (s *UpdateBucketAntiDDosInfoHeaders) SetCommonHeaders(v map[string]*string) *UpdateBucketAntiDDosInfoHeaders { + s.CommonHeaders = v + return s +} + +func (s *UpdateBucketAntiDDosInfoHeaders) SetXOssDefenderInstance(v string) *UpdateBucketAntiDDosInfoHeaders { + s.XOssDefenderInstance = &v + return s +} + +func (s *UpdateBucketAntiDDosInfoHeaders) SetXOssDefenderStatus(v string) *UpdateBucketAntiDDosInfoHeaders { + s.XOssDefenderStatus = &v + return s +} + +type UpdateBucketAntiDDosInfoRequest struct { + // The container that stores the configurations of the Anti-DDoS instance. + Body *BucketAntiDDOSConfiguration `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s UpdateBucketAntiDDosInfoRequest) String() string { + return tea.Prettify(s) +} + +func (s UpdateBucketAntiDDosInfoRequest) GoString() string { + return s.String() +} + +func (s *UpdateBucketAntiDDosInfoRequest) SetBody(v *BucketAntiDDOSConfiguration) *UpdateBucketAntiDDosInfoRequest { + s.Body = v + return s +} + +type UpdateBucketAntiDDosInfoResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s UpdateBucketAntiDDosInfoResponse) String() string { + return tea.Prettify(s) +} + +func (s UpdateBucketAntiDDosInfoResponse) GoString() string { + return s.String() +} + +func (s *UpdateBucketAntiDDosInfoResponse) SetHeaders(v map[string]*string) *UpdateBucketAntiDDosInfoResponse { + s.Headers = v + return s +} + +func (s *UpdateBucketAntiDDosInfoResponse) SetStatusCode(v int32) *UpdateBucketAntiDDosInfoResponse { + s.StatusCode = &v + return s +} + +type UpdateUserAntiDDosInfoHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + // The Anti-DDoS instance ID. + XOssDefenderInstance *string `json:"x-oss-defender-instance,omitempty" xml:"x-oss-defender-instance,omitempty"` + // The new status of the Anti-DDoS instance. Set the value to HaltDefending, which indicates that the Anti-DDos protection is disabled for a bucket. + XOssDefenderStatus *string `json:"x-oss-defender-status,omitempty" xml:"x-oss-defender-status,omitempty"` +} + +func (s UpdateUserAntiDDosInfoHeaders) String() string { + return tea.Prettify(s) +} + +func (s UpdateUserAntiDDosInfoHeaders) GoString() string { + return s.String() +} + +func (s *UpdateUserAntiDDosInfoHeaders) SetCommonHeaders(v map[string]*string) *UpdateUserAntiDDosInfoHeaders { + s.CommonHeaders = v + return s +} + +func (s *UpdateUserAntiDDosInfoHeaders) SetXOssDefenderInstance(v string) *UpdateUserAntiDDosInfoHeaders { + s.XOssDefenderInstance = &v + return s +} + +func (s *UpdateUserAntiDDosInfoHeaders) SetXOssDefenderStatus(v string) *UpdateUserAntiDDosInfoHeaders { + s.XOssDefenderStatus = &v + return s +} + +type UpdateUserAntiDDosInfoResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s UpdateUserAntiDDosInfoResponse) String() string { + return tea.Prettify(s) +} + +func (s UpdateUserAntiDDosInfoResponse) GoString() string { + return s.String() +} + +func (s *UpdateUserAntiDDosInfoResponse) SetHeaders(v map[string]*string) *UpdateUserAntiDDosInfoResponse { + s.Headers = v + return s +} + +func (s *UpdateUserAntiDDosInfoResponse) SetStatusCode(v int32) *UpdateUserAntiDDosInfoResponse { + s.StatusCode = &v + return s +} + +type UploadPartRequest struct { + // The request body. + Body io.Reader `json:"body,omitempty" xml:"body,omitempty"` + // The number that identifies a part. + // + // Valid values: 1 to 10000. + // + // The size of a part ranges from 100 KB to 5 GB. + // > In multipart upload, each part except the last part must be larger than or equal to 100 KB in size. When you call the UploadPart operation, the size of each part is not verified because not all parts have been uploaded and OSS does not know which part is the last part. The size of each part is verified only when you call CompleteMultipartUpload. + PartNumber *int64 `json:"partNumber,omitempty" xml:"partNumber,omitempty"` + // The ID that identifies the object to which the part that you want to upload belongs. + UploadId *string `json:"uploadId,omitempty" xml:"uploadId,omitempty"` +} + +func (s UploadPartRequest) String() string { + return tea.Prettify(s) +} + +func (s UploadPartRequest) GoString() string { + return s.String() +} + +func (s *UploadPartRequest) SetBody(v io.Reader) *UploadPartRequest { + s.Body = v + return s +} + +func (s *UploadPartRequest) SetPartNumber(v int64) *UploadPartRequest { + s.PartNumber = &v + return s +} + +func (s *UploadPartRequest) SetUploadId(v string) *UploadPartRequest { + s.UploadId = &v + return s +} + +type UploadPartResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s UploadPartResponse) String() string { + return tea.Prettify(s) +} + +func (s UploadPartResponse) GoString() string { + return s.String() +} + +func (s *UploadPartResponse) SetHeaders(v map[string]*string) *UploadPartResponse { + s.Headers = v + return s +} + +func (s *UploadPartResponse) SetStatusCode(v int32) *UploadPartResponse { + s.StatusCode = &v + return s +} + +type UploadPartCopyHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + // The address to access the source object. You must have permissions to read the source object. + //
Default value: null + XOssCopySource *string `json:"x-oss-copy-source,omitempty" xml:"x-oss-copy-source,omitempty"` + // The copy operation condition. If the ETag value of the source object is the same as the ETag value provided by the user, OSS copies data. Otherwise, OSS returns 412 Precondition Failed. + //
Default value: null + XOssCopySourceIfMatch *string `json:"x-oss-copy-source-if-match,omitempty" xml:"x-oss-copy-source-if-match,omitempty"` + // The object transfer condition. If the specified time is earlier than the actual modified time of the object, the system transfers the object normally and returns 200 OK. Otherwise, OSS returns 304 Not Modified. + //
Default value: null + //
Time format: ddd, dd MMM yyyy HH:mm:ss GMT. Example: Fri, 13 Nov 2015 14:47:53 GMT. + XOssCopySourceIfModifiedSince *string `json:"x-oss-copy-source-if-modified-since,omitempty" xml:"x-oss-copy-source-if-modified-since,omitempty"` + // The object transfer condition. If the input ETag value does not match the ETag value of the object, the system transfers the object normally and returns 200 OK. Otherwise, OSS returns 304 Not Modified. + //
Default value: null + XOssCopySourceIfNoneMatch *string `json:"x-oss-copy-source-if-none-match,omitempty" xml:"x-oss-copy-source-if-none-match,omitempty"` + // The object transfer condition. If the specified time is the same as or later than the actual modified time of the object, OSS transfers the object normally and returns 200 OK. Otherwise, OSS returns 412 Precondition Failed. + //
Default value: null + XOssCopySourceIfUnmodifiedSince *string `json:"x-oss-copy-source-if-unmodified-since,omitempty" xml:"x-oss-copy-source-if-unmodified-since,omitempty"` + // The range of bytes to copy data from the source object. For example, if you specify bytes to 0 to 9, the system transfers byte 0 to byte 9, a total of 10 bytes. + //
Default value: null + // + // - If the x-oss-copy-source-range request header is not specified, the entire source object is copied. + // - If the x-oss-copy-source-range request header is specified, the response contains the length of the entire object and the range of bytes to be copied for this operation. For example, Content-Range: bytes 0~9/44 indicates that the length of the entire object is 44 bytes. The range of bytes to be copied is byte 0 to byte 9. + // - If the specified range does not conform to the range conventions, OSS copies the entire object and does not include Content-Range in the response. + XOssCopySourceRange *string `json:"x-oss-copy-source-range,omitempty" xml:"x-oss-copy-source-range,omitempty"` +} + +func (s UploadPartCopyHeaders) String() string { + return tea.Prettify(s) +} + +func (s UploadPartCopyHeaders) GoString() string { + return s.String() +} + +func (s *UploadPartCopyHeaders) SetCommonHeaders(v map[string]*string) *UploadPartCopyHeaders { + s.CommonHeaders = v + return s +} + +func (s *UploadPartCopyHeaders) SetXOssCopySource(v string) *UploadPartCopyHeaders { + s.XOssCopySource = &v + return s +} + +func (s *UploadPartCopyHeaders) SetXOssCopySourceIfMatch(v string) *UploadPartCopyHeaders { + s.XOssCopySourceIfMatch = &v + return s +} + +func (s *UploadPartCopyHeaders) SetXOssCopySourceIfModifiedSince(v string) *UploadPartCopyHeaders { + s.XOssCopySourceIfModifiedSince = &v + return s +} + +func (s *UploadPartCopyHeaders) SetXOssCopySourceIfNoneMatch(v string) *UploadPartCopyHeaders { + s.XOssCopySourceIfNoneMatch = &v + return s +} + +func (s *UploadPartCopyHeaders) SetXOssCopySourceIfUnmodifiedSince(v string) *UploadPartCopyHeaders { + s.XOssCopySourceIfUnmodifiedSince = &v + return s +} + +func (s *UploadPartCopyHeaders) SetXOssCopySourceRange(v string) *UploadPartCopyHeaders { + s.XOssCopySourceRange = &v + return s +} + +type UploadPartCopyRequest struct { + // The number of parts. + PartNumber *int64 `json:"partNumber,omitempty" xml:"partNumber,omitempty"` + // The ID that identifies the object to which the parts to upload belong. + UploadId *string `json:"uploadId,omitempty" xml:"uploadId,omitempty"` +} + +func (s UploadPartCopyRequest) String() string { + return tea.Prettify(s) +} + +func (s UploadPartCopyRequest) GoString() string { + return s.String() +} + +func (s *UploadPartCopyRequest) SetPartNumber(v int64) *UploadPartCopyRequest { + s.PartNumber = &v + return s +} + +func (s *UploadPartCopyRequest) SetUploadId(v string) *UploadPartCopyRequest { + s.UploadId = &v + return s +} + +type UploadPartCopyResponseBody struct { + // The ETag that is generated when an object is created. ETags are used to identify the content of objects. + //
If an object is created by calling the CompleteMultipartUpload operation, the ETag value is not the MD5 hash of the object content but a unique value calculated based on a specific rule. + // >The ETag value of the object can be used to check whether the object content is modified. However, we recommend that you use the MD5 hash of an object rather than the ETag value of the object to verify data integrity. + ETag *string `json:"ETag,omitempty" xml:"ETag,omitempty"` + // The time when the object was last modified. + LastModified *string `json:"LastModified,omitempty" xml:"LastModified,omitempty"` +} + +func (s UploadPartCopyResponseBody) String() string { + return tea.Prettify(s) +} + +func (s UploadPartCopyResponseBody) GoString() string { + return s.String() +} + +func (s *UploadPartCopyResponseBody) SetETag(v string) *UploadPartCopyResponseBody { + s.ETag = &v + return s +} + +func (s *UploadPartCopyResponseBody) SetLastModified(v string) *UploadPartCopyResponseBody { + s.LastModified = &v + return s +} + +type UploadPartCopyResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *UploadPartCopyResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s UploadPartCopyResponse) String() string { + return tea.Prettify(s) +} + +func (s UploadPartCopyResponse) GoString() string { + return s.String() +} + +func (s *UploadPartCopyResponse) SetHeaders(v map[string]*string) *UploadPartCopyResponse { + s.Headers = v + return s +} + +func (s *UploadPartCopyResponse) SetStatusCode(v int32) *UploadPartCopyResponse { + s.StatusCode = &v + return s +} + +func (s *UploadPartCopyResponse) SetBody(v *UploadPartCopyResponseBody) *UploadPartCopyResponse { + s.Body = v + return s +} + +type WriteGetObjectResponseHeaders struct { + CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` + ContentLength *int64 `json:"Content-Length,omitempty" xml:"Content-Length,omitempty"` + XOssFwdHeaderAcceptRanges *string `json:"x-oss-fwd-header-Accept-Ranges,omitempty" xml:"x-oss-fwd-header-Accept-Ranges,omitempty"` + XOssFwdHeaderCacheControl *string `json:"x-oss-fwd-header-Cache-Control,omitempty" xml:"x-oss-fwd-header-Cache-Control,omitempty"` + XOssFwdHeaderContentDisposition *string `json:"x-oss-fwd-header-Content-Disposition,omitempty" xml:"x-oss-fwd-header-Content-Disposition,omitempty"` + XOssFwdHeaderContentEncoding *string `json:"x-oss-fwd-header-Content-Encoding,omitempty" xml:"x-oss-fwd-header-Content-Encoding,omitempty"` + XOssFwdHeaderContentLanguage *string `json:"x-oss-fwd-header-Content-Language,omitempty" xml:"x-oss-fwd-header-Content-Language,omitempty"` + XOssFwdHeaderContentRange *string `json:"x-oss-fwd-header-Content-Range,omitempty" xml:"x-oss-fwd-header-Content-Range,omitempty"` + XOssFwdHeaderContentType *string `json:"x-oss-fwd-header-Content-Type,omitempty" xml:"x-oss-fwd-header-Content-Type,omitempty"` + XOssFwdHeaderETag *string `json:"x-oss-fwd-header-ETag,omitempty" xml:"x-oss-fwd-header-ETag,omitempty"` + XOssFwdHeaderExpires *string `json:"x-oss-fwd-header-Expires,omitempty" xml:"x-oss-fwd-header-Expires,omitempty"` + XOssFwdHeaderLastModified *string `json:"x-oss-fwd-header-Last-Modified,omitempty" xml:"x-oss-fwd-header-Last-Modified,omitempty"` + XOssFwdStatus *string `json:"x-oss-fwd-status,omitempty" xml:"x-oss-fwd-status,omitempty"` + XOssRequestRoute *string `json:"x-oss-request-route,omitempty" xml:"x-oss-request-route,omitempty"` + XOssRequestToken *string `json:"x-oss-request-token,omitempty" xml:"x-oss-request-token,omitempty"` +} + +func (s WriteGetObjectResponseHeaders) String() string { + return tea.Prettify(s) +} + +func (s WriteGetObjectResponseHeaders) GoString() string { + return s.String() +} + +func (s *WriteGetObjectResponseHeaders) SetCommonHeaders(v map[string]*string) *WriteGetObjectResponseHeaders { + s.CommonHeaders = v + return s +} + +func (s *WriteGetObjectResponseHeaders) SetContentLength(v int64) *WriteGetObjectResponseHeaders { + s.ContentLength = &v + return s +} + +func (s *WriteGetObjectResponseHeaders) SetXOssFwdHeaderAcceptRanges(v string) *WriteGetObjectResponseHeaders { + s.XOssFwdHeaderAcceptRanges = &v + return s +} + +func (s *WriteGetObjectResponseHeaders) SetXOssFwdHeaderCacheControl(v string) *WriteGetObjectResponseHeaders { + s.XOssFwdHeaderCacheControl = &v + return s +} + +func (s *WriteGetObjectResponseHeaders) SetXOssFwdHeaderContentDisposition(v string) *WriteGetObjectResponseHeaders { + s.XOssFwdHeaderContentDisposition = &v + return s +} + +func (s *WriteGetObjectResponseHeaders) SetXOssFwdHeaderContentEncoding(v string) *WriteGetObjectResponseHeaders { + s.XOssFwdHeaderContentEncoding = &v + return s +} + +func (s *WriteGetObjectResponseHeaders) SetXOssFwdHeaderContentLanguage(v string) *WriteGetObjectResponseHeaders { + s.XOssFwdHeaderContentLanguage = &v + return s +} + +func (s *WriteGetObjectResponseHeaders) SetXOssFwdHeaderContentRange(v string) *WriteGetObjectResponseHeaders { + s.XOssFwdHeaderContentRange = &v + return s +} + +func (s *WriteGetObjectResponseHeaders) SetXOssFwdHeaderContentType(v string) *WriteGetObjectResponseHeaders { + s.XOssFwdHeaderContentType = &v + return s +} + +func (s *WriteGetObjectResponseHeaders) SetXOssFwdHeaderETag(v string) *WriteGetObjectResponseHeaders { + s.XOssFwdHeaderETag = &v + return s +} + +func (s *WriteGetObjectResponseHeaders) SetXOssFwdHeaderExpires(v string) *WriteGetObjectResponseHeaders { + s.XOssFwdHeaderExpires = &v + return s +} + +func (s *WriteGetObjectResponseHeaders) SetXOssFwdHeaderLastModified(v string) *WriteGetObjectResponseHeaders { + s.XOssFwdHeaderLastModified = &v + return s +} + +func (s *WriteGetObjectResponseHeaders) SetXOssFwdStatus(v string) *WriteGetObjectResponseHeaders { + s.XOssFwdStatus = &v + return s +} + +func (s *WriteGetObjectResponseHeaders) SetXOssRequestRoute(v string) *WriteGetObjectResponseHeaders { + s.XOssRequestRoute = &v + return s +} + +func (s *WriteGetObjectResponseHeaders) SetXOssRequestToken(v string) *WriteGetObjectResponseHeaders { + s.XOssRequestToken = &v + return s +} + +type WriteGetObjectResponseResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` +} + +func (s WriteGetObjectResponseResponse) String() string { + return tea.Prettify(s) +} + +func (s WriteGetObjectResponseResponse) GoString() string { + return s.String() +} + +func (s *WriteGetObjectResponseResponse) SetHeaders(v map[string]*string) *WriteGetObjectResponseResponse { + s.Headers = v + return s +} + +func (s *WriteGetObjectResponseResponse) SetStatusCode(v int32) *WriteGetObjectResponseResponse { + s.StatusCode = &v + return s +} diff --git a/alibabacloud-gateway-oss/util/golang/go.mod b/alibabacloud-gateway-oss/util/golang/go.mod new file mode 100644 index 00000000..8c225d36 --- /dev/null +++ b/alibabacloud-gateway-oss/util/golang/go.mod @@ -0,0 +1,4 @@ +module github.com/alibabacloud-go/alibabacloud-gateway-oss-util + +require ( +) diff --git a/alibabacloud-gateway-oss/util/java/pom.xml b/alibabacloud-gateway-oss/util/java/pom.xml new file mode 100644 index 00000000..c4d6804d --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/pom.xml @@ -0,0 +1,99 @@ + + + 4.0.0 + com.aliyun + alibabacloud-gateway-oss-util + 0.0.1 + jar + + + + + + + + + + + + + + + + + + + + sonatype-nexus-snapshots + https://s01.oss.sonatype.org/content/repositories/snapshots + + + sonatype-nexus-staging + https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + + + + + + + com.aliyun + tea + 1.1.14 + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.6.1 + + 7 + 7 + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + + + sign-artifacts + verify + + sign + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.3 + true + + sonatype-nexus-staging + https://s01.oss.sonatype.org/ + true + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.1.1 + + UTF-8 + none + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.22.1 + + + + \ No newline at end of file diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/Client.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/Client.java new file mode 100644 index 00000000..144ddea3 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/Client.java @@ -0,0 +1,10 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.gateway.oss.util; + +import com.aliyun.tea.*; + +public class Client { + + public static Object parseXml(String input, String field) { + } +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AbortBucketWormResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AbortBucketWormResponse.java new file mode 100644 index 00000000..4b1226d1 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AbortBucketWormResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.gateway.oss.util.models; + +import com.aliyun.tea.*; + +public class AbortBucketWormResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static AbortBucketWormResponse build(java.util.Map map) throws Exception { + AbortBucketWormResponse self = new AbortBucketWormResponse(); + return TeaModel.build(map, self); + } + + public AbortBucketWormResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public AbortBucketWormResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AbortMultipartUploadRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AbortMultipartUploadRequest.java new file mode 100644 index 00000000..aebe3cfd --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AbortMultipartUploadRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class AbortMultipartUploadRequest extends TeaModel { + /** + *

The ID of the multipart upload task.

+ */ + @NameInMap("uploadId") + public String uploadId; + + public static AbortMultipartUploadRequest build(java.util.Map map) throws Exception { + AbortMultipartUploadRequest self = new AbortMultipartUploadRequest(); + return TeaModel.build(map, self); + } + + public AbortMultipartUploadRequest setUploadId(String uploadId) { + this.uploadId = uploadId; + return this; + } + public String getUploadId() { + return this.uploadId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AbortMultipartUploadResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AbortMultipartUploadResponse.java new file mode 100644 index 00000000..d03d4b38 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AbortMultipartUploadResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class AbortMultipartUploadResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static AbortMultipartUploadResponse build(java.util.Map map) throws Exception { + AbortMultipartUploadResponse self = new AbortMultipartUploadResponse(); + return TeaModel.build(map, self); + } + + public AbortMultipartUploadResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public AbortMultipartUploadResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AccessControlList.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AccessControlList.java new file mode 100644 index 00000000..7ce8edc7 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AccessControlList.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class AccessControlList extends TeaModel { + @NameInMap("Grant") + public String grant; + + public static AccessControlList build(java.util.Map map) throws Exception { + AccessControlList self = new AccessControlList(); + return TeaModel.build(map, self); + } + + public AccessControlList setGrant(String grant) { + this.grant = grant; + return this; + } + public String getGrant() { + return this.grant; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AccessControlPolicy.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AccessControlPolicy.java new file mode 100644 index 00000000..e45a5eb2 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AccessControlPolicy.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class AccessControlPolicy extends TeaModel { + @NameInMap("AccessControlList") + public AccessControlList accessControlList; + + @NameInMap("Owner") + public Owner owner; + + public static AccessControlPolicy build(java.util.Map map) throws Exception { + AccessControlPolicy self = new AccessControlPolicy(); + return TeaModel.build(map, self); + } + + public AccessControlPolicy setAccessControlList(AccessControlList accessControlList) { + this.accessControlList = accessControlList; + return this; + } + public AccessControlList getAccessControlList() { + return this.accessControlList; + } + + public AccessControlPolicy setOwner(Owner owner) { + this.owner = owner; + return this; + } + public Owner getOwner() { + return this.owner; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AccessMonitorConfiguration.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AccessMonitorConfiguration.java new file mode 100644 index 00000000..8622699b --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AccessMonitorConfiguration.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class AccessMonitorConfiguration extends TeaModel { + @NameInMap("Status") + public String status; + + public static AccessMonitorConfiguration build(java.util.Map map) throws Exception { + AccessMonitorConfiguration self = new AccessMonitorConfiguration(); + return TeaModel.build(map, self); + } + + public AccessMonitorConfiguration setStatus(String status) { + this.status = status; + return this; + } + public String getStatus() { + return this.status; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AccessPoint.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AccessPoint.java new file mode 100644 index 00000000..bf85109c --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AccessPoint.java @@ -0,0 +1,78 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class AccessPoint extends TeaModel { + @NameInMap("AccessPointName") + public String accessPointName; + + @NameInMap("Alias") + public String alias; + + @NameInMap("Bucket") + public String bucket; + + @NameInMap("NetworkOrigin") + public String networkOrigin; + + @NameInMap("Status") + public String status; + + @NameInMap("VpcConfiguration") + public AccessPointVpcConfiguration vpcConfiguration; + + public static AccessPoint build(java.util.Map map) throws Exception { + AccessPoint self = new AccessPoint(); + return TeaModel.build(map, self); + } + + public AccessPoint setAccessPointName(String accessPointName) { + this.accessPointName = accessPointName; + return this; + } + public String getAccessPointName() { + return this.accessPointName; + } + + public AccessPoint setAlias(String alias) { + this.alias = alias; + return this; + } + public String getAlias() { + return this.alias; + } + + public AccessPoint setBucket(String bucket) { + this.bucket = bucket; + return this; + } + public String getBucket() { + return this.bucket; + } + + public AccessPoint setNetworkOrigin(String networkOrigin) { + this.networkOrigin = networkOrigin; + return this; + } + public String getNetworkOrigin() { + return this.networkOrigin; + } + + public AccessPoint setStatus(String status) { + this.status = status; + return this; + } + public String getStatus() { + return this.status; + } + + public AccessPoint setVpcConfiguration(AccessPointVpcConfiguration vpcConfiguration) { + this.vpcConfiguration = vpcConfiguration; + return this; + } + public AccessPointVpcConfiguration getVpcConfiguration() { + return this.vpcConfiguration; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AccessPointVpcConfiguration.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AccessPointVpcConfiguration.java new file mode 100644 index 00000000..a31dafbd --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AccessPointVpcConfiguration.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class AccessPointVpcConfiguration extends TeaModel { + @NameInMap("VpcId") + public String vpcId; + + public static AccessPointVpcConfiguration build(java.util.Map map) throws Exception { + AccessPointVpcConfiguration self = new AccessPointVpcConfiguration(); + return TeaModel.build(map, self); + } + + public AccessPointVpcConfiguration setVpcId(String vpcId) { + this.vpcId = vpcId; + return this; + } + public String getVpcId() { + return this.vpcId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AppendObjectHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AppendObjectHeaders.java new file mode 100644 index 00000000..df654546 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AppendObjectHeaders.java @@ -0,0 +1,178 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class AppendObjectHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + /** + *

The web page caching behavior for the object. For more information, see **[RFC 2616](https://www.ietf.org/rfc/rfc2616.txt)**.

+ *

Default value: null.

+ */ + @NameInMap("Cache-Control") + public String cacheControl; + + /** + *

The name of the object when the object is downloaded. For more information, see **[RFC 2616](https://www.ietf.org/rfc/rfc2616.txt)**.

+ *

Default value: null.

+ */ + @NameInMap("Content-Disposition") + public String contentDisposition; + + /** + *

The encoding format of the object content. For more information, see **[RFC 2616](https://www.ietf.org/rfc/rfc2616.txt)**.

+ *

Default value: null.

+ */ + @NameInMap("Content-Encoding") + public String contentEncoding; + + /** + *

The Content-MD5 header value is a string calculated by using the MD5 algorithm. The header is used to check whether the content of the received message is the same as that of the sent message.

+ *

To obtain the value of the Content-MD5 header, calculate a 128-bit number based on the message content except for the header, and then encode the number in Base64.

+ *

Default value: null.

+ *

Limits: none.

+ */ + @NameInMap("Content-MD5") + public String contentMD5; + + /** + *

The expiration time. For more information, see **[RFC 2616](https://www.ietf.org/rfc/rfc2616.txt)**.

+ *

Default value: null.

+ */ + @NameInMap("Expires") + public String expires; + + /** + *

You can add parameters whose names are prefixed with x-oss-meta-* when you call the AppendObject operation. These parameters cannot be included in the requests when you append objects to an existing object. Parameters whose names are prefixed with x-oss-meta-* are considered the metadata of the object.

+ *

You can configure multiple parameters whose name are prefixed with x-oss-meta- for an object. However, the total size of user metadata cannot exceed 8 KB.

+ *

The name of parameters whose name are prefixed with x-oss-meta- can contain hyphens (-), numbers, and letters. Uppercase letters are converted to lowercase letters. Other characters such as underscores (_) are not supported.

+ */ + @NameInMap("x-oss-meta-*") + public java.util.Map xOssMeta; + + /** + *

The access control list (ACL) of the object. Default value: default. Valid values:

+ *
+ *

- default: The ACL of the object is the same as that of the bucket in which the object is stored.

+ *

- private: The ACL of the object is private. Only the owner of the object and authorized users can read and write this object.

+ *

- public-read: The ACL of the object is public-read. Only the owner of the object and authorized users can read and write this object. Other users can only read the object. Exercise caution when you set the object ACL to this value.

+ *

- public-read-write: The ACL of the object is public-read-write. All users can read and write this object. Exercise caution when you set the object ACL to this value.

+ *
+ *

For more information about the ACL, see [ACL](~~100676~~).

+ */ + @NameInMap("x-oss-object-acl") + public String xOssObjectAcl; + + /** + *

The method used to encrypt objects on the specified OSS server.

+ *

Valid values:

+ *
+ *

- AES256: Keys managed by OSS are used for encryption and decryption (SSE-OSS).

+ *

- KMS: Keys managed by Key Management Service (KMS) are used for encryption and decryption.

+ *

- SM4: The SM4 block cipher algorithm is used for encryption and decryption.

+ */ + @NameInMap("x-oss-server-side-encryption") + public String xOssServerSideEncryption; + + /** + *

The storage class of the object that you want to upload. Valid values:

+ *
+ *

- Standard

+ *

- IA

+ *

- Archive

+ *

If you specify the object storage class when you upload an object, the storage class of the uploaded object is the specified value regardless of the storage class of the bucket to which the object is uploaded. If you set x-oss-storage-class to Standard when you upload an object to an IA bucket, the object is stored as a Standard object.

+ *

For more information about storage classes, see the "Overview" topic in Developer Guide.

+ *
+ *

> The value that you specify takes effect only when you call the AppendObject operation on an object for the first time.

+ */ + @NameInMap("x-oss-storage-class") + public String xOssStorageClass; + + public static AppendObjectHeaders build(java.util.Map map) throws Exception { + AppendObjectHeaders self = new AppendObjectHeaders(); + return TeaModel.build(map, self); + } + + public AppendObjectHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public AppendObjectHeaders setCacheControl(String cacheControl) { + this.cacheControl = cacheControl; + return this; + } + public String getCacheControl() { + return this.cacheControl; + } + + public AppendObjectHeaders setContentDisposition(String contentDisposition) { + this.contentDisposition = contentDisposition; + return this; + } + public String getContentDisposition() { + return this.contentDisposition; + } + + public AppendObjectHeaders setContentEncoding(String contentEncoding) { + this.contentEncoding = contentEncoding; + return this; + } + public String getContentEncoding() { + return this.contentEncoding; + } + + public AppendObjectHeaders setContentMD5(String contentMD5) { + this.contentMD5 = contentMD5; + return this; + } + public String getContentMD5() { + return this.contentMD5; + } + + public AppendObjectHeaders setExpires(String expires) { + this.expires = expires; + return this; + } + public String getExpires() { + return this.expires; + } + + public AppendObjectHeaders setXOssMeta(java.util.Map xOssMeta) { + this.xOssMeta = xOssMeta; + return this; + } + public java.util.Map getXOssMeta() { + return this.xOssMeta; + } + + public AppendObjectHeaders setXOssObjectAcl(String xOssObjectAcl) { + this.xOssObjectAcl = xOssObjectAcl; + return this; + } + public String getXOssObjectAcl() { + return this.xOssObjectAcl; + } + + public AppendObjectHeaders setXOssServerSideEncryption(String xOssServerSideEncryption) { + this.xOssServerSideEncryption = xOssServerSideEncryption; + return this; + } + public String getXOssServerSideEncryption() { + return this.xOssServerSideEncryption; + } + + public AppendObjectHeaders setXOssStorageClass(String xOssStorageClass) { + this.xOssStorageClass = xOssStorageClass; + return this; + } + public String getXOssStorageClass() { + return this.xOssStorageClass; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AppendObjectRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AppendObjectRequest.java new file mode 100644 index 00000000..8341dd0e --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AppendObjectRequest.java @@ -0,0 +1,43 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class AppendObjectRequest extends TeaModel { + /** + *

The request body.

+ */ + @NameInMap("body") + public java.io.InputStream body; + + /** + *

The position from which the AppendObject operation starts. Each time an AppendObject operation succeeds, the x-oss-next-append-position header is included in the response to specify the position from which the next AppendObject operation starts. The value of position in the first AppendObject operation performed on an object must be 0. The value of position in subsequent AppendObject operations performed on the object is the current length of the object. For example, if the value of position specified in the first AppendObject request is 0 and the value of content-length is 65536, the value of position in the second AppendObject request must be 65536.

+ *
+ *

- If the value of position in the AppendObject request is 0 and the name of the object that you want to append is unique, you can set headers such as x-oss-server-side-encryption in an AppendObject request in the same way as you set in a PutObject request. If you add the x-oss-server-side-encryption header to an AppendObject request, the x-oss-server-side-encryption header is included in the response to the request. If you want to modify metadata, you can call the CopyObject operation.

+ *

- If you call an AppendObject operation to append a 0 KB object whose position value is valid to an Appendable object, the status of the Appendable object is not changed.

+ */ + @NameInMap("position") + public Long position; + + public static AppendObjectRequest build(java.util.Map map) throws Exception { + AppendObjectRequest self = new AppendObjectRequest(); + return TeaModel.build(map, self); + } + + public AppendObjectRequest setBody(java.io.InputStream body) { + this.body = body; + return this; + } + public java.io.InputStream getBody() { + return this.body; + } + + public AppendObjectRequest setPosition(Long position) { + this.position = position; + return this; + } + public Long getPosition() { + return this.position; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AppendObjectResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AppendObjectResponse.java new file mode 100644 index 00000000..0feec58b --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/AppendObjectResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class AppendObjectResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static AppendObjectResponse build(java.util.Map map) throws Exception { + AppendObjectResponse self = new AppendObjectResponse(); + return TeaModel.build(map, self); + } + + public AppendObjectResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public AppendObjectResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ApplyServerSideEncryptionByDefault.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ApplyServerSideEncryptionByDefault.java new file mode 100644 index 00000000..0a343d1c --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ApplyServerSideEncryptionByDefault.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ApplyServerSideEncryptionByDefault extends TeaModel { + @NameInMap("KMSDataEncryption") + public String KMSDataEncryption; + + @NameInMap("KMSMasterKeyID") + public String KMSMasterKeyID; + + @NameInMap("SSEAlgorithm") + public String SSEAlgorithm; + + public static ApplyServerSideEncryptionByDefault build(java.util.Map map) throws Exception { + ApplyServerSideEncryptionByDefault self = new ApplyServerSideEncryptionByDefault(); + return TeaModel.build(map, self); + } + + public ApplyServerSideEncryptionByDefault setKMSDataEncryption(String KMSDataEncryption) { + this.KMSDataEncryption = KMSDataEncryption; + return this; + } + public String getKMSDataEncryption() { + return this.KMSDataEncryption; + } + + public ApplyServerSideEncryptionByDefault setKMSMasterKeyID(String KMSMasterKeyID) { + this.KMSMasterKeyID = KMSMasterKeyID; + return this; + } + public String getKMSMasterKeyID() { + return this.KMSMasterKeyID; + } + + public ApplyServerSideEncryptionByDefault setSSEAlgorithm(String SSEAlgorithm) { + this.SSEAlgorithm = SSEAlgorithm; + return this; + } + public String getSSEAlgorithm() { + return this.SSEAlgorithm; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ArchiveDirectReadConfiguration.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ArchiveDirectReadConfiguration.java new file mode 100644 index 00000000..faf3da51 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ArchiveDirectReadConfiguration.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ArchiveDirectReadConfiguration extends TeaModel { + @NameInMap("Enabled") + public Boolean enabled; + + public static ArchiveDirectReadConfiguration build(java.util.Map map) throws Exception { + ArchiveDirectReadConfiguration self = new ArchiveDirectReadConfiguration(); + return TeaModel.build(map, self); + } + + public ArchiveDirectReadConfiguration setEnabled(Boolean enabled) { + this.enabled = enabled; + return this; + } + public Boolean getEnabled() { + return this.enabled; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Bucket.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Bucket.java new file mode 100644 index 00000000..da0be5bd --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Bucket.java @@ -0,0 +1,89 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class Bucket extends TeaModel { + @NameInMap("CreationDate") + public String creationDate; + + @NameInMap("ExtranetEndpoint") + public String extranetEndpoint; + + @NameInMap("IntranetEndpoint") + public String intranetEndpoint; + + @NameInMap("Location") + public String location; + + @NameInMap("Name") + public String name; + + @NameInMap("Region") + public String region; + + @NameInMap("StorageClass") + public String storageClass; + + public static Bucket build(java.util.Map map) throws Exception { + Bucket self = new Bucket(); + return TeaModel.build(map, self); + } + + public Bucket setCreationDate(String creationDate) { + this.creationDate = creationDate; + return this; + } + public String getCreationDate() { + return this.creationDate; + } + + public Bucket setExtranetEndpoint(String extranetEndpoint) { + this.extranetEndpoint = extranetEndpoint; + return this; + } + public String getExtranetEndpoint() { + return this.extranetEndpoint; + } + + public Bucket setIntranetEndpoint(String intranetEndpoint) { + this.intranetEndpoint = intranetEndpoint; + return this; + } + public String getIntranetEndpoint() { + return this.intranetEndpoint; + } + + public Bucket setLocation(String location) { + this.location = location; + return this; + } + public String getLocation() { + return this.location; + } + + public Bucket setName(String name) { + this.name = name; + return this; + } + public String getName() { + return this.name; + } + + public Bucket setRegion(String region) { + this.region = region; + return this; + } + public String getRegion() { + return this.region; + } + + public Bucket setStorageClass(String storageClass) { + this.storageClass = storageClass; + return this; + } + public String getStorageClass() { + return this.storageClass; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketAntiDDOSConfiguration.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketAntiDDOSConfiguration.java new file mode 100644 index 00000000..f0e75480 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketAntiDDOSConfiguration.java @@ -0,0 +1,42 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class BucketAntiDDOSConfiguration extends TeaModel { + @NameInMap("Cnames") + public BucketAntiDDOSConfigurationCnames cnames; + + public static BucketAntiDDOSConfiguration build(java.util.Map map) throws Exception { + BucketAntiDDOSConfiguration self = new BucketAntiDDOSConfiguration(); + return TeaModel.build(map, self); + } + + public BucketAntiDDOSConfiguration setCnames(BucketAntiDDOSConfigurationCnames cnames) { + this.cnames = cnames; + return this; + } + public BucketAntiDDOSConfigurationCnames getCnames() { + return this.cnames; + } + + public static class BucketAntiDDOSConfigurationCnames extends TeaModel { + @NameInMap("Domain") + public java.util.List domain; + + public static BucketAntiDDOSConfigurationCnames build(java.util.Map map) throws Exception { + BucketAntiDDOSConfigurationCnames self = new BucketAntiDDOSConfigurationCnames(); + return TeaModel.build(map, self); + } + + public BucketAntiDDOSConfigurationCnames setDomain(java.util.List domain) { + this.domain = domain; + return this; + } + public java.util.List getDomain() { + return this.domain; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketAntiDDOSInfo.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketAntiDDOSInfo.java new file mode 100644 index 00000000..487adb1e --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketAntiDDOSInfo.java @@ -0,0 +1,130 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class BucketAntiDDOSInfo extends TeaModel { + @NameInMap("ActiveTime") + public Long activeTime; + + @NameInMap("Bucket") + public String bucket; + + @NameInMap("Cnames") + public BucketAntiDDOSInfoCnames cnames; + + @NameInMap("Ctime") + public Long ctime; + + @NameInMap("InstanceId") + public String instanceId; + + @NameInMap("Mtime") + public Long mtime; + + @NameInMap("Owner") + public String owner; + + @NameInMap("Status") + public String status; + + @NameInMap("Type") + public String type; + + public static BucketAntiDDOSInfo build(java.util.Map map) throws Exception { + BucketAntiDDOSInfo self = new BucketAntiDDOSInfo(); + return TeaModel.build(map, self); + } + + public BucketAntiDDOSInfo setActiveTime(Long activeTime) { + this.activeTime = activeTime; + return this; + } + public Long getActiveTime() { + return this.activeTime; + } + + public BucketAntiDDOSInfo setBucket(String bucket) { + this.bucket = bucket; + return this; + } + public String getBucket() { + return this.bucket; + } + + public BucketAntiDDOSInfo setCnames(BucketAntiDDOSInfoCnames cnames) { + this.cnames = cnames; + return this; + } + public BucketAntiDDOSInfoCnames getCnames() { + return this.cnames; + } + + public BucketAntiDDOSInfo setCtime(Long ctime) { + this.ctime = ctime; + return this; + } + public Long getCtime() { + return this.ctime; + } + + public BucketAntiDDOSInfo setInstanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + public String getInstanceId() { + return this.instanceId; + } + + public BucketAntiDDOSInfo setMtime(Long mtime) { + this.mtime = mtime; + return this; + } + public Long getMtime() { + return this.mtime; + } + + public BucketAntiDDOSInfo setOwner(String owner) { + this.owner = owner; + return this; + } + public String getOwner() { + return this.owner; + } + + public BucketAntiDDOSInfo setStatus(String status) { + this.status = status; + return this; + } + public String getStatus() { + return this.status; + } + + public BucketAntiDDOSInfo setType(String type) { + this.type = type; + return this; + } + public String getType() { + return this.type; + } + + public static class BucketAntiDDOSInfoCnames extends TeaModel { + @NameInMap("Domain") + public java.util.List domain; + + public static BucketAntiDDOSInfoCnames build(java.util.Map map) throws Exception { + BucketAntiDDOSInfoCnames self = new BucketAntiDDOSInfoCnames(); + return TeaModel.build(map, self); + } + + public BucketAntiDDOSInfoCnames setDomain(java.util.List domain) { + this.domain = domain; + return this; + } + public java.util.List getDomain() { + return this.domain; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketCnameConfiguration.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketCnameConfiguration.java new file mode 100644 index 00000000..5dff761f --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketCnameConfiguration.java @@ -0,0 +1,42 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class BucketCnameConfiguration extends TeaModel { + @NameInMap("Cname") + public BucketCnameConfigurationCname cname; + + public static BucketCnameConfiguration build(java.util.Map map) throws Exception { + BucketCnameConfiguration self = new BucketCnameConfiguration(); + return TeaModel.build(map, self); + } + + public BucketCnameConfiguration setCname(BucketCnameConfigurationCname cname) { + this.cname = cname; + return this; + } + public BucketCnameConfigurationCname getCname() { + return this.cname; + } + + public static class BucketCnameConfigurationCname extends TeaModel { + @NameInMap("Domain") + public String domain; + + public static BucketCnameConfigurationCname build(java.util.Map map) throws Exception { + BucketCnameConfigurationCname self = new BucketCnameConfigurationCname(); + return TeaModel.build(map, self); + } + + public BucketCnameConfigurationCname setDomain(String domain) { + this.domain = domain; + return this; + } + public String getDomain() { + return this.domain; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketDataRedundancyTransition.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketDataRedundancyTransition.java new file mode 100644 index 00000000..e7929c98 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketDataRedundancyTransition.java @@ -0,0 +1,100 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class BucketDataRedundancyTransition extends TeaModel { + @NameInMap("Bucket") + public String bucket; + + @NameInMap("CreateTime") + public String createTime; + + @NameInMap("EndTime") + public String endTime; + + @NameInMap("EstimatedRemainingTime") + public String estimatedRemainingTime; + + @NameInMap("ProcessPercentage") + public Integer processPercentage; + + @NameInMap("StartTime") + public String startTime; + + @NameInMap("Status") + public String status; + + @NameInMap("TaskId") + public String taskId; + + public static BucketDataRedundancyTransition build(java.util.Map map) throws Exception { + BucketDataRedundancyTransition self = new BucketDataRedundancyTransition(); + return TeaModel.build(map, self); + } + + public BucketDataRedundancyTransition setBucket(String bucket) { + this.bucket = bucket; + return this; + } + public String getBucket() { + return this.bucket; + } + + public BucketDataRedundancyTransition setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + public String getCreateTime() { + return this.createTime; + } + + public BucketDataRedundancyTransition setEndTime(String endTime) { + this.endTime = endTime; + return this; + } + public String getEndTime() { + return this.endTime; + } + + public BucketDataRedundancyTransition setEstimatedRemainingTime(String estimatedRemainingTime) { + this.estimatedRemainingTime = estimatedRemainingTime; + return this; + } + public String getEstimatedRemainingTime() { + return this.estimatedRemainingTime; + } + + public BucketDataRedundancyTransition setProcessPercentage(Integer processPercentage) { + this.processPercentage = processPercentage; + return this; + } + public Integer getProcessPercentage() { + return this.processPercentage; + } + + public BucketDataRedundancyTransition setStartTime(String startTime) { + this.startTime = startTime; + return this; + } + public String getStartTime() { + return this.startTime; + } + + public BucketDataRedundancyTransition setStatus(String status) { + this.status = status; + return this; + } + public String getStatus() { + return this.status; + } + + public BucketDataRedundancyTransition setTaskId(String taskId) { + this.taskId = taskId; + return this; + } + public String getTaskId() { + return this.taskId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketInfo.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketInfo.java new file mode 100644 index 00000000..9d9beb15 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketInfo.java @@ -0,0 +1,248 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class BucketInfo extends TeaModel { + @NameInMap("Bucket") + public BucketInfoBucket bucket; + + public static BucketInfo build(java.util.Map map) throws Exception { + BucketInfo self = new BucketInfo(); + return TeaModel.build(map, self); + } + + public BucketInfo setBucket(BucketInfoBucket bucket) { + this.bucket = bucket; + return this; + } + public BucketInfoBucket getBucket() { + return this.bucket; + } + + public static class BucketInfoBucketServerSideEncryptionRule extends TeaModel { + @NameInMap("KMSDataEncryption") + public String KMSDataEncryption; + + @NameInMap("KMSMasterKeyID") + public String KMSMasterKeyID; + + @NameInMap("SSEAlgorithm") + public String SSEAlgorithm; + + public static BucketInfoBucketServerSideEncryptionRule build(java.util.Map map) throws Exception { + BucketInfoBucketServerSideEncryptionRule self = new BucketInfoBucketServerSideEncryptionRule(); + return TeaModel.build(map, self); + } + + public BucketInfoBucketServerSideEncryptionRule setKMSDataEncryption(String KMSDataEncryption) { + this.KMSDataEncryption = KMSDataEncryption; + return this; + } + public String getKMSDataEncryption() { + return this.KMSDataEncryption; + } + + public BucketInfoBucketServerSideEncryptionRule setKMSMasterKeyID(String KMSMasterKeyID) { + this.KMSMasterKeyID = KMSMasterKeyID; + return this; + } + public String getKMSMasterKeyID() { + return this.KMSMasterKeyID; + } + + public BucketInfoBucketServerSideEncryptionRule setSSEAlgorithm(String SSEAlgorithm) { + this.SSEAlgorithm = SSEAlgorithm; + return this; + } + public String getSSEAlgorithm() { + return this.SSEAlgorithm; + } + + } + + public static class BucketInfoBucket extends TeaModel { + @NameInMap("AccessControlList") + public AccessControlList accessControlList; + + @NameInMap("AccessMonitor") + public String accessMonitor; + + @NameInMap("BucketPolicy") + public LoggingEnabled bucketPolicy; + + @NameInMap("CreationDate") + public String creationDate; + + @NameInMap("CrossRegionReplication") + public String crossRegionReplication; + + @NameInMap("DataRedundancyType") + public String dataRedundancyType; + + @NameInMap("ExtranetEndpoint") + public String extranetEndpoint; + + @NameInMap("IntranetEndpoint") + public String intranetEndpoint; + + @NameInMap("Location") + public String location; + + @NameInMap("Name") + public String name; + + @NameInMap("Owner") + public Owner owner; + + @NameInMap("ResourceGroupId") + public String resourceGroupId; + + @NameInMap("ServerSideEncryptionRule") + public BucketInfoBucketServerSideEncryptionRule serverSideEncryptionRule; + + @NameInMap("StorageClass") + public String storageClass; + + @NameInMap("TransferAcceleration") + public String transferAcceleration; + + @NameInMap("Versioning") + public String versioning; + + public static BucketInfoBucket build(java.util.Map map) throws Exception { + BucketInfoBucket self = new BucketInfoBucket(); + return TeaModel.build(map, self); + } + + public BucketInfoBucket setAccessControlList(AccessControlList accessControlList) { + this.accessControlList = accessControlList; + return this; + } + public AccessControlList getAccessControlList() { + return this.accessControlList; + } + + public BucketInfoBucket setAccessMonitor(String accessMonitor) { + this.accessMonitor = accessMonitor; + return this; + } + public String getAccessMonitor() { + return this.accessMonitor; + } + + public BucketInfoBucket setBucketPolicy(LoggingEnabled bucketPolicy) { + this.bucketPolicy = bucketPolicy; + return this; + } + public LoggingEnabled getBucketPolicy() { + return this.bucketPolicy; + } + + public BucketInfoBucket setCreationDate(String creationDate) { + this.creationDate = creationDate; + return this; + } + public String getCreationDate() { + return this.creationDate; + } + + public BucketInfoBucket setCrossRegionReplication(String crossRegionReplication) { + this.crossRegionReplication = crossRegionReplication; + return this; + } + public String getCrossRegionReplication() { + return this.crossRegionReplication; + } + + public BucketInfoBucket setDataRedundancyType(String dataRedundancyType) { + this.dataRedundancyType = dataRedundancyType; + return this; + } + public String getDataRedundancyType() { + return this.dataRedundancyType; + } + + public BucketInfoBucket setExtranetEndpoint(String extranetEndpoint) { + this.extranetEndpoint = extranetEndpoint; + return this; + } + public String getExtranetEndpoint() { + return this.extranetEndpoint; + } + + public BucketInfoBucket setIntranetEndpoint(String intranetEndpoint) { + this.intranetEndpoint = intranetEndpoint; + return this; + } + public String getIntranetEndpoint() { + return this.intranetEndpoint; + } + + public BucketInfoBucket setLocation(String location) { + this.location = location; + return this; + } + public String getLocation() { + return this.location; + } + + public BucketInfoBucket setName(String name) { + this.name = name; + return this; + } + public String getName() { + return this.name; + } + + public BucketInfoBucket setOwner(Owner owner) { + this.owner = owner; + return this; + } + public Owner getOwner() { + return this.owner; + } + + public BucketInfoBucket setResourceGroupId(String resourceGroupId) { + this.resourceGroupId = resourceGroupId; + return this; + } + public String getResourceGroupId() { + return this.resourceGroupId; + } + + public BucketInfoBucket setServerSideEncryptionRule(BucketInfoBucketServerSideEncryptionRule serverSideEncryptionRule) { + this.serverSideEncryptionRule = serverSideEncryptionRule; + return this; + } + public BucketInfoBucketServerSideEncryptionRule getServerSideEncryptionRule() { + return this.serverSideEncryptionRule; + } + + public BucketInfoBucket setStorageClass(String storageClass) { + this.storageClass = storageClass; + return this; + } + public String getStorageClass() { + return this.storageClass; + } + + public BucketInfoBucket setTransferAcceleration(String transferAcceleration) { + this.transferAcceleration = transferAcceleration; + return this; + } + public String getTransferAcceleration() { + return this.transferAcceleration; + } + + public BucketInfoBucket setVersioning(String versioning) { + this.versioning = versioning; + return this; + } + public String getVersioning() { + return this.versioning; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketLoggingStatus.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketLoggingStatus.java new file mode 100644 index 00000000..2d3300db --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketLoggingStatus.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class BucketLoggingStatus extends TeaModel { + @NameInMap("LoggingEnabled") + public LoggingEnabled loggingEnabled; + + public static BucketLoggingStatus build(java.util.Map map) throws Exception { + BucketLoggingStatus self = new BucketLoggingStatus(); + return TeaModel.build(map, self); + } + + public BucketLoggingStatus setLoggingEnabled(LoggingEnabled loggingEnabled) { + this.loggingEnabled = loggingEnabled; + return this; + } + public LoggingEnabled getLoggingEnabled() { + return this.loggingEnabled; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketResourceGroupConfiguration.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketResourceGroupConfiguration.java new file mode 100644 index 00000000..071b0950 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketResourceGroupConfiguration.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class BucketResourceGroupConfiguration extends TeaModel { + @NameInMap("ResourceGroupId") + public String resourceGroupId; + + public static BucketResourceGroupConfiguration build(java.util.Map map) throws Exception { + BucketResourceGroupConfiguration self = new BucketResourceGroupConfiguration(); + return TeaModel.build(map, self); + } + + public BucketResourceGroupConfiguration setResourceGroupId(String resourceGroupId) { + this.resourceGroupId = resourceGroupId; + return this; + } + public String getResourceGroupId() { + return this.resourceGroupId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketStat.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketStat.java new file mode 100644 index 00000000..dfe87dbf --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/BucketStat.java @@ -0,0 +1,188 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class BucketStat extends TeaModel { + @NameInMap("ArchiveObjectCount") + public Long archiveObjectCount; + + @NameInMap("ArchiveRealStorage") + public Long archiveRealStorage; + + @NameInMap("ArchiveStorage") + public Long archiveStorage; + + @NameInMap("ColdArchiveObjectCount") + public Long coldArchiveObjectCount; + + @NameInMap("ColdArchiveRealStorage") + public Long coldArchiveRealStorage; + + @NameInMap("ColdArchiveStorage") + public Long coldArchiveStorage; + + @NameInMap("InfrequentAccessObjectCount") + public Long infrequentAccessObjectCount; + + @NameInMap("InfrequentAccessRealStorage") + public Long infrequentAccessRealStorage; + + @NameInMap("InfrequentAccessStorage") + public Long infrequentAccessStorage; + + @NameInMap("LastModifiedTime") + public Long lastModifiedTime; + + @NameInMap("LiveChannelCount") + public Long liveChannelCount; + + @NameInMap("MultipartUploadCount") + public Long multipartUploadCount; + + @NameInMap("ObjectCount") + public Long objectCount; + + @NameInMap("StandardObjectCount") + public Long standardObjectCount; + + @NameInMap("StandardStorage") + public Long standardStorage; + + @NameInMap("Storage") + public Long storage; + + public static BucketStat build(java.util.Map map) throws Exception { + BucketStat self = new BucketStat(); + return TeaModel.build(map, self); + } + + public BucketStat setArchiveObjectCount(Long archiveObjectCount) { + this.archiveObjectCount = archiveObjectCount; + return this; + } + public Long getArchiveObjectCount() { + return this.archiveObjectCount; + } + + public BucketStat setArchiveRealStorage(Long archiveRealStorage) { + this.archiveRealStorage = archiveRealStorage; + return this; + } + public Long getArchiveRealStorage() { + return this.archiveRealStorage; + } + + public BucketStat setArchiveStorage(Long archiveStorage) { + this.archiveStorage = archiveStorage; + return this; + } + public Long getArchiveStorage() { + return this.archiveStorage; + } + + public BucketStat setColdArchiveObjectCount(Long coldArchiveObjectCount) { + this.coldArchiveObjectCount = coldArchiveObjectCount; + return this; + } + public Long getColdArchiveObjectCount() { + return this.coldArchiveObjectCount; + } + + public BucketStat setColdArchiveRealStorage(Long coldArchiveRealStorage) { + this.coldArchiveRealStorage = coldArchiveRealStorage; + return this; + } + public Long getColdArchiveRealStorage() { + return this.coldArchiveRealStorage; + } + + public BucketStat setColdArchiveStorage(Long coldArchiveStorage) { + this.coldArchiveStorage = coldArchiveStorage; + return this; + } + public Long getColdArchiveStorage() { + return this.coldArchiveStorage; + } + + public BucketStat setInfrequentAccessObjectCount(Long infrequentAccessObjectCount) { + this.infrequentAccessObjectCount = infrequentAccessObjectCount; + return this; + } + public Long getInfrequentAccessObjectCount() { + return this.infrequentAccessObjectCount; + } + + public BucketStat setInfrequentAccessRealStorage(Long infrequentAccessRealStorage) { + this.infrequentAccessRealStorage = infrequentAccessRealStorage; + return this; + } + public Long getInfrequentAccessRealStorage() { + return this.infrequentAccessRealStorage; + } + + public BucketStat setInfrequentAccessStorage(Long infrequentAccessStorage) { + this.infrequentAccessStorage = infrequentAccessStorage; + return this; + } + public Long getInfrequentAccessStorage() { + return this.infrequentAccessStorage; + } + + public BucketStat setLastModifiedTime(Long lastModifiedTime) { + this.lastModifiedTime = lastModifiedTime; + return this; + } + public Long getLastModifiedTime() { + return this.lastModifiedTime; + } + + public BucketStat setLiveChannelCount(Long liveChannelCount) { + this.liveChannelCount = liveChannelCount; + return this; + } + public Long getLiveChannelCount() { + return this.liveChannelCount; + } + + public BucketStat setMultipartUploadCount(Long multipartUploadCount) { + this.multipartUploadCount = multipartUploadCount; + return this; + } + public Long getMultipartUploadCount() { + return this.multipartUploadCount; + } + + public BucketStat setObjectCount(Long objectCount) { + this.objectCount = objectCount; + return this; + } + public Long getObjectCount() { + return this.objectCount; + } + + public BucketStat setStandardObjectCount(Long standardObjectCount) { + this.standardObjectCount = standardObjectCount; + return this; + } + public Long getStandardObjectCount() { + return this.standardObjectCount; + } + + public BucketStat setStandardStorage(Long standardStorage) { + this.standardStorage = standardStorage; + return this; + } + public Long getStandardStorage() { + return this.standardStorage; + } + + public BucketStat setStorage(Long storage) { + this.storage = storage; + return this; + } + public Long getStorage() { + return this.storage; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CORSConfiguration.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CORSConfiguration.java new file mode 100644 index 00000000..7753ab47 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CORSConfiguration.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CORSConfiguration extends TeaModel { + @NameInMap("CORSRule") + public java.util.List CORSRule; + + @NameInMap("ResponseVary") + public Boolean responseVary; + + public static CORSConfiguration build(java.util.Map map) throws Exception { + CORSConfiguration self = new CORSConfiguration(); + return TeaModel.build(map, self); + } + + public CORSConfiguration setCORSRule(java.util.List CORSRule) { + this.CORSRule = CORSRule; + return this; + } + public java.util.List getCORSRule() { + return this.CORSRule; + } + + public CORSConfiguration setResponseVary(Boolean responseVary) { + this.responseVary = responseVary; + return this; + } + public Boolean getResponseVary() { + return this.responseVary; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CORSRule.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CORSRule.java new file mode 100644 index 00000000..a3bee814 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CORSRule.java @@ -0,0 +1,67 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CORSRule extends TeaModel { + @NameInMap("AllowedHeader") + public String allowedHeader; + + @NameInMap("AllowedMethod") + public java.util.List allowedMethod; + + @NameInMap("AllowedOrigin") + public java.util.List allowedOrigin; + + @NameInMap("ExposeHeader") + public java.util.List exposeHeader; + + @NameInMap("MaxAgeSeconds") + public Long maxAgeSeconds; + + public static CORSRule build(java.util.Map map) throws Exception { + CORSRule self = new CORSRule(); + return TeaModel.build(map, self); + } + + public CORSRule setAllowedHeader(String allowedHeader) { + this.allowedHeader = allowedHeader; + return this; + } + public String getAllowedHeader() { + return this.allowedHeader; + } + + public CORSRule setAllowedMethod(java.util.List allowedMethod) { + this.allowedMethod = allowedMethod; + return this; + } + public java.util.List getAllowedMethod() { + return this.allowedMethod; + } + + public CORSRule setAllowedOrigin(java.util.List allowedOrigin) { + this.allowedOrigin = allowedOrigin; + return this; + } + public java.util.List getAllowedOrigin() { + return this.allowedOrigin; + } + + public CORSRule setExposeHeader(java.util.List exposeHeader) { + this.exposeHeader = exposeHeader; + return this; + } + public java.util.List getExposeHeader() { + return this.exposeHeader; + } + + public CORSRule setMaxAgeSeconds(Long maxAgeSeconds) { + this.maxAgeSeconds = maxAgeSeconds; + return this; + } + public Long getMaxAgeSeconds() { + return this.maxAgeSeconds; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CSVInput.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CSVInput.java new file mode 100644 index 00000000..8edfc0f5 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CSVInput.java @@ -0,0 +1,89 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CSVInput extends TeaModel { + @NameInMap("AllowQuotedRecordDelimiter") + public Boolean allowQuotedRecordDelimiter; + + @NameInMap("CommentCharacter") + public String commentCharacter; + + @NameInMap("FieldDelimiter") + public String fieldDelimiter; + + @NameInMap("FileHeaderInfo") + public String fileHeaderInfo; + + @NameInMap("QuoteCharacter") + public String quoteCharacter; + + @NameInMap("Range") + public String range; + + @NameInMap("RecordDelimiter") + public String recordDelimiter; + + public static CSVInput build(java.util.Map map) throws Exception { + CSVInput self = new CSVInput(); + return TeaModel.build(map, self); + } + + public CSVInput setAllowQuotedRecordDelimiter(Boolean allowQuotedRecordDelimiter) { + this.allowQuotedRecordDelimiter = allowQuotedRecordDelimiter; + return this; + } + public Boolean getAllowQuotedRecordDelimiter() { + return this.allowQuotedRecordDelimiter; + } + + public CSVInput setCommentCharacter(String commentCharacter) { + this.commentCharacter = commentCharacter; + return this; + } + public String getCommentCharacter() { + return this.commentCharacter; + } + + public CSVInput setFieldDelimiter(String fieldDelimiter) { + this.fieldDelimiter = fieldDelimiter; + return this; + } + public String getFieldDelimiter() { + return this.fieldDelimiter; + } + + public CSVInput setFileHeaderInfo(String fileHeaderInfo) { + this.fileHeaderInfo = fileHeaderInfo; + return this; + } + public String getFileHeaderInfo() { + return this.fileHeaderInfo; + } + + public CSVInput setQuoteCharacter(String quoteCharacter) { + this.quoteCharacter = quoteCharacter; + return this; + } + public String getQuoteCharacter() { + return this.quoteCharacter; + } + + public CSVInput setRange(String range) { + this.range = range; + return this; + } + public String getRange() { + return this.range; + } + + public CSVInput setRecordDelimiter(String recordDelimiter) { + this.recordDelimiter = recordDelimiter; + return this; + } + public String getRecordDelimiter() { + return this.recordDelimiter; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CSVOutput.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CSVOutput.java new file mode 100644 index 00000000..4652eaa9 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CSVOutput.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CSVOutput extends TeaModel { + @NameInMap("FieldDelimiter") + public String fieldDelimiter; + + @NameInMap("RecordDelimiter") + public String recordDelimiter; + + public static CSVOutput build(java.util.Map map) throws Exception { + CSVOutput self = new CSVOutput(); + return TeaModel.build(map, self); + } + + public CSVOutput setFieldDelimiter(String fieldDelimiter) { + this.fieldDelimiter = fieldDelimiter; + return this; + } + public String getFieldDelimiter() { + return this.fieldDelimiter; + } + + public CSVOutput setRecordDelimiter(String recordDelimiter) { + this.recordDelimiter = recordDelimiter; + return this; + } + public String getRecordDelimiter() { + return this.recordDelimiter; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CallbackPolicy.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CallbackPolicy.java new file mode 100644 index 00000000..306193b9 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CallbackPolicy.java @@ -0,0 +1,64 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CallbackPolicy extends TeaModel { + @NameInMap("PolicyItem") + public java.util.List policyItem; + + public static CallbackPolicy build(java.util.Map map) throws Exception { + CallbackPolicy self = new CallbackPolicy(); + return TeaModel.build(map, self); + } + + public CallbackPolicy setPolicyItem(java.util.List policyItem) { + this.policyItem = policyItem; + return this; + } + public java.util.List getPolicyItem() { + return this.policyItem; + } + + public static class CallbackPolicyPolicyItem extends TeaModel { + @NameInMap("Callback") + public String callback; + + @NameInMap("CallbackVar") + public String callbackVar; + + @NameInMap("PolicyName") + public String policyName; + + public static CallbackPolicyPolicyItem build(java.util.Map map) throws Exception { + CallbackPolicyPolicyItem self = new CallbackPolicyPolicyItem(); + return TeaModel.build(map, self); + } + + public CallbackPolicyPolicyItem setCallback(String callback) { + this.callback = callback; + return this; + } + public String getCallback() { + return this.callback; + } + + public CallbackPolicyPolicyItem setCallbackVar(String callbackVar) { + this.callbackVar = callbackVar; + return this; + } + public String getCallbackVar() { + return this.callbackVar; + } + + public CallbackPolicyPolicyItem setPolicyName(String policyName) { + this.policyName = policyName; + return this; + } + public String getPolicyName() { + return this.policyName; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CloseMetaQueryResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CloseMetaQueryResponse.java new file mode 100644 index 00000000..336c6f8c --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CloseMetaQueryResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CloseMetaQueryResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static CloseMetaQueryResponse build(java.util.Map map) throws Exception { + CloseMetaQueryResponse self = new CloseMetaQueryResponse(); + return TeaModel.build(map, self); + } + + public CloseMetaQueryResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public CloseMetaQueryResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CnameCertificate.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CnameCertificate.java new file mode 100644 index 00000000..337aef2b --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CnameCertificate.java @@ -0,0 +1,89 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CnameCertificate extends TeaModel { + @NameInMap("CertId") + public String certId; + + @NameInMap("CreationDate") + public String creationDate; + + @NameInMap("Fingerprint") + public String fingerprint; + + @NameInMap("Status") + public String status; + + @NameInMap("Type") + public String type; + + @NameInMap("ValidEndDate") + public String validEndDate; + + @NameInMap("ValidStartDate") + public String validStartDate; + + public static CnameCertificate build(java.util.Map map) throws Exception { + CnameCertificate self = new CnameCertificate(); + return TeaModel.build(map, self); + } + + public CnameCertificate setCertId(String certId) { + this.certId = certId; + return this; + } + public String getCertId() { + return this.certId; + } + + public CnameCertificate setCreationDate(String creationDate) { + this.creationDate = creationDate; + return this; + } + public String getCreationDate() { + return this.creationDate; + } + + public CnameCertificate setFingerprint(String fingerprint) { + this.fingerprint = fingerprint; + return this; + } + public String getFingerprint() { + return this.fingerprint; + } + + public CnameCertificate setStatus(String status) { + this.status = status; + return this; + } + public String getStatus() { + return this.status; + } + + public CnameCertificate setType(String type) { + this.type = type; + return this; + } + public String getType() { + return this.type; + } + + public CnameCertificate setValidEndDate(String validEndDate) { + this.validEndDate = validEndDate; + return this; + } + public String getValidEndDate() { + return this.validEndDate; + } + + public CnameCertificate setValidStartDate(String validStartDate) { + this.validStartDate = validStartDate; + return this; + } + public String getValidStartDate() { + return this.validStartDate; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CnameInfo.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CnameInfo.java new file mode 100644 index 00000000..26611699 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CnameInfo.java @@ -0,0 +1,56 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CnameInfo extends TeaModel { + @NameInMap("Certificate") + public CnameCertificate certificate; + + @NameInMap("Domain") + public String domain; + + @NameInMap("LastModified") + public String lastModified; + + @NameInMap("Status") + public String status; + + public static CnameInfo build(java.util.Map map) throws Exception { + CnameInfo self = new CnameInfo(); + return TeaModel.build(map, self); + } + + public CnameInfo setCertificate(CnameCertificate certificate) { + this.certificate = certificate; + return this; + } + public CnameCertificate getCertificate() { + return this.certificate; + } + + public CnameInfo setDomain(String domain) { + this.domain = domain; + return this; + } + public String getDomain() { + return this.domain; + } + + public CnameInfo setLastModified(String lastModified) { + this.lastModified = lastModified; + return this; + } + public String getLastModified() { + return this.lastModified; + } + + public CnameInfo setStatus(String status) { + this.status = status; + return this; + } + public String getStatus() { + return this.status; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CnameSummary.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CnameSummary.java new file mode 100644 index 00000000..81bea9b7 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CnameSummary.java @@ -0,0 +1,56 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CnameSummary extends TeaModel { + @NameInMap("Certificate") + public CnameCertificate certificate; + + @NameInMap("Domain") + public String domain; + + @NameInMap("LastModified") + public String lastModified; + + @NameInMap("Status") + public String status; + + public static CnameSummary build(java.util.Map map) throws Exception { + CnameSummary self = new CnameSummary(); + return TeaModel.build(map, self); + } + + public CnameSummary setCertificate(CnameCertificate certificate) { + this.certificate = certificate; + return this; + } + public CnameCertificate getCertificate() { + return this.certificate; + } + + public CnameSummary setDomain(String domain) { + this.domain = domain; + return this; + } + public String getDomain() { + return this.domain; + } + + public CnameSummary setLastModified(String lastModified) { + this.lastModified = lastModified; + return this; + } + public String getLastModified() { + return this.lastModified; + } + + public CnameSummary setStatus(String status) { + this.status = status; + return this; + } + public String getStatus() { + return this.status; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CnameToken.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CnameToken.java new file mode 100644 index 00000000..68bb8a78 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CnameToken.java @@ -0,0 +1,56 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CnameToken extends TeaModel { + @NameInMap("Bucket") + public String bucket; + + @NameInMap("Cname") + public String cname; + + @NameInMap("ExpireTime") + public String expireTime; + + @NameInMap("Token") + public String token; + + public static CnameToken build(java.util.Map map) throws Exception { + CnameToken self = new CnameToken(); + return TeaModel.build(map, self); + } + + public CnameToken setBucket(String bucket) { + this.bucket = bucket; + return this; + } + public String getBucket() { + return this.bucket; + } + + public CnameToken setCname(String cname) { + this.cname = cname; + return this; + } + public String getCname() { + return this.cname; + } + + public CnameToken setExpireTime(String expireTime) { + this.expireTime = expireTime; + return this; + } + public String getExpireTime() { + return this.expireTime; + } + + public CnameToken setToken(String token) { + this.token = token; + return this; + } + public String getToken() { + return this.token; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CommonPrefix.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CommonPrefix.java new file mode 100644 index 00000000..7cd9fabf --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CommonPrefix.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CommonPrefix extends TeaModel { + @NameInMap("Prefix") + public String prefix; + + public static CommonPrefix build(java.util.Map map) throws Exception { + CommonPrefix self = new CommonPrefix(); + return TeaModel.build(map, self); + } + + public CommonPrefix setPrefix(String prefix) { + this.prefix = prefix; + return this; + } + public String getPrefix() { + return this.prefix; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CompleteBucketWormRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CompleteBucketWormRequest.java new file mode 100644 index 00000000..00d3a7fd --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CompleteBucketWormRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CompleteBucketWormRequest extends TeaModel { + /** + *

The ID of the retention policy.

+ */ + @NameInMap("wormId") + public String wormId; + + public static CompleteBucketWormRequest build(java.util.Map map) throws Exception { + CompleteBucketWormRequest self = new CompleteBucketWormRequest(); + return TeaModel.build(map, self); + } + + public CompleteBucketWormRequest setWormId(String wormId) { + this.wormId = wormId; + return this; + } + public String getWormId() { + return this.wormId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CompleteBucketWormResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CompleteBucketWormResponse.java new file mode 100644 index 00000000..996250f5 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CompleteBucketWormResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CompleteBucketWormResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static CompleteBucketWormResponse build(java.util.Map map) throws Exception { + CompleteBucketWormResponse self = new CompleteBucketWormResponse(); + return TeaModel.build(map, self); + } + + public CompleteBucketWormResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public CompleteBucketWormResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CompleteMultipartUpload.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CompleteMultipartUpload.java new file mode 100644 index 00000000..0fab5459 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CompleteMultipartUpload.java @@ -0,0 +1,53 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CompleteMultipartUpload extends TeaModel { + @NameInMap("Part") + public java.util.List part; + + public static CompleteMultipartUpload build(java.util.Map map) throws Exception { + CompleteMultipartUpload self = new CompleteMultipartUpload(); + return TeaModel.build(map, self); + } + + public CompleteMultipartUpload setPart(java.util.List part) { + this.part = part; + return this; + } + public java.util.List getPart() { + return this.part; + } + + public static class CompleteMultipartUploadPart extends TeaModel { + @NameInMap("ETag") + public String ETag; + + @NameInMap("PartNumber") + public Long partNumber; + + public static CompleteMultipartUploadPart build(java.util.Map map) throws Exception { + CompleteMultipartUploadPart self = new CompleteMultipartUploadPart(); + return TeaModel.build(map, self); + } + + public CompleteMultipartUploadPart setETag(String ETag) { + this.ETag = ETag; + return this; + } + public String getETag() { + return this.ETag; + } + + public CompleteMultipartUploadPart setPartNumber(Long partNumber) { + this.partNumber = partNumber; + return this; + } + public Long getPartNumber() { + return this.partNumber; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CompleteMultipartUploadHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CompleteMultipartUploadHeaders.java new file mode 100644 index 00000000..9080172b --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CompleteMultipartUploadHeaders.java @@ -0,0 +1,62 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CompleteMultipartUploadHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + /** + *

Specifies whether to list all parts that are uploaded by using the current upload ID.

+ *
+ *

- If x-oss-complete-all:yes is specified in the request, OSS lists all parts that are uploaded by using the current upload ID, sorts the parts by part number, and then calls the CompleteMultipartUpload operation. OSS cannot detect the parts that are not uploaded or being uploaded when OSS calls the CompleteMultipartUpload operation. Before you call the CompleteMultipartUpload operation, make sure that all parts are uploaded.

+ *

- If x-oss-complete-all:yes is specified in the request, the request body cannot be specified. Otherwise, an error occurs.

+ *

- If x-oss-complete-all:yes is specified in the request, the format of the response remains unchanged.

+ */ + @NameInMap("x-oss-complete-all") + public String xOssCompleteAll; + + /** + *

Specifies whether the object with the same object name is overwritten when you call the CompleteMultipartUpload operation.

+ *
+ *

- If the value of x-oss-forbid-overwrite is not specified or set to false, the existing object can be overwritten by the object that has the same name.

+ *

- If the value of x-oss-forbid-overwrite is set to true, the existing object cannot be overwritten by the object that has the same name.

+ *
+ *

>

+ *

- The x-oss-forbid-overwrite request header is invalid if versioning is enabled or suspended for the bucket. In this case, the existing object can be overwritten by the object that has the same name when you call the CompleteMultipartUpload operation.

+ *

- If you specify the x-oss-forbid-overwrite request header, the queries per second (QPS) performance of OSS may be degraded. If you want to configure the x-oss-forbid-overwrite header in a large number of requests (QPS > 1,000), submit a ticket.

+ */ + @NameInMap("x-oss-forbid-overwrite") + public String xOssForbidOverwrite; + + public static CompleteMultipartUploadHeaders build(java.util.Map map) throws Exception { + CompleteMultipartUploadHeaders self = new CompleteMultipartUploadHeaders(); + return TeaModel.build(map, self); + } + + public CompleteMultipartUploadHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public CompleteMultipartUploadHeaders setXOssCompleteAll(String xOssCompleteAll) { + this.xOssCompleteAll = xOssCompleteAll; + return this; + } + public String getXOssCompleteAll() { + return this.xOssCompleteAll; + } + + public CompleteMultipartUploadHeaders setXOssForbidOverwrite(String xOssForbidOverwrite) { + this.xOssForbidOverwrite = xOssForbidOverwrite; + return this; + } + public String getXOssForbidOverwrite() { + return this.xOssForbidOverwrite; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CompleteMultipartUploadRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CompleteMultipartUploadRequest.java new file mode 100644 index 00000000..d5883f42 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CompleteMultipartUploadRequest.java @@ -0,0 +1,53 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CompleteMultipartUploadRequest extends TeaModel { + @NameInMap("body") + public CompleteMultipartUpload body; + + /** + *

The encoding type of the object name in the response. Only URL encoding is supported.

+ *


The object name can contain characters that are encoded in UTF-8. However, the XML 1.0 standard cannot be used to parse control characters, such as characters with an ASCII value from 0 to 10. You can configure this parameter to encode the object name in the response.

+ *


Default value: null

+ */ + @NameInMap("encoding-type") + public String encodingType; + + /** + *

The upload ID of the multipart upload task.

+ */ + @NameInMap("uploadId") + public String uploadId; + + public static CompleteMultipartUploadRequest build(java.util.Map map) throws Exception { + CompleteMultipartUploadRequest self = new CompleteMultipartUploadRequest(); + return TeaModel.build(map, self); + } + + public CompleteMultipartUploadRequest setBody(CompleteMultipartUpload body) { + this.body = body; + return this; + } + public CompleteMultipartUpload getBody() { + return this.body; + } + + public CompleteMultipartUploadRequest setEncodingType(String encodingType) { + this.encodingType = encodingType; + return this; + } + public String getEncodingType() { + return this.encodingType; + } + + public CompleteMultipartUploadRequest setUploadId(String uploadId) { + this.uploadId = uploadId; + return this; + } + public String getUploadId() { + return this.uploadId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CompleteMultipartUploadResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CompleteMultipartUploadResponse.java new file mode 100644 index 00000000..e54ba25f --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CompleteMultipartUploadResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CompleteMultipartUploadResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public CompleteMultipartUploadResponseBody body; + + public static CompleteMultipartUploadResponse build(java.util.Map map) throws Exception { + CompleteMultipartUploadResponse self = new CompleteMultipartUploadResponse(); + return TeaModel.build(map, self); + } + + public CompleteMultipartUploadResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public CompleteMultipartUploadResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public CompleteMultipartUploadResponse setBody(CompleteMultipartUploadResponseBody body) { + this.body = body; + return this; + } + public CompleteMultipartUploadResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CompleteMultipartUploadResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CompleteMultipartUploadResponseBody.java new file mode 100644 index 00000000..d6a124d2 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CompleteMultipartUploadResponseBody.java @@ -0,0 +1,84 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CompleteMultipartUploadResponseBody extends TeaModel { + /** + *

The name of the bucket.

+ */ + @NameInMap("Bucket") + public String bucket; + + /** + *

The ETag that is generated when an object is created. ETags are used to identify the content of objects.

+ *


If an object is created by calling the CompleteMultipartUpload operation, the ETag value is not the MD5 hash of the object content but a unique value calculated based on a specific rule.

+ *

>The ETag value of the object can be used to check whether the object content is modified. However, we recommend that you use the MD5 hash of an object rather than the ETag value of the object to verify data integrity.

+ */ + @NameInMap("ETag") + public String ETag; + + /** + *

The encoding type of the object name in the response. If this parameter is specified in the request, the object name is encoded in the response.

+ */ + @NameInMap("EncodingType") + public String encodingType; + + /** + *

The name of the uploaded object.

+ */ + @NameInMap("Key") + public String key; + + /** + *

The URL of the uploaded object.

+ */ + @NameInMap("Location") + public String location; + + public static CompleteMultipartUploadResponseBody build(java.util.Map map) throws Exception { + CompleteMultipartUploadResponseBody self = new CompleteMultipartUploadResponseBody(); + return TeaModel.build(map, self); + } + + public CompleteMultipartUploadResponseBody setBucket(String bucket) { + this.bucket = bucket; + return this; + } + public String getBucket() { + return this.bucket; + } + + public CompleteMultipartUploadResponseBody setETag(String ETag) { + this.ETag = ETag; + return this; + } + public String getETag() { + return this.ETag; + } + + public CompleteMultipartUploadResponseBody setEncodingType(String encodingType) { + this.encodingType = encodingType; + return this; + } + public String getEncodingType() { + return this.encodingType; + } + + public CompleteMultipartUploadResponseBody setKey(String key) { + this.key = key; + return this; + } + public String getKey() { + return this.key; + } + + public CompleteMultipartUploadResponseBody setLocation(String location) { + this.location = location; + return this; + } + public String getLocation() { + return this.location; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CopyObjectHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CopyObjectHeaders.java new file mode 100644 index 00000000..e3cf4ddc --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CopyObjectHeaders.java @@ -0,0 +1,255 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CopyObjectHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + /** + *

The path of the source object. By default, this header is left empty.

+ */ + @NameInMap("x-oss-copy-source") + public String xOssCopySource; + + /** + *

The object copy condition. If the ETag value of the source object is the same as the ETag value that you specify in the request, OSS copies the object and returns 200 OK. By default, this header is left empty.

+ */ + @NameInMap("x-oss-copy-source-if-match") + public String xOssCopySourceIfMatch; + + /** + *

If the source object is modified after the time that you specify in the request, OSS copies the object. By default, this header is left empty.

+ */ + @NameInMap("x-oss-copy-source-if-modified-since") + public String xOssCopySourceIfModifiedSince; + + /** + *

The object copy condition. If the ETag value of the source object is different from the ETag value that you specify in the request, OSS copies the object and returns 200 OK. By default, this header is left empty.

+ */ + @NameInMap("x-oss-copy-source-if-none-match") + public String xOssCopySourceIfNoneMatch; + + /** + *

The object copy condition. If the time that you specify in the request is the same as or later than the modification time of the object, OSS copies the object and returns 200 OK. By default, this header is left empty.

+ */ + @NameInMap("x-oss-copy-source-if-unmodified-since") + public String xOssCopySourceIfUnmodifiedSince; + + /** + *

Specifies whether the CopyObject operation overwrites objects with the same name. The **x-oss-forbid-overwrite** request header does not take effect when versioning is enabled or suspended for the destination bucket. In this case, the CopyObject operation overwrites the existing object that has the same name as the destination object.

+ *
+ *

* If you do not specify the **x-oss-forbid-overwrite** header or set the header to **false**, an existing object that has the same name as the object that you want to copy is overwritten.****

+ *

* If you set the **x-oss-forbid-overwrite** header to **true**, an existing object that has the same name as the object that you want to copy is not overwritten.

+ *
+ *

If you specify the **x-oss-forbid-overwrite** header, the queries per second (QPS) performance of OSS may be degraded. If you want to specify the **x-oss-forbid-overwrite** header in a large number of requests (QPS greater than 1,000), contact technical support. Default value: false.

+ */ + @NameInMap("x-oss-forbid-overwrite") + public String xOssForbidOverwrite; + + /** + *

You can add parameters that contain the x-oss-meta- prefix when you create an append object. You cannot include these parameters in the requests when you append objects to an existing append object. Parameters that contain the x-oss-meta-\* prefix are considered the metadata of the object. You can specify multiple parameters that contain the x-oss-meta- prefix for an object. The total size of the metadata cannot exceed 8 KB. The names of parameters that contain the x-oss-meta- prefix can contain hyphens (-), digits, and letters. Uppercase letters are converted into lowercase letters. Other characters such as underscores (\_) are not supported.

+ */ + @NameInMap("x-oss-meta-*") + public java.util.Map xOssMeta; + + /** + *

The method that is used to configure the metadata of the destination object. Default value: COPY.

+ *
+ *

* **COPY**: The metadata of the source object is copied to the destination object. The **x-oss-server-side-encryption** attribute of the source object is not copied to the destination object. The **x-oss-server-side-encryption** header in the CopyObject request specifies the method that is used to encrypt the destination object.

+ *

* **REPLACE**: The metadata that you specify in the request is used as the metadata of the destination object.

+ *
+ *

> If the path of the source object is the same as the path of the destination object and versioning is disabled for the bucket in which the source and destination objects are stored, the metadata that you specify in the CopyObject request is used as the metadata of the destination object regardless of the value of the x-oss-metadata-directive header.

+ */ + @NameInMap("x-oss-metadata-directive") + public String xOssMetadataDirective; + + /** + *

The access control list (ACL) of the destination object when the object is created. Default value: default.

+ *
+ *

Valid values:

+ *
+ *

* default: The ACL of the object is the same as the ACL of the bucket in which the object is stored.

+ *

* private: The ACL of the object is private. Only the owner of the object and authorized users have read and write permissions on the object. Other users do not have permissions on the object.

+ *

* public-read: The ACL of the object is public-read. Only the owner of the object and authorized users have read and write permissions on the object. Other users have only read permissions on the object. Exercise caution when you set the ACL of the bucket to this value.

+ *

* public-read-write: The ACL of the object is public-read-write. All users have read and write permissions on the object. Exercise caution when you set the ACL of the bucket to this value.

+ *
+ *

For more information about ACLs, see [Object ACL](~~100676~~).

+ */ + @NameInMap("x-oss-object-acl") + public String xOssObjectAcl; + + /** + *

The entropy coding-based encryption algorithm that OSS uses to encrypt an object when you create the object. The valid values of the header are **AES256** and **KMS**. You must activate Key Management Service (KMS) in the OSS console before you can use the KMS encryption algorithm. Otherwise, the KmsServiceNotEnabled error is returned.

+ *
+ *

* If you do not specify the **x-oss-server-side-encryption** header in the CopyObject request, the destination object is not encrypted on the server regardless of whether the source object is encrypted on the server.

+ *

* If you specify the **x-oss-server-side-encryption** header in the CopyObject request, the destination object is encrypted on the server after the CopyObject operation is performed regardless of whether the source object is encrypted on the server. In addition, the response to a CopyObject request contains the **x-oss-server-side-encryption** header whose value is the encryption algorithm of the destination object. When the destination object is downloaded, the **x-oss-server-side-encryption** header is included in the response. The value of this header is the encryption algorithm of the destination object.

+ */ + @NameInMap("x-oss-server-side-encryption") + public String xOssServerSideEncryption; + + /** + *

The ID of the customer master key (CMK) that is managed by KMS. This parameter is available only if you set **x-oss-server-side-encryption** to KMS.

+ */ + @NameInMap("x-oss-server-side-encryption-key-id") + public String xOssServerSideEncryptionKeyId; + + /** + *

The storage class of the object that you want to upload. Default value: Standard. If you specify a storage class when you upload the object, the storage class applies regardless of the storage class of the bucket to which you upload the object. For example, if you set **x-oss-storage-class** to Standard when you upload an object to an IA bucket, the storage class of the uploaded object is Standard.

+ *
+ *

Valid values:

+ *
+ *

* Standard

+ *

* IA

+ *

* Archive

+ *

* ColdArchive

+ *
+ *

For more information about storage classes, see [Overview](~~51374~~).

+ */ + @NameInMap("x-oss-storage-class") + public String xOssStorageClass; + + /** + *

The tag of the destination object. You can add multiple tags to the destination object. Example: TagA=A\&TagB=B.

+ *
+ *

> The tag key and tag value must be URL-encoded. If a key-value pair does not contain an equal sign (=), the tag value is considered an empty string.

+ */ + @NameInMap("x-oss-tagging") + public String xOssTagging; + + /** + *

The method that is used to add tags to the destination object. Default value: Copy. Valid values:

+ *
+ *

* **Copy**: The tags of the source object are copied to the destination object.

+ *

* **Replace**: The tags that you specify in the request are added to the destination object.

+ */ + @NameInMap("x-oss-tagging-directive") + public String xOssTaggingDirective; + + public static CopyObjectHeaders build(java.util.Map map) throws Exception { + CopyObjectHeaders self = new CopyObjectHeaders(); + return TeaModel.build(map, self); + } + + public CopyObjectHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public CopyObjectHeaders setXOssCopySource(String xOssCopySource) { + this.xOssCopySource = xOssCopySource; + return this; + } + public String getXOssCopySource() { + return this.xOssCopySource; + } + + public CopyObjectHeaders setXOssCopySourceIfMatch(String xOssCopySourceIfMatch) { + this.xOssCopySourceIfMatch = xOssCopySourceIfMatch; + return this; + } + public String getXOssCopySourceIfMatch() { + return this.xOssCopySourceIfMatch; + } + + public CopyObjectHeaders setXOssCopySourceIfModifiedSince(String xOssCopySourceIfModifiedSince) { + this.xOssCopySourceIfModifiedSince = xOssCopySourceIfModifiedSince; + return this; + } + public String getXOssCopySourceIfModifiedSince() { + return this.xOssCopySourceIfModifiedSince; + } + + public CopyObjectHeaders setXOssCopySourceIfNoneMatch(String xOssCopySourceIfNoneMatch) { + this.xOssCopySourceIfNoneMatch = xOssCopySourceIfNoneMatch; + return this; + } + public String getXOssCopySourceIfNoneMatch() { + return this.xOssCopySourceIfNoneMatch; + } + + public CopyObjectHeaders setXOssCopySourceIfUnmodifiedSince(String xOssCopySourceIfUnmodifiedSince) { + this.xOssCopySourceIfUnmodifiedSince = xOssCopySourceIfUnmodifiedSince; + return this; + } + public String getXOssCopySourceIfUnmodifiedSince() { + return this.xOssCopySourceIfUnmodifiedSince; + } + + public CopyObjectHeaders setXOssForbidOverwrite(String xOssForbidOverwrite) { + this.xOssForbidOverwrite = xOssForbidOverwrite; + return this; + } + public String getXOssForbidOverwrite() { + return this.xOssForbidOverwrite; + } + + public CopyObjectHeaders setXOssMeta(java.util.Map xOssMeta) { + this.xOssMeta = xOssMeta; + return this; + } + public java.util.Map getXOssMeta() { + return this.xOssMeta; + } + + public CopyObjectHeaders setXOssMetadataDirective(String xOssMetadataDirective) { + this.xOssMetadataDirective = xOssMetadataDirective; + return this; + } + public String getXOssMetadataDirective() { + return this.xOssMetadataDirective; + } + + public CopyObjectHeaders setXOssObjectAcl(String xOssObjectAcl) { + this.xOssObjectAcl = xOssObjectAcl; + return this; + } + public String getXOssObjectAcl() { + return this.xOssObjectAcl; + } + + public CopyObjectHeaders setXOssServerSideEncryption(String xOssServerSideEncryption) { + this.xOssServerSideEncryption = xOssServerSideEncryption; + return this; + } + public String getXOssServerSideEncryption() { + return this.xOssServerSideEncryption; + } + + public CopyObjectHeaders setXOssServerSideEncryptionKeyId(String xOssServerSideEncryptionKeyId) { + this.xOssServerSideEncryptionKeyId = xOssServerSideEncryptionKeyId; + return this; + } + public String getXOssServerSideEncryptionKeyId() { + return this.xOssServerSideEncryptionKeyId; + } + + public CopyObjectHeaders setXOssStorageClass(String xOssStorageClass) { + this.xOssStorageClass = xOssStorageClass; + return this; + } + public String getXOssStorageClass() { + return this.xOssStorageClass; + } + + public CopyObjectHeaders setXOssTagging(String xOssTagging) { + this.xOssTagging = xOssTagging; + return this; + } + public String getXOssTagging() { + return this.xOssTagging; + } + + public CopyObjectHeaders setXOssTaggingDirective(String xOssTaggingDirective) { + this.xOssTaggingDirective = xOssTaggingDirective; + return this; + } + public String getXOssTaggingDirective() { + return this.xOssTaggingDirective; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CopyObjectResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CopyObjectResponse.java new file mode 100644 index 00000000..b4b7c8d8 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CopyObjectResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CopyObjectResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public CopyObjectResponseBody body; + + public static CopyObjectResponse build(java.util.Map map) throws Exception { + CopyObjectResponse self = new CopyObjectResponse(); + return TeaModel.build(map, self); + } + + public CopyObjectResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public CopyObjectResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public CopyObjectResponse setBody(CopyObjectResponseBody body) { + this.body = body; + return this; + } + public CopyObjectResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CopyObjectResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CopyObjectResponseBody.java new file mode 100644 index 00000000..df7befcd --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CopyObjectResponseBody.java @@ -0,0 +1,40 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CopyObjectResponseBody extends TeaModel { + /** + *

The ETag value of the destination object.

+ */ + @NameInMap("ETag") + public String ETag; + + /** + *

The time when the destination object was last modified.

+ */ + @NameInMap("LastModified") + public String lastModified; + + public static CopyObjectResponseBody build(java.util.Map map) throws Exception { + CopyObjectResponseBody self = new CopyObjectResponseBody(); + return TeaModel.build(map, self); + } + + public CopyObjectResponseBody setETag(String ETag) { + this.ETag = ETag; + return this; + } + public String getETag() { + return this.ETag; + } + + public CopyObjectResponseBody setLastModified(String lastModified) { + this.lastModified = lastModified; + return this; + } + public String getLastModified() { + return this.lastModified; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CopyObjectResult.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CopyObjectResult.java new file mode 100644 index 00000000..54c0f97e --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CopyObjectResult.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CopyObjectResult extends TeaModel { + @NameInMap("ETag") + public String ETag; + + @NameInMap("LastModified") + public String lastModified; + + public static CopyObjectResult build(java.util.Map map) throws Exception { + CopyObjectResult self = new CopyObjectResult(); + return TeaModel.build(map, self); + } + + public CopyObjectResult setETag(String ETag) { + this.ETag = ETag; + return this; + } + public String getETag() { + return this.ETag; + } + + public CopyObjectResult setLastModified(String lastModified) { + this.lastModified = lastModified; + return this; + } + public String getLastModified() { + return this.lastModified; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CopyPartResult.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CopyPartResult.java new file mode 100644 index 00000000..c9967c41 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CopyPartResult.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CopyPartResult extends TeaModel { + @NameInMap("ETag") + public String ETag; + + @NameInMap("LastModified") + public String lastModified; + + public static CopyPartResult build(java.util.Map map) throws Exception { + CopyPartResult self = new CopyPartResult(); + return TeaModel.build(map, self); + } + + public CopyPartResult setETag(String ETag) { + this.ETag = ETag; + return this; + } + public String getETag() { + return this.ETag; + } + + public CopyPartResult setLastModified(String lastModified) { + this.lastModified = lastModified; + return this; + } + public String getLastModified() { + return this.lastModified; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointConfiguration.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointConfiguration.java new file mode 100644 index 00000000..08ed34ae --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointConfiguration.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CreateAccessPointConfiguration extends TeaModel { + @NameInMap("AccessPointName") + public String accessPointName; + + @NameInMap("NetworkOrigin") + public String networkOrigin; + + @NameInMap("VpcConfiguration") + public AccessPointVpcConfiguration vpcConfiguration; + + public static CreateAccessPointConfiguration build(java.util.Map map) throws Exception { + CreateAccessPointConfiguration self = new CreateAccessPointConfiguration(); + return TeaModel.build(map, self); + } + + public CreateAccessPointConfiguration setAccessPointName(String accessPointName) { + this.accessPointName = accessPointName; + return this; + } + public String getAccessPointName() { + return this.accessPointName; + } + + public CreateAccessPointConfiguration setNetworkOrigin(String networkOrigin) { + this.networkOrigin = networkOrigin; + return this; + } + public String getNetworkOrigin() { + return this.networkOrigin; + } + + public CreateAccessPointConfiguration setVpcConfiguration(AccessPointVpcConfiguration vpcConfiguration) { + this.vpcConfiguration = vpcConfiguration; + return this; + } + public AccessPointVpcConfiguration getVpcConfiguration() { + return this.vpcConfiguration; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointForObjectProcessHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointForObjectProcessHeaders.java new file mode 100644 index 00000000..13ba94b2 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointForObjectProcessHeaders.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CreateAccessPointForObjectProcessHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + @NameInMap("x-oss-access-point-for-object-process-name") + public String xOssAccessPointForObjectProcessName; + + public static CreateAccessPointForObjectProcessHeaders build(java.util.Map map) throws Exception { + CreateAccessPointForObjectProcessHeaders self = new CreateAccessPointForObjectProcessHeaders(); + return TeaModel.build(map, self); + } + + public CreateAccessPointForObjectProcessHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public CreateAccessPointForObjectProcessHeaders setXOssAccessPointForObjectProcessName(String xOssAccessPointForObjectProcessName) { + this.xOssAccessPointForObjectProcessName = xOssAccessPointForObjectProcessName; + return this; + } + public String getXOssAccessPointForObjectProcessName() { + return this.xOssAccessPointForObjectProcessName; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointForObjectProcessRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointForObjectProcessRequest.java new file mode 100644 index 00000000..1a913527 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointForObjectProcessRequest.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CreateAccessPointForObjectProcessRequest extends TeaModel { + @NameInMap("AccessPointName") + public String accessPointName; + + @NameInMap("ObjectProcessConfiguration") + public ObjectProcessConfiguration objectProcessConfiguration; + + public static CreateAccessPointForObjectProcessRequest build(java.util.Map map) throws Exception { + CreateAccessPointForObjectProcessRequest self = new CreateAccessPointForObjectProcessRequest(); + return TeaModel.build(map, self); + } + + public CreateAccessPointForObjectProcessRequest setAccessPointName(String accessPointName) { + this.accessPointName = accessPointName; + return this; + } + public String getAccessPointName() { + return this.accessPointName; + } + + public CreateAccessPointForObjectProcessRequest setObjectProcessConfiguration(ObjectProcessConfiguration objectProcessConfiguration) { + this.objectProcessConfiguration = objectProcessConfiguration; + return this; + } + public ObjectProcessConfiguration getObjectProcessConfiguration() { + return this.objectProcessConfiguration; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointForObjectProcessResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointForObjectProcessResponse.java new file mode 100644 index 00000000..01eec93d --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointForObjectProcessResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CreateAccessPointForObjectProcessResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public CreateAccessPointForObjectProcessResponseBody body; + + public static CreateAccessPointForObjectProcessResponse build(java.util.Map map) throws Exception { + CreateAccessPointForObjectProcessResponse self = new CreateAccessPointForObjectProcessResponse(); + return TeaModel.build(map, self); + } + + public CreateAccessPointForObjectProcessResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public CreateAccessPointForObjectProcessResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public CreateAccessPointForObjectProcessResponse setBody(CreateAccessPointForObjectProcessResponseBody body) { + this.body = body; + return this; + } + public CreateAccessPointForObjectProcessResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointForObjectProcessResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointForObjectProcessResponseBody.java new file mode 100644 index 00000000..c1d30f9f --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointForObjectProcessResponseBody.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CreateAccessPointForObjectProcessResponseBody extends TeaModel { + @NameInMap("AccessPointForObjectProcessAlias") + public String accessPointForObjectProcessAlias; + + @NameInMap("AccessPointForObjectProcessArn") + public String accessPointForObjectProcessArn; + + public static CreateAccessPointForObjectProcessResponseBody build(java.util.Map map) throws Exception { + CreateAccessPointForObjectProcessResponseBody self = new CreateAccessPointForObjectProcessResponseBody(); + return TeaModel.build(map, self); + } + + public CreateAccessPointForObjectProcessResponseBody setAccessPointForObjectProcessAlias(String accessPointForObjectProcessAlias) { + this.accessPointForObjectProcessAlias = accessPointForObjectProcessAlias; + return this; + } + public String getAccessPointForObjectProcessAlias() { + return this.accessPointForObjectProcessAlias; + } + + public CreateAccessPointForObjectProcessResponseBody setAccessPointForObjectProcessArn(String accessPointForObjectProcessArn) { + this.accessPointForObjectProcessArn = accessPointForObjectProcessArn; + return this; + } + public String getAccessPointForObjectProcessArn() { + return this.accessPointForObjectProcessArn; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointRequest.java new file mode 100644 index 00000000..5b8b2be5 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CreateAccessPointRequest extends TeaModel { + /** + *

The container that stores the information about the access point.

+ */ + @NameInMap("body") + public CreateAccessPointConfiguration body; + + public static CreateAccessPointRequest build(java.util.Map map) throws Exception { + CreateAccessPointRequest self = new CreateAccessPointRequest(); + return TeaModel.build(map, self); + } + + public CreateAccessPointRequest setBody(CreateAccessPointConfiguration body) { + this.body = body; + return this; + } + public CreateAccessPointConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointResponse.java new file mode 100644 index 00000000..47537a88 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CreateAccessPointResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public CreateAccessPointResult body; + + public static CreateAccessPointResponse build(java.util.Map map) throws Exception { + CreateAccessPointResponse self = new CreateAccessPointResponse(); + return TeaModel.build(map, self); + } + + public CreateAccessPointResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public CreateAccessPointResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public CreateAccessPointResponse setBody(CreateAccessPointResult body) { + this.body = body; + return this; + } + public CreateAccessPointResult getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointResult.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointResult.java new file mode 100644 index 00000000..05d6d097 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateAccessPointResult.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CreateAccessPointResult extends TeaModel { + @NameInMap("AccessPointArn") + public String accessPointArn; + + @NameInMap("Alias") + public String alias; + + public static CreateAccessPointResult build(java.util.Map map) throws Exception { + CreateAccessPointResult self = new CreateAccessPointResult(); + return TeaModel.build(map, self); + } + + public CreateAccessPointResult setAccessPointArn(String accessPointArn) { + this.accessPointArn = accessPointArn; + return this; + } + public String getAccessPointArn() { + return this.accessPointArn; + } + + public CreateAccessPointResult setAlias(String alias) { + this.alias = alias; + return this; + } + public String getAlias() { + return this.alias; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateBucketConfiguration.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateBucketConfiguration.java new file mode 100644 index 00000000..9139aa2a --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateBucketConfiguration.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CreateBucketConfiguration extends TeaModel { + @NameInMap("DataRedundancyType") + public String dataRedundancyType; + + @NameInMap("StorageClass") + public String storageClass; + + public static CreateBucketConfiguration build(java.util.Map map) throws Exception { + CreateBucketConfiguration self = new CreateBucketConfiguration(); + return TeaModel.build(map, self); + } + + public CreateBucketConfiguration setDataRedundancyType(String dataRedundancyType) { + this.dataRedundancyType = dataRedundancyType; + return this; + } + public String getDataRedundancyType() { + return this.dataRedundancyType; + } + + public CreateBucketConfiguration setStorageClass(String storageClass) { + this.storageClass = storageClass; + return this; + } + public String getStorageClass() { + return this.storageClass; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateBucketDataRedundancyTransitionRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateBucketDataRedundancyTransitionRequest.java new file mode 100644 index 00000000..dccb9d46 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateBucketDataRedundancyTransitionRequest.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CreateBucketDataRedundancyTransitionRequest extends TeaModel { + @NameInMap("x-oss-target-redundancy-type") + public String xOssTargetRedundancyType; + + public static CreateBucketDataRedundancyTransitionRequest build(java.util.Map map) throws Exception { + CreateBucketDataRedundancyTransitionRequest self = new CreateBucketDataRedundancyTransitionRequest(); + return TeaModel.build(map, self); + } + + public CreateBucketDataRedundancyTransitionRequest setXOssTargetRedundancyType(String xOssTargetRedundancyType) { + this.xOssTargetRedundancyType = xOssTargetRedundancyType; + return this; + } + public String getXOssTargetRedundancyType() { + return this.xOssTargetRedundancyType; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateBucketDataRedundancyTransitionResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateBucketDataRedundancyTransitionResponse.java new file mode 100644 index 00000000..0098109c --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateBucketDataRedundancyTransitionResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CreateBucketDataRedundancyTransitionResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public CreateBucketDataRedundancyTransitionResponseBody body; + + public static CreateBucketDataRedundancyTransitionResponse build(java.util.Map map) throws Exception { + CreateBucketDataRedundancyTransitionResponse self = new CreateBucketDataRedundancyTransitionResponse(); + return TeaModel.build(map, self); + } + + public CreateBucketDataRedundancyTransitionResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public CreateBucketDataRedundancyTransitionResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public CreateBucketDataRedundancyTransitionResponse setBody(CreateBucketDataRedundancyTransitionResponseBody body) { + this.body = body; + return this; + } + public CreateBucketDataRedundancyTransitionResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateBucketDataRedundancyTransitionResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateBucketDataRedundancyTransitionResponseBody.java new file mode 100644 index 00000000..d990749e --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateBucketDataRedundancyTransitionResponseBody.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CreateBucketDataRedundancyTransitionResponseBody extends TeaModel { + @NameInMap("TaskId") + public String taskId; + + public static CreateBucketDataRedundancyTransitionResponseBody build(java.util.Map map) throws Exception { + CreateBucketDataRedundancyTransitionResponseBody self = new CreateBucketDataRedundancyTransitionResponseBody(); + return TeaModel.build(map, self); + } + + public CreateBucketDataRedundancyTransitionResponseBody setTaskId(String taskId) { + this.taskId = taskId; + return this; + } + public String getTaskId() { + return this.taskId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateCnameTokenRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateCnameTokenRequest.java new file mode 100644 index 00000000..9e60ec3f --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateCnameTokenRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CreateCnameTokenRequest extends TeaModel { + /** + *

The container that stores the CNAME record.

+ */ + @NameInMap("body") + public BucketCnameConfiguration body; + + public static CreateCnameTokenRequest build(java.util.Map map) throws Exception { + CreateCnameTokenRequest self = new CreateCnameTokenRequest(); + return TeaModel.build(map, self); + } + + public CreateCnameTokenRequest setBody(BucketCnameConfiguration body) { + this.body = body; + return this; + } + public BucketCnameConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateCnameTokenResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateCnameTokenResponse.java new file mode 100644 index 00000000..7efd5dec --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateCnameTokenResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CreateCnameTokenResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public CnameToken body; + + public static CreateCnameTokenResponse build(java.util.Map map) throws Exception { + CreateCnameTokenResponse self = new CreateCnameTokenResponse(); + return TeaModel.build(map, self); + } + + public CreateCnameTokenResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public CreateCnameTokenResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public CreateCnameTokenResponse setBody(CnameToken body) { + this.body = body; + return this; + } + public CnameToken getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateSelectObjectMetaRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateSelectObjectMetaRequest.java new file mode 100644 index 00000000..f6b3ce2a --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateSelectObjectMetaRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CreateSelectObjectMetaRequest extends TeaModel { + /** + *

The container that stores SelectMetaRequest information.

+ */ + @NameInMap("body") + public SelectMetaRequest body; + + public static CreateSelectObjectMetaRequest build(java.util.Map map) throws Exception { + CreateSelectObjectMetaRequest self = new CreateSelectObjectMetaRequest(); + return TeaModel.build(map, self); + } + + public CreateSelectObjectMetaRequest setBody(SelectMetaRequest body) { + this.body = body; + return this; + } + public SelectMetaRequest getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateSelectObjectMetaResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateSelectObjectMetaResponse.java new file mode 100644 index 00000000..4f34f653 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/CreateSelectObjectMetaResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class CreateSelectObjectMetaResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public SelectMetaStatus body; + + public static CreateSelectObjectMetaResponse build(java.util.Map map) throws Exception { + CreateSelectObjectMetaResponse self = new CreateSelectObjectMetaResponse(); + return TeaModel.build(map, self); + } + + public CreateSelectObjectMetaResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public CreateSelectObjectMetaResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public CreateSelectObjectMetaResponse setBody(SelectMetaStatus body) { + this.body = body; + return this; + } + public SelectMetaStatus getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Delete.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Delete.java new file mode 100644 index 00000000..30f35e4f --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Delete.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class Delete extends TeaModel { + @NameInMap("Object") + public java.util.List object; + + @NameInMap("Quiet") + public Boolean quiet; + + public static Delete build(java.util.Map map) throws Exception { + Delete self = new Delete(); + return TeaModel.build(map, self); + } + + public Delete setObject(java.util.List object) { + this.object = object; + return this; + } + public java.util.List getObject() { + return this.object; + } + + public Delete setQuiet(Boolean quiet) { + this.quiet = quiet; + return this; + } + public Boolean getQuiet() { + return this.quiet; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointForObjectProcessHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointForObjectProcessHeaders.java new file mode 100644 index 00000000..2a3d86d8 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointForObjectProcessHeaders.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteAccessPointForObjectProcessHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + @NameInMap("x-oss-access-point-for-object-process-name") + public String xOssAccessPointForObjectProcessName; + + public static DeleteAccessPointForObjectProcessHeaders build(java.util.Map map) throws Exception { + DeleteAccessPointForObjectProcessHeaders self = new DeleteAccessPointForObjectProcessHeaders(); + return TeaModel.build(map, self); + } + + public DeleteAccessPointForObjectProcessHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public DeleteAccessPointForObjectProcessHeaders setXOssAccessPointForObjectProcessName(String xOssAccessPointForObjectProcessName) { + this.xOssAccessPointForObjectProcessName = xOssAccessPointForObjectProcessName; + return this; + } + public String getXOssAccessPointForObjectProcessName() { + return this.xOssAccessPointForObjectProcessName; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointForObjectProcessResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointForObjectProcessResponse.java new file mode 100644 index 00000000..0b4020a4 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointForObjectProcessResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteAccessPointForObjectProcessResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static DeleteAccessPointForObjectProcessResponse build(java.util.Map map) throws Exception { + DeleteAccessPointForObjectProcessResponse self = new DeleteAccessPointForObjectProcessResponse(); + return TeaModel.build(map, self); + } + + public DeleteAccessPointForObjectProcessResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DeleteAccessPointForObjectProcessResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointHeaders.java new file mode 100644 index 00000000..e2d7c4a9 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointHeaders.java @@ -0,0 +1,37 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteAccessPointHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + /** + *

The name of the access point.

+ */ + @NameInMap("x-oss-access-point-name") + public String xOssAccessPointName; + + public static DeleteAccessPointHeaders build(java.util.Map map) throws Exception { + DeleteAccessPointHeaders self = new DeleteAccessPointHeaders(); + return TeaModel.build(map, self); + } + + public DeleteAccessPointHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public DeleteAccessPointHeaders setXOssAccessPointName(String xOssAccessPointName) { + this.xOssAccessPointName = xOssAccessPointName; + return this; + } + public String getXOssAccessPointName() { + return this.xOssAccessPointName; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointPolicyForObjectProcessHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointPolicyForObjectProcessHeaders.java new file mode 100644 index 00000000..d2f1f9e5 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointPolicyForObjectProcessHeaders.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteAccessPointPolicyForObjectProcessHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + @NameInMap("x-oss-access-point-for-object-process-name") + public String xOssAccessPointForObjectProcessName; + + public static DeleteAccessPointPolicyForObjectProcessHeaders build(java.util.Map map) throws Exception { + DeleteAccessPointPolicyForObjectProcessHeaders self = new DeleteAccessPointPolicyForObjectProcessHeaders(); + return TeaModel.build(map, self); + } + + public DeleteAccessPointPolicyForObjectProcessHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public DeleteAccessPointPolicyForObjectProcessHeaders setXOssAccessPointForObjectProcessName(String xOssAccessPointForObjectProcessName) { + this.xOssAccessPointForObjectProcessName = xOssAccessPointForObjectProcessName; + return this; + } + public String getXOssAccessPointForObjectProcessName() { + return this.xOssAccessPointForObjectProcessName; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointPolicyForObjectProcessResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointPolicyForObjectProcessResponse.java new file mode 100644 index 00000000..69c1eac2 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointPolicyForObjectProcessResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteAccessPointPolicyForObjectProcessResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static DeleteAccessPointPolicyForObjectProcessResponse build(java.util.Map map) throws Exception { + DeleteAccessPointPolicyForObjectProcessResponse self = new DeleteAccessPointPolicyForObjectProcessResponse(); + return TeaModel.build(map, self); + } + + public DeleteAccessPointPolicyForObjectProcessResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DeleteAccessPointPolicyForObjectProcessResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointPolicyHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointPolicyHeaders.java new file mode 100644 index 00000000..61636e6c --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointPolicyHeaders.java @@ -0,0 +1,37 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteAccessPointPolicyHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + /** + *

The name of the access point.

+ */ + @NameInMap("x-oss-access-point-name") + public String xOssAccessPointName; + + public static DeleteAccessPointPolicyHeaders build(java.util.Map map) throws Exception { + DeleteAccessPointPolicyHeaders self = new DeleteAccessPointPolicyHeaders(); + return TeaModel.build(map, self); + } + + public DeleteAccessPointPolicyHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public DeleteAccessPointPolicyHeaders setXOssAccessPointName(String xOssAccessPointName) { + this.xOssAccessPointName = xOssAccessPointName; + return this; + } + public String getXOssAccessPointName() { + return this.xOssAccessPointName; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointPolicyResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointPolicyResponse.java new file mode 100644 index 00000000..768c3cd6 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointPolicyResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteAccessPointPolicyResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static DeleteAccessPointPolicyResponse build(java.util.Map map) throws Exception { + DeleteAccessPointPolicyResponse self = new DeleteAccessPointPolicyResponse(); + return TeaModel.build(map, self); + } + + public DeleteAccessPointPolicyResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DeleteAccessPointPolicyResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointPublicAccessBlockRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointPublicAccessBlockRequest.java new file mode 100644 index 00000000..4243b43b --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointPublicAccessBlockRequest.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteAccessPointPublicAccessBlockRequest extends TeaModel { + @NameInMap("x-oss-access-point-name") + public String xOssAccessPointName; + + public static DeleteAccessPointPublicAccessBlockRequest build(java.util.Map map) throws Exception { + DeleteAccessPointPublicAccessBlockRequest self = new DeleteAccessPointPublicAccessBlockRequest(); + return TeaModel.build(map, self); + } + + public DeleteAccessPointPublicAccessBlockRequest setXOssAccessPointName(String xOssAccessPointName) { + this.xOssAccessPointName = xOssAccessPointName; + return this; + } + public String getXOssAccessPointName() { + return this.xOssAccessPointName; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointPublicAccessBlockResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointPublicAccessBlockResponse.java new file mode 100644 index 00000000..2ef27c01 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointPublicAccessBlockResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteAccessPointPublicAccessBlockResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static DeleteAccessPointPublicAccessBlockResponse build(java.util.Map map) throws Exception { + DeleteAccessPointPublicAccessBlockResponse self = new DeleteAccessPointPublicAccessBlockResponse(); + return TeaModel.build(map, self); + } + + public DeleteAccessPointPublicAccessBlockResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DeleteAccessPointPublicAccessBlockResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointResponse.java new file mode 100644 index 00000000..a898167c --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteAccessPointResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteAccessPointResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static DeleteAccessPointResponse build(java.util.Map map) throws Exception { + DeleteAccessPointResponse self = new DeleteAccessPointResponse(); + return TeaModel.build(map, self); + } + + public DeleteAccessPointResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DeleteAccessPointResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketCallbackPolicyResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketCallbackPolicyResponse.java new file mode 100644 index 00000000..8cfff672 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketCallbackPolicyResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteBucketCallbackPolicyResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static DeleteBucketCallbackPolicyResponse build(java.util.Map map) throws Exception { + DeleteBucketCallbackPolicyResponse self = new DeleteBucketCallbackPolicyResponse(); + return TeaModel.build(map, self); + } + + public DeleteBucketCallbackPolicyResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DeleteBucketCallbackPolicyResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketCorsResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketCorsResponse.java new file mode 100644 index 00000000..6f2f7ea0 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketCorsResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteBucketCorsResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static DeleteBucketCorsResponse build(java.util.Map map) throws Exception { + DeleteBucketCorsResponse self = new DeleteBucketCorsResponse(); + return TeaModel.build(map, self); + } + + public DeleteBucketCorsResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DeleteBucketCorsResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketDataRedundancyTransitionRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketDataRedundancyTransitionRequest.java new file mode 100644 index 00000000..707f9baa --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketDataRedundancyTransitionRequest.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteBucketDataRedundancyTransitionRequest extends TeaModel { + @NameInMap("x-oss-redundancy-transition-taskid") + public String xOssRedundancyTransitionTaskid; + + public static DeleteBucketDataRedundancyTransitionRequest build(java.util.Map map) throws Exception { + DeleteBucketDataRedundancyTransitionRequest self = new DeleteBucketDataRedundancyTransitionRequest(); + return TeaModel.build(map, self); + } + + public DeleteBucketDataRedundancyTransitionRequest setXOssRedundancyTransitionTaskid(String xOssRedundancyTransitionTaskid) { + this.xOssRedundancyTransitionTaskid = xOssRedundancyTransitionTaskid; + return this; + } + public String getXOssRedundancyTransitionTaskid() { + return this.xOssRedundancyTransitionTaskid; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketDataRedundancyTransitionResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketDataRedundancyTransitionResponse.java new file mode 100644 index 00000000..ccf4f249 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketDataRedundancyTransitionResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteBucketDataRedundancyTransitionResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static DeleteBucketDataRedundancyTransitionResponse build(java.util.Map map) throws Exception { + DeleteBucketDataRedundancyTransitionResponse self = new DeleteBucketDataRedundancyTransitionResponse(); + return TeaModel.build(map, self); + } + + public DeleteBucketDataRedundancyTransitionResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DeleteBucketDataRedundancyTransitionResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketEncryptionResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketEncryptionResponse.java new file mode 100644 index 00000000..949d1733 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketEncryptionResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteBucketEncryptionResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static DeleteBucketEncryptionResponse build(java.util.Map map) throws Exception { + DeleteBucketEncryptionResponse self = new DeleteBucketEncryptionResponse(); + return TeaModel.build(map, self); + } + + public DeleteBucketEncryptionResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DeleteBucketEncryptionResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketInventoryRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketInventoryRequest.java new file mode 100644 index 00000000..11de1c0c --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketInventoryRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteBucketInventoryRequest extends TeaModel { + /** + *

The name of the inventory that you want to delete.

+ */ + @NameInMap("inventoryId") + public String inventoryId; + + public static DeleteBucketInventoryRequest build(java.util.Map map) throws Exception { + DeleteBucketInventoryRequest self = new DeleteBucketInventoryRequest(); + return TeaModel.build(map, self); + } + + public DeleteBucketInventoryRequest setInventoryId(String inventoryId) { + this.inventoryId = inventoryId; + return this; + } + public String getInventoryId() { + return this.inventoryId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketInventoryResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketInventoryResponse.java new file mode 100644 index 00000000..54d59e69 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketInventoryResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteBucketInventoryResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static DeleteBucketInventoryResponse build(java.util.Map map) throws Exception { + DeleteBucketInventoryResponse self = new DeleteBucketInventoryResponse(); + return TeaModel.build(map, self); + } + + public DeleteBucketInventoryResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DeleteBucketInventoryResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketLifecycleResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketLifecycleResponse.java new file mode 100644 index 00000000..8663cc07 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketLifecycleResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteBucketLifecycleResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static DeleteBucketLifecycleResponse build(java.util.Map map) throws Exception { + DeleteBucketLifecycleResponse self = new DeleteBucketLifecycleResponse(); + return TeaModel.build(map, self); + } + + public DeleteBucketLifecycleResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DeleteBucketLifecycleResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketLoggingResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketLoggingResponse.java new file mode 100644 index 00000000..34f4c220 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketLoggingResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteBucketLoggingResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static DeleteBucketLoggingResponse build(java.util.Map map) throws Exception { + DeleteBucketLoggingResponse self = new DeleteBucketLoggingResponse(); + return TeaModel.build(map, self); + } + + public DeleteBucketLoggingResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DeleteBucketLoggingResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketPolicyResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketPolicyResponse.java new file mode 100644 index 00000000..51b38da4 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketPolicyResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteBucketPolicyResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static DeleteBucketPolicyResponse build(java.util.Map map) throws Exception { + DeleteBucketPolicyResponse self = new DeleteBucketPolicyResponse(); + return TeaModel.build(map, self); + } + + public DeleteBucketPolicyResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DeleteBucketPolicyResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketPublicAccessBlockResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketPublicAccessBlockResponse.java new file mode 100644 index 00000000..dd955864 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketPublicAccessBlockResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteBucketPublicAccessBlockResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static DeleteBucketPublicAccessBlockResponse build(java.util.Map map) throws Exception { + DeleteBucketPublicAccessBlockResponse self = new DeleteBucketPublicAccessBlockResponse(); + return TeaModel.build(map, self); + } + + public DeleteBucketPublicAccessBlockResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DeleteBucketPublicAccessBlockResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketReplicationRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketReplicationRequest.java new file mode 100644 index 00000000..30f11b0f --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketReplicationRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteBucketReplicationRequest extends TeaModel { + /** + *

The container that stores the data replication rules to be deleted.

+ */ + @NameInMap("body") + public ReplicationRules body; + + public static DeleteBucketReplicationRequest build(java.util.Map map) throws Exception { + DeleteBucketReplicationRequest self = new DeleteBucketReplicationRequest(); + return TeaModel.build(map, self); + } + + public DeleteBucketReplicationRequest setBody(ReplicationRules body) { + this.body = body; + return this; + } + public ReplicationRules getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketReplicationResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketReplicationResponse.java new file mode 100644 index 00000000..9b180130 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketReplicationResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteBucketReplicationResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static DeleteBucketReplicationResponse build(java.util.Map map) throws Exception { + DeleteBucketReplicationResponse self = new DeleteBucketReplicationResponse(); + return TeaModel.build(map, self); + } + + public DeleteBucketReplicationResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DeleteBucketReplicationResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketResponse.java new file mode 100644 index 00000000..b7935d7d --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteBucketResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static DeleteBucketResponse build(java.util.Map map) throws Exception { + DeleteBucketResponse self = new DeleteBucketResponse(); + return TeaModel.build(map, self); + } + + public DeleteBucketResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DeleteBucketResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketResponseHeaderResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketResponseHeaderResponse.java new file mode 100644 index 00000000..23aae724 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketResponseHeaderResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteBucketResponseHeaderResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static DeleteBucketResponseHeaderResponse build(java.util.Map map) throws Exception { + DeleteBucketResponseHeaderResponse self = new DeleteBucketResponseHeaderResponse(); + return TeaModel.build(map, self); + } + + public DeleteBucketResponseHeaderResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DeleteBucketResponseHeaderResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketTagsResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketTagsResponse.java new file mode 100644 index 00000000..47af8b93 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketTagsResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteBucketTagsResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static DeleteBucketTagsResponse build(java.util.Map map) throws Exception { + DeleteBucketTagsResponse self = new DeleteBucketTagsResponse(); + return TeaModel.build(map, self); + } + + public DeleteBucketTagsResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DeleteBucketTagsResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketWebsiteResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketWebsiteResponse.java new file mode 100644 index 00000000..c8efe9a2 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketWebsiteResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteBucketWebsiteResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static DeleteBucketWebsiteResponse build(java.util.Map map) throws Exception { + DeleteBucketWebsiteResponse self = new DeleteBucketWebsiteResponse(); + return TeaModel.build(map, self); + } + + public DeleteBucketWebsiteResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DeleteBucketWebsiteResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteCnameRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteCnameRequest.java new file mode 100644 index 00000000..d0f9cb2d --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteCnameRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteCnameRequest extends TeaModel { + /** + *

The container that stores the CNAME record.

+ */ + @NameInMap("body") + public BucketCnameConfiguration body; + + public static DeleteCnameRequest build(java.util.Map map) throws Exception { + DeleteCnameRequest self = new DeleteCnameRequest(); + return TeaModel.build(map, self); + } + + public DeleteCnameRequest setBody(BucketCnameConfiguration body) { + this.body = body; + return this; + } + public BucketCnameConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteCnameResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteCnameResponse.java new file mode 100644 index 00000000..a9be6a76 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteCnameResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteCnameResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static DeleteCnameResponse build(java.util.Map map) throws Exception { + DeleteCnameResponse self = new DeleteCnameResponse(); + return TeaModel.build(map, self); + } + + public DeleteCnameResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DeleteCnameResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteLiveChannelResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteLiveChannelResponse.java new file mode 100644 index 00000000..ed289ff1 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteLiveChannelResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteLiveChannelResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static DeleteLiveChannelResponse build(java.util.Map map) throws Exception { + DeleteLiveChannelResponse self = new DeleteLiveChannelResponse(); + return TeaModel.build(map, self); + } + + public DeleteLiveChannelResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DeleteLiveChannelResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteMarkerEntry.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteMarkerEntry.java new file mode 100644 index 00000000..12023f13 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteMarkerEntry.java @@ -0,0 +1,67 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteMarkerEntry extends TeaModel { + @NameInMap("IsLatest") + public Boolean isLatest; + + @NameInMap("Key") + public String key; + + @NameInMap("LastModified") + public String lastModified; + + @NameInMap("Owner") + public Owner owner; + + @NameInMap("VersionId") + public String versionId; + + public static DeleteMarkerEntry build(java.util.Map map) throws Exception { + DeleteMarkerEntry self = new DeleteMarkerEntry(); + return TeaModel.build(map, self); + } + + public DeleteMarkerEntry setIsLatest(Boolean isLatest) { + this.isLatest = isLatest; + return this; + } + public Boolean getIsLatest() { + return this.isLatest; + } + + public DeleteMarkerEntry setKey(String key) { + this.key = key; + return this; + } + public String getKey() { + return this.key; + } + + public DeleteMarkerEntry setLastModified(String lastModified) { + this.lastModified = lastModified; + return this; + } + public String getLastModified() { + return this.lastModified; + } + + public DeleteMarkerEntry setOwner(Owner owner) { + this.owner = owner; + return this; + } + public Owner getOwner() { + return this.owner; + } + + public DeleteMarkerEntry setVersionId(String versionId) { + this.versionId = versionId; + return this; + } + public String getVersionId() { + return this.versionId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteMultipleObjectsHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteMultipleObjectsHeaders.java new file mode 100644 index 00000000..19a1b03a --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteMultipleObjectsHeaders.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteMultipleObjectsHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + @NameInMap("content-md5") + public String contentMd5; + + public static DeleteMultipleObjectsHeaders build(java.util.Map map) throws Exception { + DeleteMultipleObjectsHeaders self = new DeleteMultipleObjectsHeaders(); + return TeaModel.build(map, self); + } + + public DeleteMultipleObjectsHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public DeleteMultipleObjectsHeaders setContentMd5(String contentMd5) { + this.contentMd5 = contentMd5; + return this; + } + public String getContentMd5() { + return this.contentMd5; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteMultipleObjectsRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteMultipleObjectsRequest.java new file mode 100644 index 00000000..16739778 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteMultipleObjectsRequest.java @@ -0,0 +1,40 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteMultipleObjectsRequest extends TeaModel { + /** + *

The container that stores the DeleteMultipleObjects request.

+ */ + @NameInMap("body") + public Delete body; + + /** + *

The encoding type of the object name in the response. The value of the Key parameter is UTF-8 encoded. If the Key parameter includes control characters that are not supported by the XML 1.0 standard, you can specify this header to encode the value of the Key parameter in the response.

+ */ + @NameInMap("encoding-type") + public String encodingType; + + public static DeleteMultipleObjectsRequest build(java.util.Map map) throws Exception { + DeleteMultipleObjectsRequest self = new DeleteMultipleObjectsRequest(); + return TeaModel.build(map, self); + } + + public DeleteMultipleObjectsRequest setBody(Delete body) { + this.body = body; + return this; + } + public Delete getBody() { + return this.body; + } + + public DeleteMultipleObjectsRequest setEncodingType(String encodingType) { + this.encodingType = encodingType; + return this; + } + public String getEncodingType() { + return this.encodingType; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteMultipleObjectsResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteMultipleObjectsResponse.java new file mode 100644 index 00000000..aa96794d --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteMultipleObjectsResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteMultipleObjectsResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public DeleteMultipleObjectsResponseBody body; + + public static DeleteMultipleObjectsResponse build(java.util.Map map) throws Exception { + DeleteMultipleObjectsResponse self = new DeleteMultipleObjectsResponse(); + return TeaModel.build(map, self); + } + + public DeleteMultipleObjectsResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DeleteMultipleObjectsResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public DeleteMultipleObjectsResponse setBody(DeleteMultipleObjectsResponseBody body) { + this.body = body; + return this; + } + public DeleteMultipleObjectsResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteMultipleObjectsResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteMultipleObjectsResponseBody.java new file mode 100644 index 00000000..034d4dfd --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteMultipleObjectsResponseBody.java @@ -0,0 +1,40 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteMultipleObjectsResponseBody extends TeaModel { + /** + *

The container that stores the deleted objects.

+ */ + @NameInMap("Deleted") + public java.util.List deleted; + + /** + *

The encoding type for the returned results. If encoding-type is specified in the request, the object name is encoded in the returned result.

+ */ + @NameInMap("EncodingType") + public String encodingType; + + public static DeleteMultipleObjectsResponseBody build(java.util.Map map) throws Exception { + DeleteMultipleObjectsResponseBody self = new DeleteMultipleObjectsResponseBody(); + return TeaModel.build(map, self); + } + + public DeleteMultipleObjectsResponseBody setDeleted(java.util.List deleted) { + this.deleted = deleted; + return this; + } + public java.util.List getDeleted() { + return this.deleted; + } + + public DeleteMultipleObjectsResponseBody setEncodingType(String encodingType) { + this.encodingType = encodingType; + return this; + } + public String getEncodingType() { + return this.encodingType; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteObjectRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteObjectRequest.java new file mode 100644 index 00000000..45f57671 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteObjectRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteObjectRequest extends TeaModel { + /** + *

The version ID of the object.

+ */ + @NameInMap("versionId") + public String versionId; + + public static DeleteObjectRequest build(java.util.Map map) throws Exception { + DeleteObjectRequest self = new DeleteObjectRequest(); + return TeaModel.build(map, self); + } + + public DeleteObjectRequest setVersionId(String versionId) { + this.versionId = versionId; + return this; + } + public String getVersionId() { + return this.versionId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteObjectResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteObjectResponse.java new file mode 100644 index 00000000..3820d6e7 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteObjectResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteObjectResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static DeleteObjectResponse build(java.util.Map map) throws Exception { + DeleteObjectResponse self = new DeleteObjectResponse(); + return TeaModel.build(map, self); + } + + public DeleteObjectResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DeleteObjectResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteObjectTaggingRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteObjectTaggingRequest.java new file mode 100644 index 00000000..fc96be97 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteObjectTaggingRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteObjectTaggingRequest extends TeaModel { + /** + *

The version ID of the object that you want to delete.

+ */ + @NameInMap("versionId") + public String versionId; + + public static DeleteObjectTaggingRequest build(java.util.Map map) throws Exception { + DeleteObjectTaggingRequest self = new DeleteObjectTaggingRequest(); + return TeaModel.build(map, self); + } + + public DeleteObjectTaggingRequest setVersionId(String versionId) { + this.versionId = versionId; + return this; + } + public String getVersionId() { + return this.versionId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteObjectTaggingResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteObjectTaggingResponse.java new file mode 100644 index 00000000..ab410965 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteObjectTaggingResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteObjectTaggingResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static DeleteObjectTaggingResponse build(java.util.Map map) throws Exception { + DeleteObjectTaggingResponse self = new DeleteObjectTaggingResponse(); + return TeaModel.build(map, self); + } + + public DeleteObjectTaggingResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DeleteObjectTaggingResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeletePublicAccessBlockResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeletePublicAccessBlockResponse.java new file mode 100644 index 00000000..77eb78f5 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeletePublicAccessBlockResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeletePublicAccessBlockResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static DeletePublicAccessBlockResponse build(java.util.Map map) throws Exception { + DeletePublicAccessBlockResponse self = new DeletePublicAccessBlockResponse(); + return TeaModel.build(map, self); + } + + public DeletePublicAccessBlockResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DeletePublicAccessBlockResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteStyleRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteStyleRequest.java new file mode 100644 index 00000000..7e1bd4d5 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteStyleRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteStyleRequest extends TeaModel { + /** + *

The name of the image style.

+ */ + @NameInMap("styleName") + public String styleName; + + public static DeleteStyleRequest build(java.util.Map map) throws Exception { + DeleteStyleRequest self = new DeleteStyleRequest(); + return TeaModel.build(map, self); + } + + public DeleteStyleRequest setStyleName(String styleName) { + this.styleName = styleName; + return this; + } + public String getStyleName() { + return this.styleName; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteStyleResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteStyleResponse.java new file mode 100644 index 00000000..472d9413 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteStyleResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteStyleResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static DeleteStyleResponse build(java.util.Map map) throws Exception { + DeleteStyleResponse self = new DeleteStyleResponse(); + return TeaModel.build(map, self); + } + + public DeleteStyleResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DeleteStyleResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteUserDefinedLogFieldsConfigResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteUserDefinedLogFieldsConfigResponse.java new file mode 100644 index 00000000..50508090 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteUserDefinedLogFieldsConfigResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeleteUserDefinedLogFieldsConfigResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static DeleteUserDefinedLogFieldsConfigResponse build(java.util.Map map) throws Exception { + DeleteUserDefinedLogFieldsConfigResponse self = new DeleteUserDefinedLogFieldsConfigResponse(); + return TeaModel.build(map, self); + } + + public DeleteUserDefinedLogFieldsConfigResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DeleteUserDefinedLogFieldsConfigResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeletedObject.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeletedObject.java new file mode 100644 index 00000000..e67edd50 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeletedObject.java @@ -0,0 +1,56 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DeletedObject extends TeaModel { + @NameInMap("DeleteMarker") + public Boolean deleteMarker; + + @NameInMap("DeleteMarkerVersionId") + public String deleteMarkerVersionId; + + @NameInMap("Key") + public String key; + + @NameInMap("VersionId") + public String versionId; + + public static DeletedObject build(java.util.Map map) throws Exception { + DeletedObject self = new DeletedObject(); + return TeaModel.build(map, self); + } + + public DeletedObject setDeleteMarker(Boolean deleteMarker) { + this.deleteMarker = deleteMarker; + return this; + } + public Boolean getDeleteMarker() { + return this.deleteMarker; + } + + public DeletedObject setDeleteMarkerVersionId(String deleteMarkerVersionId) { + this.deleteMarkerVersionId = deleteMarkerVersionId; + return this; + } + public String getDeleteMarkerVersionId() { + return this.deleteMarkerVersionId; + } + + public DeletedObject setKey(String key) { + this.key = key; + return this; + } + public String getKey() { + return this.key; + } + + public DeletedObject setVersionId(String versionId) { + this.versionId = versionId; + return this; + } + public String getVersionId() { + return this.versionId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DescribeRegionsRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DescribeRegionsRequest.java new file mode 100644 index 00000000..5b286fe0 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DescribeRegionsRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DescribeRegionsRequest extends TeaModel { + /** + *

The region ID of the request.

+ */ + @NameInMap("regions") + public String regions; + + public static DescribeRegionsRequest build(java.util.Map map) throws Exception { + DescribeRegionsRequest self = new DescribeRegionsRequest(); + return TeaModel.build(map, self); + } + + public DescribeRegionsRequest setRegions(String regions) { + this.regions = regions; + return this; + } + public String getRegions() { + return this.regions; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DescribeRegionsResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DescribeRegionsResponse.java new file mode 100644 index 00000000..7c4fb49f --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DescribeRegionsResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DescribeRegionsResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public DescribeRegionsResponseBody body; + + public static DescribeRegionsResponse build(java.util.Map map) throws Exception { + DescribeRegionsResponse self = new DescribeRegionsResponse(); + return TeaModel.build(map, self); + } + + public DescribeRegionsResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DescribeRegionsResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public DescribeRegionsResponse setBody(DescribeRegionsResponseBody body) { + this.body = body; + return this; + } + public DescribeRegionsResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DescribeRegionsResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DescribeRegionsResponseBody.java new file mode 100644 index 00000000..e6d0d486 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DescribeRegionsResponseBody.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DescribeRegionsResponseBody extends TeaModel { + /** + *

The information about the regions.

+ */ + @NameInMap("RegionInfo") + public java.util.List regionInfo; + + public static DescribeRegionsResponseBody build(java.util.Map map) throws Exception { + DescribeRegionsResponseBody self = new DescribeRegionsResponseBody(); + return TeaModel.build(map, self); + } + + public DescribeRegionsResponseBody setRegionInfo(java.util.List regionInfo) { + this.regionInfo = regionInfo; + return this; + } + public java.util.List getRegionInfo() { + return this.regionInfo; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DoMetaQueryRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DoMetaQueryRequest.java new file mode 100644 index 00000000..9129a4c2 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DoMetaQueryRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DoMetaQueryRequest extends TeaModel { + /** + *

The container that stores the query conditions.

+ */ + @NameInMap("body") + public MetaQuery body; + + public static DoMetaQueryRequest build(java.util.Map map) throws Exception { + DoMetaQueryRequest self = new DoMetaQueryRequest(); + return TeaModel.build(map, self); + } + + public DoMetaQueryRequest setBody(MetaQuery body) { + this.body = body; + return this; + } + public MetaQuery getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DoMetaQueryResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DoMetaQueryResponse.java new file mode 100644 index 00000000..017dad52 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DoMetaQueryResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DoMetaQueryResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public DoMetaQueryResponseBody body; + + public static DoMetaQueryResponse build(java.util.Map map) throws Exception { + DoMetaQueryResponse self = new DoMetaQueryResponse(); + return TeaModel.build(map, self); + } + + public DoMetaQueryResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public DoMetaQueryResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public DoMetaQueryResponse setBody(DoMetaQueryResponseBody body) { + this.body = body; + return this; + } + public DoMetaQueryResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DoMetaQueryResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DoMetaQueryResponseBody.java new file mode 100644 index 00000000..d1336ca7 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DoMetaQueryResponseBody.java @@ -0,0 +1,64 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class DoMetaQueryResponseBody extends TeaModel { + /** + *

The container that stores the information about objects.

+ */ + @NameInMap("Files") + public DoMetaQueryResponseBodyFiles files; + + /** + *

The token that is used in the next request to retrieve a new page of results when the total number of objects exceeds the value of MaxResults. The value of NextToken is used to return the unreturned results in the next request.

+ *
+ *

A value is returned for this parameter only when not all objects are returned.

+ */ + @NameInMap("NextToken") + public String nextToken; + + public static DoMetaQueryResponseBody build(java.util.Map map) throws Exception { + DoMetaQueryResponseBody self = new DoMetaQueryResponseBody(); + return TeaModel.build(map, self); + } + + public DoMetaQueryResponseBody setFiles(DoMetaQueryResponseBodyFiles files) { + this.files = files; + return this; + } + public DoMetaQueryResponseBodyFiles getFiles() { + return this.files; + } + + public DoMetaQueryResponseBody setNextToken(String nextToken) { + this.nextToken = nextToken; + return this; + } + public String getNextToken() { + return this.nextToken; + } + + public static class DoMetaQueryResponseBodyFiles extends TeaModel { + /** + *

The container that stores the information about a single object.

+ */ + @NameInMap("File") + public java.util.List file; + + public static DoMetaQueryResponseBodyFiles build(java.util.Map map) throws Exception { + DoMetaQueryResponseBodyFiles self = new DoMetaQueryResponseBodyFiles(); + return TeaModel.build(map, self); + } + + public DoMetaQueryResponseBodyFiles setFile(java.util.List file) { + this.file = file; + return this; + } + public java.util.List getFile() { + return this.file; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Error.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Error.java new file mode 100644 index 00000000..1caf9760 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Error.java @@ -0,0 +1,56 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class Error extends TeaModel { + @NameInMap("Code") + public String code; + + @NameInMap("HostId") + public String hostId; + + @NameInMap("Message") + public String message; + + @NameInMap("RequestId") + public String requestId; + + public static Error build(java.util.Map map) throws Exception { + Error self = new Error(); + return TeaModel.build(map, self); + } + + public Error setCode(String code) { + this.code = code; + return this; + } + public String getCode() { + return this.code; + } + + public Error setHostId(String hostId) { + this.hostId = hostId; + return this; + } + public String getHostId() { + return this.hostId; + } + + public Error setMessage(String message) { + this.message = message; + return this; + } + public String getMessage() { + return this.message; + } + + public Error setRequestId(String requestId) { + this.requestId = requestId; + return this; + } + public String getRequestId() { + return this.requestId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ErrorDocument.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ErrorDocument.java new file mode 100644 index 00000000..42d66285 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ErrorDocument.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ErrorDocument extends TeaModel { + @NameInMap("HttpStatus") + public String httpStatus; + + @NameInMap("Key") + public String key; + + public static ErrorDocument build(java.util.Map map) throws Exception { + ErrorDocument self = new ErrorDocument(); + return TeaModel.build(map, self); + } + + public ErrorDocument setHttpStatus(String httpStatus) { + this.httpStatus = httpStatus; + return this; + } + public String getHttpStatus() { + return this.httpStatus; + } + + public ErrorDocument setKey(String key) { + this.key = key; + return this; + } + public String getKey() { + return this.key; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ExtendBucketWormRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ExtendBucketWormRequest.java new file mode 100644 index 00000000..e77b2882 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ExtendBucketWormRequest.java @@ -0,0 +1,42 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ExtendBucketWormRequest extends TeaModel { + /** + *

The container that stores the information about the retention policy.

+ */ + @NameInMap("body") + public ExtendWormConfiguration body; + + /** + *

The ID of the retention policy.

+ *
+ *

> If the ID of the retention policy that specifies the number of days for which objects can be retained does not exist, the HTTP status code 404 is returned.

+ */ + @NameInMap("wormId") + public String wormId; + + public static ExtendBucketWormRequest build(java.util.Map map) throws Exception { + ExtendBucketWormRequest self = new ExtendBucketWormRequest(); + return TeaModel.build(map, self); + } + + public ExtendBucketWormRequest setBody(ExtendWormConfiguration body) { + this.body = body; + return this; + } + public ExtendWormConfiguration getBody() { + return this.body; + } + + public ExtendBucketWormRequest setWormId(String wormId) { + this.wormId = wormId; + return this; + } + public String getWormId() { + return this.wormId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ExtendBucketWormResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ExtendBucketWormResponse.java new file mode 100644 index 00000000..7f846d14 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ExtendBucketWormResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ExtendBucketWormResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static ExtendBucketWormResponse build(java.util.Map map) throws Exception { + ExtendBucketWormResponse self = new ExtendBucketWormResponse(); + return TeaModel.build(map, self); + } + + public ExtendBucketWormResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public ExtendBucketWormResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ExtendWormConfiguration.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ExtendWormConfiguration.java new file mode 100644 index 00000000..f9fdafd4 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ExtendWormConfiguration.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ExtendWormConfiguration extends TeaModel { + @NameInMap("RetentionPeriodInDays") + public Integer retentionPeriodInDays; + + public static ExtendWormConfiguration build(java.util.Map map) throws Exception { + ExtendWormConfiguration self = new ExtendWormConfiguration(); + return TeaModel.build(map, self); + } + + public ExtendWormConfiguration setRetentionPeriodInDays(Integer retentionPeriodInDays) { + this.retentionPeriodInDays = retentionPeriodInDays; + return this; + } + public Integer getRetentionPeriodInDays() { + return this.retentionPeriodInDays; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointConfigForObjectProcessHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointConfigForObjectProcessHeaders.java new file mode 100644 index 00000000..f59fb92b --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointConfigForObjectProcessHeaders.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetAccessPointConfigForObjectProcessHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + @NameInMap("x-oss-access-point-for-object-process-name") + public String xOssAccessPointForObjectProcessName; + + public static GetAccessPointConfigForObjectProcessHeaders build(java.util.Map map) throws Exception { + GetAccessPointConfigForObjectProcessHeaders self = new GetAccessPointConfigForObjectProcessHeaders(); + return TeaModel.build(map, self); + } + + public GetAccessPointConfigForObjectProcessHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public GetAccessPointConfigForObjectProcessHeaders setXOssAccessPointForObjectProcessName(String xOssAccessPointForObjectProcessName) { + this.xOssAccessPointForObjectProcessName = xOssAccessPointForObjectProcessName; + return this; + } + public String getXOssAccessPointForObjectProcessName() { + return this.xOssAccessPointForObjectProcessName; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointConfigForObjectProcessResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointConfigForObjectProcessResponse.java new file mode 100644 index 00000000..ef060978 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointConfigForObjectProcessResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetAccessPointConfigForObjectProcessResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetAccessPointConfigForObjectProcessResponseBody body; + + public static GetAccessPointConfigForObjectProcessResponse build(java.util.Map map) throws Exception { + GetAccessPointConfigForObjectProcessResponse self = new GetAccessPointConfigForObjectProcessResponse(); + return TeaModel.build(map, self); + } + + public GetAccessPointConfigForObjectProcessResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetAccessPointConfigForObjectProcessResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetAccessPointConfigForObjectProcessResponse setBody(GetAccessPointConfigForObjectProcessResponseBody body) { + this.body = body; + return this; + } + public GetAccessPointConfigForObjectProcessResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointConfigForObjectProcessResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointConfigForObjectProcessResponseBody.java new file mode 100644 index 00000000..9e643360 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointConfigForObjectProcessResponseBody.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetAccessPointConfigForObjectProcessResponseBody extends TeaModel { + @NameInMap("ObjectProcessConfiguration") + public ObjectProcessConfiguration objectProcessConfiguration; + + public static GetAccessPointConfigForObjectProcessResponseBody build(java.util.Map map) throws Exception { + GetAccessPointConfigForObjectProcessResponseBody self = new GetAccessPointConfigForObjectProcessResponseBody(); + return TeaModel.build(map, self); + } + + public GetAccessPointConfigForObjectProcessResponseBody setObjectProcessConfiguration(ObjectProcessConfiguration objectProcessConfiguration) { + this.objectProcessConfiguration = objectProcessConfiguration; + return this; + } + public ObjectProcessConfiguration getObjectProcessConfiguration() { + return this.objectProcessConfiguration; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointForObjectProcessHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointForObjectProcessHeaders.java new file mode 100644 index 00000000..6b8e181b --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointForObjectProcessHeaders.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetAccessPointForObjectProcessHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + @NameInMap("x-oss-access-point-for-object-process-name") + public String xOssAccessPointForObjectProcessName; + + public static GetAccessPointForObjectProcessHeaders build(java.util.Map map) throws Exception { + GetAccessPointForObjectProcessHeaders self = new GetAccessPointForObjectProcessHeaders(); + return TeaModel.build(map, self); + } + + public GetAccessPointForObjectProcessHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public GetAccessPointForObjectProcessHeaders setXOssAccessPointForObjectProcessName(String xOssAccessPointForObjectProcessName) { + this.xOssAccessPointForObjectProcessName = xOssAccessPointForObjectProcessName; + return this; + } + public String getXOssAccessPointForObjectProcessName() { + return this.xOssAccessPointForObjectProcessName; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointForObjectProcessResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointForObjectProcessResponse.java new file mode 100644 index 00000000..9baa3f1a --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointForObjectProcessResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetAccessPointForObjectProcessResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetAccessPointForObjectProcessResponseBody body; + + public static GetAccessPointForObjectProcessResponse build(java.util.Map map) throws Exception { + GetAccessPointForObjectProcessResponse self = new GetAccessPointForObjectProcessResponse(); + return TeaModel.build(map, self); + } + + public GetAccessPointForObjectProcessResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetAccessPointForObjectProcessResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetAccessPointForObjectProcessResponse setBody(GetAccessPointForObjectProcessResponseBody body) { + this.body = body; + return this; + } + public GetAccessPointForObjectProcessResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointForObjectProcessResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointForObjectProcessResponseBody.java new file mode 100644 index 00000000..5e5b7125 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointForObjectProcessResponseBody.java @@ -0,0 +1,130 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetAccessPointForObjectProcessResponseBody extends TeaModel { + @NameInMap("AccessPointForObjectProcessAlias") + public String accessPointForObjectProcessAlias; + + @NameInMap("AccessPointForObjectProcessArn") + public String accessPointForObjectProcessArn; + + @NameInMap("AccessPointName") + public String accessPointName; + + @NameInMap("AccessPointNameForObjectProcess") + public String accessPointNameForObjectProcess; + + @NameInMap("AccountId") + public String accountId; + + @NameInMap("CreationDate") + public String creationDate; + + @NameInMap("Endpoints") + public GetAccessPointForObjectProcessResponseBodyEndpoints endpoints; + + @NameInMap("Status") + public String status; + + public static GetAccessPointForObjectProcessResponseBody build(java.util.Map map) throws Exception { + GetAccessPointForObjectProcessResponseBody self = new GetAccessPointForObjectProcessResponseBody(); + return TeaModel.build(map, self); + } + + public GetAccessPointForObjectProcessResponseBody setAccessPointForObjectProcessAlias(String accessPointForObjectProcessAlias) { + this.accessPointForObjectProcessAlias = accessPointForObjectProcessAlias; + return this; + } + public String getAccessPointForObjectProcessAlias() { + return this.accessPointForObjectProcessAlias; + } + + public GetAccessPointForObjectProcessResponseBody setAccessPointForObjectProcessArn(String accessPointForObjectProcessArn) { + this.accessPointForObjectProcessArn = accessPointForObjectProcessArn; + return this; + } + public String getAccessPointForObjectProcessArn() { + return this.accessPointForObjectProcessArn; + } + + public GetAccessPointForObjectProcessResponseBody setAccessPointName(String accessPointName) { + this.accessPointName = accessPointName; + return this; + } + public String getAccessPointName() { + return this.accessPointName; + } + + public GetAccessPointForObjectProcessResponseBody setAccessPointNameForObjectProcess(String accessPointNameForObjectProcess) { + this.accessPointNameForObjectProcess = accessPointNameForObjectProcess; + return this; + } + public String getAccessPointNameForObjectProcess() { + return this.accessPointNameForObjectProcess; + } + + public GetAccessPointForObjectProcessResponseBody setAccountId(String accountId) { + this.accountId = accountId; + return this; + } + public String getAccountId() { + return this.accountId; + } + + public GetAccessPointForObjectProcessResponseBody setCreationDate(String creationDate) { + this.creationDate = creationDate; + return this; + } + public String getCreationDate() { + return this.creationDate; + } + + public GetAccessPointForObjectProcessResponseBody setEndpoints(GetAccessPointForObjectProcessResponseBodyEndpoints endpoints) { + this.endpoints = endpoints; + return this; + } + public GetAccessPointForObjectProcessResponseBodyEndpoints getEndpoints() { + return this.endpoints; + } + + public GetAccessPointForObjectProcessResponseBody setStatus(String status) { + this.status = status; + return this; + } + public String getStatus() { + return this.status; + } + + public static class GetAccessPointForObjectProcessResponseBodyEndpoints extends TeaModel { + @NameInMap("InternalEndpoint") + public String internalEndpoint; + + @NameInMap("PublicEndpoint") + public String publicEndpoint; + + public static GetAccessPointForObjectProcessResponseBodyEndpoints build(java.util.Map map) throws Exception { + GetAccessPointForObjectProcessResponseBodyEndpoints self = new GetAccessPointForObjectProcessResponseBodyEndpoints(); + return TeaModel.build(map, self); + } + + public GetAccessPointForObjectProcessResponseBodyEndpoints setInternalEndpoint(String internalEndpoint) { + this.internalEndpoint = internalEndpoint; + return this; + } + public String getInternalEndpoint() { + return this.internalEndpoint; + } + + public GetAccessPointForObjectProcessResponseBodyEndpoints setPublicEndpoint(String publicEndpoint) { + this.publicEndpoint = publicEndpoint; + return this; + } + public String getPublicEndpoint() { + return this.publicEndpoint; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointHeaders.java new file mode 100644 index 00000000..82e95610 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointHeaders.java @@ -0,0 +1,37 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetAccessPointHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + /** + *

The name of the access point.

+ */ + @NameInMap("x-oss-access-point-name") + public String xOssAccessPointName; + + public static GetAccessPointHeaders build(java.util.Map map) throws Exception { + GetAccessPointHeaders self = new GetAccessPointHeaders(); + return TeaModel.build(map, self); + } + + public GetAccessPointHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public GetAccessPointHeaders setXOssAccessPointName(String xOssAccessPointName) { + this.xOssAccessPointName = xOssAccessPointName; + return this; + } + public String getXOssAccessPointName() { + return this.xOssAccessPointName; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointPolicyForObjectProcessHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointPolicyForObjectProcessHeaders.java new file mode 100644 index 00000000..188be017 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointPolicyForObjectProcessHeaders.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetAccessPointPolicyForObjectProcessHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + @NameInMap("x-oss-access-point-for-object-process-name") + public String xOssAccessPointForObjectProcessName; + + public static GetAccessPointPolicyForObjectProcessHeaders build(java.util.Map map) throws Exception { + GetAccessPointPolicyForObjectProcessHeaders self = new GetAccessPointPolicyForObjectProcessHeaders(); + return TeaModel.build(map, self); + } + + public GetAccessPointPolicyForObjectProcessHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public GetAccessPointPolicyForObjectProcessHeaders setXOssAccessPointForObjectProcessName(String xOssAccessPointForObjectProcessName) { + this.xOssAccessPointForObjectProcessName = xOssAccessPointForObjectProcessName; + return this; + } + public String getXOssAccessPointForObjectProcessName() { + return this.xOssAccessPointForObjectProcessName; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointPolicyForObjectProcessResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointPolicyForObjectProcessResponse.java new file mode 100644 index 00000000..816df532 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointPolicyForObjectProcessResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetAccessPointPolicyForObjectProcessResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public String body; + + public static GetAccessPointPolicyForObjectProcessResponse build(java.util.Map map) throws Exception { + GetAccessPointPolicyForObjectProcessResponse self = new GetAccessPointPolicyForObjectProcessResponse(); + return TeaModel.build(map, self); + } + + public GetAccessPointPolicyForObjectProcessResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetAccessPointPolicyForObjectProcessResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetAccessPointPolicyForObjectProcessResponse setBody(String body) { + this.body = body; + return this; + } + public String getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointPolicyHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointPolicyHeaders.java new file mode 100644 index 00000000..1e87ae77 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointPolicyHeaders.java @@ -0,0 +1,37 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetAccessPointPolicyHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + /** + *

The name of the access point.

+ */ + @NameInMap("x-oss-access-point-name") + public String xOssAccessPointName; + + public static GetAccessPointPolicyHeaders build(java.util.Map map) throws Exception { + GetAccessPointPolicyHeaders self = new GetAccessPointPolicyHeaders(); + return TeaModel.build(map, self); + } + + public GetAccessPointPolicyHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public GetAccessPointPolicyHeaders setXOssAccessPointName(String xOssAccessPointName) { + this.xOssAccessPointName = xOssAccessPointName; + return this; + } + public String getXOssAccessPointName() { + return this.xOssAccessPointName; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointPolicyResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointPolicyResponse.java new file mode 100644 index 00000000..118c746d --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointPolicyResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetAccessPointPolicyResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public String body; + + public static GetAccessPointPolicyResponse build(java.util.Map map) throws Exception { + GetAccessPointPolicyResponse self = new GetAccessPointPolicyResponse(); + return TeaModel.build(map, self); + } + + public GetAccessPointPolicyResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetAccessPointPolicyResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetAccessPointPolicyResponse setBody(String body) { + this.body = body; + return this; + } + public String getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointPublicAccessBlockRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointPublicAccessBlockRequest.java new file mode 100644 index 00000000..2cfc7b54 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointPublicAccessBlockRequest.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetAccessPointPublicAccessBlockRequest extends TeaModel { + @NameInMap("x-oss-access-point-name") + public String xOssAccessPointName; + + public static GetAccessPointPublicAccessBlockRequest build(java.util.Map map) throws Exception { + GetAccessPointPublicAccessBlockRequest self = new GetAccessPointPublicAccessBlockRequest(); + return TeaModel.build(map, self); + } + + public GetAccessPointPublicAccessBlockRequest setXOssAccessPointName(String xOssAccessPointName) { + this.xOssAccessPointName = xOssAccessPointName; + return this; + } + public String getXOssAccessPointName() { + return this.xOssAccessPointName; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointPublicAccessBlockResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointPublicAccessBlockResponse.java new file mode 100644 index 00000000..cee0f6b6 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointPublicAccessBlockResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetAccessPointPublicAccessBlockResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public PublicAccessBlockConfiguration body; + + public static GetAccessPointPublicAccessBlockResponse build(java.util.Map map) throws Exception { + GetAccessPointPublicAccessBlockResponse self = new GetAccessPointPublicAccessBlockResponse(); + return TeaModel.build(map, self); + } + + public GetAccessPointPublicAccessBlockResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetAccessPointPublicAccessBlockResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetAccessPointPublicAccessBlockResponse setBody(PublicAccessBlockConfiguration body) { + this.body = body; + return this; + } + public PublicAccessBlockConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointResponse.java new file mode 100644 index 00000000..2aaf7f5d --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetAccessPointResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetAccessPointResult body; + + public static GetAccessPointResponse build(java.util.Map map) throws Exception { + GetAccessPointResponse self = new GetAccessPointResponse(); + return TeaModel.build(map, self); + } + + public GetAccessPointResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetAccessPointResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetAccessPointResponse setBody(GetAccessPointResult body) { + this.body = body; + return this; + } + public GetAccessPointResult getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointResult.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointResult.java new file mode 100644 index 00000000..0965c271 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAccessPointResult.java @@ -0,0 +1,141 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetAccessPointResult extends TeaModel { + @NameInMap("AccessPointArn") + public String accessPointArn; + + @NameInMap("AccessPointName") + public String accessPointName; + + @NameInMap("AccountId") + public String accountId; + + @NameInMap("Alias") + public String alias; + + @NameInMap("Bucket") + public String bucket; + + @NameInMap("Endpoints") + public GetAccessPointResultEndpoints endpoints; + + @NameInMap("InternalEndpoint") + public String internalEndpoint; + + @NameInMap("NetworkOrigin") + public String networkOrigin; + + @NameInMap("Status") + public String status; + + @NameInMap("VpcConfiguration") + public AccessPointVpcConfiguration vpcConfiguration; + + public static GetAccessPointResult build(java.util.Map map) throws Exception { + GetAccessPointResult self = new GetAccessPointResult(); + return TeaModel.build(map, self); + } + + public GetAccessPointResult setAccessPointArn(String accessPointArn) { + this.accessPointArn = accessPointArn; + return this; + } + public String getAccessPointArn() { + return this.accessPointArn; + } + + public GetAccessPointResult setAccessPointName(String accessPointName) { + this.accessPointName = accessPointName; + return this; + } + public String getAccessPointName() { + return this.accessPointName; + } + + public GetAccessPointResult setAccountId(String accountId) { + this.accountId = accountId; + return this; + } + public String getAccountId() { + return this.accountId; + } + + public GetAccessPointResult setAlias(String alias) { + this.alias = alias; + return this; + } + public String getAlias() { + return this.alias; + } + + public GetAccessPointResult setBucket(String bucket) { + this.bucket = bucket; + return this; + } + public String getBucket() { + return this.bucket; + } + + public GetAccessPointResult setEndpoints(GetAccessPointResultEndpoints endpoints) { + this.endpoints = endpoints; + return this; + } + public GetAccessPointResultEndpoints getEndpoints() { + return this.endpoints; + } + + public GetAccessPointResult setInternalEndpoint(String internalEndpoint) { + this.internalEndpoint = internalEndpoint; + return this; + } + public String getInternalEndpoint() { + return this.internalEndpoint; + } + + public GetAccessPointResult setNetworkOrigin(String networkOrigin) { + this.networkOrigin = networkOrigin; + return this; + } + public String getNetworkOrigin() { + return this.networkOrigin; + } + + public GetAccessPointResult setStatus(String status) { + this.status = status; + return this; + } + public String getStatus() { + return this.status; + } + + public GetAccessPointResult setVpcConfiguration(AccessPointVpcConfiguration vpcConfiguration) { + this.vpcConfiguration = vpcConfiguration; + return this; + } + public AccessPointVpcConfiguration getVpcConfiguration() { + return this.vpcConfiguration; + } + + public static class GetAccessPointResultEndpoints extends TeaModel { + @NameInMap("PublicEndpoint") + public String publicEndpoint; + + public static GetAccessPointResultEndpoints build(java.util.Map map) throws Exception { + GetAccessPointResultEndpoints self = new GetAccessPointResultEndpoints(); + return TeaModel.build(map, self); + } + + public GetAccessPointResultEndpoints setPublicEndpoint(String publicEndpoint) { + this.publicEndpoint = publicEndpoint; + return this; + } + public String getPublicEndpoint() { + return this.publicEndpoint; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketAccessMonitorResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketAccessMonitorResponse.java new file mode 100644 index 00000000..d14f8083 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketAccessMonitorResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketAccessMonitorResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetBucketAccessMonitorResponseBody body; + + public static GetBucketAccessMonitorResponse build(java.util.Map map) throws Exception { + GetBucketAccessMonitorResponse self = new GetBucketAccessMonitorResponse(); + return TeaModel.build(map, self); + } + + public GetBucketAccessMonitorResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketAccessMonitorResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketAccessMonitorResponse setBody(GetBucketAccessMonitorResponseBody body) { + this.body = body; + return this; + } + public GetBucketAccessMonitorResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketAccessMonitorResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketAccessMonitorResponseBody.java new file mode 100644 index 00000000..617fbe01 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketAccessMonitorResponseBody.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketAccessMonitorResponseBody extends TeaModel { + /** + *

The access tracking status of the bucket.

+ */ + @NameInMap("Status") + public String status; + + public static GetBucketAccessMonitorResponseBody build(java.util.Map map) throws Exception { + GetBucketAccessMonitorResponseBody self = new GetBucketAccessMonitorResponseBody(); + return TeaModel.build(map, self); + } + + public GetBucketAccessMonitorResponseBody setStatus(String status) { + this.status = status; + return this; + } + public String getStatus() { + return this.status; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketAclResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketAclResponse.java new file mode 100644 index 00000000..8c7fc9f2 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketAclResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketAclResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetBucketAclResponseBody body; + + public static GetBucketAclResponse build(java.util.Map map) throws Exception { + GetBucketAclResponse self = new GetBucketAclResponse(); + return TeaModel.build(map, self); + } + + public GetBucketAclResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketAclResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketAclResponse setBody(GetBucketAclResponseBody body) { + this.body = body; + return this; + } + public GetBucketAclResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketAclResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketAclResponseBody.java new file mode 100644 index 00000000..e1315b73 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketAclResponseBody.java @@ -0,0 +1,62 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketAclResponseBody extends TeaModel { + /** + *

The class of the container that stores the ACL information.

+ */ + @NameInMap("AccessControlList") + public GetBucketAclResponseBodyAccessControlList accessControlList; + + /** + *

The container that stores the information about the bucket owner.

+ */ + @NameInMap("Owner") + public Owner owner; + + public static GetBucketAclResponseBody build(java.util.Map map) throws Exception { + GetBucketAclResponseBody self = new GetBucketAclResponseBody(); + return TeaModel.build(map, self); + } + + public GetBucketAclResponseBody setAccessControlList(GetBucketAclResponseBodyAccessControlList accessControlList) { + this.accessControlList = accessControlList; + return this; + } + public GetBucketAclResponseBodyAccessControlList getAccessControlList() { + return this.accessControlList; + } + + public GetBucketAclResponseBody setOwner(Owner owner) { + this.owner = owner; + return this; + } + public Owner getOwner() { + return this.owner; + } + + public static class GetBucketAclResponseBodyAccessControlList extends TeaModel { + /** + *

The ACL of the bucket.

+ */ + @NameInMap("Grant") + public String grant; + + public static GetBucketAclResponseBodyAccessControlList build(java.util.Map map) throws Exception { + GetBucketAclResponseBodyAccessControlList self = new GetBucketAclResponseBodyAccessControlList(); + return TeaModel.build(map, self); + } + + public GetBucketAclResponseBodyAccessControlList setGrant(String grant) { + this.grant = grant; + return this; + } + public String getGrant() { + return this.grant; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketArchiveDirectReadResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketArchiveDirectReadResponse.java new file mode 100644 index 00000000..66d63891 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketArchiveDirectReadResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketArchiveDirectReadResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public ArchiveDirectReadConfiguration body; + + public static GetBucketArchiveDirectReadResponse build(java.util.Map map) throws Exception { + GetBucketArchiveDirectReadResponse self = new GetBucketArchiveDirectReadResponse(); + return TeaModel.build(map, self); + } + + public GetBucketArchiveDirectReadResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketArchiveDirectReadResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketArchiveDirectReadResponse setBody(ArchiveDirectReadConfiguration body) { + this.body = body; + return this; + } + public ArchiveDirectReadConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketCallbackPolicyResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketCallbackPolicyResponse.java new file mode 100644 index 00000000..886a2a27 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketCallbackPolicyResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketCallbackPolicyResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public CallbackPolicy body; + + public static GetBucketCallbackPolicyResponse build(java.util.Map map) throws Exception { + GetBucketCallbackPolicyResponse self = new GetBucketCallbackPolicyResponse(); + return TeaModel.build(map, self); + } + + public GetBucketCallbackPolicyResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketCallbackPolicyResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketCallbackPolicyResponse setBody(CallbackPolicy body) { + this.body = body; + return this; + } + public CallbackPolicy getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketCorsResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketCorsResponse.java new file mode 100644 index 00000000..6ce68f9f --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketCorsResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketCorsResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetBucketCorsResponseBody body; + + public static GetBucketCorsResponse build(java.util.Map map) throws Exception { + GetBucketCorsResponse self = new GetBucketCorsResponse(); + return TeaModel.build(map, self); + } + + public GetBucketCorsResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketCorsResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketCorsResponse setBody(GetBucketCorsResponseBody body) { + this.body = body; + return this; + } + public GetBucketCorsResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketCorsResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketCorsResponseBody.java new file mode 100644 index 00000000..0b0a52f8 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketCorsResponseBody.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketCorsResponseBody extends TeaModel { + /** + *

The container that stores the CORS rules. Up to 10 rules can be configured for a bucket.

+ */ + @NameInMap("CORSRule") + public java.util.List CORSRule; + + /** + *

Indicates whether the Vary: Origin header is returned. Valid values:

+ *
+ *

* **true**: The Vary: Origin header is returned regardless whether the request is a cross-origin request or whether the cross-origin request succeeds.

+ *

* **false** (default): The Vary: Origin header is not returned.

+ *
+ *

> This parameter is valid only when at least one CORS rule is configured.

+ */ + @NameInMap("ResponseVary") + public Boolean responseVary; + + public static GetBucketCorsResponseBody build(java.util.Map map) throws Exception { + GetBucketCorsResponseBody self = new GetBucketCorsResponseBody(); + return TeaModel.build(map, self); + } + + public GetBucketCorsResponseBody setCORSRule(java.util.List CORSRule) { + this.CORSRule = CORSRule; + return this; + } + public java.util.List getCORSRule() { + return this.CORSRule; + } + + public GetBucketCorsResponseBody setResponseVary(Boolean responseVary) { + this.responseVary = responseVary; + return this; + } + public Boolean getResponseVary() { + return this.responseVary; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketDataRedundancyTransitionRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketDataRedundancyTransitionRequest.java new file mode 100644 index 00000000..280ab53e --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketDataRedundancyTransitionRequest.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketDataRedundancyTransitionRequest extends TeaModel { + @NameInMap("x-oss-redundancy-transition-taskid") + public String xOssRedundancyTransitionTaskid; + + public static GetBucketDataRedundancyTransitionRequest build(java.util.Map map) throws Exception { + GetBucketDataRedundancyTransitionRequest self = new GetBucketDataRedundancyTransitionRequest(); + return TeaModel.build(map, self); + } + + public GetBucketDataRedundancyTransitionRequest setXOssRedundancyTransitionTaskid(String xOssRedundancyTransitionTaskid) { + this.xOssRedundancyTransitionTaskid = xOssRedundancyTransitionTaskid; + return this; + } + public String getXOssRedundancyTransitionTaskid() { + return this.xOssRedundancyTransitionTaskid; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketDataRedundancyTransitionResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketDataRedundancyTransitionResponse.java new file mode 100644 index 00000000..99286443 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketDataRedundancyTransitionResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketDataRedundancyTransitionResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public BucketDataRedundancyTransition body; + + public static GetBucketDataRedundancyTransitionResponse build(java.util.Map map) throws Exception { + GetBucketDataRedundancyTransitionResponse self = new GetBucketDataRedundancyTransitionResponse(); + return TeaModel.build(map, self); + } + + public GetBucketDataRedundancyTransitionResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketDataRedundancyTransitionResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketDataRedundancyTransitionResponse setBody(BucketDataRedundancyTransition body) { + this.body = body; + return this; + } + public BucketDataRedundancyTransition getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketEncryptionResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketEncryptionResponse.java new file mode 100644 index 00000000..0b22c904 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketEncryptionResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketEncryptionResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetBucketEncryptionResponseBody body; + + public static GetBucketEncryptionResponse build(java.util.Map map) throws Exception { + GetBucketEncryptionResponse self = new GetBucketEncryptionResponse(); + return TeaModel.build(map, self); + } + + public GetBucketEncryptionResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketEncryptionResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketEncryptionResponse setBody(GetBucketEncryptionResponseBody body) { + this.body = body; + return this; + } + public GetBucketEncryptionResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketEncryptionResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketEncryptionResponseBody.java new file mode 100644 index 00000000..27901545 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketEncryptionResponseBody.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketEncryptionResponseBody extends TeaModel { + /** + *

The container that stores the default server-side encryption method.

+ */ + @NameInMap("ApplyServerSideEncryptionByDefault") + public ApplyServerSideEncryptionByDefault applyServerSideEncryptionByDefault; + + public static GetBucketEncryptionResponseBody build(java.util.Map map) throws Exception { + GetBucketEncryptionResponseBody self = new GetBucketEncryptionResponseBody(); + return TeaModel.build(map, self); + } + + public GetBucketEncryptionResponseBody setApplyServerSideEncryptionByDefault(ApplyServerSideEncryptionByDefault applyServerSideEncryptionByDefault) { + this.applyServerSideEncryptionByDefault = applyServerSideEncryptionByDefault; + return this; + } + public ApplyServerSideEncryptionByDefault getApplyServerSideEncryptionByDefault() { + return this.applyServerSideEncryptionByDefault; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketHttpsConfigResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketHttpsConfigResponse.java new file mode 100644 index 00000000..c87d4d3a --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketHttpsConfigResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketHttpsConfigResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public HttpsConfiguration body; + + public static GetBucketHttpsConfigResponse build(java.util.Map map) throws Exception { + GetBucketHttpsConfigResponse self = new GetBucketHttpsConfigResponse(); + return TeaModel.build(map, self); + } + + public GetBucketHttpsConfigResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketHttpsConfigResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketHttpsConfigResponse setBody(HttpsConfiguration body) { + this.body = body; + return this; + } + public HttpsConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketInfoResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketInfoResponse.java new file mode 100644 index 00000000..35544a42 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketInfoResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketInfoResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public BucketInfo body; + + public static GetBucketInfoResponse build(java.util.Map map) throws Exception { + GetBucketInfoResponse self = new GetBucketInfoResponse(); + return TeaModel.build(map, self); + } + + public GetBucketInfoResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketInfoResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketInfoResponse setBody(BucketInfo body) { + this.body = body; + return this; + } + public BucketInfo getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketInventoryRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketInventoryRequest.java new file mode 100644 index 00000000..aba2b776 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketInventoryRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketInventoryRequest extends TeaModel { + /** + *

The name of the inventory to be queried.

+ */ + @NameInMap("inventoryId") + public String inventoryId; + + public static GetBucketInventoryRequest build(java.util.Map map) throws Exception { + GetBucketInventoryRequest self = new GetBucketInventoryRequest(); + return TeaModel.build(map, self); + } + + public GetBucketInventoryRequest setInventoryId(String inventoryId) { + this.inventoryId = inventoryId; + return this; + } + public String getInventoryId() { + return this.inventoryId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketInventoryResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketInventoryResponse.java new file mode 100644 index 00000000..7df55f92 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketInventoryResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketInventoryResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetBucketInventoryResponseBody body; + + public static GetBucketInventoryResponse build(java.util.Map map) throws Exception { + GetBucketInventoryResponse self = new GetBucketInventoryResponse(); + return TeaModel.build(map, self); + } + + public GetBucketInventoryResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketInventoryResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketInventoryResponse setBody(GetBucketInventoryResponseBody body) { + this.body = body; + return this; + } + public GetBucketInventoryResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketInventoryResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketInventoryResponseBody.java new file mode 100644 index 00000000..0785d79a --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketInventoryResponseBody.java @@ -0,0 +1,140 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketInventoryResponseBody extends TeaModel { + /** + *

The container that stores the information about the exported inventories.

+ */ + @NameInMap("Destination") + public InventoryDestination destination; + + /** + *

The prefix that is used to filter objects. Only objects whose names contain the specified prefix are included in the inventories.

+ */ + @NameInMap("Filter") + public InventoryFilter filter; + + /** + *

The name of the inventory. The name is globally unique in the bucket.

+ */ + @NameInMap("Id") + public String id; + + /** + *

Indicates whether the version information about objects is included in inventories.

+ *
+ *

Valid values:

+ *
+ *

* All: All versions of the objects are exported.

+ *

* Current: Only the current versions of the objects are exported.

+ */ + @NameInMap("IncludedObjectVersions") + public String includedObjectVersions; + + /** + *

Indicates whether the inventory feature is enabled. Valid values:

+ *
+ *

* true: The inventory feature is enabled.

+ *

* false: No inventory is generated.

+ */ + @NameInMap("IsEnabled") + public Boolean isEnabled; + + /** + *

The configurations that you specified to be included in an exported inventory.

+ */ + @NameInMap("OptionalFields") + public GetBucketInventoryResponseBodyOptionalFields optionalFields; + + /** + *

The container that stores the information about the frequency at which inventories are exported.

+ */ + @NameInMap("Schedule") + public InventorySchedule schedule; + + public static GetBucketInventoryResponseBody build(java.util.Map map) throws Exception { + GetBucketInventoryResponseBody self = new GetBucketInventoryResponseBody(); + return TeaModel.build(map, self); + } + + public GetBucketInventoryResponseBody setDestination(InventoryDestination destination) { + this.destination = destination; + return this; + } + public InventoryDestination getDestination() { + return this.destination; + } + + public GetBucketInventoryResponseBody setFilter(InventoryFilter filter) { + this.filter = filter; + return this; + } + public InventoryFilter getFilter() { + return this.filter; + } + + public GetBucketInventoryResponseBody setId(String id) { + this.id = id; + return this; + } + public String getId() { + return this.id; + } + + public GetBucketInventoryResponseBody setIncludedObjectVersions(String includedObjectVersions) { + this.includedObjectVersions = includedObjectVersions; + return this; + } + public String getIncludedObjectVersions() { + return this.includedObjectVersions; + } + + public GetBucketInventoryResponseBody setIsEnabled(Boolean isEnabled) { + this.isEnabled = isEnabled; + return this; + } + public Boolean getIsEnabled() { + return this.isEnabled; + } + + public GetBucketInventoryResponseBody setOptionalFields(GetBucketInventoryResponseBodyOptionalFields optionalFields) { + this.optionalFields = optionalFields; + return this; + } + public GetBucketInventoryResponseBodyOptionalFields getOptionalFields() { + return this.optionalFields; + } + + public GetBucketInventoryResponseBody setSchedule(InventorySchedule schedule) { + this.schedule = schedule; + return this; + } + public InventorySchedule getSchedule() { + return this.schedule; + } + + public static class GetBucketInventoryResponseBodyOptionalFields extends TeaModel { + /** + *

The configurations that are included in an exported inventory. Valid values: Size, LastModifiedDate, ETag, StorageClass, IsMultipartUploaded, and EncryptionStatus.

+ */ + @NameInMap("Field") + public java.util.List field; + + public static GetBucketInventoryResponseBodyOptionalFields build(java.util.Map map) throws Exception { + GetBucketInventoryResponseBodyOptionalFields self = new GetBucketInventoryResponseBodyOptionalFields(); + return TeaModel.build(map, self); + } + + public GetBucketInventoryResponseBodyOptionalFields setField(java.util.List field) { + this.field = field; + return this; + } + public java.util.List getField() { + return this.field; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketLifecycleResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketLifecycleResponse.java new file mode 100644 index 00000000..9e614359 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketLifecycleResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketLifecycleResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetBucketLifecycleResponseBody body; + + public static GetBucketLifecycleResponse build(java.util.Map map) throws Exception { + GetBucketLifecycleResponse self = new GetBucketLifecycleResponse(); + return TeaModel.build(map, self); + } + + public GetBucketLifecycleResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketLifecycleResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketLifecycleResponse setBody(GetBucketLifecycleResponseBody body) { + this.body = body; + return this; + } + public GetBucketLifecycleResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketLifecycleResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketLifecycleResponseBody.java new file mode 100644 index 00000000..a5c23268 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketLifecycleResponseBody.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketLifecycleResponseBody extends TeaModel { + /** + *

The container that stores the lifecycle rules.

+ */ + @NameInMap("Rule") + public java.util.List rule; + + public static GetBucketLifecycleResponseBody build(java.util.Map map) throws Exception { + GetBucketLifecycleResponseBody self = new GetBucketLifecycleResponseBody(); + return TeaModel.build(map, self); + } + + public GetBucketLifecycleResponseBody setRule(java.util.List rule) { + this.rule = rule; + return this; + } + public java.util.List getRule() { + return this.rule; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketLocationResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketLocationResponse.java new file mode 100644 index 00000000..b981262e --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketLocationResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketLocationResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetBucketLocationResponseBody body; + + public static GetBucketLocationResponse build(java.util.Map map) throws Exception { + GetBucketLocationResponse self = new GetBucketLocationResponse(); + return TeaModel.build(map, self); + } + + public GetBucketLocationResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketLocationResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketLocationResponse setBody(GetBucketLocationResponseBody body) { + this.body = body; + return this; + } + public GetBucketLocationResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketLocationResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketLocationResponseBody.java new file mode 100644 index 00000000..417f302b --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketLocationResponseBody.java @@ -0,0 +1,30 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketLocationResponseBody extends TeaModel { + /** + *

The region in which the bucket resides.\

+ *

Examples: oss-cn-hangzhou, oss-cn-shanghai, oss-cn-qingdao, oss-cn-beijing, oss-cn-zhangjiakou, oss-cn-hongkong, oss-cn-shenzhen, oss-us-west-1, oss-us-east-1, and oss-ap-southeast-1.

+ *
+ *

\

+ *

For more information about the regions in which buckets reside, see [Regions and endpoints](~~31837~~).

+ */ + @NameInMap("LocationConstraint") + public String locationConstraint; + + public static GetBucketLocationResponseBody build(java.util.Map map) throws Exception { + GetBucketLocationResponseBody self = new GetBucketLocationResponseBody(); + return TeaModel.build(map, self); + } + + public GetBucketLocationResponseBody setLocationConstraint(String locationConstraint) { + this.locationConstraint = locationConstraint; + return this; + } + public String getLocationConstraint() { + return this.locationConstraint; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketLoggingResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketLoggingResponse.java new file mode 100644 index 00000000..bc650226 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketLoggingResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketLoggingResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetBucketLoggingResponseBody body; + + public static GetBucketLoggingResponse build(java.util.Map map) throws Exception { + GetBucketLoggingResponse self = new GetBucketLoggingResponse(); + return TeaModel.build(map, self); + } + + public GetBucketLoggingResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketLoggingResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketLoggingResponse setBody(GetBucketLoggingResponseBody body) { + this.body = body; + return this; + } + public GetBucketLoggingResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketLoggingResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketLoggingResponseBody.java new file mode 100644 index 00000000..3a45b34c --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketLoggingResponseBody.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketLoggingResponseBody extends TeaModel { + /** + *

The container that stores the information about access log collection. This parameter is returned if access log collection is enabled for the bucket.

+ */ + @NameInMap("LoggingEnabled") + public LoggingEnabled loggingEnabled; + + public static GetBucketLoggingResponseBody build(java.util.Map map) throws Exception { + GetBucketLoggingResponseBody self = new GetBucketLoggingResponseBody(); + return TeaModel.build(map, self); + } + + public GetBucketLoggingResponseBody setLoggingEnabled(LoggingEnabled loggingEnabled) { + this.loggingEnabled = loggingEnabled; + return this; + } + public LoggingEnabled getLoggingEnabled() { + return this.loggingEnabled; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketPolicyResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketPolicyResponse.java new file mode 100644 index 00000000..38992f1b --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketPolicyResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketPolicyResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public String body; + + public static GetBucketPolicyResponse build(java.util.Map map) throws Exception { + GetBucketPolicyResponse self = new GetBucketPolicyResponse(); + return TeaModel.build(map, self); + } + + public GetBucketPolicyResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketPolicyResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketPolicyResponse setBody(String body) { + this.body = body; + return this; + } + public String getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketPolicyStatusResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketPolicyStatusResponse.java new file mode 100644 index 00000000..c2e02386 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketPolicyStatusResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketPolicyStatusResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetBucketPolicyStatusResponseBody body; + + public static GetBucketPolicyStatusResponse build(java.util.Map map) throws Exception { + GetBucketPolicyStatusResponse self = new GetBucketPolicyStatusResponse(); + return TeaModel.build(map, self); + } + + public GetBucketPolicyStatusResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketPolicyStatusResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketPolicyStatusResponse setBody(GetBucketPolicyStatusResponseBody body) { + this.body = body; + return this; + } + public GetBucketPolicyStatusResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketPolicyStatusResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketPolicyStatusResponseBody.java new file mode 100644 index 00000000..cedeed74 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketPolicyStatusResponseBody.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketPolicyStatusResponseBody extends TeaModel { + @NameInMap("IsPublic") + public Boolean isPublic; + + public static GetBucketPolicyStatusResponseBody build(java.util.Map map) throws Exception { + GetBucketPolicyStatusResponseBody self = new GetBucketPolicyStatusResponseBody(); + return TeaModel.build(map, self); + } + + public GetBucketPolicyStatusResponseBody setIsPublic(Boolean isPublic) { + this.isPublic = isPublic; + return this; + } + public Boolean getIsPublic() { + return this.isPublic; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketPublicAccessBlockResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketPublicAccessBlockResponse.java new file mode 100644 index 00000000..7f29941b --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketPublicAccessBlockResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketPublicAccessBlockResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public PublicAccessBlockConfiguration body; + + public static GetBucketPublicAccessBlockResponse build(java.util.Map map) throws Exception { + GetBucketPublicAccessBlockResponse self = new GetBucketPublicAccessBlockResponse(); + return TeaModel.build(map, self); + } + + public GetBucketPublicAccessBlockResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketPublicAccessBlockResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketPublicAccessBlockResponse setBody(PublicAccessBlockConfiguration body) { + this.body = body; + return this; + } + public PublicAccessBlockConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketRefererResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketRefererResponse.java new file mode 100644 index 00000000..f4ad88a8 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketRefererResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketRefererResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public RefererConfiguration body; + + public static GetBucketRefererResponse build(java.util.Map map) throws Exception { + GetBucketRefererResponse self = new GetBucketRefererResponse(); + return TeaModel.build(map, self); + } + + public GetBucketRefererResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketRefererResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketRefererResponse setBody(RefererConfiguration body) { + this.body = body; + return this; + } + public RefererConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketReplicationLocationResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketReplicationLocationResponse.java new file mode 100644 index 00000000..59e6ed5e --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketReplicationLocationResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketReplicationLocationResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetBucketReplicationLocationResponseBody body; + + public static GetBucketReplicationLocationResponse build(java.util.Map map) throws Exception { + GetBucketReplicationLocationResponse self = new GetBucketReplicationLocationResponse(); + return TeaModel.build(map, self); + } + + public GetBucketReplicationLocationResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketReplicationLocationResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketReplicationLocationResponse setBody(GetBucketReplicationLocationResponseBody body) { + this.body = body; + return this; + } + public GetBucketReplicationLocationResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketReplicationLocationResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketReplicationLocationResponseBody.java new file mode 100644 index 00000000..41c0b961 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketReplicationLocationResponseBody.java @@ -0,0 +1,64 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketReplicationLocationResponseBody extends TeaModel { + /** + *

The regions in which available destination buckets reside.

+ *
+ *

> If available destination buckets reside in multiple regions, multiple values of Location are returned in the response. If no destination bucket is available, the value of Location is null.

+ */ + @NameInMap("Location") + public java.util.List location; + + /** + *

The container that stores the regions in which available destination buckets reside with TransferType specified.

+ */ + @NameInMap("LocationTransferTypeConstraint") + public GetBucketReplicationLocationResponseBodyLocationTransferTypeConstraint locationTransferTypeConstraint; + + public static GetBucketReplicationLocationResponseBody build(java.util.Map map) throws Exception { + GetBucketReplicationLocationResponseBody self = new GetBucketReplicationLocationResponseBody(); + return TeaModel.build(map, self); + } + + public GetBucketReplicationLocationResponseBody setLocation(java.util.List location) { + this.location = location; + return this; + } + public java.util.List getLocation() { + return this.location; + } + + public GetBucketReplicationLocationResponseBody setLocationTransferTypeConstraint(GetBucketReplicationLocationResponseBodyLocationTransferTypeConstraint locationTransferTypeConstraint) { + this.locationTransferTypeConstraint = locationTransferTypeConstraint; + return this; + } + public GetBucketReplicationLocationResponseBodyLocationTransferTypeConstraint getLocationTransferTypeConstraint() { + return this.locationTransferTypeConstraint; + } + + public static class GetBucketReplicationLocationResponseBodyLocationTransferTypeConstraint extends TeaModel { + /** + *

The container that stores the regions in which available destination buckets reside with TransferType specified.

+ */ + @NameInMap("LocationTransferType") + public java.util.List locationTransferType; + + public static GetBucketReplicationLocationResponseBodyLocationTransferTypeConstraint build(java.util.Map map) throws Exception { + GetBucketReplicationLocationResponseBodyLocationTransferTypeConstraint self = new GetBucketReplicationLocationResponseBodyLocationTransferTypeConstraint(); + return TeaModel.build(map, self); + } + + public GetBucketReplicationLocationResponseBodyLocationTransferTypeConstraint setLocationTransferType(java.util.List locationTransferType) { + this.locationTransferType = locationTransferType; + return this; + } + public java.util.List getLocationTransferType() { + return this.locationTransferType; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketReplicationProgressRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketReplicationProgressRequest.java new file mode 100644 index 00000000..529f7c7f --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketReplicationProgressRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketReplicationProgressRequest extends TeaModel { + /** + *

The ID of the data replication rule. You can call the GetBucketReplication operation to query the ID.

+ */ + @NameInMap("rule-id") + public String ruleId; + + public static GetBucketReplicationProgressRequest build(java.util.Map map) throws Exception { + GetBucketReplicationProgressRequest self = new GetBucketReplicationProgressRequest(); + return TeaModel.build(map, self); + } + + public GetBucketReplicationProgressRequest setRuleId(String ruleId) { + this.ruleId = ruleId; + return this; + } + public String getRuleId() { + return this.ruleId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketReplicationProgressResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketReplicationProgressResponse.java new file mode 100644 index 00000000..d90b4622 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketReplicationProgressResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketReplicationProgressResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetBucketReplicationProgressResponseBody body; + + public static GetBucketReplicationProgressResponse build(java.util.Map map) throws Exception { + GetBucketReplicationProgressResponse self = new GetBucketReplicationProgressResponse(); + return TeaModel.build(map, self); + } + + public GetBucketReplicationProgressResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketReplicationProgressResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketReplicationProgressResponse setBody(GetBucketReplicationProgressResponseBody body) { + this.body = body; + return this; + } + public GetBucketReplicationProgressResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketReplicationProgressResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketReplicationProgressResponseBody.java new file mode 100644 index 00000000..b32bf6cb --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketReplicationProgressResponseBody.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketReplicationProgressResponseBody extends TeaModel { + /** + *

The container that stores the progress of the data replication task corresponding to the specified data replication rule.

+ */ + @NameInMap("Rule") + public ReplicationProgressRule rule; + + public static GetBucketReplicationProgressResponseBody build(java.util.Map map) throws Exception { + GetBucketReplicationProgressResponseBody self = new GetBucketReplicationProgressResponseBody(); + return TeaModel.build(map, self); + } + + public GetBucketReplicationProgressResponseBody setRule(ReplicationProgressRule rule) { + this.rule = rule; + return this; + } + public ReplicationProgressRule getRule() { + return this.rule; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketReplicationResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketReplicationResponse.java new file mode 100644 index 00000000..988116f8 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketReplicationResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketReplicationResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetBucketReplicationResponseBody body; + + public static GetBucketReplicationResponse build(java.util.Map map) throws Exception { + GetBucketReplicationResponse self = new GetBucketReplicationResponse(); + return TeaModel.build(map, self); + } + + public GetBucketReplicationResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketReplicationResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketReplicationResponse setBody(GetBucketReplicationResponseBody body) { + this.body = body; + return this; + } + public GetBucketReplicationResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketReplicationResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketReplicationResponseBody.java new file mode 100644 index 00000000..49daea45 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketReplicationResponseBody.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketReplicationResponseBody extends TeaModel { + /** + *

The container that stores the information about the specified data replication rule.

+ */ + @NameInMap("Rule") + public java.util.List rule; + + public static GetBucketReplicationResponseBody build(java.util.Map map) throws Exception { + GetBucketReplicationResponseBody self = new GetBucketReplicationResponseBody(); + return TeaModel.build(map, self); + } + + public GetBucketReplicationResponseBody setRule(java.util.List rule) { + this.rule = rule; + return this; + } + public java.util.List getRule() { + return this.rule; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketRequest.java new file mode 100644 index 00000000..ec21e5f9 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketRequest.java @@ -0,0 +1,100 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketRequest extends TeaModel { + /** + *

The character that is used to group objects by name. If you specify prefix and delimiter in the request, the response contains CommonPrefixes. The objects whose name contains the same string from the prefix to the next occurrence of the delimiter are grouped as a single result element in CommonPrefixes.\

+ *

By default, this parameter is left empty.

+ */ + @NameInMap("delimiter") + public String delimiter; + + /** + *

The encoding type of the content in the response.\

+ *

By default, this parameter is left empty.\

+ *

Set the value to URL.\

+ *

The values of Delimiter, Marker, Prefix, NextMarker, and Key are UTF-8 encoded. If the value of Delimiter, Marker, Prefix, NextMarker, or Key contains a control character that is not supported by Extensible Markup Language (XML) 1.0, you can specify encoding-type to encode the value in the response.

+ */ + @NameInMap("encoding-type") + public String encodingType; + + /** + *

The name of the object after which the GetBucket (ListObjects) operation begins. If this parameter is specified, objects whose name is alphabetically after the value of marker are returned.\

+ *

The objects are returned by page based on marker. The value of marker must be less than 1,024 bytes in length.\

+ *

If the value of marker does not exist in the list when you perform a conditional query, the GetBucket (ListObjects) operation also starts from the object name that is alphabetically after the value of marker.\

+ *

By default, this parameter is left empty.

+ */ + @NameInMap("marker") + public String marker; + + /** + *

The maximum number of objects to be returned. If the number of returned objects exceeds the value of max-keys, use the value of NextMarker returned in the response as the value of marker in the next request.\

+ *

Valid values: 1 to 999.\

+ *

Default value: 100.

+ */ + @NameInMap("max-keys") + public Long maxKeys; + + /** + *

The prefix that the names of returned objects must contain.

+ *
+ *

* The value of prefix must be less than 1,024 bytes in length.

+ *

* If you specify prefix, the names of the returned objects contain the prefix.\

+ *
+ *
+ *

If you set prefix to a directory name, the objects whose name starts with the prefix are listed. The listed objects consist of all objects and subdirectories in the directory.\

+ *

If you specify prefix and set delimiter to a forward slash (/), only the objects in the directory are listed. The subdirectories in the directory are returned in CommonPrefixes. Objects and subdirectories in the subdirectories are not listed.\

+ *

For example, a bucket contains the following three objects: fun/test.jpg, fun/movie/001.avi, and fun/movie/007.avi. If you set prefix to fun/, the three objects are returned. If you set prefix to fun/and delimiter to a forward slash (/), fun/test.jpg and fun/movie/are returned.\

+ *

By default, this parameter is left empty.

+ */ + @NameInMap("prefix") + public String prefix; + + public static GetBucketRequest build(java.util.Map map) throws Exception { + GetBucketRequest self = new GetBucketRequest(); + return TeaModel.build(map, self); + } + + public GetBucketRequest setDelimiter(String delimiter) { + this.delimiter = delimiter; + return this; + } + public String getDelimiter() { + return this.delimiter; + } + + public GetBucketRequest setEncodingType(String encodingType) { + this.encodingType = encodingType; + return this; + } + public String getEncodingType() { + return this.encodingType; + } + + public GetBucketRequest setMarker(String marker) { + this.marker = marker; + return this; + } + public String getMarker() { + return this.marker; + } + + public GetBucketRequest setMaxKeys(Long maxKeys) { + this.maxKeys = maxKeys; + return this; + } + public Long getMaxKeys() { + return this.maxKeys; + } + + public GetBucketRequest setPrefix(String prefix) { + this.prefix = prefix; + return this; + } + public String getPrefix() { + return this.prefix; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketRequestPaymentResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketRequestPaymentResponse.java new file mode 100644 index 00000000..555ba6c5 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketRequestPaymentResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketRequestPaymentResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetBucketRequestPaymentResponseBody body; + + public static GetBucketRequestPaymentResponse build(java.util.Map map) throws Exception { + GetBucketRequestPaymentResponse self = new GetBucketRequestPaymentResponse(); + return TeaModel.build(map, self); + } + + public GetBucketRequestPaymentResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketRequestPaymentResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketRequestPaymentResponse setBody(GetBucketRequestPaymentResponseBody body) { + this.body = body; + return this; + } + public GetBucketRequestPaymentResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketRequestPaymentResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketRequestPaymentResponseBody.java new file mode 100644 index 00000000..264a9ea3 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketRequestPaymentResponseBody.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketRequestPaymentResponseBody extends TeaModel { + /** + *

The payer of the request and traffic fees. Valid values: **BucketOwner** and **Requester**.

+ */ + @NameInMap("Payer") + public String payer; + + public static GetBucketRequestPaymentResponseBody build(java.util.Map map) throws Exception { + GetBucketRequestPaymentResponseBody self = new GetBucketRequestPaymentResponseBody(); + return TeaModel.build(map, self); + } + + public GetBucketRequestPaymentResponseBody setPayer(String payer) { + this.payer = payer; + return this; + } + public String getPayer() { + return this.payer; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketResourceGroupResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketResourceGroupResponse.java new file mode 100644 index 00000000..394ae438 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketResourceGroupResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketResourceGroupResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetBucketResourceGroupResponseBody body; + + public static GetBucketResourceGroupResponse build(java.util.Map map) throws Exception { + GetBucketResourceGroupResponse self = new GetBucketResourceGroupResponse(); + return TeaModel.build(map, self); + } + + public GetBucketResourceGroupResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketResourceGroupResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketResourceGroupResponse setBody(GetBucketResourceGroupResponseBody body) { + this.body = body; + return this; + } + public GetBucketResourceGroupResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketResourceGroupResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketResourceGroupResponseBody.java new file mode 100644 index 00000000..82fc8486 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketResourceGroupResponseBody.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketResourceGroupResponseBody extends TeaModel { + /** + *

The ID of the resource group to which the bucket belongs.

+ */ + @NameInMap("ResourceGroupId") + public String resourceGroupId; + + public static GetBucketResourceGroupResponseBody build(java.util.Map map) throws Exception { + GetBucketResourceGroupResponseBody self = new GetBucketResourceGroupResponseBody(); + return TeaModel.build(map, self); + } + + public GetBucketResourceGroupResponseBody setResourceGroupId(String resourceGroupId) { + this.resourceGroupId = resourceGroupId; + return this; + } + public String getResourceGroupId() { + return this.resourceGroupId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketResponse.java new file mode 100644 index 00000000..7632cc88 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetBucketResponseBody body; + + public static GetBucketResponse build(java.util.Map map) throws Exception { + GetBucketResponse self = new GetBucketResponse(); + return TeaModel.build(map, self); + } + + public GetBucketResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketResponse setBody(GetBucketResponseBody body) { + this.body = body; + return this; + } + public GetBucketResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketResponseBody.java new file mode 100644 index 00000000..b7f2d833 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketResponseBody.java @@ -0,0 +1,124 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketResponseBody extends TeaModel { + /** + *

If delimiter is specified in the request, the response contains CommonPrefixes. The objects whose name contains the same string from the prefix to the next occurrence of the delimiter are grouped as a single result element in CommonPrefixes.

+ */ + @NameInMap("CommonPrefixes") + public java.util.List commonPrefixes; + + /** + *

The container that stores the metadata of the returned objects.

+ */ + @NameInMap("Contents") + public java.util.List contents; + + /** + *

The character that is used to group objects by name. The objects whose name contains the same string from the prefix to the next occurrence of the delimiter are grouped as a single result element in CommonPrefixes.

+ */ + @NameInMap("Delimiter") + public String delimiter; + + /** + *

Indicates whether the returned results are truncated.

+ */ + @NameInMap("IsTruncated") + public Boolean isTruncated; + + /** + *

The name of the object from which the GetBucket (ListObjects) operation begins.

+ */ + @NameInMap("Marker") + public String marker; + + /** + *

The maximum number of returned objects in the response.

+ */ + @NameInMap("MaxKeys") + public Integer maxKeys; + + /** + *

The name of the bucket.

+ */ + @NameInMap("Name") + public String name; + + /** + *

The prefix in the names of the returned objects.

+ */ + @NameInMap("Prefix") + public String prefix; + + public static GetBucketResponseBody build(java.util.Map map) throws Exception { + GetBucketResponseBody self = new GetBucketResponseBody(); + return TeaModel.build(map, self); + } + + public GetBucketResponseBody setCommonPrefixes(java.util.List commonPrefixes) { + this.commonPrefixes = commonPrefixes; + return this; + } + public java.util.List getCommonPrefixes() { + return this.commonPrefixes; + } + + public GetBucketResponseBody setContents(java.util.List contents) { + this.contents = contents; + return this; + } + public java.util.List getContents() { + return this.contents; + } + + public GetBucketResponseBody setDelimiter(String delimiter) { + this.delimiter = delimiter; + return this; + } + public String getDelimiter() { + return this.delimiter; + } + + public GetBucketResponseBody setIsTruncated(Boolean isTruncated) { + this.isTruncated = isTruncated; + return this; + } + public Boolean getIsTruncated() { + return this.isTruncated; + } + + public GetBucketResponseBody setMarker(String marker) { + this.marker = marker; + return this; + } + public String getMarker() { + return this.marker; + } + + public GetBucketResponseBody setMaxKeys(Integer maxKeys) { + this.maxKeys = maxKeys; + return this; + } + public Integer getMaxKeys() { + return this.maxKeys; + } + + public GetBucketResponseBody setName(String name) { + this.name = name; + return this; + } + public String getName() { + return this.name; + } + + public GetBucketResponseBody setPrefix(String prefix) { + this.prefix = prefix; + return this; + } + public String getPrefix() { + return this.prefix; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketResponseHeaderResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketResponseHeaderResponse.java new file mode 100644 index 00000000..156b2221 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketResponseHeaderResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketResponseHeaderResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public ResponseHeaderConfiguration body; + + public static GetBucketResponseHeaderResponse build(java.util.Map map) throws Exception { + GetBucketResponseHeaderResponse self = new GetBucketResponseHeaderResponse(); + return TeaModel.build(map, self); + } + + public GetBucketResponseHeaderResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketResponseHeaderResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketResponseHeaderResponse setBody(ResponseHeaderConfiguration body) { + this.body = body; + return this; + } + public ResponseHeaderConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketStatResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketStatResponse.java new file mode 100644 index 00000000..1899f022 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketStatResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketStatResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public BucketStat body; + + public static GetBucketStatResponse build(java.util.Map map) throws Exception { + GetBucketStatResponse self = new GetBucketStatResponse(); + return TeaModel.build(map, self); + } + + public GetBucketStatResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketStatResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketStatResponse setBody(BucketStat body) { + this.body = body; + return this; + } + public BucketStat getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketTagsResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketTagsResponse.java new file mode 100644 index 00000000..b8a88a82 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketTagsResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketTagsResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetBucketTagsResponseBody body; + + public static GetBucketTagsResponse build(java.util.Map map) throws Exception { + GetBucketTagsResponse self = new GetBucketTagsResponse(); + return TeaModel.build(map, self); + } + + public GetBucketTagsResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketTagsResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketTagsResponse setBody(GetBucketTagsResponseBody body) { + this.body = body; + return this; + } + public GetBucketTagsResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketTagsResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketTagsResponseBody.java new file mode 100644 index 00000000..0d7dc4a1 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketTagsResponseBody.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketTagsResponseBody extends TeaModel { + /** + *

The container that stores the returned tags of the bucket.

+ */ + @NameInMap("TagSet") + public TagSet tagSet; + + public static GetBucketTagsResponseBody build(java.util.Map map) throws Exception { + GetBucketTagsResponseBody self = new GetBucketTagsResponseBody(); + return TeaModel.build(map, self); + } + + public GetBucketTagsResponseBody setTagSet(TagSet tagSet) { + this.tagSet = tagSet; + return this; + } + public TagSet getTagSet() { + return this.tagSet; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketTransferAccelerationResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketTransferAccelerationResponse.java new file mode 100644 index 00000000..7930a731 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketTransferAccelerationResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketTransferAccelerationResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetBucketTransferAccelerationResponseBody body; + + public static GetBucketTransferAccelerationResponse build(java.util.Map map) throws Exception { + GetBucketTransferAccelerationResponse self = new GetBucketTransferAccelerationResponse(); + return TeaModel.build(map, self); + } + + public GetBucketTransferAccelerationResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketTransferAccelerationResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketTransferAccelerationResponse setBody(GetBucketTransferAccelerationResponseBody body) { + this.body = body; + return this; + } + public GetBucketTransferAccelerationResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketTransferAccelerationResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketTransferAccelerationResponseBody.java new file mode 100644 index 00000000..fd3158fa --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketTransferAccelerationResponseBody.java @@ -0,0 +1,29 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketTransferAccelerationResponseBody extends TeaModel { + /** + *

Indicates whether the transfer acceleration feature is enabled. Valid values:

+ *
+ *

* true

+ *

* false

+ */ + @NameInMap("Enabled") + public Boolean enabled; + + public static GetBucketTransferAccelerationResponseBody build(java.util.Map map) throws Exception { + GetBucketTransferAccelerationResponseBody self = new GetBucketTransferAccelerationResponseBody(); + return TeaModel.build(map, self); + } + + public GetBucketTransferAccelerationResponseBody setEnabled(Boolean enabled) { + this.enabled = enabled; + return this; + } + public Boolean getEnabled() { + return this.enabled; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketVersioningResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketVersioningResponse.java new file mode 100644 index 00000000..1f4516f6 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketVersioningResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketVersioningResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetBucketVersioningResponseBody body; + + public static GetBucketVersioningResponse build(java.util.Map map) throws Exception { + GetBucketVersioningResponse self = new GetBucketVersioningResponse(); + return TeaModel.build(map, self); + } + + public GetBucketVersioningResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketVersioningResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketVersioningResponse setBody(GetBucketVersioningResponseBody body) { + this.body = body; + return this; + } + public GetBucketVersioningResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketVersioningResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketVersioningResponseBody.java new file mode 100644 index 00000000..0aab12ed --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketVersioningResponseBody.java @@ -0,0 +1,29 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketVersioningResponseBody extends TeaModel { + /** + *

The versioning state. Valid values:

+ *
+ *

* Enabled

+ *

* Suspended

+ */ + @NameInMap("Status") + public String status; + + public static GetBucketVersioningResponseBody build(java.util.Map map) throws Exception { + GetBucketVersioningResponseBody self = new GetBucketVersioningResponseBody(); + return TeaModel.build(map, self); + } + + public GetBucketVersioningResponseBody setStatus(String status) { + this.status = status; + return this; + } + public String getStatus() { + return this.status; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketWebsiteResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketWebsiteResponse.java new file mode 100644 index 00000000..cf0e4ae4 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketWebsiteResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketWebsiteResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetBucketWebsiteResponseBody body; + + public static GetBucketWebsiteResponse build(java.util.Map map) throws Exception { + GetBucketWebsiteResponse self = new GetBucketWebsiteResponse(); + return TeaModel.build(map, self); + } + + public GetBucketWebsiteResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketWebsiteResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketWebsiteResponse setBody(GetBucketWebsiteResponseBody body) { + this.body = body; + return this; + } + public GetBucketWebsiteResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketWebsiteResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketWebsiteResponseBody.java new file mode 100644 index 00000000..3d858cd0 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketWebsiteResponseBody.java @@ -0,0 +1,76 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketWebsiteResponseBody extends TeaModel { + /** + *

The container that stores the error page.

+ */ + @NameInMap("ErrorDocument") + public ErrorDocument errorDocument; + + /** + *

The container that stores the default homepage.

+ */ + @NameInMap("IndexDocument") + public IndexDocument indexDocument; + + /** + *

The container that stores redirection rules or mirroring-based back-to-origin rules.

+ */ + @NameInMap("RoutingRules") + public GetBucketWebsiteResponseBodyRoutingRules routingRules; + + public static GetBucketWebsiteResponseBody build(java.util.Map map) throws Exception { + GetBucketWebsiteResponseBody self = new GetBucketWebsiteResponseBody(); + return TeaModel.build(map, self); + } + + public GetBucketWebsiteResponseBody setErrorDocument(ErrorDocument errorDocument) { + this.errorDocument = errorDocument; + return this; + } + public ErrorDocument getErrorDocument() { + return this.errorDocument; + } + + public GetBucketWebsiteResponseBody setIndexDocument(IndexDocument indexDocument) { + this.indexDocument = indexDocument; + return this; + } + public IndexDocument getIndexDocument() { + return this.indexDocument; + } + + public GetBucketWebsiteResponseBody setRoutingRules(GetBucketWebsiteResponseBodyRoutingRules routingRules) { + this.routingRules = routingRules; + return this; + } + public GetBucketWebsiteResponseBodyRoutingRules getRoutingRules() { + return this.routingRules; + } + + public static class GetBucketWebsiteResponseBodyRoutingRules extends TeaModel { + /** + *

The redirection rules or mirroring-based back-to-origin rules.

+ */ + @NameInMap("RoutingRule") + public java.util.List routingRule; + + public static GetBucketWebsiteResponseBodyRoutingRules build(java.util.Map map) throws Exception { + GetBucketWebsiteResponseBodyRoutingRules self = new GetBucketWebsiteResponseBodyRoutingRules(); + return TeaModel.build(map, self); + } + + public GetBucketWebsiteResponseBodyRoutingRules setRoutingRule(java.util.List routingRule) { + this.routingRule = routingRule; + return this; + } + public java.util.List getRoutingRule() { + return this.routingRule; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketWormResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketWormResponse.java new file mode 100644 index 00000000..18fb31bd --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketWormResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketWormResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetBucketWormResponseBody body; + + public static GetBucketWormResponse build(java.util.Map map) throws Exception { + GetBucketWormResponse self = new GetBucketWormResponse(); + return TeaModel.build(map, self); + } + + public GetBucketWormResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetBucketWormResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetBucketWormResponse setBody(GetBucketWormResponseBody body) { + this.body = body; + return this; + } + public GetBucketWormResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketWormResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketWormResponseBody.java new file mode 100644 index 00000000..cc6c75df --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketWormResponseBody.java @@ -0,0 +1,73 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetBucketWormResponseBody extends TeaModel { + /** + *

The time at which the retention policy was created.

+ */ + @NameInMap("CreationDate") + public String creationDate; + + /** + *

The number of days for which objects can be retained.

+ */ + @NameInMap("RetentionPeriodInDays") + public Integer retentionPeriodInDays; + + /** + *

The status of the retention policy. Valid values:

+ *
+ *

* InProgress: indicates that the retention policy is in the InProgress state. By default, a retention policy is in the InProgress state after it is created. The policy remains in this state for 24 hours.

+ *

* Locked: indicates that the retention policy is in the Locked state.

+ */ + @NameInMap("State") + public String state; + + /** + *

The ID of the retention policy.

+ *
+ *

> If the specified retention policy ID that is used to query the retention policy configurations of the bucket does not exist, OSS returns the 404 error code.

+ */ + @NameInMap("WormId") + public String wormId; + + public static GetBucketWormResponseBody build(java.util.Map map) throws Exception { + GetBucketWormResponseBody self = new GetBucketWormResponseBody(); + return TeaModel.build(map, self); + } + + public GetBucketWormResponseBody setCreationDate(String creationDate) { + this.creationDate = creationDate; + return this; + } + public String getCreationDate() { + return this.creationDate; + } + + public GetBucketWormResponseBody setRetentionPeriodInDays(Integer retentionPeriodInDays) { + this.retentionPeriodInDays = retentionPeriodInDays; + return this; + } + public Integer getRetentionPeriodInDays() { + return this.retentionPeriodInDays; + } + + public GetBucketWormResponseBody setState(String state) { + this.state = state; + return this; + } + public String getState() { + return this.state; + } + + public GetBucketWormResponseBody setWormId(String wormId) { + this.wormId = wormId; + return this; + } + public String getWormId() { + return this.wormId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetCnameTokenRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetCnameTokenRequest.java new file mode 100644 index 00000000..a0615c71 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetCnameTokenRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetCnameTokenRequest extends TeaModel { + /** + *

The name of the CNAME record that is mapped to the bucket.

+ */ + @NameInMap("cname") + public String cname; + + public static GetCnameTokenRequest build(java.util.Map map) throws Exception { + GetCnameTokenRequest self = new GetCnameTokenRequest(); + return TeaModel.build(map, self); + } + + public GetCnameTokenRequest setCname(String cname) { + this.cname = cname; + return this; + } + public String getCname() { + return this.cname; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetCnameTokenResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetCnameTokenResponse.java new file mode 100644 index 00000000..e710bcee --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetCnameTokenResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetCnameTokenResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public CnameToken body; + + public static GetCnameTokenResponse build(java.util.Map map) throws Exception { + GetCnameTokenResponse self = new GetCnameTokenResponse(); + return TeaModel.build(map, self); + } + + public GetCnameTokenResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetCnameTokenResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetCnameTokenResponse setBody(CnameToken body) { + this.body = body; + return this; + } + public CnameToken getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetLiveChannelHistoryResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetLiveChannelHistoryResponse.java new file mode 100644 index 00000000..3763f0fe --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetLiveChannelHistoryResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetLiveChannelHistoryResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetLiveChannelHistoryResponseBody body; + + public static GetLiveChannelHistoryResponse build(java.util.Map map) throws Exception { + GetLiveChannelHistoryResponse self = new GetLiveChannelHistoryResponse(); + return TeaModel.build(map, self); + } + + public GetLiveChannelHistoryResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetLiveChannelHistoryResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetLiveChannelHistoryResponse setBody(GetLiveChannelHistoryResponseBody body) { + this.body = body; + return this; + } + public GetLiveChannelHistoryResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetLiveChannelHistoryResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetLiveChannelHistoryResponseBody.java new file mode 100644 index 00000000..75afb27c --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetLiveChannelHistoryResponseBody.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetLiveChannelHistoryResponseBody extends TeaModel { + /** + *

Specifies the container that stores a stream pushing record.

+ */ + @NameInMap("LiveRecord") + public java.util.List liveRecord; + + public static GetLiveChannelHistoryResponseBody build(java.util.Map map) throws Exception { + GetLiveChannelHistoryResponseBody self = new GetLiveChannelHistoryResponseBody(); + return TeaModel.build(map, self); + } + + public GetLiveChannelHistoryResponseBody setLiveRecord(java.util.List liveRecord) { + this.liveRecord = liveRecord; + return this; + } + public java.util.List getLiveRecord() { + return this.liveRecord; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetLiveChannelInfoResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetLiveChannelInfoResponse.java new file mode 100644 index 00000000..b9f3b103 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetLiveChannelInfoResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetLiveChannelInfoResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetLiveChannelInfoResponseBody body; + + public static GetLiveChannelInfoResponse build(java.util.Map map) throws Exception { + GetLiveChannelInfoResponse self = new GetLiveChannelInfoResponse(); + return TeaModel.build(map, self); + } + + public GetLiveChannelInfoResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetLiveChannelInfoResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetLiveChannelInfoResponse setBody(GetLiveChannelInfoResponseBody body) { + this.body = body; + return this; + } + public GetLiveChannelInfoResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetLiveChannelInfoResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetLiveChannelInfoResponseBody.java new file mode 100644 index 00000000..58cbe844 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetLiveChannelInfoResponseBody.java @@ -0,0 +1,58 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetLiveChannelInfoResponseBody extends TeaModel { + /** + *

The description of the LiveChannel.

+ */ + @NameInMap("Description") + public String description; + + /** + *

The status of the LiveChannel.

+ *


Valid values:

+ *
+ *

- enabled: indicates that the LiveChannel is enabled.

+ *

- disabled: indicates that the LiveChannel is disabled.

+ */ + @NameInMap("Status") + public String status; + + /** + *

The container that stores the configurations used by the LiveChannel to store uploaded data.

+ */ + @NameInMap("Target") + public LiveChannelTarget target; + + public static GetLiveChannelInfoResponseBody build(java.util.Map map) throws Exception { + GetLiveChannelInfoResponseBody self = new GetLiveChannelInfoResponseBody(); + return TeaModel.build(map, self); + } + + public GetLiveChannelInfoResponseBody setDescription(String description) { + this.description = description; + return this; + } + public String getDescription() { + return this.description; + } + + public GetLiveChannelInfoResponseBody setStatus(String status) { + this.status = status; + return this; + } + public String getStatus() { + return this.status; + } + + public GetLiveChannelInfoResponseBody setTarget(LiveChannelTarget target) { + this.target = target; + return this; + } + public LiveChannelTarget getTarget() { + return this.target; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetLiveChannelStatResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetLiveChannelStatResponse.java new file mode 100644 index 00000000..f96dd342 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetLiveChannelStatResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetLiveChannelStatResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetLiveChannelStatResponseBody body; + + public static GetLiveChannelStatResponse build(java.util.Map map) throws Exception { + GetLiveChannelStatResponse self = new GetLiveChannelStatResponse(); + return TeaModel.build(map, self); + } + + public GetLiveChannelStatResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetLiveChannelStatResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetLiveChannelStatResponse setBody(GetLiveChannelStatResponseBody body) { + this.body = body; + return this; + } + public GetLiveChannelStatResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetLiveChannelStatResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetLiveChannelStatResponseBody.java new file mode 100644 index 00000000..ba52059d --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetLiveChannelStatResponseBody.java @@ -0,0 +1,85 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetLiveChannelStatResponseBody extends TeaModel { + /** + *

The container that stores audio stream information when Status is set to Live.

+ *

> The Video and Audio containers can be returned only when Status is set to Live. However, the Video and Audio containers may not be returned when Status is set to Live. For example, if the client has connected to the LiveChannel but no audio or video stream is sent, these two containers are not returned.

+ */ + @NameInMap("Audio") + public LiveChannelAudio audio; + + /** + *

If the value of Status is Live, this parameter indicates the time when the current client start to push streams. The value of this parameter is in the ISO8601 format.

+ */ + @NameInMap("ConnectedTime") + public String connectedTime; + + /** + *

If the value of Status is Live, this parameter indicates the IP address of the current client that pushes streams.

+ */ + @NameInMap("RemoteAddr") + public String remoteAddr; + + /** + *

Indicates the current stream pushing status of the LiveChannel.

+ *


Valid value: Disabled, Live, and Idle

+ */ + @NameInMap("Status") + public String status; + + /** + *

The container that stores video stream information when Status is set to Live.

+ *

> Video and audio containers can be returned only when Status is set to Live. However, these two containers may not be returned when Status is set to Live. For example, if the client has connected to the LiveChannel but no audio or video stream is sent, these two containers are not returned.

+ */ + @NameInMap("Video") + public LiveChannelVideo video; + + public static GetLiveChannelStatResponseBody build(java.util.Map map) throws Exception { + GetLiveChannelStatResponseBody self = new GetLiveChannelStatResponseBody(); + return TeaModel.build(map, self); + } + + public GetLiveChannelStatResponseBody setAudio(LiveChannelAudio audio) { + this.audio = audio; + return this; + } + public LiveChannelAudio getAudio() { + return this.audio; + } + + public GetLiveChannelStatResponseBody setConnectedTime(String connectedTime) { + this.connectedTime = connectedTime; + return this; + } + public String getConnectedTime() { + return this.connectedTime; + } + + public GetLiveChannelStatResponseBody setRemoteAddr(String remoteAddr) { + this.remoteAddr = remoteAddr; + return this; + } + public String getRemoteAddr() { + return this.remoteAddr; + } + + public GetLiveChannelStatResponseBody setStatus(String status) { + this.status = status; + return this; + } + public String getStatus() { + return this.status; + } + + public GetLiveChannelStatResponseBody setVideo(LiveChannelVideo video) { + this.video = video; + return this; + } + public LiveChannelVideo getVideo() { + return this.video; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetMetaQueryStatusResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetMetaQueryStatusResponse.java new file mode 100644 index 00000000..a9453c0c --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetMetaQueryStatusResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetMetaQueryStatusResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetMetaQueryStatusResponseBody body; + + public static GetMetaQueryStatusResponse build(java.util.Map map) throws Exception { + GetMetaQueryStatusResponse self = new GetMetaQueryStatusResponse(); + return TeaModel.build(map, self); + } + + public GetMetaQueryStatusResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetMetaQueryStatusResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetMetaQueryStatusResponse setBody(GetMetaQueryStatusResponseBody body) { + this.body = body; + return this; + } + public GetMetaQueryStatusResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetMetaQueryStatusResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetMetaQueryStatusResponseBody.java new file mode 100644 index 00000000..75b37dc4 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetMetaQueryStatusResponseBody.java @@ -0,0 +1,78 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetMetaQueryStatusResponseBody extends TeaModel { + /** + *

The time when the metadata index library was created. The value follows the [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339) standard in the YYYY-MM-DDTHH:mm:ss+TIMEZONE format. YYYY-MM-DD indicates the year, month, and day. T indicates the beginning of the time element. HH:mm:ss indicates the hour, minute, and second. TIMEZONE indicates the time zone.

+ */ + @NameInMap("CreateTime") + public String createTime; + + /** + *

The scan type. Valid values:

+ *
+ *

* FullScanning

+ *

* IncrementalScanning

+ */ + @NameInMap("Phase") + public String phase; + + /** + *

The state of the metadata index library. Valid values:

+ *
+ *

* Ready: The metadata index library is being prepared after it is created. In this case, the metadata index library cannot be used to query data.

+ *

* Stop: The metadata index library is paused.

+ *

* Running: The metadata index library is running.

+ *

* Retrying: The metadata index library failed to be created and is being created again.

+ *

* Failed: The metadata index library failed to be created.

+ *

* Deleted: The metadata index library is deleted.

+ */ + @NameInMap("State") + public String state; + + /** + *

The time when the metadata index library was updated. The value follows the [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339) standard in the YYYY-MM-DDTHH:mm:ss+TIMEZONE format. YYYY-MM-DD indicates the year, month, and day. T indicates the beginning of the time element. HH:mm:ss indicates the hour, minute, and second. TIMEZONE indicates the time zone.

+ */ + @NameInMap("UpdateTime") + public String updateTime; + + public static GetMetaQueryStatusResponseBody build(java.util.Map map) throws Exception { + GetMetaQueryStatusResponseBody self = new GetMetaQueryStatusResponseBody(); + return TeaModel.build(map, self); + } + + public GetMetaQueryStatusResponseBody setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + public String getCreateTime() { + return this.createTime; + } + + public GetMetaQueryStatusResponseBody setPhase(String phase) { + this.phase = phase; + return this; + } + public String getPhase() { + return this.phase; + } + + public GetMetaQueryStatusResponseBody setState(String state) { + this.state = state; + return this; + } + public String getState() { + return this.state; + } + + public GetMetaQueryStatusResponseBody setUpdateTime(String updateTime) { + this.updateTime = updateTime; + return this; + } + public String getUpdateTime() { + return this.updateTime; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectAclRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectAclRequest.java new file mode 100644 index 00000000..ab88bb8f --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectAclRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetObjectAclRequest extends TeaModel { + /** + *

The version of the object.

+ */ + @NameInMap("versionId") + public String versionId; + + public static GetObjectAclRequest build(java.util.Map map) throws Exception { + GetObjectAclRequest self = new GetObjectAclRequest(); + return TeaModel.build(map, self); + } + + public GetObjectAclRequest setVersionId(String versionId) { + this.versionId = versionId; + return this; + } + public String getVersionId() { + return this.versionId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectAclResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectAclResponse.java new file mode 100644 index 00000000..84d21d26 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectAclResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetObjectAclResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetObjectAclResponseBody body; + + public static GetObjectAclResponse build(java.util.Map map) throws Exception { + GetObjectAclResponse self = new GetObjectAclResponse(); + return TeaModel.build(map, self); + } + + public GetObjectAclResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetObjectAclResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetObjectAclResponse setBody(GetObjectAclResponseBody body) { + this.body = body; + return this; + } + public GetObjectAclResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectAclResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectAclResponseBody.java new file mode 100644 index 00000000..7c898f20 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectAclResponseBody.java @@ -0,0 +1,63 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetObjectAclResponseBody extends TeaModel { + /** + *

The container used to store the ACL information.

+ */ + @NameInMap("AccessControlList") + public GetObjectAclResponseBodyAccessControlList accessControlList; + + /** + *

The container used to store the information about the bucket owner.

+ */ + @NameInMap("Owner") + public Owner owner; + + public static GetObjectAclResponseBody build(java.util.Map map) throws Exception { + GetObjectAclResponseBody self = new GetObjectAclResponseBody(); + return TeaModel.build(map, self); + } + + public GetObjectAclResponseBody setAccessControlList(GetObjectAclResponseBodyAccessControlList accessControlList) { + this.accessControlList = accessControlList; + return this; + } + public GetObjectAclResponseBodyAccessControlList getAccessControlList() { + return this.accessControlList; + } + + public GetObjectAclResponseBody setOwner(Owner owner) { + this.owner = owner; + return this; + } + public Owner getOwner() { + return this.owner; + } + + public static class GetObjectAclResponseBodyAccessControlList extends TeaModel { + /** + *

The ACL of the object.

+ *


Valid values: default, private, public-read, and public-read-write.

+ */ + @NameInMap("Grant") + public String grant; + + public static GetObjectAclResponseBodyAccessControlList build(java.util.Map map) throws Exception { + GetObjectAclResponseBodyAccessControlList self = new GetObjectAclResponseBodyAccessControlList(); + return TeaModel.build(map, self); + } + + public GetObjectAclResponseBodyAccessControlList setGrant(String grant) { + this.grant = grant; + return this; + } + public String getGrant() { + return this.grant; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectHeaders.java new file mode 100644 index 00000000..633ecb6d --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectHeaders.java @@ -0,0 +1,127 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetObjectHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + /** + *

The encoding type at the client side.

+ *

If you want an object to be returned in the GZIP format, you must include the Accept-Encoding:gzip header in your request. OSS determines whether to return the object compressed in the GZip format based on the Content-Type header and whether the size of the object is larger than or equal to 1 KB.

+ *

+ *

> If an object is compressed in the GZip format, the response OSS returns does not include the ETag value of the object.

+ *

> - OSS supports the following Content-Type values to compress the object in the GZip format: text/cache-manifest, text/xml, text/plain, text/css, application/javascript, application/x-javascript, application/rss+xml, application/json, and text/json.

+ *
+ *

Default value: null

+ */ + @NameInMap("Accept-Encoding") + public String acceptEncoding; + + /** + *

If the ETag specified in the request matches the ETag value of the object, OSS transmits the object and returns 200 OK. If the ETag specified in the request does not match the ETag value of the object, OSS returns 412 Precondition Failed.

+ *

The ETag value of an object is used to check whether the content of the object has changed. You can check data integrity by using the ETag value.

+ *

Default value: null

+ */ + @NameInMap("If-Match") + public String ifMatch; + + /** + *

If the time specified in this header is earlier than the object modified time or is invalid, OSS returns the object and 200 OK. If the time specified in this header is later than or the same as the object modified time, OSS returns 304 Not Modified.

+ *

The time must be in GMT. Example: `Fri, 13 Nov 2015 14:47:53 GMT`.

+ *

Default value: null

+ */ + @NameInMap("If-Modified-Since") + public String ifModifiedSince; + + /** + *

If the ETag specified in the request does not match the ETag value of the object, OSS transmits the object and returns 200 OK. If the ETag specified in the request matches the ETag value of the object, OSS returns 304 Not Modified.

+ *

You can specify both the **If-Match** and **If-None-Match** headers in a request.

+ *

Default value: null

+ */ + @NameInMap("If-None-Match") + public String ifNoneMatch; + + /** + *

If the time specified in this header is the same as or later than the object modified time, OSS returns the object and 200 OK. If the time specified in this header is earlier than the object modified time, OSS returns 412 Precondition Failed.

+ *

+ *

The time must be in GMT. Example: `Fri, 13 Nov 2015 14:47:53 GMT`.

+ *

You can specify both the **If-Modified-Since** and **If-Unmodified-Since** headers in a request.

+ *

Default value: null

+ */ + @NameInMap("If-Unmodified-Since") + public String ifUnmodifiedSince; + + /** + *

The range of data of the object to be returned.

+ *

- If the value of Range is valid, OSS returns the response that includes the total size of the object and the range of data returned. For example, Content-Range: bytes 0~9/44 indicates that the total size of the object is 44 bytes, and the range of data returned is the first 10 bytes.

+ *

- However, if the value of Range is invalid, the entire object is returned, and the response returned by OSS excludes Content-Range.

+ *
+ *

Default value: null

+ */ + @NameInMap("Range") + public String range; + + public static GetObjectHeaders build(java.util.Map map) throws Exception { + GetObjectHeaders self = new GetObjectHeaders(); + return TeaModel.build(map, self); + } + + public GetObjectHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public GetObjectHeaders setAcceptEncoding(String acceptEncoding) { + this.acceptEncoding = acceptEncoding; + return this; + } + public String getAcceptEncoding() { + return this.acceptEncoding; + } + + public GetObjectHeaders setIfMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + public String getIfMatch() { + return this.ifMatch; + } + + public GetObjectHeaders setIfModifiedSince(String ifModifiedSince) { + this.ifModifiedSince = ifModifiedSince; + return this; + } + public String getIfModifiedSince() { + return this.ifModifiedSince; + } + + public GetObjectHeaders setIfNoneMatch(String ifNoneMatch) { + this.ifNoneMatch = ifNoneMatch; + return this; + } + public String getIfNoneMatch() { + return this.ifNoneMatch; + } + + public GetObjectHeaders setIfUnmodifiedSince(String ifUnmodifiedSince) { + this.ifUnmodifiedSince = ifUnmodifiedSince; + return this; + } + public String getIfUnmodifiedSince() { + return this.ifUnmodifiedSince; + } + + public GetObjectHeaders setRange(String range) { + this.range = range; + return this; + } + public String getRange() { + return this.range; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectMetaRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectMetaRequest.java new file mode 100644 index 00000000..3e2c5ac8 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectMetaRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetObjectMetaRequest extends TeaModel { + /** + *

The version ID of the object. This element is displayed only if you query the metadata of an object of a specific version.

+ */ + @NameInMap("versionId") + public String versionId; + + public static GetObjectMetaRequest build(java.util.Map map) throws Exception { + GetObjectMetaRequest self = new GetObjectMetaRequest(); + return TeaModel.build(map, self); + } + + public GetObjectMetaRequest setVersionId(String versionId) { + this.versionId = versionId; + return this; + } + public String getVersionId() { + return this.versionId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectMetaResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectMetaResponse.java new file mode 100644 index 00000000..58fc84fc --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectMetaResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetObjectMetaResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static GetObjectMetaResponse build(java.util.Map map) throws Exception { + GetObjectMetaResponse self = new GetObjectMetaResponse(); + return TeaModel.build(map, self); + } + + public GetObjectMetaResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetObjectMetaResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectRequest.java new file mode 100644 index 00000000..199f2856 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectRequest.java @@ -0,0 +1,110 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetObjectRequest extends TeaModel { + /** + *

The cache-control header in the response that OSS returns.

+ */ + @NameInMap("response-cache-control") + public String responseCacheControl; + + /** + *

The content-disposition header in the response that OSS returns.

+ */ + @NameInMap("response-content-disposition") + public String responseContentDisposition; + + /** + *

The content-encoding header in the response that OSS returns.

+ */ + @NameInMap("response-content-encoding") + public String responseContentEncoding; + + /** + *

The content-language header in the response that OSS returns.

+ */ + @NameInMap("response-content-language") + public String responseContentLanguage; + + /** + *

The content-type header in the response that OSS returns.

+ */ + @NameInMap("response-content-type") + public String responseContentType; + + /** + *

The expires header in the response that OSS returns.

+ */ + @NameInMap("response-expires") + public String responseExpires; + + /** + *

The version ID of the object that you want to query.

+ */ + @NameInMap("versionId") + public String versionId; + + public static GetObjectRequest build(java.util.Map map) throws Exception { + GetObjectRequest self = new GetObjectRequest(); + return TeaModel.build(map, self); + } + + public GetObjectRequest setResponseCacheControl(String responseCacheControl) { + this.responseCacheControl = responseCacheControl; + return this; + } + public String getResponseCacheControl() { + return this.responseCacheControl; + } + + public GetObjectRequest setResponseContentDisposition(String responseContentDisposition) { + this.responseContentDisposition = responseContentDisposition; + return this; + } + public String getResponseContentDisposition() { + return this.responseContentDisposition; + } + + public GetObjectRequest setResponseContentEncoding(String responseContentEncoding) { + this.responseContentEncoding = responseContentEncoding; + return this; + } + public String getResponseContentEncoding() { + return this.responseContentEncoding; + } + + public GetObjectRequest setResponseContentLanguage(String responseContentLanguage) { + this.responseContentLanguage = responseContentLanguage; + return this; + } + public String getResponseContentLanguage() { + return this.responseContentLanguage; + } + + public GetObjectRequest setResponseContentType(String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + public String getResponseContentType() { + return this.responseContentType; + } + + public GetObjectRequest setResponseExpires(String responseExpires) { + this.responseExpires = responseExpires; + return this; + } + public String getResponseExpires() { + return this.responseExpires; + } + + public GetObjectRequest setVersionId(String versionId) { + this.versionId = versionId; + return this; + } + public String getVersionId() { + return this.versionId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectResponse.java new file mode 100644 index 00000000..2a6d4132 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetObjectResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public java.io.InputStream body; + + public static GetObjectResponse build(java.util.Map map) throws Exception { + GetObjectResponse self = new GetObjectResponse(); + return TeaModel.build(map, self); + } + + public GetObjectResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetObjectResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetObjectResponse setBody(java.io.InputStream body) { + this.body = body; + return this; + } + public java.io.InputStream getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectTaggingRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectTaggingRequest.java new file mode 100644 index 00000000..a1caa03d --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectTaggingRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetObjectTaggingRequest extends TeaModel { + /** + *

The version ID of the object that you want to query.

+ */ + @NameInMap("versionId") + public String versionId; + + public static GetObjectTaggingRequest build(java.util.Map map) throws Exception { + GetObjectTaggingRequest self = new GetObjectTaggingRequest(); + return TeaModel.build(map, self); + } + + public GetObjectTaggingRequest setVersionId(String versionId) { + this.versionId = versionId; + return this; + } + public String getVersionId() { + return this.versionId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectTaggingResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectTaggingResponse.java new file mode 100644 index 00000000..6e869027 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectTaggingResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetObjectTaggingResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetObjectTaggingResponseBody body; + + public static GetObjectTaggingResponse build(java.util.Map map) throws Exception { + GetObjectTaggingResponse self = new GetObjectTaggingResponse(); + return TeaModel.build(map, self); + } + + public GetObjectTaggingResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetObjectTaggingResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetObjectTaggingResponse setBody(GetObjectTaggingResponseBody body) { + this.body = body; + return this; + } + public GetObjectTaggingResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectTaggingResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectTaggingResponseBody.java new file mode 100644 index 00000000..5817bbf2 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetObjectTaggingResponseBody.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetObjectTaggingResponseBody extends TeaModel { + /** + *

The collection of tags.

+ */ + @NameInMap("TagSet") + public TagSet tagSet; + + public static GetObjectTaggingResponseBody build(java.util.Map map) throws Exception { + GetObjectTaggingResponseBody self = new GetObjectTaggingResponseBody(); + return TeaModel.build(map, self); + } + + public GetObjectTaggingResponseBody setTagSet(TagSet tagSet) { + this.tagSet = tagSet; + return this; + } + public TagSet getTagSet() { + return this.tagSet; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetPublicAccessBlockResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetPublicAccessBlockResponse.java new file mode 100644 index 00000000..240f62c9 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetPublicAccessBlockResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetPublicAccessBlockResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public PublicAccessBlockConfiguration body; + + public static GetPublicAccessBlockResponse build(java.util.Map map) throws Exception { + GetPublicAccessBlockResponse self = new GetPublicAccessBlockResponse(); + return TeaModel.build(map, self); + } + + public GetPublicAccessBlockResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetPublicAccessBlockResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetPublicAccessBlockResponse setBody(PublicAccessBlockConfiguration body) { + this.body = body; + return this; + } + public PublicAccessBlockConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetServiceRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetServiceRequest.java new file mode 100644 index 00000000..96166096 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetServiceRequest.java @@ -0,0 +1,58 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetServiceRequest extends TeaModel { + /** + *

The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of marker.\

+ *

By default, this parameter is left empty.

+ */ + @NameInMap("marker") + public String marker; + + /** + *

The maximum number of buckets that can be returned.\

+ *

Valid values: 1 to 1000.\

+ *

Default value: 100.

+ */ + @NameInMap("max-keys") + public Long maxKeys; + + /** + *

The prefix that the names of returned buckets must contain. If this parameter is not specified, prefixes are not used to filter returned buckets.\

+ *

By default, this parameter is left empty.

+ */ + @NameInMap("prefix") + public String prefix; + + public static GetServiceRequest build(java.util.Map map) throws Exception { + GetServiceRequest self = new GetServiceRequest(); + return TeaModel.build(map, self); + } + + public GetServiceRequest setMarker(String marker) { + this.marker = marker; + return this; + } + public String getMarker() { + return this.marker; + } + + public GetServiceRequest setMaxKeys(Long maxKeys) { + this.maxKeys = maxKeys; + return this; + } + public Long getMaxKeys() { + return this.maxKeys; + } + + public GetServiceRequest setPrefix(String prefix) { + this.prefix = prefix; + return this; + } + public String getPrefix() { + return this.prefix; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetServiceResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetServiceResponse.java new file mode 100644 index 00000000..58578433 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetServiceResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetServiceResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetServiceResponseBody body; + + public static GetServiceResponse build(java.util.Map map) throws Exception { + GetServiceResponse self = new GetServiceResponse(); + return TeaModel.build(map, self); + } + + public GetServiceResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetServiceResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetServiceResponse setBody(GetServiceResponseBody body) { + this.body = body; + return this; + } + public GetServiceResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetServiceResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetServiceResponseBody.java new file mode 100644 index 00000000..c46c2614 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetServiceResponseBody.java @@ -0,0 +1,135 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetServiceResponseBody extends TeaModel { + /** + *

The container that stores the information about buckets.

+ */ + @NameInMap("Buckets") + public GetServiceResponseBodyBuckets buckets; + + /** + *

Indicates whether all results are returned. Valid values:

+ *
+ *

* true

+ *

* false

+ */ + @NameInMap("IsTruncated") + public Boolean isTruncated; + + /** + *

The pagination token used in the current request.

+ */ + @NameInMap("Marker") + public String marker; + + /** + *

The maximum number of buckets that can be returned.

+ */ + @NameInMap("MaxKeys") + public Long maxKeys; + + /** + *

A pagination token. It can be used in the next request to retrieve a new page of results.

+ */ + @NameInMap("NextMarker") + public String nextMarker; + + /** + *

The container that stores the information about the bucket owner.

+ */ + @NameInMap("Owner") + public Owner owner; + + /** + *

The prefix that the names of returned buckets contain.

+ */ + @NameInMap("Prefix") + public String prefix; + + public static GetServiceResponseBody build(java.util.Map map) throws Exception { + GetServiceResponseBody self = new GetServiceResponseBody(); + return TeaModel.build(map, self); + } + + public GetServiceResponseBody setBuckets(GetServiceResponseBodyBuckets buckets) { + this.buckets = buckets; + return this; + } + public GetServiceResponseBodyBuckets getBuckets() { + return this.buckets; + } + + public GetServiceResponseBody setIsTruncated(Boolean isTruncated) { + this.isTruncated = isTruncated; + return this; + } + public Boolean getIsTruncated() { + return this.isTruncated; + } + + public GetServiceResponseBody setMarker(String marker) { + this.marker = marker; + return this; + } + public String getMarker() { + return this.marker; + } + + public GetServiceResponseBody setMaxKeys(Long maxKeys) { + this.maxKeys = maxKeys; + return this; + } + public Long getMaxKeys() { + return this.maxKeys; + } + + public GetServiceResponseBody setNextMarker(String nextMarker) { + this.nextMarker = nextMarker; + return this; + } + public String getNextMarker() { + return this.nextMarker; + } + + public GetServiceResponseBody setOwner(Owner owner) { + this.owner = owner; + return this; + } + public Owner getOwner() { + return this.owner; + } + + public GetServiceResponseBody setPrefix(String prefix) { + this.prefix = prefix; + return this; + } + public String getPrefix() { + return this.prefix; + } + + public static class GetServiceResponseBodyBuckets extends TeaModel { + /** + *

The container that stores the information about a single bucket.

+ */ + @NameInMap("Bucket") + public java.util.List bucket; + + public static GetServiceResponseBodyBuckets build(java.util.Map map) throws Exception { + GetServiceResponseBodyBuckets self = new GetServiceResponseBodyBuckets(); + return TeaModel.build(map, self); + } + + public GetServiceResponseBodyBuckets setBucket(java.util.List bucket) { + this.bucket = bucket; + return this; + } + public java.util.List getBucket() { + return this.bucket; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetStyleRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetStyleRequest.java new file mode 100644 index 00000000..0d44ecf0 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetStyleRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetStyleRequest extends TeaModel { + /** + *

The name of the image style.

+ */ + @NameInMap("styleName") + public String styleName; + + public static GetStyleRequest build(java.util.Map map) throws Exception { + GetStyleRequest self = new GetStyleRequest(); + return TeaModel.build(map, self); + } + + public GetStyleRequest setStyleName(String styleName) { + this.styleName = styleName; + return this; + } + public String getStyleName() { + return this.styleName; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetStyleResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetStyleResponse.java new file mode 100644 index 00000000..cb414d91 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetStyleResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetStyleResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetStyleResponseBody body; + + public static GetStyleResponse build(java.util.Map map) throws Exception { + GetStyleResponse self = new GetStyleResponse(); + return TeaModel.build(map, self); + } + + public GetStyleResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetStyleResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetStyleResponse setBody(GetStyleResponseBody body) { + this.body = body; + return this; + } + public GetStyleResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetStyleResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetStyleResponseBody.java new file mode 100644 index 00000000..27fb7fc2 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetStyleResponseBody.java @@ -0,0 +1,68 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetStyleResponseBody extends TeaModel { + /** + *

The content of the image style.

+ */ + @NameInMap("Content") + public String content; + + /** + *

The time when the image style was created.

+ */ + @NameInMap("CreateTime") + public String createTime; + + /** + *

The time when the image style was last modified.

+ */ + @NameInMap("LastModifyTime") + public String lastModifyTime; + + /** + *

The name of the image style.

+ */ + @NameInMap("Name") + public String name; + + public static GetStyleResponseBody build(java.util.Map map) throws Exception { + GetStyleResponseBody self = new GetStyleResponseBody(); + return TeaModel.build(map, self); + } + + public GetStyleResponseBody setContent(String content) { + this.content = content; + return this; + } + public String getContent() { + return this.content; + } + + public GetStyleResponseBody setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + public String getCreateTime() { + return this.createTime; + } + + public GetStyleResponseBody setLastModifyTime(String lastModifyTime) { + this.lastModifyTime = lastModifyTime; + return this; + } + public String getLastModifyTime() { + return this.lastModifyTime; + } + + public GetStyleResponseBody setName(String name) { + this.name = name; + return this; + } + public String getName() { + return this.name; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetSymlinkRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetSymlinkRequest.java new file mode 100644 index 00000000..02efca5c --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetSymlinkRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetSymlinkRequest extends TeaModel { + /** + *

The version of the object to which the symbolic link points.

+ */ + @NameInMap("versionId") + public String versionId; + + public static GetSymlinkRequest build(java.util.Map map) throws Exception { + GetSymlinkRequest self = new GetSymlinkRequest(); + return TeaModel.build(map, self); + } + + public GetSymlinkRequest setVersionId(String versionId) { + this.versionId = versionId; + return this; + } + public String getVersionId() { + return this.versionId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetSymlinkResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetSymlinkResponse.java new file mode 100644 index 00000000..26ff6a30 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetSymlinkResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetSymlinkResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static GetSymlinkResponse build(java.util.Map map) throws Exception { + GetSymlinkResponse self = new GetSymlinkResponse(); + return TeaModel.build(map, self); + } + + public GetSymlinkResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetSymlinkResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetUserAntiDDosInfoResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetUserAntiDDosInfoResponse.java new file mode 100644 index 00000000..4def62ca --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetUserAntiDDosInfoResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetUserAntiDDosInfoResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public GetUserAntiDDosInfoResponseBody body; + + public static GetUserAntiDDosInfoResponse build(java.util.Map map) throws Exception { + GetUserAntiDDosInfoResponse self = new GetUserAntiDDosInfoResponse(); + return TeaModel.build(map, self); + } + + public GetUserAntiDDosInfoResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetUserAntiDDosInfoResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetUserAntiDDosInfoResponse setBody(GetUserAntiDDosInfoResponseBody body) { + this.body = body; + return this; + } + public GetUserAntiDDosInfoResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetUserAntiDDosInfoResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetUserAntiDDosInfoResponseBody.java new file mode 100644 index 00000000..b6c4dcc0 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetUserAntiDDosInfoResponseBody.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetUserAntiDDosInfoResponseBody extends TeaModel { + /** + *

The container that stores the information about the specified Anti-DDoS instance.

+ */ + @NameInMap("AntiDDOSConfiguration") + public java.util.List antiDDOSConfiguration; + + public static GetUserAntiDDosInfoResponseBody build(java.util.Map map) throws Exception { + GetUserAntiDDosInfoResponseBody self = new GetUserAntiDDosInfoResponseBody(); + return TeaModel.build(map, self); + } + + public GetUserAntiDDosInfoResponseBody setAntiDDOSConfiguration(java.util.List antiDDOSConfiguration) { + this.antiDDOSConfiguration = antiDDOSConfiguration; + return this; + } + public java.util.List getAntiDDOSConfiguration() { + return this.antiDDOSConfiguration; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetUserDefinedLogFieldsConfigResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetUserDefinedLogFieldsConfigResponse.java new file mode 100644 index 00000000..c913f93a --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetUserDefinedLogFieldsConfigResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetUserDefinedLogFieldsConfigResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public UserDefinedLogFieldsConfiguration body; + + public static GetUserDefinedLogFieldsConfigResponse build(java.util.Map map) throws Exception { + GetUserDefinedLogFieldsConfigResponse self = new GetUserDefinedLogFieldsConfigResponse(); + return TeaModel.build(map, self); + } + + public GetUserDefinedLogFieldsConfigResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetUserDefinedLogFieldsConfigResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetUserDefinedLogFieldsConfigResponse setBody(UserDefinedLogFieldsConfiguration body) { + this.body = body; + return this; + } + public UserDefinedLogFieldsConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetVodPlaylistRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetVodPlaylistRequest.java new file mode 100644 index 00000000..cba4b578 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetVodPlaylistRequest.java @@ -0,0 +1,41 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetVodPlaylistRequest extends TeaModel { + /** + *

The end time of the time range during which the TS files that you want to query are generated in the Unix timestamp format.

+ *

> The value of EndTime must be greater than the value of StartTime. The duration between EndTime and StartTime must be less than one day.

+ */ + @NameInMap("endTime") + public String endTime; + + /** + *

The start time of the time range during which the TS files that you want to query are generated in the Unix timestamp format.

+ */ + @NameInMap("startTime") + public String startTime; + + public static GetVodPlaylistRequest build(java.util.Map map) throws Exception { + GetVodPlaylistRequest self = new GetVodPlaylistRequest(); + return TeaModel.build(map, self); + } + + public GetVodPlaylistRequest setEndTime(String endTime) { + this.endTime = endTime; + return this; + } + public String getEndTime() { + return this.endTime; + } + + public GetVodPlaylistRequest setStartTime(String startTime) { + this.startTime = startTime; + return this; + } + public String getStartTime() { + return this.startTime; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetVodPlaylistResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetVodPlaylistResponse.java new file mode 100644 index 00000000..fe4ded88 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetVodPlaylistResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class GetVodPlaylistResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public java.io.InputStream body; + + public static GetVodPlaylistResponse build(java.util.Map map) throws Exception { + GetVodPlaylistResponse self = new GetVodPlaylistResponse(); + return TeaModel.build(map, self); + } + + public GetVodPlaylistResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public GetVodPlaylistResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public GetVodPlaylistResponse setBody(java.io.InputStream body) { + this.body = body; + return this; + } + public java.io.InputStream getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/HeadObjectHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/HeadObjectHeaders.java new file mode 100644 index 00000000..204836ab --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/HeadObjectHeaders.java @@ -0,0 +1,83 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class HeadObjectHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + /** + *

If the ETag value that is specified in the request matches the ETag value of the object, OSS returns 200 OK and the metadata of the object. Otherwise, OSS returns 412 precondition failed.

+ *

Default value: null.

+ */ + @NameInMap("If-Match") + public String ifMatch; + + /** + *

If the time that is specified in the request is earlier than the time when the object is modified, OSS returns 200 OK and the metadata of the object. Otherwise, OSS returns 304 not modified.

+ *

Default value: null.

+ */ + @NameInMap("If-Modified-Since") + public String ifModifiedSince; + + /** + *

If the ETag value that is specified in the request does not match the ETag value of the object, OSS returns 200 OK and the metadata of the object. Otherwise, OSS returns 304 Not Modified.

+ *

Default value: null.

+ */ + @NameInMap("If-None-Match") + public String ifNoneMatch; + + /** + *

If the time that is specified in the request is later than or the same as the time when the object is modified, OSS returns 200 OK and the metadata of the object. Otherwise, OSS returns 412 precondition failed.

+ *

Default value: null.

+ */ + @NameInMap("If-Unmodified-Since") + public String ifUnmodifiedSince; + + public static HeadObjectHeaders build(java.util.Map map) throws Exception { + HeadObjectHeaders self = new HeadObjectHeaders(); + return TeaModel.build(map, self); + } + + public HeadObjectHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public HeadObjectHeaders setIfMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + public String getIfMatch() { + return this.ifMatch; + } + + public HeadObjectHeaders setIfModifiedSince(String ifModifiedSince) { + this.ifModifiedSince = ifModifiedSince; + return this; + } + public String getIfModifiedSince() { + return this.ifModifiedSince; + } + + public HeadObjectHeaders setIfNoneMatch(String ifNoneMatch) { + this.ifNoneMatch = ifNoneMatch; + return this; + } + public String getIfNoneMatch() { + return this.ifNoneMatch; + } + + public HeadObjectHeaders setIfUnmodifiedSince(String ifUnmodifiedSince) { + this.ifUnmodifiedSince = ifUnmodifiedSince; + return this; + } + public String getIfUnmodifiedSince() { + return this.ifUnmodifiedSince; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/HeadObjectRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/HeadObjectRequest.java new file mode 100644 index 00000000..7b1a8439 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/HeadObjectRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class HeadObjectRequest extends TeaModel { + /** + *

The version ID of the object for which you want to query metadata.

+ */ + @NameInMap("versionId") + public String versionId; + + public static HeadObjectRequest build(java.util.Map map) throws Exception { + HeadObjectRequest self = new HeadObjectRequest(); + return TeaModel.build(map, self); + } + + public HeadObjectRequest setVersionId(String versionId) { + this.versionId = versionId; + return this; + } + public String getVersionId() { + return this.versionId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/HeadObjectResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/HeadObjectResponse.java new file mode 100644 index 00000000..13629751 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/HeadObjectResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class HeadObjectResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static HeadObjectResponse build(java.util.Map map) throws Exception { + HeadObjectResponse self = new HeadObjectResponse(); + return TeaModel.build(map, self); + } + + public HeadObjectResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public HeadObjectResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/HttpsConfiguration.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/HttpsConfiguration.java new file mode 100644 index 00000000..16182b1d --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/HttpsConfiguration.java @@ -0,0 +1,53 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class HttpsConfiguration extends TeaModel { + @NameInMap("TLS") + public HttpsConfigurationTLS TLS; + + public static HttpsConfiguration build(java.util.Map map) throws Exception { + HttpsConfiguration self = new HttpsConfiguration(); + return TeaModel.build(map, self); + } + + public HttpsConfiguration setTLS(HttpsConfigurationTLS TLS) { + this.TLS = TLS; + return this; + } + public HttpsConfigurationTLS getTLS() { + return this.TLS; + } + + public static class HttpsConfigurationTLS extends TeaModel { + @NameInMap("Enable") + public Boolean enable; + + @NameInMap("TLSVersion") + public java.util.List TLSVersion; + + public static HttpsConfigurationTLS build(java.util.Map map) throws Exception { + HttpsConfigurationTLS self = new HttpsConfigurationTLS(); + return TeaModel.build(map, self); + } + + public HttpsConfigurationTLS setEnable(Boolean enable) { + this.enable = enable; + return this; + } + public Boolean getEnable() { + return this.enable; + } + + public HttpsConfigurationTLS setTLSVersion(java.util.List TLSVersion) { + this.TLSVersion = TLSVersion; + return this; + } + public java.util.List getTLSVersion() { + return this.TLSVersion; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/IndexDocument.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/IndexDocument.java new file mode 100644 index 00000000..4a96b16f --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/IndexDocument.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class IndexDocument extends TeaModel { + @NameInMap("Suffix") + public String suffix; + + @NameInMap("SupportSubDir") + public Boolean supportSubDir; + + @NameInMap("Type") + public String type; + + public static IndexDocument build(java.util.Map map) throws Exception { + IndexDocument self = new IndexDocument(); + return TeaModel.build(map, self); + } + + public IndexDocument setSuffix(String suffix) { + this.suffix = suffix; + return this; + } + public String getSuffix() { + return this.suffix; + } + + public IndexDocument setSupportSubDir(Boolean supportSubDir) { + this.supportSubDir = supportSubDir; + return this; + } + public Boolean getSupportSubDir() { + return this.supportSubDir; + } + + public IndexDocument setType(String type) { + this.type = type; + return this; + } + public String getType() { + return this.type; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitBucketAntiDDosInfoHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitBucketAntiDDosInfoHeaders.java new file mode 100644 index 00000000..371c26ff --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitBucketAntiDDosInfoHeaders.java @@ -0,0 +1,51 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class InitBucketAntiDDosInfoHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + /** + *

The ID of the Anti-DDoS instance.

+ */ + @NameInMap("x-oss-defender-instance") + public String xOssDefenderInstance; + + /** + *

The type of the Anti-DDoS instance. Set the value to AntiDDosPremimum.

+ */ + @NameInMap("x-oss-defender-type") + public String xOssDefenderType; + + public static InitBucketAntiDDosInfoHeaders build(java.util.Map map) throws Exception { + InitBucketAntiDDosInfoHeaders self = new InitBucketAntiDDosInfoHeaders(); + return TeaModel.build(map, self); + } + + public InitBucketAntiDDosInfoHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public InitBucketAntiDDosInfoHeaders setXOssDefenderInstance(String xOssDefenderInstance) { + this.xOssDefenderInstance = xOssDefenderInstance; + return this; + } + public String getXOssDefenderInstance() { + return this.xOssDefenderInstance; + } + + public InitBucketAntiDDosInfoHeaders setXOssDefenderType(String xOssDefenderType) { + this.xOssDefenderType = xOssDefenderType; + return this; + } + public String getXOssDefenderType() { + return this.xOssDefenderType; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitBucketAntiDDosInfoRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitBucketAntiDDosInfoRequest.java new file mode 100644 index 00000000..f58104a2 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitBucketAntiDDosInfoRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class InitBucketAntiDDosInfoRequest extends TeaModel { + /** + *

The container that stores the configurations of the Anti-DDoS instance.

+ */ + @NameInMap("body") + public BucketAntiDDOSConfiguration body; + + public static InitBucketAntiDDosInfoRequest build(java.util.Map map) throws Exception { + InitBucketAntiDDosInfoRequest self = new InitBucketAntiDDosInfoRequest(); + return TeaModel.build(map, self); + } + + public InitBucketAntiDDosInfoRequest setBody(BucketAntiDDOSConfiguration body) { + this.body = body; + return this; + } + public BucketAntiDDOSConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitBucketAntiDDosInfoResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitBucketAntiDDosInfoResponse.java new file mode 100644 index 00000000..5bd3b742 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitBucketAntiDDosInfoResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class InitBucketAntiDDosInfoResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static InitBucketAntiDDosInfoResponse build(java.util.Map map) throws Exception { + InitBucketAntiDDosInfoResponse self = new InitBucketAntiDDosInfoResponse(); + return TeaModel.build(map, self); + } + + public InitBucketAntiDDosInfoResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public InitBucketAntiDDosInfoResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitUserAntiDDosInfoResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitUserAntiDDosInfoResponse.java new file mode 100644 index 00000000..132168fb --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitUserAntiDDosInfoResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class InitUserAntiDDosInfoResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static InitUserAntiDDosInfoResponse build(java.util.Map map) throws Exception { + InitUserAntiDDosInfoResponse self = new InitUserAntiDDosInfoResponse(); + return TeaModel.build(map, self); + } + + public InitUserAntiDDosInfoResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public InitUserAntiDDosInfoResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitiateBucketWormRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitiateBucketWormRequest.java new file mode 100644 index 00000000..2f2e7dc5 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitiateBucketWormRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class InitiateBucketWormRequest extends TeaModel { + /** + *

The request parameters.

+ */ + @NameInMap("body") + public InitiateWormConfiguration body; + + public static InitiateBucketWormRequest build(java.util.Map map) throws Exception { + InitiateBucketWormRequest self = new InitiateBucketWormRequest(); + return TeaModel.build(map, self); + } + + public InitiateBucketWormRequest setBody(InitiateWormConfiguration body) { + this.body = body; + return this; + } + public InitiateWormConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitiateBucketWormResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitiateBucketWormResponse.java new file mode 100644 index 00000000..c8e546a8 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitiateBucketWormResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class InitiateBucketWormResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static InitiateBucketWormResponse build(java.util.Map map) throws Exception { + InitiateBucketWormResponse self = new InitiateBucketWormResponse(); + return TeaModel.build(map, self); + } + + public InitiateBucketWormResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public InitiateBucketWormResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitiateMultipartUploadHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitiateMultipartUploadHeaders.java new file mode 100644 index 00000000..4d15761d --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitiateMultipartUploadHeaders.java @@ -0,0 +1,184 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class InitiateMultipartUploadHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + /** + *

The caching behavior of the web page when the object is downloaded. For more information, see **[RFC 2616](https://www.ietf.org/rfc/rfc2616.txt)**.

+ *

Default value: null.

+ */ + @NameInMap("Cache-Control") + public String cacheControl; + + /** + *

The name of the object when the object is downloaded. For more information, see **[RFC 2616](https://www.ietf.org/rfc/rfc2616.txt)**.

+ *

Default value: null.

+ */ + @NameInMap("Content-Disposition") + public String contentDisposition; + + /** + *

The content encoding format of the object when the object is downloaded. For more information, see **[RFC 2616](https://www.ietf.org/rfc/rfc2616.txt)**.

+ *

Default value: null.

+ */ + @NameInMap("Content-Encoding") + public String contentEncoding; + + /** + *

The expiration time of the request. Unit: milliseconds. For more information, see **[RFC 2616](https://www.ietf.org/rfc/rfc2616.txt)**.

+ *

Default value: null.

+ */ + @NameInMap("Expires") + public String expires; + + /** + *

Specifies whether the InitiateMultipartUpload operation overwrites the existing object that has the same name as the object that you want to upload. When versioning is enabled or suspended for the bucket to which you want to upload the object, the **x-oss-forbid-overwrite** header does not take effect. In this case, the InitiateMultipartUpload operation overwrites the existing object that has the same name as the object that you want to upload.

+ *

- If you do not specify the **x-oss-forbid-overwrite** header or set the **x-oss-forbid-overwrite** header to **false**, the object that is uploaded by calling the PutObject operation overwrites the existing object that has the same name.

+ *

- If the value of **x-oss-forbid-overwrite** is set to **true**, existing objects cannot be overwritten by objects that have the same names.

+ *
+ *

If you specify the **x-oss-forbid-overwrite** request header, the queries per second (QPS) performance of OSS is degraded. If you want to use the **x-oss-forbid-overwrite** request header to perform a large number of operations (QPS greater than 1,000), contact technical support

+ */ + @NameInMap("x-oss-forbid-overwrite") + public String xOssForbidOverwrite; + + /** + *

The algorithm that is used to encrypt the object that you want to upload. If this header is not specified, the object is encrypted by using AES-256. This header is valid only when **x-oss-server-side-encryption** is set to KMS.

+ *

Valid value: SM4.

+ */ + @NameInMap("x-oss-server-side-data-encryption") + public String xOssServerSideDataEncryption; + + /** + *

The server-side encryption method that is used to encrypt each part of the object that you want to upload.

+ *

Valid values: **AES256**, **KMS**, and **SM4**.

+ *

> You must activate Key Management Service (KMS) before you set this header to KMS.

+ *
+ *
+ *

If you specify this header in the request, this header is included in the response. OSS uses the method specified by this header to encrypt each uploaded part. When you download the object, the x-oss-server-side-encryption header is included in the response and the header value is set to the algorithm that is used to encrypt the object.

+ */ + @NameInMap("x-oss-server-side-encryption") + public String xOssServerSideEncryption; + + /** + *

The ID of the CMK that is managed by KMS.

+ *

This header is valid only when **x-oss-server-side-encryption** is set to KMS.

+ */ + @NameInMap("x-oss-server-side-encryption-key-id") + public String xOssServerSideEncryptionKeyId; + + /** + *

The storage class of the bucket. Default value: Standard. Valid values:

+ *
+ *

- Standard

+ *

- IA

+ *

- Archive

+ *

- ColdArchive

+ */ + @NameInMap("x-oss-storage-class") + public String xOssStorageClass; + + /** + *

The tag of the object. You can configure multiple tags for the object. Example: TagA=A&TagB=B.

+ *

> The key and value of a tag must be URL-encoded. If a tag does not contain an equal sign (=), the value of the tag is considered an empty string.

+ */ + @NameInMap("x-oss-tagging") + public String xOssTagging; + + public static InitiateMultipartUploadHeaders build(java.util.Map map) throws Exception { + InitiateMultipartUploadHeaders self = new InitiateMultipartUploadHeaders(); + return TeaModel.build(map, self); + } + + public InitiateMultipartUploadHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public InitiateMultipartUploadHeaders setCacheControl(String cacheControl) { + this.cacheControl = cacheControl; + return this; + } + public String getCacheControl() { + return this.cacheControl; + } + + public InitiateMultipartUploadHeaders setContentDisposition(String contentDisposition) { + this.contentDisposition = contentDisposition; + return this; + } + public String getContentDisposition() { + return this.contentDisposition; + } + + public InitiateMultipartUploadHeaders setContentEncoding(String contentEncoding) { + this.contentEncoding = contentEncoding; + return this; + } + public String getContentEncoding() { + return this.contentEncoding; + } + + public InitiateMultipartUploadHeaders setExpires(String expires) { + this.expires = expires; + return this; + } + public String getExpires() { + return this.expires; + } + + public InitiateMultipartUploadHeaders setXOssForbidOverwrite(String xOssForbidOverwrite) { + this.xOssForbidOverwrite = xOssForbidOverwrite; + return this; + } + public String getXOssForbidOverwrite() { + return this.xOssForbidOverwrite; + } + + public InitiateMultipartUploadHeaders setXOssServerSideDataEncryption(String xOssServerSideDataEncryption) { + this.xOssServerSideDataEncryption = xOssServerSideDataEncryption; + return this; + } + public String getXOssServerSideDataEncryption() { + return this.xOssServerSideDataEncryption; + } + + public InitiateMultipartUploadHeaders setXOssServerSideEncryption(String xOssServerSideEncryption) { + this.xOssServerSideEncryption = xOssServerSideEncryption; + return this; + } + public String getXOssServerSideEncryption() { + return this.xOssServerSideEncryption; + } + + public InitiateMultipartUploadHeaders setXOssServerSideEncryptionKeyId(String xOssServerSideEncryptionKeyId) { + this.xOssServerSideEncryptionKeyId = xOssServerSideEncryptionKeyId; + return this; + } + public String getXOssServerSideEncryptionKeyId() { + return this.xOssServerSideEncryptionKeyId; + } + + public InitiateMultipartUploadHeaders setXOssStorageClass(String xOssStorageClass) { + this.xOssStorageClass = xOssStorageClass; + return this; + } + public String getXOssStorageClass() { + return this.xOssStorageClass; + } + + public InitiateMultipartUploadHeaders setXOssTagging(String xOssTagging) { + this.xOssTagging = xOssTagging; + return this; + } + public String getXOssTagging() { + return this.xOssTagging; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitiateMultipartUploadRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitiateMultipartUploadRequest.java new file mode 100644 index 00000000..cdde84cf --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitiateMultipartUploadRequest.java @@ -0,0 +1,27 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class InitiateMultipartUploadRequest extends TeaModel { + /** + *

The method used to encode the object name in the response. Only URL encoding is supported. The object name can contain characters encoded in UTF-8. However, the XML 1.0 standard cannot be used to parse specific control characters, such as characters whose ASCII values range from 0 to 10. You can configure the encoding-type parameter to encode object names that include characters that cannot be parsed by XML 1.0 in the response.

+ *


Default value: null

+ */ + @NameInMap("encoding-type") + public String encodingType; + + public static InitiateMultipartUploadRequest build(java.util.Map map) throws Exception { + InitiateMultipartUploadRequest self = new InitiateMultipartUploadRequest(); + return TeaModel.build(map, self); + } + + public InitiateMultipartUploadRequest setEncodingType(String encodingType) { + this.encodingType = encodingType; + return this; + } + public String getEncodingType() { + return this.encodingType; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitiateMultipartUploadResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitiateMultipartUploadResponse.java new file mode 100644 index 00000000..dc5dcc8c --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitiateMultipartUploadResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class InitiateMultipartUploadResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public InitiateMultipartUploadResponseBody body; + + public static InitiateMultipartUploadResponse build(java.util.Map map) throws Exception { + InitiateMultipartUploadResponse self = new InitiateMultipartUploadResponse(); + return TeaModel.build(map, self); + } + + public InitiateMultipartUploadResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public InitiateMultipartUploadResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public InitiateMultipartUploadResponse setBody(InitiateMultipartUploadResponseBody body) { + this.body = body; + return this; + } + public InitiateMultipartUploadResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitiateMultipartUploadResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitiateMultipartUploadResponseBody.java new file mode 100644 index 00000000..f9fa8c85 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitiateMultipartUploadResponseBody.java @@ -0,0 +1,68 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class InitiateMultipartUploadResponseBody extends TeaModel { + /** + *

The name of the bucket to which the object is uploaded by the multipart upload task.

+ */ + @NameInMap("Bucket") + public String bucket; + + /** + *

The encoding type of the object name in the response. If the encoding-type parameter is specified in the request, the object name in the response is encoded.

+ */ + @NameInMap("EncodingType") + public String encodingType; + + /** + *

The name of the object that is uploaded by the multipart upload task.

+ */ + @NameInMap("Key") + public String key; + + /** + *

The Upload ID that uniquely identifies the multipart upload task. The Upload ID is used to call UploadPart and CompleteMultipartUpload later.

+ */ + @NameInMap("UploadId") + public String uploadId; + + public static InitiateMultipartUploadResponseBody build(java.util.Map map) throws Exception { + InitiateMultipartUploadResponseBody self = new InitiateMultipartUploadResponseBody(); + return TeaModel.build(map, self); + } + + public InitiateMultipartUploadResponseBody setBucket(String bucket) { + this.bucket = bucket; + return this; + } + public String getBucket() { + return this.bucket; + } + + public InitiateMultipartUploadResponseBody setEncodingType(String encodingType) { + this.encodingType = encodingType; + return this; + } + public String getEncodingType() { + return this.encodingType; + } + + public InitiateMultipartUploadResponseBody setKey(String key) { + this.key = key; + return this; + } + public String getKey() { + return this.key; + } + + public InitiateMultipartUploadResponseBody setUploadId(String uploadId) { + this.uploadId = uploadId; + return this; + } + public String getUploadId() { + return this.uploadId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitiateWormConfiguration.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitiateWormConfiguration.java new file mode 100644 index 00000000..48082173 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InitiateWormConfiguration.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class InitiateWormConfiguration extends TeaModel { + @NameInMap("RetentionPeriodInDays") + public Integer retentionPeriodInDays; + + public static InitiateWormConfiguration build(java.util.Map map) throws Exception { + InitiateWormConfiguration self = new InitiateWormConfiguration(); + return TeaModel.build(map, self); + } + + public InitiateWormConfiguration setRetentionPeriodInDays(Integer retentionPeriodInDays) { + this.retentionPeriodInDays = retentionPeriodInDays; + return this; + } + public Integer getRetentionPeriodInDays() { + return this.retentionPeriodInDays; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InputSerialization.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InputSerialization.java new file mode 100644 index 00000000..88f4b999 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InputSerialization.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class InputSerialization extends TeaModel { + @NameInMap("CSV") + public CSVInput CSV; + + @NameInMap("CompressionType") + public String compressionType; + + @NameInMap("JSON") + public JSONInput JSON; + + public static InputSerialization build(java.util.Map map) throws Exception { + InputSerialization self = new InputSerialization(); + return TeaModel.build(map, self); + } + + public InputSerialization setCSV(CSVInput CSV) { + this.CSV = CSV; + return this; + } + public CSVInput getCSV() { + return this.CSV; + } + + public InputSerialization setCompressionType(String compressionType) { + this.compressionType = compressionType; + return this; + } + public String getCompressionType() { + return this.compressionType; + } + + public InputSerialization setJSON(JSONInput JSON) { + this.JSON = JSON; + return this; + } + public JSONInput getJSON() { + return this.JSON; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InventoryConfiguration.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InventoryConfiguration.java new file mode 100644 index 00000000..a8919231 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InventoryConfiguration.java @@ -0,0 +1,108 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class InventoryConfiguration extends TeaModel { + @NameInMap("Destination") + public InventoryDestination destination; + + @NameInMap("Filter") + public InventoryFilter filter; + + @NameInMap("Id") + public String id; + + @NameInMap("IncludedObjectVersions") + public String includedObjectVersions; + + @NameInMap("IsEnabled") + public Boolean isEnabled; + + @NameInMap("OptionalFields") + public InventoryConfigurationOptionalFields optionalFields; + + @NameInMap("Schedule") + public InventorySchedule schedule; + + public static InventoryConfiguration build(java.util.Map map) throws Exception { + InventoryConfiguration self = new InventoryConfiguration(); + return TeaModel.build(map, self); + } + + public InventoryConfiguration setDestination(InventoryDestination destination) { + this.destination = destination; + return this; + } + public InventoryDestination getDestination() { + return this.destination; + } + + public InventoryConfiguration setFilter(InventoryFilter filter) { + this.filter = filter; + return this; + } + public InventoryFilter getFilter() { + return this.filter; + } + + public InventoryConfiguration setId(String id) { + this.id = id; + return this; + } + public String getId() { + return this.id; + } + + public InventoryConfiguration setIncludedObjectVersions(String includedObjectVersions) { + this.includedObjectVersions = includedObjectVersions; + return this; + } + public String getIncludedObjectVersions() { + return this.includedObjectVersions; + } + + public InventoryConfiguration setIsEnabled(Boolean isEnabled) { + this.isEnabled = isEnabled; + return this; + } + public Boolean getIsEnabled() { + return this.isEnabled; + } + + public InventoryConfiguration setOptionalFields(InventoryConfigurationOptionalFields optionalFields) { + this.optionalFields = optionalFields; + return this; + } + public InventoryConfigurationOptionalFields getOptionalFields() { + return this.optionalFields; + } + + public InventoryConfiguration setSchedule(InventorySchedule schedule) { + this.schedule = schedule; + return this; + } + public InventorySchedule getSchedule() { + return this.schedule; + } + + public static class InventoryConfigurationOptionalFields extends TeaModel { + @NameInMap("Field") + public java.util.List field; + + public static InventoryConfigurationOptionalFields build(java.util.Map map) throws Exception { + InventoryConfigurationOptionalFields self = new InventoryConfigurationOptionalFields(); + return TeaModel.build(map, self); + } + + public InventoryConfigurationOptionalFields setField(java.util.List field) { + this.field = field; + return this; + } + public java.util.List getField() { + return this.field; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InventoryDestination.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InventoryDestination.java new file mode 100644 index 00000000..3b102f89 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InventoryDestination.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class InventoryDestination extends TeaModel { + @NameInMap("OSSBucketDestination") + public InventoryOSSBucketDestination OSSBucketDestination; + + public static InventoryDestination build(java.util.Map map) throws Exception { + InventoryDestination self = new InventoryDestination(); + return TeaModel.build(map, self); + } + + public InventoryDestination setOSSBucketDestination(InventoryOSSBucketDestination OSSBucketDestination) { + this.OSSBucketDestination = OSSBucketDestination; + return this; + } + public InventoryOSSBucketDestination getOSSBucketDestination() { + return this.OSSBucketDestination; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InventoryEncryption.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InventoryEncryption.java new file mode 100644 index 00000000..36e51cb3 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InventoryEncryption.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class InventoryEncryption extends TeaModel { + @NameInMap("SSE-KMS") + public SSEKMS SSE-KMS; + + @NameInMap("SSE-OSS") + public SSEOSS SSE-OSS; + + public static InventoryEncryption build(java.util.Map map) throws Exception { + InventoryEncryption self = new InventoryEncryption(); + return TeaModel.build(map, self); + } + + public InventoryEncryption setSSE-KMS(SSEKMS SSE-KMS) { + this.SSE-KMS = SSE-KMS; + return this; + } + public SSEKMS getSSE-KMS() { + return this.SSE-KMS; + } + + public InventoryEncryption setSSE-OSS(SSEOSS SSE-OSS) { + this.SSE-OSS = SSE-OSS; + return this; + } + public SSEOSS getSSE-OSS() { + return this.SSE-OSS; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InventoryFilter.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InventoryFilter.java new file mode 100644 index 00000000..7f287637 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InventoryFilter.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class InventoryFilter extends TeaModel { + @NameInMap("Prefix") + public String prefix; + + public static InventoryFilter build(java.util.Map map) throws Exception { + InventoryFilter self = new InventoryFilter(); + return TeaModel.build(map, self); + } + + public InventoryFilter setPrefix(String prefix) { + this.prefix = prefix; + return this; + } + public String getPrefix() { + return this.prefix; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InventoryOSSBucketDestination.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InventoryOSSBucketDestination.java new file mode 100644 index 00000000..a3752d83 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InventoryOSSBucketDestination.java @@ -0,0 +1,78 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class InventoryOSSBucketDestination extends TeaModel { + @NameInMap("AccountId") + public String accountId; + + @NameInMap("Bucket") + public String bucket; + + @NameInMap("Encryption") + public InventoryEncryption encryption; + + @NameInMap("Format") + public String format; + + @NameInMap("Prefix") + public String prefix; + + @NameInMap("RoleArn") + public String roleArn; + + public static InventoryOSSBucketDestination build(java.util.Map map) throws Exception { + InventoryOSSBucketDestination self = new InventoryOSSBucketDestination(); + return TeaModel.build(map, self); + } + + public InventoryOSSBucketDestination setAccountId(String accountId) { + this.accountId = accountId; + return this; + } + public String getAccountId() { + return this.accountId; + } + + public InventoryOSSBucketDestination setBucket(String bucket) { + this.bucket = bucket; + return this; + } + public String getBucket() { + return this.bucket; + } + + public InventoryOSSBucketDestination setEncryption(InventoryEncryption encryption) { + this.encryption = encryption; + return this; + } + public InventoryEncryption getEncryption() { + return this.encryption; + } + + public InventoryOSSBucketDestination setFormat(String format) { + this.format = format; + return this; + } + public String getFormat() { + return this.format; + } + + public InventoryOSSBucketDestination setPrefix(String prefix) { + this.prefix = prefix; + return this; + } + public String getPrefix() { + return this.prefix; + } + + public InventoryOSSBucketDestination setRoleArn(String roleArn) { + this.roleArn = roleArn; + return this; + } + public String getRoleArn() { + return this.roleArn; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InventorySchedule.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InventorySchedule.java new file mode 100644 index 00000000..c654ef3c --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/InventorySchedule.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class InventorySchedule extends TeaModel { + @NameInMap("Frequency") + public String frequency; + + public static InventorySchedule build(java.util.Map map) throws Exception { + InventorySchedule self = new InventorySchedule(); + return TeaModel.build(map, self); + } + + public InventorySchedule setFrequency(String frequency) { + this.frequency = frequency; + return this; + } + public String getFrequency() { + return this.frequency; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/JSONInput.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/JSONInput.java new file mode 100644 index 00000000..0b909ee3 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/JSONInput.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class JSONInput extends TeaModel { + @NameInMap("ParseJsonNumberAsString") + public Boolean parseJsonNumberAsString; + + @NameInMap("Range") + public String range; + + @NameInMap("Type") + public String type; + + public static JSONInput build(java.util.Map map) throws Exception { + JSONInput self = new JSONInput(); + return TeaModel.build(map, self); + } + + public JSONInput setParseJsonNumberAsString(Boolean parseJsonNumberAsString) { + this.parseJsonNumberAsString = parseJsonNumberAsString; + return this; + } + public Boolean getParseJsonNumberAsString() { + return this.parseJsonNumberAsString; + } + + public JSONInput setRange(String range) { + this.range = range; + return this; + } + public String getRange() { + return this.range; + } + + public JSONInput setType(String type) { + this.type = type; + return this; + } + public String getType() { + return this.type; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/JSONOutput.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/JSONOutput.java new file mode 100644 index 00000000..0335db05 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/JSONOutput.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class JSONOutput extends TeaModel { + @NameInMap("RecordDelimiter") + public String recordDelimiter; + + public static JSONOutput build(java.util.Map map) throws Exception { + JSONOutput self = new JSONOutput(); + return TeaModel.build(map, self); + } + + public JSONOutput setRecordDelimiter(String recordDelimiter) { + this.recordDelimiter = recordDelimiter; + return this; + } + public String getRecordDelimiter() { + return this.recordDelimiter; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LifecycleConfiguration.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LifecycleConfiguration.java new file mode 100644 index 00000000..57b7145f --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LifecycleConfiguration.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class LifecycleConfiguration extends TeaModel { + @NameInMap("Rule") + public java.util.List rule; + + public static LifecycleConfiguration build(java.util.Map map) throws Exception { + LifecycleConfiguration self = new LifecycleConfiguration(); + return TeaModel.build(map, self); + } + + public LifecycleConfiguration setRule(java.util.List rule) { + this.rule = rule; + return this; + } + public java.util.List getRule() { + return this.rule; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LifecycleRule.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LifecycleRule.java new file mode 100644 index 00000000..14fb5d83 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LifecycleRule.java @@ -0,0 +1,398 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class LifecycleRule extends TeaModel { + @NameInMap("AbortMultipartUpload") + public LifecycleRuleAbortMultipartUpload abortMultipartUpload; + + @NameInMap("Expiration") + public LifecycleRuleExpiration expiration; + + @NameInMap("Filter") + public LifecycleRuleFilter filter; + + @NameInMap("ID") + public String ID; + + @NameInMap("NoncurrentVersionExpiration") + public LifecycleRuleNoncurrentVersionExpiration noncurrentVersionExpiration; + + @NameInMap("NoncurrentVersionTransition") + public java.util.List noncurrentVersionTransition; + + @NameInMap("Prefix") + public String prefix; + + @NameInMap("Status") + public String status; + + @NameInMap("Tag") + public java.util.List tag; + + @NameInMap("Transition") + public java.util.List transition; + + public static LifecycleRule build(java.util.Map map) throws Exception { + LifecycleRule self = new LifecycleRule(); + return TeaModel.build(map, self); + } + + public LifecycleRule setAbortMultipartUpload(LifecycleRuleAbortMultipartUpload abortMultipartUpload) { + this.abortMultipartUpload = abortMultipartUpload; + return this; + } + public LifecycleRuleAbortMultipartUpload getAbortMultipartUpload() { + return this.abortMultipartUpload; + } + + public LifecycleRule setExpiration(LifecycleRuleExpiration expiration) { + this.expiration = expiration; + return this; + } + public LifecycleRuleExpiration getExpiration() { + return this.expiration; + } + + public LifecycleRule setFilter(LifecycleRuleFilter filter) { + this.filter = filter; + return this; + } + public LifecycleRuleFilter getFilter() { + return this.filter; + } + + public LifecycleRule setID(String ID) { + this.ID = ID; + return this; + } + public String getID() { + return this.ID; + } + + public LifecycleRule setNoncurrentVersionExpiration(LifecycleRuleNoncurrentVersionExpiration noncurrentVersionExpiration) { + this.noncurrentVersionExpiration = noncurrentVersionExpiration; + return this; + } + public LifecycleRuleNoncurrentVersionExpiration getNoncurrentVersionExpiration() { + return this.noncurrentVersionExpiration; + } + + public LifecycleRule setNoncurrentVersionTransition(java.util.List noncurrentVersionTransition) { + this.noncurrentVersionTransition = noncurrentVersionTransition; + return this; + } + public java.util.List getNoncurrentVersionTransition() { + return this.noncurrentVersionTransition; + } + + public LifecycleRule setPrefix(String prefix) { + this.prefix = prefix; + return this; + } + public String getPrefix() { + return this.prefix; + } + + public LifecycleRule setStatus(String status) { + this.status = status; + return this; + } + public String getStatus() { + return this.status; + } + + public LifecycleRule setTag(java.util.List tag) { + this.tag = tag; + return this; + } + public java.util.List getTag() { + return this.tag; + } + + public LifecycleRule setTransition(java.util.List transition) { + this.transition = transition; + return this; + } + public java.util.List getTransition() { + return this.transition; + } + + public static class LifecycleRuleAbortMultipartUpload extends TeaModel { + @NameInMap("CreatedBeforeDate") + public String createdBeforeDate; + + @NameInMap("Days") + public Integer days; + + public static LifecycleRuleAbortMultipartUpload build(java.util.Map map) throws Exception { + LifecycleRuleAbortMultipartUpload self = new LifecycleRuleAbortMultipartUpload(); + return TeaModel.build(map, self); + } + + public LifecycleRuleAbortMultipartUpload setCreatedBeforeDate(String createdBeforeDate) { + this.createdBeforeDate = createdBeforeDate; + return this; + } + public String getCreatedBeforeDate() { + return this.createdBeforeDate; + } + + public LifecycleRuleAbortMultipartUpload setDays(Integer days) { + this.days = days; + return this; + } + public Integer getDays() { + return this.days; + } + + } + + public static class LifecycleRuleExpiration extends TeaModel { + @NameInMap("CreatedBeforeDate") + public String createdBeforeDate; + + @NameInMap("Days") + public Integer days; + + @NameInMap("ExpiredObjectDeleteMarker") + public Boolean expiredObjectDeleteMarker; + + public static LifecycleRuleExpiration build(java.util.Map map) throws Exception { + LifecycleRuleExpiration self = new LifecycleRuleExpiration(); + return TeaModel.build(map, self); + } + + public LifecycleRuleExpiration setCreatedBeforeDate(String createdBeforeDate) { + this.createdBeforeDate = createdBeforeDate; + return this; + } + public String getCreatedBeforeDate() { + return this.createdBeforeDate; + } + + public LifecycleRuleExpiration setDays(Integer days) { + this.days = days; + return this; + } + public Integer getDays() { + return this.days; + } + + public LifecycleRuleExpiration setExpiredObjectDeleteMarker(Boolean expiredObjectDeleteMarker) { + this.expiredObjectDeleteMarker = expiredObjectDeleteMarker; + return this; + } + public Boolean getExpiredObjectDeleteMarker() { + return this.expiredObjectDeleteMarker; + } + + } + + public static class LifecycleRuleFilterNot extends TeaModel { + @NameInMap("Prefix") + public String prefix; + + @NameInMap("Tag") + public Tag tag; + + public static LifecycleRuleFilterNot build(java.util.Map map) throws Exception { + LifecycleRuleFilterNot self = new LifecycleRuleFilterNot(); + return TeaModel.build(map, self); + } + + public LifecycleRuleFilterNot setPrefix(String prefix) { + this.prefix = prefix; + return this; + } + public String getPrefix() { + return this.prefix; + } + + public LifecycleRuleFilterNot setTag(Tag tag) { + this.tag = tag; + return this; + } + public Tag getTag() { + return this.tag; + } + + } + + public static class LifecycleRuleFilter extends TeaModel { + @NameInMap("Not") + public LifecycleRuleFilterNot not; + + public static LifecycleRuleFilter build(java.util.Map map) throws Exception { + LifecycleRuleFilter self = new LifecycleRuleFilter(); + return TeaModel.build(map, self); + } + + public LifecycleRuleFilter setNot(LifecycleRuleFilterNot not) { + this.not = not; + return this; + } + public LifecycleRuleFilterNot getNot() { + return this.not; + } + + } + + public static class LifecycleRuleNoncurrentVersionExpiration extends TeaModel { + @NameInMap("NoncurrentDays") + public Integer noncurrentDays; + + public static LifecycleRuleNoncurrentVersionExpiration build(java.util.Map map) throws Exception { + LifecycleRuleNoncurrentVersionExpiration self = new LifecycleRuleNoncurrentVersionExpiration(); + return TeaModel.build(map, self); + } + + public LifecycleRuleNoncurrentVersionExpiration setNoncurrentDays(Integer noncurrentDays) { + this.noncurrentDays = noncurrentDays; + return this; + } + public Integer getNoncurrentDays() { + return this.noncurrentDays; + } + + } + + public static class LifecycleRuleNoncurrentVersionTransition extends TeaModel { + @NameInMap("AllowSmallFile") + public Boolean allowSmallFile; + + @NameInMap("IsAccessTime") + public Boolean isAccessTime; + + @NameInMap("NoncurrentDays") + public Integer noncurrentDays; + + @NameInMap("ReturnToStdWhenVisit") + public Boolean returnToStdWhenVisit; + + @NameInMap("StorageClass") + public String storageClass; + + public static LifecycleRuleNoncurrentVersionTransition build(java.util.Map map) throws Exception { + LifecycleRuleNoncurrentVersionTransition self = new LifecycleRuleNoncurrentVersionTransition(); + return TeaModel.build(map, self); + } + + public LifecycleRuleNoncurrentVersionTransition setAllowSmallFile(Boolean allowSmallFile) { + this.allowSmallFile = allowSmallFile; + return this; + } + public Boolean getAllowSmallFile() { + return this.allowSmallFile; + } + + public LifecycleRuleNoncurrentVersionTransition setIsAccessTime(Boolean isAccessTime) { + this.isAccessTime = isAccessTime; + return this; + } + public Boolean getIsAccessTime() { + return this.isAccessTime; + } + + public LifecycleRuleNoncurrentVersionTransition setNoncurrentDays(Integer noncurrentDays) { + this.noncurrentDays = noncurrentDays; + return this; + } + public Integer getNoncurrentDays() { + return this.noncurrentDays; + } + + public LifecycleRuleNoncurrentVersionTransition setReturnToStdWhenVisit(Boolean returnToStdWhenVisit) { + this.returnToStdWhenVisit = returnToStdWhenVisit; + return this; + } + public Boolean getReturnToStdWhenVisit() { + return this.returnToStdWhenVisit; + } + + public LifecycleRuleNoncurrentVersionTransition setStorageClass(String storageClass) { + this.storageClass = storageClass; + return this; + } + public String getStorageClass() { + return this.storageClass; + } + + } + + public static class LifecycleRuleTransition extends TeaModel { + @NameInMap("AllowSmallFile") + public Boolean allowSmallFile; + + @NameInMap("CreatedBeforeDate") + public String createdBeforeDate; + + @NameInMap("Days") + public Integer days; + + @NameInMap("IsAccessTime") + public Boolean isAccessTime; + + @NameInMap("ReturnToStdWhenVisit") + public Boolean returnToStdWhenVisit; + + @NameInMap("StorageClass") + public String storageClass; + + public static LifecycleRuleTransition build(java.util.Map map) throws Exception { + LifecycleRuleTransition self = new LifecycleRuleTransition(); + return TeaModel.build(map, self); + } + + public LifecycleRuleTransition setAllowSmallFile(Boolean allowSmallFile) { + this.allowSmallFile = allowSmallFile; + return this; + } + public Boolean getAllowSmallFile() { + return this.allowSmallFile; + } + + public LifecycleRuleTransition setCreatedBeforeDate(String createdBeforeDate) { + this.createdBeforeDate = createdBeforeDate; + return this; + } + public String getCreatedBeforeDate() { + return this.createdBeforeDate; + } + + public LifecycleRuleTransition setDays(Integer days) { + this.days = days; + return this; + } + public Integer getDays() { + return this.days; + } + + public LifecycleRuleTransition setIsAccessTime(Boolean isAccessTime) { + this.isAccessTime = isAccessTime; + return this; + } + public Boolean getIsAccessTime() { + return this.isAccessTime; + } + + public LifecycleRuleTransition setReturnToStdWhenVisit(Boolean returnToStdWhenVisit) { + this.returnToStdWhenVisit = returnToStdWhenVisit; + return this; + } + public Boolean getReturnToStdWhenVisit() { + return this.returnToStdWhenVisit; + } + + public LifecycleRuleTransition setStorageClass(String storageClass) { + this.storageClass = storageClass; + return this; + } + public String getStorageClass() { + return this.storageClass; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAccessPointsForObjectProcessRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAccessPointsForObjectProcessRequest.java new file mode 100644 index 00000000..e79157bb --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAccessPointsForObjectProcessRequest.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListAccessPointsForObjectProcessRequest extends TeaModel { + @NameInMap("continuation-token") + public String continuationToken; + + @NameInMap("max-keys") + public Long maxKeys; + + public static ListAccessPointsForObjectProcessRequest build(java.util.Map map) throws Exception { + ListAccessPointsForObjectProcessRequest self = new ListAccessPointsForObjectProcessRequest(); + return TeaModel.build(map, self); + } + + public ListAccessPointsForObjectProcessRequest setContinuationToken(String continuationToken) { + this.continuationToken = continuationToken; + return this; + } + public String getContinuationToken() { + return this.continuationToken; + } + + public ListAccessPointsForObjectProcessRequest setMaxKeys(Long maxKeys) { + this.maxKeys = maxKeys; + return this; + } + public Long getMaxKeys() { + return this.maxKeys; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAccessPointsForObjectProcessResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAccessPointsForObjectProcessResponse.java new file mode 100644 index 00000000..bd8f0481 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAccessPointsForObjectProcessResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListAccessPointsForObjectProcessResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public ListAccessPointsForObjectProcessResponseBody body; + + public static ListAccessPointsForObjectProcessResponse build(java.util.Map map) throws Exception { + ListAccessPointsForObjectProcessResponse self = new ListAccessPointsForObjectProcessResponse(); + return TeaModel.build(map, self); + } + + public ListAccessPointsForObjectProcessResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public ListAccessPointsForObjectProcessResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public ListAccessPointsForObjectProcessResponse setBody(ListAccessPointsForObjectProcessResponseBody body) { + this.body = body; + return this; + } + public ListAccessPointsForObjectProcessResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAccessPointsForObjectProcessResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAccessPointsForObjectProcessResponseBody.java new file mode 100644 index 00000000..255cf010 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAccessPointsForObjectProcessResponseBody.java @@ -0,0 +1,127 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListAccessPointsForObjectProcessResponseBody extends TeaModel { + @NameInMap("AccessPointsForObjectProcess") + public ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcess accessPointsForObjectProcess; + + @NameInMap("AccountId") + public String accountId; + + @NameInMap("IsTruncated") + public Boolean isTruncated; + + @NameInMap("NextContinuationToken") + public String nextContinuationToken; + + public static ListAccessPointsForObjectProcessResponseBody build(java.util.Map map) throws Exception { + ListAccessPointsForObjectProcessResponseBody self = new ListAccessPointsForObjectProcessResponseBody(); + return TeaModel.build(map, self); + } + + public ListAccessPointsForObjectProcessResponseBody setAccessPointsForObjectProcess(ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcess accessPointsForObjectProcess) { + this.accessPointsForObjectProcess = accessPointsForObjectProcess; + return this; + } + public ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcess getAccessPointsForObjectProcess() { + return this.accessPointsForObjectProcess; + } + + public ListAccessPointsForObjectProcessResponseBody setAccountId(String accountId) { + this.accountId = accountId; + return this; + } + public String getAccountId() { + return this.accountId; + } + + public ListAccessPointsForObjectProcessResponseBody setIsTruncated(Boolean isTruncated) { + this.isTruncated = isTruncated; + return this; + } + public Boolean getIsTruncated() { + return this.isTruncated; + } + + public ListAccessPointsForObjectProcessResponseBody setNextContinuationToken(String nextContinuationToken) { + this.nextContinuationToken = nextContinuationToken; + return this; + } + public String getNextContinuationToken() { + return this.nextContinuationToken; + } + + public static class ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcessAccessPointForObjectProcess extends TeaModel { + @NameInMap("AccessPointForObjectProcessAlias") + public String accessPointForObjectProcessAlias; + + @NameInMap("AccessPointName") + public String accessPointName; + + @NameInMap("AccessPointNameForObjectProcess") + public String accessPointNameForObjectProcess; + + @NameInMap("Status") + public String status; + + public static ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcessAccessPointForObjectProcess build(java.util.Map map) throws Exception { + ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcessAccessPointForObjectProcess self = new ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcessAccessPointForObjectProcess(); + return TeaModel.build(map, self); + } + + public ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcessAccessPointForObjectProcess setAccessPointForObjectProcessAlias(String accessPointForObjectProcessAlias) { + this.accessPointForObjectProcessAlias = accessPointForObjectProcessAlias; + return this; + } + public String getAccessPointForObjectProcessAlias() { + return this.accessPointForObjectProcessAlias; + } + + public ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcessAccessPointForObjectProcess setAccessPointName(String accessPointName) { + this.accessPointName = accessPointName; + return this; + } + public String getAccessPointName() { + return this.accessPointName; + } + + public ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcessAccessPointForObjectProcess setAccessPointNameForObjectProcess(String accessPointNameForObjectProcess) { + this.accessPointNameForObjectProcess = accessPointNameForObjectProcess; + return this; + } + public String getAccessPointNameForObjectProcess() { + return this.accessPointNameForObjectProcess; + } + + public ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcessAccessPointForObjectProcess setStatus(String status) { + this.status = status; + return this; + } + public String getStatus() { + return this.status; + } + + } + + public static class ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcess extends TeaModel { + @NameInMap("AccessPointForObjectProcess") + public java.util.List accessPointForObjectProcess; + + public static ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcess build(java.util.Map map) throws Exception { + ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcess self = new ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcess(); + return TeaModel.build(map, self); + } + + public ListAccessPointsForObjectProcessResponseBodyAccessPointsForObjectProcess setAccessPointForObjectProcess(java.util.List accessPointForObjectProcess) { + this.accessPointForObjectProcess = accessPointForObjectProcess; + return this; + } + public java.util.List getAccessPointForObjectProcess() { + return this.accessPointForObjectProcess; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAccessPointsRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAccessPointsRequest.java new file mode 100644 index 00000000..cc608f56 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAccessPointsRequest.java @@ -0,0 +1,43 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListAccessPointsRequest extends TeaModel { + /** + *

The token from which the listing operation starts. You must specify the value of NextContinuationToken that is obtained from the previous query as the value of continuation-token.

+ */ + @NameInMap("continuation-token") + public String continuationToken; + + /** + *

The maximum number of access points that can be returned. Valid values:

+ *
+ *

* For user-level access points: (0,1000].

+ *

* For bucket-level access points: (0,100].

+ */ + @NameInMap("max-keys") + public Long maxKeys; + + public static ListAccessPointsRequest build(java.util.Map map) throws Exception { + ListAccessPointsRequest self = new ListAccessPointsRequest(); + return TeaModel.build(map, self); + } + + public ListAccessPointsRequest setContinuationToken(String continuationToken) { + this.continuationToken = continuationToken; + return this; + } + public String getContinuationToken() { + return this.continuationToken; + } + + public ListAccessPointsRequest setMaxKeys(Long maxKeys) { + this.maxKeys = maxKeys; + return this; + } + public Long getMaxKeys() { + return this.maxKeys; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAccessPointsResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAccessPointsResponse.java new file mode 100644 index 00000000..3e137bce --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAccessPointsResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListAccessPointsResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public ListAccessPointsResult body; + + public static ListAccessPointsResponse build(java.util.Map map) throws Exception { + ListAccessPointsResponse self = new ListAccessPointsResponse(); + return TeaModel.build(map, self); + } + + public ListAccessPointsResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public ListAccessPointsResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public ListAccessPointsResponse setBody(ListAccessPointsResult body) { + this.body = body; + return this; + } + public ListAccessPointsResult getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAccessPointsResult.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAccessPointsResult.java new file mode 100644 index 00000000..2c822298 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAccessPointsResult.java @@ -0,0 +1,56 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListAccessPointsResult extends TeaModel { + @NameInMap("AccessPoints") + public java.util.List accessPoints; + + @NameInMap("AccountId") + public String accountId; + + @NameInMap("IsTruncated") + public String isTruncated; + + @NameInMap("NextContinuationToken") + public String nextContinuationToken; + + public static ListAccessPointsResult build(java.util.Map map) throws Exception { + ListAccessPointsResult self = new ListAccessPointsResult(); + return TeaModel.build(map, self); + } + + public ListAccessPointsResult setAccessPoints(java.util.List accessPoints) { + this.accessPoints = accessPoints; + return this; + } + public java.util.List getAccessPoints() { + return this.accessPoints; + } + + public ListAccessPointsResult setAccountId(String accountId) { + this.accountId = accountId; + return this; + } + public String getAccountId() { + return this.accountId; + } + + public ListAccessPointsResult setIsTruncated(String isTruncated) { + this.isTruncated = isTruncated; + return this; + } + public String getIsTruncated() { + return this.isTruncated; + } + + public ListAccessPointsResult setNextContinuationToken(String nextContinuationToken) { + this.nextContinuationToken = nextContinuationToken; + return this; + } + public String getNextContinuationToken() { + return this.nextContinuationToken; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketAntiDDosInfoRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketAntiDDosInfoRequest.java new file mode 100644 index 00000000..03ca9815 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketAntiDDosInfoRequest.java @@ -0,0 +1,46 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListBucketAntiDDosInfoRequest extends TeaModel { + /** + *

The name of the Anti-DDoS instance from which the list starts. The Anti-DDoS instances whose names are alphabetically after the value of marker are returned.

+ *
+ *

> You can set marker to an empty string in the first request. If IsTruncated is returned in the response and the value of IsTruncated is true, you must use the value of Marker in the response as the value of marker in the next request.

+ */ + @NameInMap("marker") + public String marker; + + /** + *

The maximum number of Anti-DDoS instances that can be returned.

+ *
+ *

Valid values: 1 to 100.

+ *
+ *

Default value: 100.

+ */ + @NameInMap("max-keys") + public String maxKeys; + + public static ListBucketAntiDDosInfoRequest build(java.util.Map map) throws Exception { + ListBucketAntiDDosInfoRequest self = new ListBucketAntiDDosInfoRequest(); + return TeaModel.build(map, self); + } + + public ListBucketAntiDDosInfoRequest setMarker(String marker) { + this.marker = marker; + return this; + } + public String getMarker() { + return this.marker; + } + + public ListBucketAntiDDosInfoRequest setMaxKeys(String maxKeys) { + this.maxKeys = maxKeys; + return this; + } + public String getMaxKeys() { + return this.maxKeys; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketAntiDDosInfoResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketAntiDDosInfoResponse.java new file mode 100644 index 00000000..86094db9 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketAntiDDosInfoResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListBucketAntiDDosInfoResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public ListBucketAntiDDosInfoResponseBody body; + + public static ListBucketAntiDDosInfoResponse build(java.util.Map map) throws Exception { + ListBucketAntiDDosInfoResponse self = new ListBucketAntiDDosInfoResponse(); + return TeaModel.build(map, self); + } + + public ListBucketAntiDDosInfoResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public ListBucketAntiDDosInfoResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public ListBucketAntiDDosInfoResponse setBody(ListBucketAntiDDosInfoResponseBody body) { + this.body = body; + return this; + } + public ListBucketAntiDDosInfoResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketAntiDDosInfoResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketAntiDDosInfoResponseBody.java new file mode 100644 index 00000000..eb302c44 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketAntiDDosInfoResponseBody.java @@ -0,0 +1,57 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListBucketAntiDDosInfoResponseBody extends TeaModel { + /** + *

The container that stores the information about Anti-DDoS instances.

+ */ + @NameInMap("AntiDDOSConfiguration") + public java.util.List antiDDOSConfiguration; + + /** + *

Indicates whether all Anti-DDoS instances are returned.

+ *
+ *

* true: All Anti-DDoS instances are not returned.

+ *

* false: All Anti-DDoS instances are returned.

+ */ + @NameInMap("IsTruncated") + public Boolean isTruncated; + + /** + *

The Anti-DDoS instances whose names are alphabetically after the value of marker in the request.

+ */ + @NameInMap("Marker") + public String marker; + + public static ListBucketAntiDDosInfoResponseBody build(java.util.Map map) throws Exception { + ListBucketAntiDDosInfoResponseBody self = new ListBucketAntiDDosInfoResponseBody(); + return TeaModel.build(map, self); + } + + public ListBucketAntiDDosInfoResponseBody setAntiDDOSConfiguration(java.util.List antiDDOSConfiguration) { + this.antiDDOSConfiguration = antiDDOSConfiguration; + return this; + } + public java.util.List getAntiDDOSConfiguration() { + return this.antiDDOSConfiguration; + } + + public ListBucketAntiDDosInfoResponseBody setIsTruncated(Boolean isTruncated) { + this.isTruncated = isTruncated; + return this; + } + public Boolean getIsTruncated() { + return this.isTruncated; + } + + public ListBucketAntiDDosInfoResponseBody setMarker(String marker) { + this.marker = marker; + return this; + } + public String getMarker() { + return this.marker; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketDataRedundancyTransitionResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketDataRedundancyTransitionResponse.java new file mode 100644 index 00000000..e3d4290b --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketDataRedundancyTransitionResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListBucketDataRedundancyTransitionResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public java.util.List body; + + public static ListBucketDataRedundancyTransitionResponse build(java.util.Map map) throws Exception { + ListBucketDataRedundancyTransitionResponse self = new ListBucketDataRedundancyTransitionResponse(); + return TeaModel.build(map, self); + } + + public ListBucketDataRedundancyTransitionResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public ListBucketDataRedundancyTransitionResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public ListBucketDataRedundancyTransitionResponse setBody(java.util.List body) { + this.body = body; + return this; + } + public java.util.List getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketInventoryRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketInventoryRequest.java new file mode 100644 index 00000000..7dec88e5 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketInventoryRequest.java @@ -0,0 +1,30 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListBucketInventoryRequest extends TeaModel { + /** + *

>

+ *
+ *

* Syntax of requests that contain continuation-token: GET /?inventory\&continuation-token=xxx HTTP/1.1

+ *
+ *

* Syntax of requests that do not contain continuation-token: `GET /?inventory HTTP/1.1`

+ */ + @NameInMap("continuation-token") + public String continuationToken; + + public static ListBucketInventoryRequest build(java.util.Map map) throws Exception { + ListBucketInventoryRequest self = new ListBucketInventoryRequest(); + return TeaModel.build(map, self); + } + + public ListBucketInventoryRequest setContinuationToken(String continuationToken) { + this.continuationToken = continuationToken; + return this; + } + public String getContinuationToken() { + return this.continuationToken; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketInventoryResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketInventoryResponse.java new file mode 100644 index 00000000..72429c46 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketInventoryResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListBucketInventoryResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public ListBucketInventoryResponseBody body; + + public static ListBucketInventoryResponse build(java.util.Map map) throws Exception { + ListBucketInventoryResponse self = new ListBucketInventoryResponse(); + return TeaModel.build(map, self); + } + + public ListBucketInventoryResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public ListBucketInventoryResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public ListBucketInventoryResponse setBody(ListBucketInventoryResponseBody body) { + this.body = body; + return this; + } + public ListBucketInventoryResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketInventoryResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketInventoryResponseBody.java new file mode 100644 index 00000000..5ba40f4f --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketInventoryResponseBody.java @@ -0,0 +1,57 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListBucketInventoryResponseBody extends TeaModel { + /** + *

The container that stores inventory configurations.

+ */ + @NameInMap("InventoryConfiguration") + public java.util.List inventoryConfiguration; + + /** + *

Indicates whether all inventories of the bucket are listed. Valid values:

+ *
+ *

* false: All inventories of the bucket are listed.

+ *

* true: All inventories of the bucket are not listed. You can specify the value of NextContinuationToken as the value of continuation-token in the next request to retrieve a new page of results.

+ */ + @NameInMap("IsTruncated") + public Boolean isTruncated; + + /** + *

If the value of IsTruncated is true and the value of this parameter is not empty, set continuation-token in the next request to the value of this parameter.

+ */ + @NameInMap("NextContinuationToken") + public String nextContinuationToken; + + public static ListBucketInventoryResponseBody build(java.util.Map map) throws Exception { + ListBucketInventoryResponseBody self = new ListBucketInventoryResponseBody(); + return TeaModel.build(map, self); + } + + public ListBucketInventoryResponseBody setInventoryConfiguration(java.util.List inventoryConfiguration) { + this.inventoryConfiguration = inventoryConfiguration; + return this; + } + public java.util.List getInventoryConfiguration() { + return this.inventoryConfiguration; + } + + public ListBucketInventoryResponseBody setIsTruncated(Boolean isTruncated) { + this.isTruncated = isTruncated; + return this; + } + public Boolean getIsTruncated() { + return this.isTruncated; + } + + public ListBucketInventoryResponseBody setNextContinuationToken(String nextContinuationToken) { + this.nextContinuationToken = nextContinuationToken; + return this; + } + public String getNextContinuationToken() { + return this.nextContinuationToken; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketsHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketsHeaders.java new file mode 100644 index 00000000..d21c2721 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketsHeaders.java @@ -0,0 +1,37 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListBucketsHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + /** + *

The ID of the resource group to which the bucket belongs.

+ */ + @NameInMap("x-oss-resource-group-id") + public String xOssResourceGroupId; + + public static ListBucketsHeaders build(java.util.Map map) throws Exception { + ListBucketsHeaders self = new ListBucketsHeaders(); + return TeaModel.build(map, self); + } + + public ListBucketsHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public ListBucketsHeaders setXOssResourceGroupId(String xOssResourceGroupId) { + this.xOssResourceGroupId = xOssResourceGroupId; + return this; + } + public String getXOssResourceGroupId() { + return this.xOssResourceGroupId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketsRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketsRequest.java new file mode 100644 index 00000000..ae3bfba8 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketsRequest.java @@ -0,0 +1,54 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListBucketsRequest extends TeaModel { + /** + *

The name of the bucket from which the buckets start to return. The buckets whose names are alphabetically after the value of marker are returned. If this parameter is not specified, all results are returned. By default, this parameter is left empty.

+ */ + @NameInMap("marker") + public String marker; + + /** + *

The maximum number of buckets that can be returned. Valid values: 1 to 1000. Default value: 100

+ */ + @NameInMap("max-keys") + public Long maxKeys; + + /** + *

The prefix that the names of returned buckets must contain. If this parameter is not specified, prefixes are not used to filter returned buckets. By default, this parameter is left empty.

+ */ + @NameInMap("prefix") + public String prefix; + + public static ListBucketsRequest build(java.util.Map map) throws Exception { + ListBucketsRequest self = new ListBucketsRequest(); + return TeaModel.build(map, self); + } + + public ListBucketsRequest setMarker(String marker) { + this.marker = marker; + return this; + } + public String getMarker() { + return this.marker; + } + + public ListBucketsRequest setMaxKeys(Long maxKeys) { + this.maxKeys = maxKeys; + return this; + } + public Long getMaxKeys() { + return this.maxKeys; + } + + public ListBucketsRequest setPrefix(String prefix) { + this.prefix = prefix; + return this; + } + public String getPrefix() { + return this.prefix; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketsResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketsResponse.java new file mode 100644 index 00000000..5a82b441 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketsResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListBucketsResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public ListBucketsResponseBody body; + + public static ListBucketsResponse build(java.util.Map map) throws Exception { + ListBucketsResponse self = new ListBucketsResponse(); + return TeaModel.build(map, self); + } + + public ListBucketsResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public ListBucketsResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public ListBucketsResponse setBody(ListBucketsResponseBody body) { + this.body = body; + return this; + } + public ListBucketsResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketsResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketsResponseBody.java new file mode 100644 index 00000000..2fec0819 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListBucketsResponseBody.java @@ -0,0 +1,110 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListBucketsResponseBody extends TeaModel { + /** + *

The container that stores the information about multiple buckets.

+ */ + @NameInMap("buckets") + public java.util.List buckets; + + /** + *

Indicates whether all results are returned. Valid values: true: All results are not returned in the response. false: All results are returned in the response.

+ */ + @NameInMap("isTruncated") + public Boolean isTruncated; + + /** + *

The name of the bucket from which the buckets are returned.

+ */ + @NameInMap("marker") + public String marker; + + /** + *

The maximum number of buckets that can be returned.

+ */ + @NameInMap("maxKeys") + public Long maxKeys; + + /** + *

The marker for the next ListBuckets (GetService) request. You can use the value of this parameter as the value of marker in the next ListBuckets (GetService) request to retrieve the unreturned results.

+ */ + @NameInMap("nextMarker") + public String nextMarker; + + /** + *

The container that stores the information about the bucket owner.

+ */ + @NameInMap("owner") + public Owner owner; + + /** + *

The prefix contained in the names of returned buckets.

+ */ + @NameInMap("prefix") + public String prefix; + + public static ListBucketsResponseBody build(java.util.Map map) throws Exception { + ListBucketsResponseBody self = new ListBucketsResponseBody(); + return TeaModel.build(map, self); + } + + public ListBucketsResponseBody setBuckets(java.util.List buckets) { + this.buckets = buckets; + return this; + } + public java.util.List getBuckets() { + return this.buckets; + } + + public ListBucketsResponseBody setIsTruncated(Boolean isTruncated) { + this.isTruncated = isTruncated; + return this; + } + public Boolean getIsTruncated() { + return this.isTruncated; + } + + public ListBucketsResponseBody setMarker(String marker) { + this.marker = marker; + return this; + } + public String getMarker() { + return this.marker; + } + + public ListBucketsResponseBody setMaxKeys(Long maxKeys) { + this.maxKeys = maxKeys; + return this; + } + public Long getMaxKeys() { + return this.maxKeys; + } + + public ListBucketsResponseBody setNextMarker(String nextMarker) { + this.nextMarker = nextMarker; + return this; + } + public String getNextMarker() { + return this.nextMarker; + } + + public ListBucketsResponseBody setOwner(Owner owner) { + this.owner = owner; + return this; + } + public Owner getOwner() { + return this.owner; + } + + public ListBucketsResponseBody setPrefix(String prefix) { + this.prefix = prefix; + return this; + } + public String getPrefix() { + return this.prefix; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListCnameResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListCnameResponse.java new file mode 100644 index 00000000..e0a3e9b1 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListCnameResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListCnameResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public ListCnameResponseBody body; + + public static ListCnameResponse build(java.util.Map map) throws Exception { + ListCnameResponse self = new ListCnameResponse(); + return TeaModel.build(map, self); + } + + public ListCnameResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public ListCnameResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public ListCnameResponse setBody(ListCnameResponseBody body) { + this.body = body; + return this; + } + public ListCnameResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListCnameResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListCnameResponseBody.java new file mode 100644 index 00000000..cff9b96f --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListCnameResponseBody.java @@ -0,0 +1,54 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListCnameResponseBody extends TeaModel { + /** + *

The name of the bucket to which the CNAME records are mapped.

+ */ + @NameInMap("Bucket") + public String bucket; + + /** + *

The container that stores the information about the CNAME records.

+ */ + @NameInMap("Cname") + public java.util.List cname; + + /** + *

The name of the bucket owner.

+ */ + @NameInMap("Owner") + public String owner; + + public static ListCnameResponseBody build(java.util.Map map) throws Exception { + ListCnameResponseBody self = new ListCnameResponseBody(); + return TeaModel.build(map, self); + } + + public ListCnameResponseBody setBucket(String bucket) { + this.bucket = bucket; + return this; + } + public String getBucket() { + return this.bucket; + } + + public ListCnameResponseBody setCname(java.util.List cname) { + this.cname = cname; + return this; + } + public java.util.List getCname() { + return this.cname; + } + + public ListCnameResponseBody setOwner(String owner) { + this.owner = owner; + return this; + } + public String getOwner() { + return this.owner; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListLiveChannelRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListLiveChannelRequest.java new file mode 100644 index 00000000..e4ce8179 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListLiveChannelRequest.java @@ -0,0 +1,55 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListLiveChannelRequest extends TeaModel { + /** + *

The name of the LiveChannel from which the list operation starts. LiveChannels whose names are alphabetically after the value of the marker parameter are returned.

+ */ + @NameInMap("marker") + public String marker; + + /** + *

The maximum number of LiveChannels that can be returned for the current request. The value of max-keys cannot exceed 1000.

+ *

Default value: 100.

+ */ + @NameInMap("max-keys") + public Long maxKeys; + + /** + *

The prefix that the names of the LiveChannels that you want to return must contain. If you specify a prefix in the request, the specified prefix is included in the response.

+ */ + @NameInMap("prefix") + public String prefix; + + public static ListLiveChannelRequest build(java.util.Map map) throws Exception { + ListLiveChannelRequest self = new ListLiveChannelRequest(); + return TeaModel.build(map, self); + } + + public ListLiveChannelRequest setMarker(String marker) { + this.marker = marker; + return this; + } + public String getMarker() { + return this.marker; + } + + public ListLiveChannelRequest setMaxKeys(Long maxKeys) { + this.maxKeys = maxKeys; + return this; + } + public Long getMaxKeys() { + return this.maxKeys; + } + + public ListLiveChannelRequest setPrefix(String prefix) { + this.prefix = prefix; + return this; + } + public String getPrefix() { + return this.prefix; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListLiveChannelResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListLiveChannelResponse.java new file mode 100644 index 00000000..3953c369 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListLiveChannelResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListLiveChannelResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public ListLiveChannelResponseBody body; + + public static ListLiveChannelResponse build(java.util.Map map) throws Exception { + ListLiveChannelResponse self = new ListLiveChannelResponse(); + return TeaModel.build(map, self); + } + + public ListLiveChannelResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public ListLiveChannelResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public ListLiveChannelResponse setBody(ListLiveChannelResponseBody body) { + this.body = body; + return this; + } + public ListLiveChannelResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListLiveChannelResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListLiveChannelResponseBody.java new file mode 100644 index 00000000..e3aa3ba8 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListLiveChannelResponseBody.java @@ -0,0 +1,99 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListLiveChannelResponseBody extends TeaModel { + /** + *

Indicates whether the returned results are truncated.

+ *
+ *

- true: indicates that all results are returned.

+ *

- false: indicates that not all results are returned.

+ */ + @NameInMap("IsTruncated") + public Boolean isTruncated; + + /** + *

The container that stores the information about each returned LiveChannel.

+ */ + @NameInMap("LiveChannel") + public java.util.List liveChannel; + + /** + *

The name of the LiveChannel from which the ListLiveChannel operation begins.

+ */ + @NameInMap("Marker") + public String marker; + + /** + *

The maximum number of buckets returned each time.

+ */ + @NameInMap("MaxKeys") + public Long maxKeys; + + /** + *

If not all results are returned, the NextMarker element is included in the response to indicate the Marker value of the next request.

+ */ + @NameInMap("NextMarker") + public String nextMarker; + + /** + *

The prefix that the names of the returned LiveChannels contain.

+ */ + @NameInMap("Prefix") + public String prefix; + + public static ListLiveChannelResponseBody build(java.util.Map map) throws Exception { + ListLiveChannelResponseBody self = new ListLiveChannelResponseBody(); + return TeaModel.build(map, self); + } + + public ListLiveChannelResponseBody setIsTruncated(Boolean isTruncated) { + this.isTruncated = isTruncated; + return this; + } + public Boolean getIsTruncated() { + return this.isTruncated; + } + + public ListLiveChannelResponseBody setLiveChannel(java.util.List liveChannel) { + this.liveChannel = liveChannel; + return this; + } + public java.util.List getLiveChannel() { + return this.liveChannel; + } + + public ListLiveChannelResponseBody setMarker(String marker) { + this.marker = marker; + return this; + } + public String getMarker() { + return this.marker; + } + + public ListLiveChannelResponseBody setMaxKeys(Long maxKeys) { + this.maxKeys = maxKeys; + return this; + } + public Long getMaxKeys() { + return this.maxKeys; + } + + public ListLiveChannelResponseBody setNextMarker(String nextMarker) { + this.nextMarker = nextMarker; + return this; + } + public String getNextMarker() { + return this.nextMarker; + } + + public ListLiveChannelResponseBody setPrefix(String prefix) { + this.prefix = prefix; + return this; + } + public String getPrefix() { + return this.prefix; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListMultipartUploadsRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListMultipartUploadsRequest.java new file mode 100644 index 00000000..65235dac --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListMultipartUploadsRequest.java @@ -0,0 +1,106 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListMultipartUploadsRequest extends TeaModel { + /** + *

The character used to group objects by name. Objects whose names contain the same string that ranges from the specified prefix to the delimiter that appears for the first time are grouped as a CommonPrefixes element.

+ */ + @NameInMap("delimiter") + public String delimiter; + + /** + *

The encoding type of the object name in the response. Values of Delimiter, KeyMarker, Prefix, NextKeyMarker, and Key can be encoded in UTF-8. However, the XML 1.0 standard cannot be used to parse control characters such as characters with an American Standard Code for Information Interchange (ASCII) value from 0 to 10. You can set the encoding-type parameter to encode values of Delimiter, KeyMarker, Prefix, NextKeyMarker, and Key in the response.

+ *


Default value: null

+ */ + @NameInMap("encoding-type") + public String encodingType; + + /** + *

This parameter is used together with the upload-id-marker parameter to specify the position from which the returned results start.

+ *

- If the upload-id-marker parameter is not specified, OSS returns all multipart upload tasks in which object names are alphabetically after the value of the key-marker parameter.

+ *

- If the upload-id-marker parameter is specified, the response includes the following tasks:

+ *

- Multipart upload tasks in which object names are alphabetically after the value of the key-marker parameter.

+ *

- Multipart upload tasks in which object names are the same as the value of the key-marker parameter but whose upload IDs are greater than the value of the upload-id-marker parameter.

+ */ + @NameInMap("key-marker") + public String keyMarker; + + /** + *

The maximum number of multipart upload tasks that can be returned for the current request. Default value: 1000. Maximum value: 1000.

+ */ + @NameInMap("max-uploads") + public Long maxUploads; + + /** + *

The prefix that the names of the objects that you want to return must contain. If you specify a prefix in the request, the specified prefix is included in the response.

+ *

> You can use prefixes to group and manage objects in buckets in the same way you manage a folder in a file system.

+ */ + @NameInMap("prefix") + public String prefix; + + /** + *

The upload ID of the multipart upload task after which the list operation starts. This parameter is used together with the key-marker parameter.

+ *

- If the key-marker parameter is not specified, OSS ignores the upload-id-marker parameter.

+ *

- If the key-marker parameter is specified, the query result includes the following tasks:

+ *

- Multipart upload tasks in which object names are alphabetically after the value of the key-marker parameter.

+ *

- Multipart upload tasks in which object names are the same as the value of the key-marker parameter but whose upload IDs are greater than the value of the upload-id-marker parameter.

+ */ + @NameInMap("upload-id-marker") + public String uploadIdMarker; + + public static ListMultipartUploadsRequest build(java.util.Map map) throws Exception { + ListMultipartUploadsRequest self = new ListMultipartUploadsRequest(); + return TeaModel.build(map, self); + } + + public ListMultipartUploadsRequest setDelimiter(String delimiter) { + this.delimiter = delimiter; + return this; + } + public String getDelimiter() { + return this.delimiter; + } + + public ListMultipartUploadsRequest setEncodingType(String encodingType) { + this.encodingType = encodingType; + return this; + } + public String getEncodingType() { + return this.encodingType; + } + + public ListMultipartUploadsRequest setKeyMarker(String keyMarker) { + this.keyMarker = keyMarker; + return this; + } + public String getKeyMarker() { + return this.keyMarker; + } + + public ListMultipartUploadsRequest setMaxUploads(Long maxUploads) { + this.maxUploads = maxUploads; + return this; + } + public Long getMaxUploads() { + return this.maxUploads; + } + + public ListMultipartUploadsRequest setPrefix(String prefix) { + this.prefix = prefix; + return this; + } + public String getPrefix() { + return this.prefix; + } + + public ListMultipartUploadsRequest setUploadIdMarker(String uploadIdMarker) { + this.uploadIdMarker = uploadIdMarker; + return this; + } + public String getUploadIdMarker() { + return this.uploadIdMarker; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListMultipartUploadsResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListMultipartUploadsResponse.java new file mode 100644 index 00000000..5fc98a86 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListMultipartUploadsResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListMultipartUploadsResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public ListMultipartUploadsResponseBody body; + + public static ListMultipartUploadsResponse build(java.util.Map map) throws Exception { + ListMultipartUploadsResponse self = new ListMultipartUploadsResponse(); + return TeaModel.build(map, self); + } + + public ListMultipartUploadsResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public ListMultipartUploadsResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public ListMultipartUploadsResponse setBody(ListMultipartUploadsResponseBody body) { + this.body = body; + return this; + } + public ListMultipartUploadsResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListMultipartUploadsResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListMultipartUploadsResponseBody.java new file mode 100644 index 00000000..ce5049fe --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListMultipartUploadsResponseBody.java @@ -0,0 +1,184 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListMultipartUploadsResponseBody extends TeaModel { + /** + *

The name of the bucket.

+ */ + @NameInMap("Bucket") + public String bucket; + + /** + *

If the delimiter parameter is specified in the request, the response contains the CommonPrefixes element. Objects whose names contain the same string that ranges from the prefix to the delimiter that appears for the first time are grouped as a CommonPrefixes element.

+ */ + @NameInMap("CommonPrefixes") + public java.util.List commonPrefixes; + + /** + *

The character used to group objects by name. If you specify the Delimiter parameter in the request, the response contains the CommonPrefixes element. Objects whose names contain the same string from the prefix to the next occurrence of the delimiter are grouped as a single result element in CommonPrefixes.

+ */ + @NameInMap("Delimiter") + public String delimiter; + + /** + *

The method used to encode the object name in the response. If encoding-type is specified in the request, values of those elements including Delimiter, KeyMarker, Prefix, NextKeyMarker, and Key are encoded in the returned result.

+ */ + @NameInMap("EncodingType") + public String encodingType; + + /** + *

Indicates whether the list of multipart upload tasks returned in the response is truncated. Default value: false. Valid values:

+ *
+ *

- true: Only part of the results are returned this time.

+ *

- false: All results are returned.

+ */ + @NameInMap("IsTruncated") + public Boolean isTruncated; + + /** + *

The name of the object that corresponds to the multipart upload task after which the list begins.

+ */ + @NameInMap("KeyMarker") + public String keyMarker; + + /** + *

The maximum number of multipart upload tasks returned by OSS.

+ */ + @NameInMap("MaxUploads") + public Long maxUploads; + + /** + *

The object name marker in the response for the next request to return the remaining results.

+ */ + @NameInMap("NextKeyMarker") + public String nextKeyMarker; + + /** + *

The NextUploadMarker value that is used for the UploadMarker value in the next request if the response does not contain all required results.

+ */ + @NameInMap("NextUploadIdMarker") + public String nextUploadIdMarker; + + /** + *

The prefix that the returned object names must contain. If you specify a prefix in the request, the specified prefix is included in the response.

+ *

>You can use prefixes to group and manage objects in buckets in the same way you manage a folder in a file system.

+ */ + @NameInMap("Prefix") + public String prefix; + + /** + *

The container that stores the information about multipart upload tasks.

+ */ + @NameInMap("Upload") + public java.util.List upload; + + /** + *

The upload ID of the multipart upload task after which the list begins.

+ */ + @NameInMap("UploadIdMarker") + public String uploadIdMarker; + + public static ListMultipartUploadsResponseBody build(java.util.Map map) throws Exception { + ListMultipartUploadsResponseBody self = new ListMultipartUploadsResponseBody(); + return TeaModel.build(map, self); + } + + public ListMultipartUploadsResponseBody setBucket(String bucket) { + this.bucket = bucket; + return this; + } + public String getBucket() { + return this.bucket; + } + + public ListMultipartUploadsResponseBody setCommonPrefixes(java.util.List commonPrefixes) { + this.commonPrefixes = commonPrefixes; + return this; + } + public java.util.List getCommonPrefixes() { + return this.commonPrefixes; + } + + public ListMultipartUploadsResponseBody setDelimiter(String delimiter) { + this.delimiter = delimiter; + return this; + } + public String getDelimiter() { + return this.delimiter; + } + + public ListMultipartUploadsResponseBody setEncodingType(String encodingType) { + this.encodingType = encodingType; + return this; + } + public String getEncodingType() { + return this.encodingType; + } + + public ListMultipartUploadsResponseBody setIsTruncated(Boolean isTruncated) { + this.isTruncated = isTruncated; + return this; + } + public Boolean getIsTruncated() { + return this.isTruncated; + } + + public ListMultipartUploadsResponseBody setKeyMarker(String keyMarker) { + this.keyMarker = keyMarker; + return this; + } + public String getKeyMarker() { + return this.keyMarker; + } + + public ListMultipartUploadsResponseBody setMaxUploads(Long maxUploads) { + this.maxUploads = maxUploads; + return this; + } + public Long getMaxUploads() { + return this.maxUploads; + } + + public ListMultipartUploadsResponseBody setNextKeyMarker(String nextKeyMarker) { + this.nextKeyMarker = nextKeyMarker; + return this; + } + public String getNextKeyMarker() { + return this.nextKeyMarker; + } + + public ListMultipartUploadsResponseBody setNextUploadIdMarker(String nextUploadIdMarker) { + this.nextUploadIdMarker = nextUploadIdMarker; + return this; + } + public String getNextUploadIdMarker() { + return this.nextUploadIdMarker; + } + + public ListMultipartUploadsResponseBody setPrefix(String prefix) { + this.prefix = prefix; + return this; + } + public String getPrefix() { + return this.prefix; + } + + public ListMultipartUploadsResponseBody setUpload(java.util.List upload) { + this.upload = upload; + return this; + } + public java.util.List getUpload() { + return this.upload; + } + + public ListMultipartUploadsResponseBody setUploadIdMarker(String uploadIdMarker) { + this.uploadIdMarker = uploadIdMarker; + return this; + } + public String getUploadIdMarker() { + return this.uploadIdMarker; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectVersionsRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectVersionsRequest.java new file mode 100644 index 00000000..4bce3776 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectVersionsRequest.java @@ -0,0 +1,115 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListObjectVersionsRequest extends TeaModel { + /** + *

The character that is used to group objects by name. If you specify prefix and delimiter in the request, the response contains CommonPrefixes. The objects whose name contains the same string from the prefix to the next occurrence of the delimiter are grouped as a single result element in CommonPrefixes. If you specify prefix and set delimiter to a forward slash (/), only the objects in the directory are listed. The subdirectories in the directory are returned in CommonPrefixes. Objects and subdirectories in the subdirectories are not listed.

+ *
+ *

By default, this parameter is left empty.

+ */ + @NameInMap("delimiter") + public String delimiter; + + /** + *

The encoding type of the content in the response. By default, this parameter is left empty. Set the value to URL.

+ *
+ *

> The values of Delimiter, Marker, Prefix, NextMarker, and Key are UTF-8 encoded. If the value of Delimiter, Marker, Prefix, NextMarker, or Key contains a control character that is not supported by Extensible Markup Language (XML) 1.0, you can specify encoding-type to encode the value in the response.

+ */ + @NameInMap("encoding-type") + public String encodingType; + + /** + *

The name of the object after which the GetBucketVersions (ListObjectVersions) operation begins. If this parameter is specified, objects whose name is alphabetically after the value of key-marker are returned. Use key-marker and version-id-marker in combination. The value of key-marker must be less than 1,024 bytes in length.

+ *
+ *

By default, this parameter is left empty.

+ *
+ *

> You must also specify key-marker if you specify version-id-marker.

+ */ + @NameInMap("key-marker") + public String keyMarker; + + /** + *

The maximum number of objects to be returned. If the number of returned objects exceeds the value of max-keys, the response contains `NextKeyMarker` and `NextVersionIdMarker`. Specify the values of `NextKeyMarker` and `NextVersionIdMarker` as the markers for the next request. Valid values: 1 to 999. Default value: 100.

+ */ + @NameInMap("max-keys") + public Long maxKeys; + + /** + *

The prefix that the names of returned objects must contain.

+ *
+ *

* The value of prefix must be less than 1,024 bytes in length.

+ *

* If you specify prefix, the names of the returned objects contain the prefix.

+ *
+ *

If you set prefix to a directory name, the objects whose name starts with the prefix are listed. The returned objects consist of all objects and subdirectories in the directory.

+ *
+ *

By default, this parameter is left empty.

+ */ + @NameInMap("prefix") + public String prefix; + + /** + *

The version ID of the object specified in key-marker after which the GetBucketVersions (ListObjectVersions) operation begins. The versions are returned from the latest version to the earliest version. If version-id-marker is not specified, the GetBucketVersions (ListObjectVersions) operation starts from the latest version of the object whose name is alphabetically after the value of key-marker by default.

+ *
+ *

By default, this parameter is left empty.

+ *
+ *

Valid values: version IDs.

+ */ + @NameInMap("version-id-marker") + public String versionIdMarker; + + public static ListObjectVersionsRequest build(java.util.Map map) throws Exception { + ListObjectVersionsRequest self = new ListObjectVersionsRequest(); + return TeaModel.build(map, self); + } + + public ListObjectVersionsRequest setDelimiter(String delimiter) { + this.delimiter = delimiter; + return this; + } + public String getDelimiter() { + return this.delimiter; + } + + public ListObjectVersionsRequest setEncodingType(String encodingType) { + this.encodingType = encodingType; + return this; + } + public String getEncodingType() { + return this.encodingType; + } + + public ListObjectVersionsRequest setKeyMarker(String keyMarker) { + this.keyMarker = keyMarker; + return this; + } + public String getKeyMarker() { + return this.keyMarker; + } + + public ListObjectVersionsRequest setMaxKeys(Long maxKeys) { + this.maxKeys = maxKeys; + return this; + } + public Long getMaxKeys() { + return this.maxKeys; + } + + public ListObjectVersionsRequest setPrefix(String prefix) { + this.prefix = prefix; + return this; + } + public String getPrefix() { + return this.prefix; + } + + public ListObjectVersionsRequest setVersionIdMarker(String versionIdMarker) { + this.versionIdMarker = versionIdMarker; + return this; + } + public String getVersionIdMarker() { + return this.versionIdMarker; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectVersionsResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectVersionsResponse.java new file mode 100644 index 00000000..788fe16b --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectVersionsResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListObjectVersionsResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public ListObjectVersionsResponseBody body; + + public static ListObjectVersionsResponse build(java.util.Map map) throws Exception { + ListObjectVersionsResponse self = new ListObjectVersionsResponse(); + return TeaModel.build(map, self); + } + + public ListObjectVersionsResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public ListObjectVersionsResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public ListObjectVersionsResponse setBody(ListObjectVersionsResponseBody body) { + this.body = body; + return this; + } + public ListObjectVersionsResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectVersionsResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectVersionsResponseBody.java new file mode 100644 index 00000000..c15c1e19 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectVersionsResponseBody.java @@ -0,0 +1,199 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListObjectVersionsResponseBody extends TeaModel { + /** + *

If delimiter is specified in the request, the response contains CommonPrefixes. Objects whose name contains the same string from the prefix to the next occurrence of the delimiter are grouped as a single result element in CommonPrefixes.

+ */ + @NameInMap("CommonPrefixes") + public java.util.List commonPrefixes; + + /** + *

The container that stores the delete markers.

+ */ + @NameInMap("DeleteMarker") + public java.util.List deleteMarker; + + /** + *

The character that is used to group objects by name. The objects whose name contains the same string from the prefix to the next occurrence of the delimiter are grouped as a single result element in CommonPrefixes.

+ */ + @NameInMap("Delimiter") + public String delimiter; + + /** + *

The encoding type of the content in the response. If encoding-type is specified in the request, the values of Delimiter, Marker, Prefix, NextMarker, and Key are encoded in the response.

+ */ + @NameInMap("EncodingType") + public String encodingType; + + /** + *

Indicates whether the returned results are truncated.

+ *
+ *

* true

+ *

* false

+ *
+ *

Valid values: true and false.

+ */ + @NameInMap("IsTruncated") + public Boolean isTruncated; + + /** + *

The name of the object from which the GetBucketVersions (ListObjectVersions) operation begins.

+ */ + @NameInMap("KeyMarker") + public String keyMarker; + + /** + *

The maximum number of returned objects in the response.

+ */ + @NameInMap("MaxKeys") + public Long maxKeys; + + /** + *

The name of the bucket.

+ */ + @NameInMap("Name") + public String name; + + /** + *

If not all results are returned for the request, the response contains NextKeyMarker. Use the value of NextKeyMarker as the value of key-marker in the next request.

+ */ + @NameInMap("NextKeyMarker") + public String nextKeyMarker; + + /** + *

If not all results are returned for the request, the response contains NextVersionIdMarker. Use the value of NextVersionIdMarker as the value of version-id-marker in the next request.

+ */ + @NameInMap("NextVersionIdMarker") + public String nextVersionIdMarker; + + /** + *

The prefix in the names of the returned objects.

+ */ + @NameInMap("Prefix") + public String prefix; + + /** + *

The container that stores the versions of objects, excluding the delete markers.

+ */ + @NameInMap("Version") + public java.util.List version; + + /** + *

The version from which the GetBucketVersions (ListObjectVersions) operation begins. VersionIdMarker is returned together with KeyMarker.

+ */ + @NameInMap("VersionIdMarker") + public String versionIdMarker; + + public static ListObjectVersionsResponseBody build(java.util.Map map) throws Exception { + ListObjectVersionsResponseBody self = new ListObjectVersionsResponseBody(); + return TeaModel.build(map, self); + } + + public ListObjectVersionsResponseBody setCommonPrefixes(java.util.List commonPrefixes) { + this.commonPrefixes = commonPrefixes; + return this; + } + public java.util.List getCommonPrefixes() { + return this.commonPrefixes; + } + + public ListObjectVersionsResponseBody setDeleteMarker(java.util.List deleteMarker) { + this.deleteMarker = deleteMarker; + return this; + } + public java.util.List getDeleteMarker() { + return this.deleteMarker; + } + + public ListObjectVersionsResponseBody setDelimiter(String delimiter) { + this.delimiter = delimiter; + return this; + } + public String getDelimiter() { + return this.delimiter; + } + + public ListObjectVersionsResponseBody setEncodingType(String encodingType) { + this.encodingType = encodingType; + return this; + } + public String getEncodingType() { + return this.encodingType; + } + + public ListObjectVersionsResponseBody setIsTruncated(Boolean isTruncated) { + this.isTruncated = isTruncated; + return this; + } + public Boolean getIsTruncated() { + return this.isTruncated; + } + + public ListObjectVersionsResponseBody setKeyMarker(String keyMarker) { + this.keyMarker = keyMarker; + return this; + } + public String getKeyMarker() { + return this.keyMarker; + } + + public ListObjectVersionsResponseBody setMaxKeys(Long maxKeys) { + this.maxKeys = maxKeys; + return this; + } + public Long getMaxKeys() { + return this.maxKeys; + } + + public ListObjectVersionsResponseBody setName(String name) { + this.name = name; + return this; + } + public String getName() { + return this.name; + } + + public ListObjectVersionsResponseBody setNextKeyMarker(String nextKeyMarker) { + this.nextKeyMarker = nextKeyMarker; + return this; + } + public String getNextKeyMarker() { + return this.nextKeyMarker; + } + + public ListObjectVersionsResponseBody setNextVersionIdMarker(String nextVersionIdMarker) { + this.nextVersionIdMarker = nextVersionIdMarker; + return this; + } + public String getNextVersionIdMarker() { + return this.nextVersionIdMarker; + } + + public ListObjectVersionsResponseBody setPrefix(String prefix) { + this.prefix = prefix; + return this; + } + public String getPrefix() { + return this.prefix; + } + + public ListObjectVersionsResponseBody setVersion(java.util.List version) { + this.version = version; + return this; + } + public java.util.List getVersion() { + return this.version; + } + + public ListObjectVersionsResponseBody setVersionIdMarker(String versionIdMarker) { + this.versionIdMarker = versionIdMarker; + return this; + } + public String getVersionIdMarker() { + return this.versionIdMarker; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectsRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectsRequest.java new file mode 100644 index 00000000..49c43b4d --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectsRequest.java @@ -0,0 +1,95 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListObjectsRequest extends TeaModel { + /** + *

The character that is used to group objects by name. If you specify delimiter in the request, the response contains CommonPrefixes. The objects whose names contain the same string from the prefix to the next occurrence of the delimiter are grouped as a single result element in CommonPrefixes.

+ */ + @NameInMap("delimiter") + public String delimiter; + + /** + *

The encoding format of the content in the response.

+ *
+ *

> The value of Delimiter, Marker, Prefix, NextMarker, and Key are UTF-8 encoded. If the values of Delimiter, Marker, Prefix, NextMarker, and Key contain a control character that is not supported by Extensible Markup Language (XML) 1.0, you can specify encoding-type to encode the value in the response.

+ */ + @NameInMap("encoding-type") + public String encodingType; + + /** + *

The name of the object after which the GetBucket (ListObjects) operation begins. If this parameter is specified, objects whose names are alphabetically after the value of marker are returned.\

+ *

The objects are returned by page based on marker. The value of marker can be up to 1,024 bytes.\

+ *

If the value of marker does not exist in the list when you perform a conditional query, the GetBucket (ListObjects) operation starts from the object whose name is alphabetically after the value of marker.

+ */ + @NameInMap("marker") + public String marker; + + /** + *

The maximum number of objects that can be returned. If the number of objects to be returned exceeds the value of max-keys specified in the request, NextMarker is included in the returned response. The value of NextMarker is used as the value of marker for the next request.\

+ *

Valid values: 1 to 999.\

+ *

Default value: 100.

+ */ + @NameInMap("max-keys") + public Long maxKeys; + + /** + *

The prefix that must be contained in names of the returned objects.

+ *
+ *

* The value of prefix can be up to 1,024 bytes in length.

+ *

* If you specify prefix, the names of the returned objects contain the prefix.

+ *
+ *

If you set prefix to a directory name, the object whose names start with this prefix are listed. The objects consist of all recursive objects and subdirectories in this directory.\

+ *

If you set prefix to a directory name and set delimiter to a forward slash (/), only the objects in the directory are listed. The subdirectories in the directory are listed in CommonPrefixes. Recursive objects and subdirectories in the subdirectories are not listed.\

+ *

For example, a bucket contains the following three objects: fun/test.jpg, fun/movie/001.avi, and fun/movie/007.avi. If prefix is set to fun/, the three objects are returned. If prefix is set to fun/ and delimiter is set to a forward slash (/), fun/test.jpg and fun/movie/ are returned.

+ */ + @NameInMap("prefix") + public String prefix; + + public static ListObjectsRequest build(java.util.Map map) throws Exception { + ListObjectsRequest self = new ListObjectsRequest(); + return TeaModel.build(map, self); + } + + public ListObjectsRequest setDelimiter(String delimiter) { + this.delimiter = delimiter; + return this; + } + public String getDelimiter() { + return this.delimiter; + } + + public ListObjectsRequest setEncodingType(String encodingType) { + this.encodingType = encodingType; + return this; + } + public String getEncodingType() { + return this.encodingType; + } + + public ListObjectsRequest setMarker(String marker) { + this.marker = marker; + return this; + } + public String getMarker() { + return this.marker; + } + + public ListObjectsRequest setMaxKeys(Long maxKeys) { + this.maxKeys = maxKeys; + return this; + } + public Long getMaxKeys() { + return this.maxKeys; + } + + public ListObjectsRequest setPrefix(String prefix) { + this.prefix = prefix; + return this; + } + public String getPrefix() { + return this.prefix; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectsResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectsResponse.java new file mode 100644 index 00000000..94957533 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectsResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListObjectsResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public ListObjectsResponseBody body; + + public static ListObjectsResponse build(java.util.Map map) throws Exception { + ListObjectsResponse self = new ListObjectsResponse(); + return TeaModel.build(map, self); + } + + public ListObjectsResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public ListObjectsResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public ListObjectsResponse setBody(ListObjectsResponseBody body) { + this.body = body; + return this; + } + public ListObjectsResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectsResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectsResponseBody.java new file mode 100644 index 00000000..5685efd3 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectsResponseBody.java @@ -0,0 +1,155 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListObjectsResponseBody extends TeaModel { + /** + *

If delimiter is specified in the request, the response contains CommonPrefixes. The objects whose names contain the same string from the prefix to the next occurrence of the delimiter are grouped as a single result element in CommonPrefixes.

+ */ + @NameInMap("CommonPrefixes") + public java.util.List commonPrefixes; + + /** + *

The container that stores the metadata of the returned objects.

+ */ + @NameInMap("Contents") + public java.util.List contents; + + /** + *

The character that is used to group objects by name. The objects whose names contain the same string from the prefix to the next occurrence of the delimiter are grouped as a single result element in CommonPrefixes.

+ */ + @NameInMap("Delimiter") + public String delimiter; + + /** + *

The encoding type of the content in the response. If you specify encoding-type in the request, the values of Delimiter, Marker, Prefix, NextMarker, and Key are encoded in the response.

+ */ + @NameInMap("EncodingType") + public String encodingType; + + /** + *

Indicates whether the returned list in the result is truncated. Valid values:

+ *
+ *

* true

+ *

* false

+ */ + @NameInMap("IsTruncated") + public Boolean isTruncated; + + /** + *

The name of the object after which the GetBucket (ListObjects) operation begins.

+ */ + @NameInMap("Marker") + public String marker; + + /** + *

The maximum number of returned objects in the response.

+ */ + @NameInMap("MaxKeys") + public Integer maxKeys; + + /** + *

The name of the bucket.

+ */ + @NameInMap("Name") + public String name; + + /** + *

If not all results are returned, NextMarker is included in the response to indicate the value of marker in the next request.

+ */ + @NameInMap("NextMarker") + public String nextMarker; + + /** + *

The prefix in the names of the returned objects.

+ */ + @NameInMap("Prefix") + public String prefix; + + public static ListObjectsResponseBody build(java.util.Map map) throws Exception { + ListObjectsResponseBody self = new ListObjectsResponseBody(); + return TeaModel.build(map, self); + } + + public ListObjectsResponseBody setCommonPrefixes(java.util.List commonPrefixes) { + this.commonPrefixes = commonPrefixes; + return this; + } + public java.util.List getCommonPrefixes() { + return this.commonPrefixes; + } + + public ListObjectsResponseBody setContents(java.util.List contents) { + this.contents = contents; + return this; + } + public java.util.List getContents() { + return this.contents; + } + + public ListObjectsResponseBody setDelimiter(String delimiter) { + this.delimiter = delimiter; + return this; + } + public String getDelimiter() { + return this.delimiter; + } + + public ListObjectsResponseBody setEncodingType(String encodingType) { + this.encodingType = encodingType; + return this; + } + public String getEncodingType() { + return this.encodingType; + } + + public ListObjectsResponseBody setIsTruncated(Boolean isTruncated) { + this.isTruncated = isTruncated; + return this; + } + public Boolean getIsTruncated() { + return this.isTruncated; + } + + public ListObjectsResponseBody setMarker(String marker) { + this.marker = marker; + return this; + } + public String getMarker() { + return this.marker; + } + + public ListObjectsResponseBody setMaxKeys(Integer maxKeys) { + this.maxKeys = maxKeys; + return this; + } + public Integer getMaxKeys() { + return this.maxKeys; + } + + public ListObjectsResponseBody setName(String name) { + this.name = name; + return this; + } + public String getName() { + return this.name; + } + + public ListObjectsResponseBody setNextMarker(String nextMarker) { + this.nextMarker = nextMarker; + return this; + } + public String getNextMarker() { + return this.nextMarker; + } + + public ListObjectsResponseBody setPrefix(String prefix) { + this.prefix = prefix; + return this; + } + public String getPrefix() { + return this.prefix; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectsV2Request.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectsV2Request.java new file mode 100644 index 00000000..89a58693 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectsV2Request.java @@ -0,0 +1,129 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListObjectsV2Request extends TeaModel { + /** + *

The token from which the list operation starts. You can obtain the token from NextContinuationToken in the response of the ListObjectsV2 request.

+ */ + @NameInMap("continuation-token") + public String continuationToken; + + /** + *

The character that is used to group objects by name. If you specify delimiter in the request, the response contains CommonPrefixes. The objects whose names contain the same string from the prefix to the next occurrence of the delimiter are grouped as a single result element in CommonPrefixes.

+ */ + @NameInMap("delimiter") + public String delimiter; + + /** + *

The encoding format of the returned objects in the response.

+ *
+ *

> The values of Delimiter, StartAfter, Prefix, NextContinuationToken, and Key are UTF-8 encoded. If the value of Delimiter, StartAfter, Prefix, NextContinuationToken, or Key contains a control character that is not supported by Extensible Markup Language (XML) 1.0, you can specify encoding-type to encode the value in the response.

+ */ + @NameInMap("encoding-type") + public String encodingType; + + /** + *

Specifies whether to include the information about the bucket owner in the response. Valid values:

+ *
+ *

* true

+ *

* false

+ */ + @NameInMap("fetch-owner") + public Boolean fetchOwner; + + /** + *

The maximum number of objects to be returned.\

+ *

Valid values: 1 to 999.\

+ *

Default value: 100.

+ *
+ *

> If the number of returned objects exceeds the value of max-keys, the response contains NextContinuationToken.Use the value of NextContinuationToken as the value of continuation-token in the next request.

+ */ + @NameInMap("max-keys") + public Long maxKeys; + + /** + *

The prefix that must be contained in names of the returned objects.\

+ *
+ *
+ *

* The value of prefix can be up to 1,024 bytes in length.

+ *

* If you specify prefix, the names of the returned objects contain the prefix.

+ *
+ *

If you set prefix to a directory name, the objects whose names start with this prefix are listed. The objects consist of all objects and subdirectories in this directory.\

+ *

If you set prefix to a directory name and set delimiter to a forward slash (/), only the objects in the directory are listed. The subdirectories in the directory are returned in CommonPrefixes. Objects and subdirectories in the subdirectories are not listed.\

+ *

For example, a bucket contains the following three objects: fun/test.jpg, fun/movie/001.avi, and fun/movie/007.avi. If prefix is set to fun/, the three objects are returned. If prefix is set to fun/ and delimiter is set to a forward slash (/), fun/test.jpg and fun/movie/ are returned.

+ */ + @NameInMap("prefix") + public String prefix; + + /** + *

The name of the object after which the list operation begins. If this parameter is specified, objects whose names are alphabetically after the value of start-after are returned.\

+ *

The objects are returned by page based on start-after. The value of start-after can be up to 1,024 bytes in length.\

+ *

If the value of start-after does not exist when you perform a conditional query, the list starts from the object whose name is alphabetically after the value of start-after.

+ */ + @NameInMap("start-after") + public String startAfter; + + public static ListObjectsV2Request build(java.util.Map map) throws Exception { + ListObjectsV2Request self = new ListObjectsV2Request(); + return TeaModel.build(map, self); + } + + public ListObjectsV2Request setContinuationToken(String continuationToken) { + this.continuationToken = continuationToken; + return this; + } + public String getContinuationToken() { + return this.continuationToken; + } + + public ListObjectsV2Request setDelimiter(String delimiter) { + this.delimiter = delimiter; + return this; + } + public String getDelimiter() { + return this.delimiter; + } + + public ListObjectsV2Request setEncodingType(String encodingType) { + this.encodingType = encodingType; + return this; + } + public String getEncodingType() { + return this.encodingType; + } + + public ListObjectsV2Request setFetchOwner(Boolean fetchOwner) { + this.fetchOwner = fetchOwner; + return this; + } + public Boolean getFetchOwner() { + return this.fetchOwner; + } + + public ListObjectsV2Request setMaxKeys(Long maxKeys) { + this.maxKeys = maxKeys; + return this; + } + public Long getMaxKeys() { + return this.maxKeys; + } + + public ListObjectsV2Request setPrefix(String prefix) { + this.prefix = prefix; + return this; + } + public String getPrefix() { + return this.prefix; + } + + public ListObjectsV2Request setStartAfter(String startAfter) { + this.startAfter = startAfter; + return this; + } + public String getStartAfter() { + return this.startAfter; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectsV2Response.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectsV2Response.java new file mode 100644 index 00000000..4c74a9aa --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectsV2Response.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListObjectsV2Response extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public ListObjectsV2ResponseBody body; + + public static ListObjectsV2Response build(java.util.Map map) throws Exception { + ListObjectsV2Response self = new ListObjectsV2Response(); + return TeaModel.build(map, self); + } + + public ListObjectsV2Response setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public ListObjectsV2Response setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public ListObjectsV2Response setBody(ListObjectsV2ResponseBody body) { + this.body = body; + return this; + } + public ListObjectsV2ResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectsV2ResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectsV2ResponseBody.java new file mode 100644 index 00000000..6f07dc3e --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListObjectsV2ResponseBody.java @@ -0,0 +1,183 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListObjectsV2ResponseBody extends TeaModel { + /** + *

If delimiter is specified in the request, the response contains CommonPrefixes. The objects whose names contain the same string from the prefix to the next occurrence of the delimiter are grouped as a single result element in CommonPrefixes.

+ */ + @NameInMap("CommonPrefixes") + public java.util.List commonPrefixes; + + /** + *

The container that stores the metadata of the returned objects.

+ */ + @NameInMap("Contents") + public java.util.List contents; + + /** + *

If continuation-token is specified in the request, the response contains ContinuationToken.

+ */ + @NameInMap("ContinuationToken") + public String continuationToken; + + /** + *

The character that is used to group objects by name. The objects whose names contain the same string from the prefix to the next occurrence of the delimiter are grouped as a single result element in CommonPrefixes.

+ */ + @NameInMap("Delimiter") + public String delimiter; + + /** + *

The encoding type of the content in the response. If you specify encoding-type in the request, the values of Delimiter, StartAfter, Prefix, NextContinuationToken, and Key are encoded in the response.

+ */ + @NameInMap("EncodingType") + public String encodingType; + + /** + *

Indicates whether the returned results are truncated. Valid values:

+ *
+ *

* true

+ *

* false

+ */ + @NameInMap("IsTruncated") + public Boolean isTruncated; + + /** + *

The number of objects returned for this request. If delimiter is specified in the request, the value of KeyCount is the sum of the values of Key and CommonPrefixes.

+ */ + @NameInMap("KeyCount") + public Integer keyCount; + + /** + *

The maximum number of returned objects in the response.

+ */ + @NameInMap("MaxKeys") + public Integer maxKeys; + + /** + *

The name of the bucket.

+ */ + @NameInMap("Name") + public String name; + + /** + *

The token from which the next list operation starts. Use the value of NextContinuationToken as the value of continuation-token in the next request.

+ */ + @NameInMap("NextContinuationToken") + public String nextContinuationToken; + + /** + *

The prefix in the names of the returned objects.

+ */ + @NameInMap("Prefix") + public String prefix; + + /** + *

If start-after is specified in the request, the response contains StartAfter.

+ */ + @NameInMap("StartAfter") + public String startAfter; + + public static ListObjectsV2ResponseBody build(java.util.Map map) throws Exception { + ListObjectsV2ResponseBody self = new ListObjectsV2ResponseBody(); + return TeaModel.build(map, self); + } + + public ListObjectsV2ResponseBody setCommonPrefixes(java.util.List commonPrefixes) { + this.commonPrefixes = commonPrefixes; + return this; + } + public java.util.List getCommonPrefixes() { + return this.commonPrefixes; + } + + public ListObjectsV2ResponseBody setContents(java.util.List contents) { + this.contents = contents; + return this; + } + public java.util.List getContents() { + return this.contents; + } + + public ListObjectsV2ResponseBody setContinuationToken(String continuationToken) { + this.continuationToken = continuationToken; + return this; + } + public String getContinuationToken() { + return this.continuationToken; + } + + public ListObjectsV2ResponseBody setDelimiter(String delimiter) { + this.delimiter = delimiter; + return this; + } + public String getDelimiter() { + return this.delimiter; + } + + public ListObjectsV2ResponseBody setEncodingType(String encodingType) { + this.encodingType = encodingType; + return this; + } + public String getEncodingType() { + return this.encodingType; + } + + public ListObjectsV2ResponseBody setIsTruncated(Boolean isTruncated) { + this.isTruncated = isTruncated; + return this; + } + public Boolean getIsTruncated() { + return this.isTruncated; + } + + public ListObjectsV2ResponseBody setKeyCount(Integer keyCount) { + this.keyCount = keyCount; + return this; + } + public Integer getKeyCount() { + return this.keyCount; + } + + public ListObjectsV2ResponseBody setMaxKeys(Integer maxKeys) { + this.maxKeys = maxKeys; + return this; + } + public Integer getMaxKeys() { + return this.maxKeys; + } + + public ListObjectsV2ResponseBody setName(String name) { + this.name = name; + return this; + } + public String getName() { + return this.name; + } + + public ListObjectsV2ResponseBody setNextContinuationToken(String nextContinuationToken) { + this.nextContinuationToken = nextContinuationToken; + return this; + } + public String getNextContinuationToken() { + return this.nextContinuationToken; + } + + public ListObjectsV2ResponseBody setPrefix(String prefix) { + this.prefix = prefix; + return this; + } + public String getPrefix() { + return this.prefix; + } + + public ListObjectsV2ResponseBody setStartAfter(String startAfter) { + this.startAfter = startAfter; + return this; + } + public String getStartAfter() { + return this.startAfter; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListPartsRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListPartsRequest.java new file mode 100644 index 00000000..3e35bbb2 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListPartsRequest.java @@ -0,0 +1,74 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListPartsRequest extends TeaModel { + /** + *

The encoding type of the object name in the response. The object name can contain any characters encoded in UTF-8. However, the XML 1.0 standard cannot be used to parse certain control characters, such as characters with an ASCII value from 0 to 10. You can set the Encoding-type parameter to encode the returned object name.

+ *


Default value: null

+ */ + @NameInMap("encoding-type") + public String encodingType; + + /** + *

The maximum number of parts that can be returned by OSS.

+ *
+ *

Default value: 1000.

+ *
+ *

Maximum value: 1000.

+ */ + @NameInMap("max-parts") + public Long maxParts; + + /** + *

The number of the part after which the list starts. All parts whose part numbers are greater than this parameter value are listed.

+ *

Default value: null.

+ */ + @NameInMap("part-number-marker") + public Long partNumberMarker; + + /** + *

The ID of the multipart upload task.

+ */ + @NameInMap("uploadId") + public String uploadId; + + public static ListPartsRequest build(java.util.Map map) throws Exception { + ListPartsRequest self = new ListPartsRequest(); + return TeaModel.build(map, self); + } + + public ListPartsRequest setEncodingType(String encodingType) { + this.encodingType = encodingType; + return this; + } + public String getEncodingType() { + return this.encodingType; + } + + public ListPartsRequest setMaxParts(Long maxParts) { + this.maxParts = maxParts; + return this; + } + public Long getMaxParts() { + return this.maxParts; + } + + public ListPartsRequest setPartNumberMarker(Long partNumberMarker) { + this.partNumberMarker = partNumberMarker; + return this; + } + public Long getPartNumberMarker() { + return this.partNumberMarker; + } + + public ListPartsRequest setUploadId(String uploadId) { + this.uploadId = uploadId; + return this; + } + public String getUploadId() { + return this.uploadId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListPartsResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListPartsResponse.java new file mode 100644 index 00000000..a20b226c --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListPartsResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListPartsResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public ListPartsResponseBody body; + + public static ListPartsResponse build(java.util.Map map) throws Exception { + ListPartsResponse self = new ListPartsResponse(); + return TeaModel.build(map, self); + } + + public ListPartsResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public ListPartsResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public ListPartsResponse setBody(ListPartsResponseBody body) { + this.body = body; + return this; + } + public ListPartsResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListPartsResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListPartsResponseBody.java new file mode 100644 index 00000000..ed084a9f --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListPartsResponseBody.java @@ -0,0 +1,125 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListPartsResponseBody extends TeaModel { + /** + *

The name of the bucket.

+ */ + @NameInMap("Bucket") + public String bucket; + + /** + *

Indicates whether the list of parts returned in the response has been truncated. "true" indicates that the response does not contain all required results. "false" indicates that the response contains all required results.

+ *


Valid values: true and false

+ */ + @NameInMap("IsTruncated") + public Boolean isTruncated; + + /** + *

The full path of the object.

+ */ + @NameInMap("Key") + public String key; + + /** + *

The maximum number of parts in this response.

+ */ + @NameInMap("MaxParts") + public Long maxParts; + + /** + *

If the response does not contain all required results, all parts whose part numbers are greater than the value of this parameter are listed.

+ */ + @NameInMap("NextPartNumberMarker") + public Long nextPartNumberMarker; + + /** + *

The container that stores part information.

+ */ + @NameInMap("Part") + public java.util.List part; + + /** + *

The number of the part after which the list operation begins. All parts whose numbers are greater than the value of this parameter are listed.

+ */ + @NameInMap("PartNumberMarker") + public Long partNumberMarker; + + /** + *

The ID of the upload task.

+ */ + @NameInMap("UploadId") + public String uploadId; + + public static ListPartsResponseBody build(java.util.Map map) throws Exception { + ListPartsResponseBody self = new ListPartsResponseBody(); + return TeaModel.build(map, self); + } + + public ListPartsResponseBody setBucket(String bucket) { + this.bucket = bucket; + return this; + } + public String getBucket() { + return this.bucket; + } + + public ListPartsResponseBody setIsTruncated(Boolean isTruncated) { + this.isTruncated = isTruncated; + return this; + } + public Boolean getIsTruncated() { + return this.isTruncated; + } + + public ListPartsResponseBody setKey(String key) { + this.key = key; + return this; + } + public String getKey() { + return this.key; + } + + public ListPartsResponseBody setMaxParts(Long maxParts) { + this.maxParts = maxParts; + return this; + } + public Long getMaxParts() { + return this.maxParts; + } + + public ListPartsResponseBody setNextPartNumberMarker(Long nextPartNumberMarker) { + this.nextPartNumberMarker = nextPartNumberMarker; + return this; + } + public Long getNextPartNumberMarker() { + return this.nextPartNumberMarker; + } + + public ListPartsResponseBody setPart(java.util.List part) { + this.part = part; + return this; + } + public java.util.List getPart() { + return this.part; + } + + public ListPartsResponseBody setPartNumberMarker(Long partNumberMarker) { + this.partNumberMarker = partNumberMarker; + return this; + } + public Long getPartNumberMarker() { + return this.partNumberMarker; + } + + public ListPartsResponseBody setUploadId(String uploadId) { + this.uploadId = uploadId; + return this; + } + public String getUploadId() { + return this.uploadId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListPartsShrinkRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListPartsShrinkRequest.java new file mode 100644 index 00000000..401260ae --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListPartsShrinkRequest.java @@ -0,0 +1,74 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListPartsShrinkRequest extends TeaModel { + /** + *

The encoding type of the object name in the response. The object name can contain any characters encoded in UTF-8. However, the XML 1.0 standard cannot be used to parse certain control characters, such as characters with an ASCII value from 0 to 10. You can set the Encoding-type parameter to encode the returned object name.

+ *


Default value: null

+ */ + @NameInMap("encoding-type") + public String encodingTypeShrink; + + /** + *

The maximum number of parts that can be returned by OSS.

+ *
+ *

Default value: 1000.

+ *
+ *

Maximum value: 1000.

+ */ + @NameInMap("max-parts") + public Long maxParts; + + /** + *

The number of the part after which the list starts. All parts whose part numbers are greater than this parameter value are listed.

+ *

Default value: null.

+ */ + @NameInMap("part-number-marker") + public Long partNumberMarker; + + /** + *

The ID of the multipart upload task.

+ */ + @NameInMap("uploadId") + public String uploadId; + + public static ListPartsShrinkRequest build(java.util.Map map) throws Exception { + ListPartsShrinkRequest self = new ListPartsShrinkRequest(); + return TeaModel.build(map, self); + } + + public ListPartsShrinkRequest setEncodingTypeShrink(String encodingTypeShrink) { + this.encodingTypeShrink = encodingTypeShrink; + return this; + } + public String getEncodingTypeShrink() { + return this.encodingTypeShrink; + } + + public ListPartsShrinkRequest setMaxParts(Long maxParts) { + this.maxParts = maxParts; + return this; + } + public Long getMaxParts() { + return this.maxParts; + } + + public ListPartsShrinkRequest setPartNumberMarker(Long partNumberMarker) { + this.partNumberMarker = partNumberMarker; + return this; + } + public Long getPartNumberMarker() { + return this.partNumberMarker; + } + + public ListPartsShrinkRequest setUploadId(String uploadId) { + this.uploadId = uploadId; + return this; + } + public String getUploadId() { + return this.uploadId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListStyleResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListStyleResponse.java new file mode 100644 index 00000000..9a9a1b14 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListStyleResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListStyleResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public ListStyleResponseBody body; + + public static ListStyleResponse build(java.util.Map map) throws Exception { + ListStyleResponse self = new ListStyleResponse(); + return TeaModel.build(map, self); + } + + public ListStyleResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public ListStyleResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public ListStyleResponse setBody(ListStyleResponseBody body) { + this.body = body; + return this; + } + public ListStyleResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListStyleResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListStyleResponseBody.java new file mode 100644 index 00000000..e0399dd3 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListStyleResponseBody.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListStyleResponseBody extends TeaModel { + /** + *

The container that was used to query the information about the specified image style.

+ */ + @NameInMap("Style") + public java.util.List style; + + public static ListStyleResponseBody build(java.util.Map map) throws Exception { + ListStyleResponseBody self = new ListStyleResponseBody(); + return TeaModel.build(map, self); + } + + public ListStyleResponseBody setStyle(java.util.List style) { + this.style = style; + return this; + } + public java.util.List getStyle() { + return this.style; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListUserDataRedundancyTransitionRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListUserDataRedundancyTransitionRequest.java new file mode 100644 index 00000000..5b601386 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListUserDataRedundancyTransitionRequest.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListUserDataRedundancyTransitionRequest extends TeaModel { + @NameInMap("continuation-token") + public String continuationToken; + + @NameInMap("max-keys") + public Integer maxKeys; + + public static ListUserDataRedundancyTransitionRequest build(java.util.Map map) throws Exception { + ListUserDataRedundancyTransitionRequest self = new ListUserDataRedundancyTransitionRequest(); + return TeaModel.build(map, self); + } + + public ListUserDataRedundancyTransitionRequest setContinuationToken(String continuationToken) { + this.continuationToken = continuationToken; + return this; + } + public String getContinuationToken() { + return this.continuationToken; + } + + public ListUserDataRedundancyTransitionRequest setMaxKeys(Integer maxKeys) { + this.maxKeys = maxKeys; + return this; + } + public Integer getMaxKeys() { + return this.maxKeys; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListUserDataRedundancyTransitionResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListUserDataRedundancyTransitionResponse.java new file mode 100644 index 00000000..98c4f109 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListUserDataRedundancyTransitionResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListUserDataRedundancyTransitionResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public ListUserDataRedundancyTransitionResponseBody body; + + public static ListUserDataRedundancyTransitionResponse build(java.util.Map map) throws Exception { + ListUserDataRedundancyTransitionResponse self = new ListUserDataRedundancyTransitionResponse(); + return TeaModel.build(map, self); + } + + public ListUserDataRedundancyTransitionResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public ListUserDataRedundancyTransitionResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public ListUserDataRedundancyTransitionResponse setBody(ListUserDataRedundancyTransitionResponseBody body) { + this.body = body; + return this; + } + public ListUserDataRedundancyTransitionResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListUserDataRedundancyTransitionResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListUserDataRedundancyTransitionResponseBody.java new file mode 100644 index 00000000..9e61e12f --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListUserDataRedundancyTransitionResponseBody.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ListUserDataRedundancyTransitionResponseBody extends TeaModel { + @NameInMap("BucketDataRedundancyTransition") + public java.util.List bucketDataRedundancyTransition; + + @NameInMap("IsTruncated") + public Boolean isTruncated; + + @NameInMap("NextContinuationToken") + public String nextContinuationToken; + + public static ListUserDataRedundancyTransitionResponseBody build(java.util.Map map) throws Exception { + ListUserDataRedundancyTransitionResponseBody self = new ListUserDataRedundancyTransitionResponseBody(); + return TeaModel.build(map, self); + } + + public ListUserDataRedundancyTransitionResponseBody setBucketDataRedundancyTransition(java.util.List bucketDataRedundancyTransition) { + this.bucketDataRedundancyTransition = bucketDataRedundancyTransition; + return this; + } + public java.util.List getBucketDataRedundancyTransition() { + return this.bucketDataRedundancyTransition; + } + + public ListUserDataRedundancyTransitionResponseBody setIsTruncated(Boolean isTruncated) { + this.isTruncated = isTruncated; + return this; + } + public Boolean getIsTruncated() { + return this.isTruncated; + } + + public ListUserDataRedundancyTransitionResponseBody setNextContinuationToken(String nextContinuationToken) { + this.nextContinuationToken = nextContinuationToken; + return this; + } + public String getNextContinuationToken() { + return this.nextContinuationToken; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannel.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannel.java new file mode 100644 index 00000000..4442ba98 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannel.java @@ -0,0 +1,78 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class LiveChannel extends TeaModel { + @NameInMap("Description") + public String description; + + @NameInMap("LastModified") + public String lastModified; + + @NameInMap("Name") + public String name; + + @NameInMap("PlayUrls") + public LiveChannelPlayUrls playUrls; + + @NameInMap("PublishUrls") + public LiveChannelPublishUrls publishUrls; + + @NameInMap("Status") + public String status; + + public static LiveChannel build(java.util.Map map) throws Exception { + LiveChannel self = new LiveChannel(); + return TeaModel.build(map, self); + } + + public LiveChannel setDescription(String description) { + this.description = description; + return this; + } + public String getDescription() { + return this.description; + } + + public LiveChannel setLastModified(String lastModified) { + this.lastModified = lastModified; + return this; + } + public String getLastModified() { + return this.lastModified; + } + + public LiveChannel setName(String name) { + this.name = name; + return this; + } + public String getName() { + return this.name; + } + + public LiveChannel setPlayUrls(LiveChannelPlayUrls playUrls) { + this.playUrls = playUrls; + return this; + } + public LiveChannelPlayUrls getPlayUrls() { + return this.playUrls; + } + + public LiveChannel setPublishUrls(LiveChannelPublishUrls publishUrls) { + this.publishUrls = publishUrls; + return this; + } + public LiveChannelPublishUrls getPublishUrls() { + return this.publishUrls; + } + + public LiveChannel setStatus(String status) { + this.status = status; + return this; + } + public String getStatus() { + return this.status; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannelAudio.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannelAudio.java new file mode 100644 index 00000000..ac32f913 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannelAudio.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class LiveChannelAudio extends TeaModel { + @NameInMap("Bandwidth") + public Long bandwidth; + + @NameInMap("Codec") + public String codec; + + @NameInMap("SampleRate") + public Long sampleRate; + + public static LiveChannelAudio build(java.util.Map map) throws Exception { + LiveChannelAudio self = new LiveChannelAudio(); + return TeaModel.build(map, self); + } + + public LiveChannelAudio setBandwidth(Long bandwidth) { + this.bandwidth = bandwidth; + return this; + } + public Long getBandwidth() { + return this.bandwidth; + } + + public LiveChannelAudio setCodec(String codec) { + this.codec = codec; + return this; + } + public String getCodec() { + return this.codec; + } + + public LiveChannelAudio setSampleRate(Long sampleRate) { + this.sampleRate = sampleRate; + return this; + } + public Long getSampleRate() { + return this.sampleRate; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannelConfiguration.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannelConfiguration.java new file mode 100644 index 00000000..b186e8ad --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannelConfiguration.java @@ -0,0 +1,56 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class LiveChannelConfiguration extends TeaModel { + @NameInMap("Description") + public String description; + + @NameInMap("Snapshot") + public LiveChannelSnapshot snapshot; + + @NameInMap("Status") + public String status; + + @NameInMap("Target") + public LiveChannelTarget target; + + public static LiveChannelConfiguration build(java.util.Map map) throws Exception { + LiveChannelConfiguration self = new LiveChannelConfiguration(); + return TeaModel.build(map, self); + } + + public LiveChannelConfiguration setDescription(String description) { + this.description = description; + return this; + } + public String getDescription() { + return this.description; + } + + public LiveChannelConfiguration setSnapshot(LiveChannelSnapshot snapshot) { + this.snapshot = snapshot; + return this; + } + public LiveChannelSnapshot getSnapshot() { + return this.snapshot; + } + + public LiveChannelConfiguration setStatus(String status) { + this.status = status; + return this; + } + public String getStatus() { + return this.status; + } + + public LiveChannelConfiguration setTarget(LiveChannelTarget target) { + this.target = target; + return this; + } + public LiveChannelTarget getTarget() { + return this.target; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannelPlayUrls.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannelPlayUrls.java new file mode 100644 index 00000000..ac2804a7 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannelPlayUrls.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class LiveChannelPlayUrls extends TeaModel { + @NameInMap("Url") + public String url; + + public static LiveChannelPlayUrls build(java.util.Map map) throws Exception { + LiveChannelPlayUrls self = new LiveChannelPlayUrls(); + return TeaModel.build(map, self); + } + + public LiveChannelPlayUrls setUrl(String url) { + this.url = url; + return this; + } + public String getUrl() { + return this.url; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannelPublishUrls.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannelPublishUrls.java new file mode 100644 index 00000000..930f6a0c --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannelPublishUrls.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class LiveChannelPublishUrls extends TeaModel { + @NameInMap("Url") + public String url; + + public static LiveChannelPublishUrls build(java.util.Map map) throws Exception { + LiveChannelPublishUrls self = new LiveChannelPublishUrls(); + return TeaModel.build(map, self); + } + + public LiveChannelPublishUrls setUrl(String url) { + this.url = url; + return this; + } + public String getUrl() { + return this.url; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannelSnapshot.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannelSnapshot.java new file mode 100644 index 00000000..2204a4cc --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannelSnapshot.java @@ -0,0 +1,56 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class LiveChannelSnapshot extends TeaModel { + @NameInMap("DestBucket") + public String destBucket; + + @NameInMap("Interval") + public Long interval; + + @NameInMap("NotifyTopic") + public String notifyTopic; + + @NameInMap("RoleName") + public String roleName; + + public static LiveChannelSnapshot build(java.util.Map map) throws Exception { + LiveChannelSnapshot self = new LiveChannelSnapshot(); + return TeaModel.build(map, self); + } + + public LiveChannelSnapshot setDestBucket(String destBucket) { + this.destBucket = destBucket; + return this; + } + public String getDestBucket() { + return this.destBucket; + } + + public LiveChannelSnapshot setInterval(Long interval) { + this.interval = interval; + return this; + } + public Long getInterval() { + return this.interval; + } + + public LiveChannelSnapshot setNotifyTopic(String notifyTopic) { + this.notifyTopic = notifyTopic; + return this; + } + public String getNotifyTopic() { + return this.notifyTopic; + } + + public LiveChannelSnapshot setRoleName(String roleName) { + this.roleName = roleName; + return this; + } + public String getRoleName() { + return this.roleName; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannelTarget.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannelTarget.java new file mode 100644 index 00000000..543c2d75 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannelTarget.java @@ -0,0 +1,56 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class LiveChannelTarget extends TeaModel { + @NameInMap("FragCount") + public Long fragCount; + + @NameInMap("FragDuration") + public Long fragDuration; + + @NameInMap("PlaylistName") + public String playlistName; + + @NameInMap("Type") + public String type; + + public static LiveChannelTarget build(java.util.Map map) throws Exception { + LiveChannelTarget self = new LiveChannelTarget(); + return TeaModel.build(map, self); + } + + public LiveChannelTarget setFragCount(Long fragCount) { + this.fragCount = fragCount; + return this; + } + public Long getFragCount() { + return this.fragCount; + } + + public LiveChannelTarget setFragDuration(Long fragDuration) { + this.fragDuration = fragDuration; + return this; + } + public Long getFragDuration() { + return this.fragDuration; + } + + public LiveChannelTarget setPlaylistName(String playlistName) { + this.playlistName = playlistName; + return this; + } + public String getPlaylistName() { + return this.playlistName; + } + + public LiveChannelTarget setType(String type) { + this.type = type; + return this; + } + public String getType() { + return this.type; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannelVideo.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannelVideo.java new file mode 100644 index 00000000..92cb8164 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveChannelVideo.java @@ -0,0 +1,67 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class LiveChannelVideo extends TeaModel { + @NameInMap("Bandwidth") + public Long bandwidth; + + @NameInMap("Codec") + public String codec; + + @NameInMap("FrameRate") + public Long frameRate; + + @NameInMap("Height") + public Long height; + + @NameInMap("Width") + public Long width; + + public static LiveChannelVideo build(java.util.Map map) throws Exception { + LiveChannelVideo self = new LiveChannelVideo(); + return TeaModel.build(map, self); + } + + public LiveChannelVideo setBandwidth(Long bandwidth) { + this.bandwidth = bandwidth; + return this; + } + public Long getBandwidth() { + return this.bandwidth; + } + + public LiveChannelVideo setCodec(String codec) { + this.codec = codec; + return this; + } + public String getCodec() { + return this.codec; + } + + public LiveChannelVideo setFrameRate(Long frameRate) { + this.frameRate = frameRate; + return this; + } + public Long getFrameRate() { + return this.frameRate; + } + + public LiveChannelVideo setHeight(Long height) { + this.height = height; + return this; + } + public Long getHeight() { + return this.height; + } + + public LiveChannelVideo setWidth(Long width) { + this.width = width; + return this; + } + public Long getWidth() { + return this.width; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveRecord.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveRecord.java new file mode 100644 index 00000000..779acb78 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LiveRecord.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class LiveRecord extends TeaModel { + @NameInMap("EndTime") + public String endTime; + + @NameInMap("RemoteAddr") + public String remoteAddr; + + @NameInMap("StartTime") + public String startTime; + + public static LiveRecord build(java.util.Map map) throws Exception { + LiveRecord self = new LiveRecord(); + return TeaModel.build(map, self); + } + + public LiveRecord setEndTime(String endTime) { + this.endTime = endTime; + return this; + } + public String getEndTime() { + return this.endTime; + } + + public LiveRecord setRemoteAddr(String remoteAddr) { + this.remoteAddr = remoteAddr; + return this; + } + public String getRemoteAddr() { + return this.remoteAddr; + } + + public LiveRecord setStartTime(String startTime) { + this.startTime = startTime; + return this; + } + public String getStartTime() { + return this.startTime; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LocationTransferType.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LocationTransferType.java new file mode 100644 index 00000000..c1da024f --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LocationTransferType.java @@ -0,0 +1,53 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class LocationTransferType extends TeaModel { + @NameInMap("Location") + public String location; + + @NameInMap("TransferTypes") + public LocationTransferTypeTransferTypes transferTypes; + + public static LocationTransferType build(java.util.Map map) throws Exception { + LocationTransferType self = new LocationTransferType(); + return TeaModel.build(map, self); + } + + public LocationTransferType setLocation(String location) { + this.location = location; + return this; + } + public String getLocation() { + return this.location; + } + + public LocationTransferType setTransferTypes(LocationTransferTypeTransferTypes transferTypes) { + this.transferTypes = transferTypes; + return this; + } + public LocationTransferTypeTransferTypes getTransferTypes() { + return this.transferTypes; + } + + public static class LocationTransferTypeTransferTypes extends TeaModel { + @NameInMap("Type") + public String type; + + public static LocationTransferTypeTransferTypes build(java.util.Map map) throws Exception { + LocationTransferTypeTransferTypes self = new LocationTransferTypeTransferTypes(); + return TeaModel.build(map, self); + } + + public LocationTransferTypeTransferTypes setType(String type) { + this.type = type; + return this; + } + public String getType() { + return this.type; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LoggingEnabled.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LoggingEnabled.java new file mode 100644 index 00000000..ee64a0e1 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/LoggingEnabled.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class LoggingEnabled extends TeaModel { + @NameInMap("TargetBucket") + public String targetBucket; + + @NameInMap("TargetPrefix") + public String targetPrefix; + + public static LoggingEnabled build(java.util.Map map) throws Exception { + LoggingEnabled self = new LoggingEnabled(); + return TeaModel.build(map, self); + } + + public LoggingEnabled setTargetBucket(String targetBucket) { + this.targetBucket = targetBucket; + return this; + } + public String getTargetBucket() { + return this.targetBucket; + } + + public LoggingEnabled setTargetPrefix(String targetPrefix) { + this.targetPrefix = targetPrefix; + return this; + } + public String getTargetPrefix() { + return this.targetPrefix; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/MetaQuery.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/MetaQuery.java new file mode 100644 index 00000000..a74aef1d --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/MetaQuery.java @@ -0,0 +1,97 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class MetaQuery extends TeaModel { + @NameInMap("Aggregations") + public MetaQueryAggregations aggregations; + + @NameInMap("MaxResults") + public Long maxResults; + + @NameInMap("NextToken") + public String nextToken; + + @NameInMap("Order") + public String order; + + @NameInMap("Query") + public String query; + + @NameInMap("Sort") + public String sort; + + public static MetaQuery build(java.util.Map map) throws Exception { + MetaQuery self = new MetaQuery(); + return TeaModel.build(map, self); + } + + public MetaQuery setAggregations(MetaQueryAggregations aggregations) { + this.aggregations = aggregations; + return this; + } + public MetaQueryAggregations getAggregations() { + return this.aggregations; + } + + public MetaQuery setMaxResults(Long maxResults) { + this.maxResults = maxResults; + return this; + } + public Long getMaxResults() { + return this.maxResults; + } + + public MetaQuery setNextToken(String nextToken) { + this.nextToken = nextToken; + return this; + } + public String getNextToken() { + return this.nextToken; + } + + public MetaQuery setOrder(String order) { + this.order = order; + return this; + } + public String getOrder() { + return this.order; + } + + public MetaQuery setQuery(String query) { + this.query = query; + return this; + } + public String getQuery() { + return this.query; + } + + public MetaQuery setSort(String sort) { + this.sort = sort; + return this; + } + public String getSort() { + return this.sort; + } + + public static class MetaQueryAggregations extends TeaModel { + @NameInMap("Aggregation") + public java.util.List aggregation; + + public static MetaQueryAggregations build(java.util.Map map) throws Exception { + MetaQueryAggregations self = new MetaQueryAggregations(); + return TeaModel.build(map, self); + } + + public MetaQueryAggregations setAggregation(java.util.List aggregation) { + this.aggregation = aggregation; + return this; + } + public java.util.List getAggregation() { + return this.aggregation; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/MetaQueryAggregation.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/MetaQueryAggregation.java new file mode 100644 index 00000000..f3c0d781 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/MetaQueryAggregation.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class MetaQueryAggregation extends TeaModel { + @NameInMap("Field") + public String field; + + @NameInMap("Operation") + public String operation; + + public static MetaQueryAggregation build(java.util.Map map) throws Exception { + MetaQueryAggregation self = new MetaQueryAggregation(); + return TeaModel.build(map, self); + } + + public MetaQueryAggregation setField(String field) { + this.field = field; + return this; + } + public String getField() { + return this.field; + } + + public MetaQueryAggregation setOperation(String operation) { + this.operation = operation; + return this; + } + public String getOperation() { + return this.operation; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/MetaQueryFile.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/MetaQueryFile.java new file mode 100644 index 00000000..550b4dfc --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/MetaQueryFile.java @@ -0,0 +1,193 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class MetaQueryFile extends TeaModel { + @NameInMap("ETag") + public String ETag; + + @NameInMap("FileModifiedTime") + public String fileModifiedTime; + + @NameInMap("Filename") + public String filename; + + @NameInMap("OSSCRC64") + public String OSSCRC64; + + @NameInMap("OSSObjectType") + public String OSSObjectType; + + @NameInMap("OSSStorageClass") + public String OSSStorageClass; + + @NameInMap("OSSTagging") + public MetaQueryFileOSSTagging OSSTagging; + + @NameInMap("OSSTaggingCount") + public Long OSSTaggingCount; + + @NameInMap("OSSUserMeta") + public MetaQueryFileOSSUserMeta OSSUserMeta; + + @NameInMap("ObjectACL") + public String objectACL; + + @NameInMap("ServerSideEncryption") + public String serverSideEncryption; + + @NameInMap("ServerSideEncryptionCustomerAlgorithm") + public String serverSideEncryptionCustomerAlgorithm; + + @NameInMap("Size") + public Long size; + + public static MetaQueryFile build(java.util.Map map) throws Exception { + MetaQueryFile self = new MetaQueryFile(); + return TeaModel.build(map, self); + } + + public MetaQueryFile setETag(String ETag) { + this.ETag = ETag; + return this; + } + public String getETag() { + return this.ETag; + } + + public MetaQueryFile setFileModifiedTime(String fileModifiedTime) { + this.fileModifiedTime = fileModifiedTime; + return this; + } + public String getFileModifiedTime() { + return this.fileModifiedTime; + } + + public MetaQueryFile setFilename(String filename) { + this.filename = filename; + return this; + } + public String getFilename() { + return this.filename; + } + + public MetaQueryFile setOSSCRC64(String OSSCRC64) { + this.OSSCRC64 = OSSCRC64; + return this; + } + public String getOSSCRC64() { + return this.OSSCRC64; + } + + public MetaQueryFile setOSSObjectType(String OSSObjectType) { + this.OSSObjectType = OSSObjectType; + return this; + } + public String getOSSObjectType() { + return this.OSSObjectType; + } + + public MetaQueryFile setOSSStorageClass(String OSSStorageClass) { + this.OSSStorageClass = OSSStorageClass; + return this; + } + public String getOSSStorageClass() { + return this.OSSStorageClass; + } + + public MetaQueryFile setOSSTagging(MetaQueryFileOSSTagging OSSTagging) { + this.OSSTagging = OSSTagging; + return this; + } + public MetaQueryFileOSSTagging getOSSTagging() { + return this.OSSTagging; + } + + public MetaQueryFile setOSSTaggingCount(Long OSSTaggingCount) { + this.OSSTaggingCount = OSSTaggingCount; + return this; + } + public Long getOSSTaggingCount() { + return this.OSSTaggingCount; + } + + public MetaQueryFile setOSSUserMeta(MetaQueryFileOSSUserMeta OSSUserMeta) { + this.OSSUserMeta = OSSUserMeta; + return this; + } + public MetaQueryFileOSSUserMeta getOSSUserMeta() { + return this.OSSUserMeta; + } + + public MetaQueryFile setObjectACL(String objectACL) { + this.objectACL = objectACL; + return this; + } + public String getObjectACL() { + return this.objectACL; + } + + public MetaQueryFile setServerSideEncryption(String serverSideEncryption) { + this.serverSideEncryption = serverSideEncryption; + return this; + } + public String getServerSideEncryption() { + return this.serverSideEncryption; + } + + public MetaQueryFile setServerSideEncryptionCustomerAlgorithm(String serverSideEncryptionCustomerAlgorithm) { + this.serverSideEncryptionCustomerAlgorithm = serverSideEncryptionCustomerAlgorithm; + return this; + } + public String getServerSideEncryptionCustomerAlgorithm() { + return this.serverSideEncryptionCustomerAlgorithm; + } + + public MetaQueryFile setSize(Long size) { + this.size = size; + return this; + } + public Long getSize() { + return this.size; + } + + public static class MetaQueryFileOSSTagging extends TeaModel { + @NameInMap("Tagging") + public java.util.List tagging; + + public static MetaQueryFileOSSTagging build(java.util.Map map) throws Exception { + MetaQueryFileOSSTagging self = new MetaQueryFileOSSTagging(); + return TeaModel.build(map, self); + } + + public MetaQueryFileOSSTagging setTagging(java.util.List tagging) { + this.tagging = tagging; + return this; + } + public java.util.List getTagging() { + return this.tagging; + } + + } + + public static class MetaQueryFileOSSUserMeta extends TeaModel { + @NameInMap("UserMeta") + public java.util.List userMeta; + + public static MetaQueryFileOSSUserMeta build(java.util.Map map) throws Exception { + MetaQueryFileOSSUserMeta self = new MetaQueryFileOSSUserMeta(); + return TeaModel.build(map, self); + } + + public MetaQueryFileOSSUserMeta setUserMeta(java.util.List userMeta) { + this.userMeta = userMeta; + return this; + } + public java.util.List getUserMeta() { + return this.userMeta; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/MetaQueryTagging.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/MetaQueryTagging.java new file mode 100644 index 00000000..ee8ed80d --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/MetaQueryTagging.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class MetaQueryTagging extends TeaModel { + @NameInMap("Key") + public String key; + + @NameInMap("Value") + public String value; + + public static MetaQueryTagging build(java.util.Map map) throws Exception { + MetaQueryTagging self = new MetaQueryTagging(); + return TeaModel.build(map, self); + } + + public MetaQueryTagging setKey(String key) { + this.key = key; + return this; + } + public String getKey() { + return this.key; + } + + public MetaQueryTagging setValue(String value) { + this.value = value; + return this; + } + public String getValue() { + return this.value; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/MetaQueryUserMeta.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/MetaQueryUserMeta.java new file mode 100644 index 00000000..d5aa5ef7 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/MetaQueryUserMeta.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class MetaQueryUserMeta extends TeaModel { + @NameInMap("Key") + public String key; + + @NameInMap("Value") + public String value; + + public static MetaQueryUserMeta build(java.util.Map map) throws Exception { + MetaQueryUserMeta self = new MetaQueryUserMeta(); + return TeaModel.build(map, self); + } + + public MetaQueryUserMeta setKey(String key) { + this.key = key; + return this; + } + public String getKey() { + return this.key; + } + + public MetaQueryUserMeta setValue(String value) { + this.value = value; + return this; + } + public String getValue() { + return this.value; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ObjectIdentifier.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ObjectIdentifier.java new file mode 100644 index 00000000..ed2a775d --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ObjectIdentifier.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ObjectIdentifier extends TeaModel { + @NameInMap("Key") + public String key; + + @NameInMap("VersionId") + public String versionId; + + public static ObjectIdentifier build(java.util.Map map) throws Exception { + ObjectIdentifier self = new ObjectIdentifier(); + return TeaModel.build(map, self); + } + + public ObjectIdentifier setKey(String key) { + this.key = key; + return this; + } + public String getKey() { + return this.key; + } + + public ObjectIdentifier setVersionId(String versionId) { + this.versionId = versionId; + return this; + } + public String getVersionId() { + return this.versionId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ObjectProcessConfiguration.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ObjectProcessConfiguration.java new file mode 100644 index 00000000..4357effe --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ObjectProcessConfiguration.java @@ -0,0 +1,170 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ObjectProcessConfiguration extends TeaModel { + @NameInMap("AllowedFeatures") + public ObjectProcessConfigurationAllowedFeatures allowedFeatures; + + @NameInMap("TransformationConfigurations") + public ObjectProcessConfigurationTransformationConfigurations transformationConfigurations; + + public static ObjectProcessConfiguration build(java.util.Map map) throws Exception { + ObjectProcessConfiguration self = new ObjectProcessConfiguration(); + return TeaModel.build(map, self); + } + + public ObjectProcessConfiguration setAllowedFeatures(ObjectProcessConfigurationAllowedFeatures allowedFeatures) { + this.allowedFeatures = allowedFeatures; + return this; + } + public ObjectProcessConfigurationAllowedFeatures getAllowedFeatures() { + return this.allowedFeatures; + } + + public ObjectProcessConfiguration setTransformationConfigurations(ObjectProcessConfigurationTransformationConfigurations transformationConfigurations) { + this.transformationConfigurations = transformationConfigurations; + return this; + } + public ObjectProcessConfigurationTransformationConfigurations getTransformationConfigurations() { + return this.transformationConfigurations; + } + + public static class ObjectProcessConfigurationAllowedFeatures extends TeaModel { + @NameInMap("AllowedFeature") + public java.util.List allowedFeature; + + public static ObjectProcessConfigurationAllowedFeatures build(java.util.Map map) throws Exception { + ObjectProcessConfigurationAllowedFeatures self = new ObjectProcessConfigurationAllowedFeatures(); + return TeaModel.build(map, self); + } + + public ObjectProcessConfigurationAllowedFeatures setAllowedFeature(java.util.List allowedFeature) { + this.allowedFeature = allowedFeature; + return this; + } + public java.util.List getAllowedFeature() { + return this.allowedFeature; + } + + } + + public static class ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationActions extends TeaModel { + @NameInMap("Action") + public java.util.List action; + + public static ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationActions build(java.util.Map map) throws Exception { + ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationActions self = new ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationActions(); + return TeaModel.build(map, self); + } + + public ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationActions setAction(java.util.List action) { + this.action = action; + return this; + } + public java.util.List getAction() { + return this.action; + } + + } + + public static class ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformationFunctionCompute extends TeaModel { + @NameInMap("FunctionArn") + public String functionArn; + + @NameInMap("FunctionAssumeRoleArn") + public String functionAssumeRoleArn; + + public static ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformationFunctionCompute build(java.util.Map map) throws Exception { + ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformationFunctionCompute self = new ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformationFunctionCompute(); + return TeaModel.build(map, self); + } + + public ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformationFunctionCompute setFunctionArn(String functionArn) { + this.functionArn = functionArn; + return this; + } + public String getFunctionArn() { + return this.functionArn; + } + + public ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformationFunctionCompute setFunctionAssumeRoleArn(String functionAssumeRoleArn) { + this.functionAssumeRoleArn = functionAssumeRoleArn; + return this; + } + public String getFunctionAssumeRoleArn() { + return this.functionAssumeRoleArn; + } + + } + + public static class ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformation extends TeaModel { + @NameInMap("FunctionCompute") + public ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformationFunctionCompute functionCompute; + + public static ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformation build(java.util.Map map) throws Exception { + ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformation self = new ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformation(); + return TeaModel.build(map, self); + } + + public ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformation setFunctionCompute(ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformationFunctionCompute functionCompute) { + this.functionCompute = functionCompute; + return this; + } + public ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformationFunctionCompute getFunctionCompute() { + return this.functionCompute; + } + + } + + public static class ObjectProcessConfigurationTransformationConfigurationsTransformationConfiguration extends TeaModel { + @NameInMap("Actions") + public ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationActions actions; + + @NameInMap("ContentTransformation") + public ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformation contentTransformation; + + public static ObjectProcessConfigurationTransformationConfigurationsTransformationConfiguration build(java.util.Map map) throws Exception { + ObjectProcessConfigurationTransformationConfigurationsTransformationConfiguration self = new ObjectProcessConfigurationTransformationConfigurationsTransformationConfiguration(); + return TeaModel.build(map, self); + } + + public ObjectProcessConfigurationTransformationConfigurationsTransformationConfiguration setActions(ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationActions actions) { + this.actions = actions; + return this; + } + public ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationActions getActions() { + return this.actions; + } + + public ObjectProcessConfigurationTransformationConfigurationsTransformationConfiguration setContentTransformation(ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformation contentTransformation) { + this.contentTransformation = contentTransformation; + return this; + } + public ObjectProcessConfigurationTransformationConfigurationsTransformationConfigurationContentTransformation getContentTransformation() { + return this.contentTransformation; + } + + } + + public static class ObjectProcessConfigurationTransformationConfigurations extends TeaModel { + @NameInMap("TransformationConfiguration") + public java.util.List transformationConfiguration; + + public static ObjectProcessConfigurationTransformationConfigurations build(java.util.Map map) throws Exception { + ObjectProcessConfigurationTransformationConfigurations self = new ObjectProcessConfigurationTransformationConfigurations(); + return TeaModel.build(map, self); + } + + public ObjectProcessConfigurationTransformationConfigurations setTransformationConfiguration(java.util.List transformationConfiguration) { + this.transformationConfiguration = transformationConfiguration; + return this; + } + public java.util.List getTransformationConfiguration() { + return this.transformationConfiguration; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ObjectSummary.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ObjectSummary.java new file mode 100644 index 00000000..65c6ec66 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ObjectSummary.java @@ -0,0 +1,100 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ObjectSummary extends TeaModel { + @NameInMap("ETag") + public String ETag; + + @NameInMap("Key") + public String key; + + @NameInMap("LastModified") + public String lastModified; + + @NameInMap("Owner") + public Owner owner; + + @NameInMap("ResoreInfo") + public String resoreInfo; + + @NameInMap("Size") + public Long size; + + @NameInMap("StorageClass") + public String storageClass; + + @NameInMap("Type") + public String type; + + public static ObjectSummary build(java.util.Map map) throws Exception { + ObjectSummary self = new ObjectSummary(); + return TeaModel.build(map, self); + } + + public ObjectSummary setETag(String ETag) { + this.ETag = ETag; + return this; + } + public String getETag() { + return this.ETag; + } + + public ObjectSummary setKey(String key) { + this.key = key; + return this; + } + public String getKey() { + return this.key; + } + + public ObjectSummary setLastModified(String lastModified) { + this.lastModified = lastModified; + return this; + } + public String getLastModified() { + return this.lastModified; + } + + public ObjectSummary setOwner(Owner owner) { + this.owner = owner; + return this; + } + public Owner getOwner() { + return this.owner; + } + + public ObjectSummary setResoreInfo(String resoreInfo) { + this.resoreInfo = resoreInfo; + return this; + } + public String getResoreInfo() { + return this.resoreInfo; + } + + public ObjectSummary setSize(Long size) { + this.size = size; + return this; + } + public Long getSize() { + return this.size; + } + + public ObjectSummary setStorageClass(String storageClass) { + this.storageClass = storageClass; + return this; + } + public String getStorageClass() { + return this.storageClass; + } + + public ObjectSummary setType(String type) { + this.type = type; + return this; + } + public String getType() { + return this.type; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ObjectVersion.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ObjectVersion.java new file mode 100644 index 00000000..3d452df8 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ObjectVersion.java @@ -0,0 +1,100 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ObjectVersion extends TeaModel { + @NameInMap("ETag") + public String ETag; + + @NameInMap("IsLatest") + public Boolean isLatest; + + @NameInMap("Key") + public String key; + + @NameInMap("LastModified") + public String lastModified; + + @NameInMap("Owner") + public Owner owner; + + @NameInMap("Size") + public Long size; + + @NameInMap("StorageClass") + public String storageClass; + + @NameInMap("VersionId") + public String versionId; + + public static ObjectVersion build(java.util.Map map) throws Exception { + ObjectVersion self = new ObjectVersion(); + return TeaModel.build(map, self); + } + + public ObjectVersion setETag(String ETag) { + this.ETag = ETag; + return this; + } + public String getETag() { + return this.ETag; + } + + public ObjectVersion setIsLatest(Boolean isLatest) { + this.isLatest = isLatest; + return this; + } + public Boolean getIsLatest() { + return this.isLatest; + } + + public ObjectVersion setKey(String key) { + this.key = key; + return this; + } + public String getKey() { + return this.key; + } + + public ObjectVersion setLastModified(String lastModified) { + this.lastModified = lastModified; + return this; + } + public String getLastModified() { + return this.lastModified; + } + + public ObjectVersion setOwner(Owner owner) { + this.owner = owner; + return this; + } + public Owner getOwner() { + return this.owner; + } + + public ObjectVersion setSize(Long size) { + this.size = size; + return this; + } + public Long getSize() { + return this.size; + } + + public ObjectVersion setStorageClass(String storageClass) { + this.storageClass = storageClass; + return this; + } + public String getStorageClass() { + return this.storageClass; + } + + public ObjectVersion setVersionId(String versionId) { + this.versionId = versionId; + return this; + } + public String getVersionId() { + return this.versionId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/OpenMetaQueryResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/OpenMetaQueryResponse.java new file mode 100644 index 00000000..0ed5054c --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/OpenMetaQueryResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class OpenMetaQueryResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static OpenMetaQueryResponse build(java.util.Map map) throws Exception { + OpenMetaQueryResponse self = new OpenMetaQueryResponse(); + return TeaModel.build(map, self); + } + + public OpenMetaQueryResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public OpenMetaQueryResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/OptionObjectHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/OptionObjectHeaders.java new file mode 100644 index 00000000..5d2b9f54 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/OptionObjectHeaders.java @@ -0,0 +1,65 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class OptionObjectHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + /** + *

The custom headers to be sent in the actual cross-origin request. You can configure multiple custom headers in a cross-origin request. Custom headers are separated by commas (,). By default, this header is left empty.

+ */ + @NameInMap("Access-Control-Request-Headers") + public String accessControlRequestHeaders; + + /** + *

The method to be used in the actual cross-origin request. You can specify only one Access-Control-Request-Method header in a cross-origin request. By default, this header is left empty.

+ */ + @NameInMap("Access-Control-Request-Method") + public String accessControlRequestMethod; + + /** + *

The origin of the request. It is used to identify a cross-origin request. You can specify only one Origin header in a cross-origin request. By default, this header is left empty.

+ */ + @NameInMap("Origin") + public String origin; + + public static OptionObjectHeaders build(java.util.Map map) throws Exception { + OptionObjectHeaders self = new OptionObjectHeaders(); + return TeaModel.build(map, self); + } + + public OptionObjectHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public OptionObjectHeaders setAccessControlRequestHeaders(String accessControlRequestHeaders) { + this.accessControlRequestHeaders = accessControlRequestHeaders; + return this; + } + public String getAccessControlRequestHeaders() { + return this.accessControlRequestHeaders; + } + + public OptionObjectHeaders setAccessControlRequestMethod(String accessControlRequestMethod) { + this.accessControlRequestMethod = accessControlRequestMethod; + return this; + } + public String getAccessControlRequestMethod() { + return this.accessControlRequestMethod; + } + + public OptionObjectHeaders setOrigin(String origin) { + this.origin = origin; + return this; + } + public String getOrigin() { + return this.origin; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/OptionObjectResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/OptionObjectResponse.java new file mode 100644 index 00000000..15cb9664 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/OptionObjectResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class OptionObjectResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static OptionObjectResponse build(java.util.Map map) throws Exception { + OptionObjectResponse self = new OptionObjectResponse(); + return TeaModel.build(map, self); + } + + public OptionObjectResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public OptionObjectResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/OutputSerialization.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/OutputSerialization.java new file mode 100644 index 00000000..9e027634 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/OutputSerialization.java @@ -0,0 +1,78 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class OutputSerialization extends TeaModel { + @NameInMap("CSV") + public CSVOutput CSV; + + @NameInMap("EnablePayloadCrc") + public Boolean enablePayloadCrc; + + @NameInMap("JSON") + public JSONOutput JSON; + + @NameInMap("KeepAllColumns") + public Boolean keepAllColumns; + + @NameInMap("OutputHeader") + public Boolean outputHeader; + + @NameInMap("OutputRawData") + public Boolean outputRawData; + + public static OutputSerialization build(java.util.Map map) throws Exception { + OutputSerialization self = new OutputSerialization(); + return TeaModel.build(map, self); + } + + public OutputSerialization setCSV(CSVOutput CSV) { + this.CSV = CSV; + return this; + } + public CSVOutput getCSV() { + return this.CSV; + } + + public OutputSerialization setEnablePayloadCrc(Boolean enablePayloadCrc) { + this.enablePayloadCrc = enablePayloadCrc; + return this; + } + public Boolean getEnablePayloadCrc() { + return this.enablePayloadCrc; + } + + public OutputSerialization setJSON(JSONOutput JSON) { + this.JSON = JSON; + return this; + } + public JSONOutput getJSON() { + return this.JSON; + } + + public OutputSerialization setKeepAllColumns(Boolean keepAllColumns) { + this.keepAllColumns = keepAllColumns; + return this; + } + public Boolean getKeepAllColumns() { + return this.keepAllColumns; + } + + public OutputSerialization setOutputHeader(Boolean outputHeader) { + this.outputHeader = outputHeader; + return this; + } + public Boolean getOutputHeader() { + return this.outputHeader; + } + + public OutputSerialization setOutputRawData(Boolean outputRawData) { + this.outputRawData = outputRawData; + return this; + } + public Boolean getOutputRawData() { + return this.outputRawData; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Owner.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Owner.java new file mode 100644 index 00000000..76f24f95 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Owner.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class Owner extends TeaModel { + @NameInMap("DisplayName") + public String displayName; + + @NameInMap("ID") + public String ID; + + public static Owner build(java.util.Map map) throws Exception { + Owner self = new Owner(); + return TeaModel.build(map, self); + } + + public Owner setDisplayName(String displayName) { + this.displayName = displayName; + return this; + } + public String getDisplayName() { + return this.displayName; + } + + public Owner setID(String ID) { + this.ID = ID; + return this; + } + public String getID() { + return this.ID; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Part.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Part.java new file mode 100644 index 00000000..8066f107 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Part.java @@ -0,0 +1,56 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class Part extends TeaModel { + @NameInMap("ETag") + public String ETag; + + @NameInMap("LastModified") + public String lastModified; + + @NameInMap("PartNumber") + public Long partNumber; + + @NameInMap("Size") + public Long size; + + public static Part build(java.util.Map map) throws Exception { + Part self = new Part(); + return TeaModel.build(map, self); + } + + public Part setETag(String ETag) { + this.ETag = ETag; + return this; + } + public String getETag() { + return this.ETag; + } + + public Part setLastModified(String lastModified) { + this.lastModified = lastModified; + return this; + } + public String getLastModified() { + return this.lastModified; + } + + public Part setPartNumber(Long partNumber) { + this.partNumber = partNumber; + return this; + } + public Long getPartNumber() { + return this.partNumber; + } + + public Part setSize(Long size) { + this.size = size; + return this; + } + public Long getSize() { + return this.size; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PostObjectRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PostObjectRequest.java new file mode 100644 index 00000000..8f440890 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PostObjectRequest.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PostObjectRequest extends TeaModel { + @NameInMap("key") + public String key; + + public static PostObjectRequest build(java.util.Map map) throws Exception { + PostObjectRequest self = new PostObjectRequest(); + return TeaModel.build(map, self); + } + + public PostObjectRequest setKey(String key) { + this.key = key; + return this; + } + public String getKey() { + return this.key; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PostObjectResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PostObjectResponse.java new file mode 100644 index 00000000..66c6f8b5 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PostObjectResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PostObjectResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PostObjectResponse build(java.util.Map map) throws Exception { + PostObjectResponse self = new PostObjectResponse(); + return TeaModel.build(map, self); + } + + public PostObjectResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PostObjectResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PostVodPlaylistRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PostVodPlaylistRequest.java new file mode 100644 index 00000000..45e44059 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PostVodPlaylistRequest.java @@ -0,0 +1,42 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PostVodPlaylistRequest extends TeaModel { + /** + *

The end time of the time range during which the TS files that you want to query are generated,

+ *

which is a Unix timestamp.

+ *

> The value of EndTime must be later than the value of StartTime. The duration between EndTime and StartTime must be shorter than one day.

+ */ + @NameInMap("endTime") + public String endTime; + + /** + *

The start time of the time range during which the TS files that you want to query are generated, which is a Unix timestamp.

+ */ + @NameInMap("startTime") + public String startTime; + + public static PostVodPlaylistRequest build(java.util.Map map) throws Exception { + PostVodPlaylistRequest self = new PostVodPlaylistRequest(); + return TeaModel.build(map, self); + } + + public PostVodPlaylistRequest setEndTime(String endTime) { + this.endTime = endTime; + return this; + } + public String getEndTime() { + return this.endTime; + } + + public PostVodPlaylistRequest setStartTime(String startTime) { + this.startTime = startTime; + return this; + } + public String getStartTime() { + return this.startTime; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PostVodPlaylistResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PostVodPlaylistResponse.java new file mode 100644 index 00000000..1cb74856 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PostVodPlaylistResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PostVodPlaylistResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PostVodPlaylistResponse build(java.util.Map map) throws Exception { + PostVodPlaylistResponse self = new PostVodPlaylistResponse(); + return TeaModel.build(map, self); + } + + public PostVodPlaylistResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PostVodPlaylistResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PublicAccessBlockConfiguration.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PublicAccessBlockConfiguration.java new file mode 100644 index 00000000..ab5e74e8 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PublicAccessBlockConfiguration.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PublicAccessBlockConfiguration extends TeaModel { + @NameInMap("BlockPublicAccess") + public Boolean blockPublicAccess; + + public static PublicAccessBlockConfiguration build(java.util.Map map) throws Exception { + PublicAccessBlockConfiguration self = new PublicAccessBlockConfiguration(); + return TeaModel.build(map, self); + } + + public PublicAccessBlockConfiguration setBlockPublicAccess(Boolean blockPublicAccess) { + this.blockPublicAccess = blockPublicAccess; + return this; + } + public Boolean getBlockPublicAccess() { + return this.blockPublicAccess; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointConfigForObjectProcessHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointConfigForObjectProcessHeaders.java new file mode 100644 index 00000000..79b45a0e --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointConfigForObjectProcessHeaders.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutAccessPointConfigForObjectProcessHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + @NameInMap("x-oss-access-point-for-object-process-name") + public String xOssAccessPointForObjectProcessName; + + public static PutAccessPointConfigForObjectProcessHeaders build(java.util.Map map) throws Exception { + PutAccessPointConfigForObjectProcessHeaders self = new PutAccessPointConfigForObjectProcessHeaders(); + return TeaModel.build(map, self); + } + + public PutAccessPointConfigForObjectProcessHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public PutAccessPointConfigForObjectProcessHeaders setXOssAccessPointForObjectProcessName(String xOssAccessPointForObjectProcessName) { + this.xOssAccessPointForObjectProcessName = xOssAccessPointForObjectProcessName; + return this; + } + public String getXOssAccessPointForObjectProcessName() { + return this.xOssAccessPointForObjectProcessName; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointConfigForObjectProcessRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointConfigForObjectProcessRequest.java new file mode 100644 index 00000000..8330c877 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointConfigForObjectProcessRequest.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutAccessPointConfigForObjectProcessRequest extends TeaModel { + @NameInMap("ObjectProcessConfiguration") + public ObjectProcessConfiguration objectProcessConfiguration; + + public static PutAccessPointConfigForObjectProcessRequest build(java.util.Map map) throws Exception { + PutAccessPointConfigForObjectProcessRequest self = new PutAccessPointConfigForObjectProcessRequest(); + return TeaModel.build(map, self); + } + + public PutAccessPointConfigForObjectProcessRequest setObjectProcessConfiguration(ObjectProcessConfiguration objectProcessConfiguration) { + this.objectProcessConfiguration = objectProcessConfiguration; + return this; + } + public ObjectProcessConfiguration getObjectProcessConfiguration() { + return this.objectProcessConfiguration; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointConfigForObjectProcessResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointConfigForObjectProcessResponse.java new file mode 100644 index 00000000..eae5e21e --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointConfigForObjectProcessResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutAccessPointConfigForObjectProcessResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public PutAccessPointConfigForObjectProcessResponseBody body; + + public static PutAccessPointConfigForObjectProcessResponse build(java.util.Map map) throws Exception { + PutAccessPointConfigForObjectProcessResponse self = new PutAccessPointConfigForObjectProcessResponse(); + return TeaModel.build(map, self); + } + + public PutAccessPointConfigForObjectProcessResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutAccessPointConfigForObjectProcessResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public PutAccessPointConfigForObjectProcessResponse setBody(PutAccessPointConfigForObjectProcessResponseBody body) { + this.body = body; + return this; + } + public PutAccessPointConfigForObjectProcessResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointConfigForObjectProcessResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointConfigForObjectProcessResponseBody.java new file mode 100644 index 00000000..cd939ef5 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointConfigForObjectProcessResponseBody.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutAccessPointConfigForObjectProcessResponseBody extends TeaModel { + @NameInMap("ObjectProcessConfiguration") + public ObjectProcessConfiguration objectProcessConfiguration; + + public static PutAccessPointConfigForObjectProcessResponseBody build(java.util.Map map) throws Exception { + PutAccessPointConfigForObjectProcessResponseBody self = new PutAccessPointConfigForObjectProcessResponseBody(); + return TeaModel.build(map, self); + } + + public PutAccessPointConfigForObjectProcessResponseBody setObjectProcessConfiguration(ObjectProcessConfiguration objectProcessConfiguration) { + this.objectProcessConfiguration = objectProcessConfiguration; + return this; + } + public ObjectProcessConfiguration getObjectProcessConfiguration() { + return this.objectProcessConfiguration; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPolicyForObjectProcessHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPolicyForObjectProcessHeaders.java new file mode 100644 index 00000000..0437e824 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPolicyForObjectProcessHeaders.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutAccessPointPolicyForObjectProcessHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + @NameInMap("x-oss-access-point-for-object-process-name") + public String xOssAccessPointForObjectProcessName; + + public static PutAccessPointPolicyForObjectProcessHeaders build(java.util.Map map) throws Exception { + PutAccessPointPolicyForObjectProcessHeaders self = new PutAccessPointPolicyForObjectProcessHeaders(); + return TeaModel.build(map, self); + } + + public PutAccessPointPolicyForObjectProcessHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public PutAccessPointPolicyForObjectProcessHeaders setXOssAccessPointForObjectProcessName(String xOssAccessPointForObjectProcessName) { + this.xOssAccessPointForObjectProcessName = xOssAccessPointForObjectProcessName; + return this; + } + public String getXOssAccessPointForObjectProcessName() { + return this.xOssAccessPointForObjectProcessName; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPolicyForObjectProcessRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPolicyForObjectProcessRequest.java new file mode 100644 index 00000000..e79cefa0 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPolicyForObjectProcessRequest.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutAccessPointPolicyForObjectProcessRequest extends TeaModel { + @NameInMap("body") + public String body; + + public static PutAccessPointPolicyForObjectProcessRequest build(java.util.Map map) throws Exception { + PutAccessPointPolicyForObjectProcessRequest self = new PutAccessPointPolicyForObjectProcessRequest(); + return TeaModel.build(map, self); + } + + public PutAccessPointPolicyForObjectProcessRequest setBody(String body) { + this.body = body; + return this; + } + public String getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPolicyForObjectProcessResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPolicyForObjectProcessResponse.java new file mode 100644 index 00000000..d34b668e --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPolicyForObjectProcessResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutAccessPointPolicyForObjectProcessResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutAccessPointPolicyForObjectProcessResponse build(java.util.Map map) throws Exception { + PutAccessPointPolicyForObjectProcessResponse self = new PutAccessPointPolicyForObjectProcessResponse(); + return TeaModel.build(map, self); + } + + public PutAccessPointPolicyForObjectProcessResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutAccessPointPolicyForObjectProcessResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPolicyHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPolicyHeaders.java new file mode 100644 index 00000000..37d29d5c --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPolicyHeaders.java @@ -0,0 +1,37 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutAccessPointPolicyHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + /** + *

The name of the access point.

+ */ + @NameInMap("x-oss-access-point-name") + public String xOssAccessPointName; + + public static PutAccessPointPolicyHeaders build(java.util.Map map) throws Exception { + PutAccessPointPolicyHeaders self = new PutAccessPointPolicyHeaders(); + return TeaModel.build(map, self); + } + + public PutAccessPointPolicyHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public PutAccessPointPolicyHeaders setXOssAccessPointName(String xOssAccessPointName) { + this.xOssAccessPointName = xOssAccessPointName; + return this; + } + public String getXOssAccessPointName() { + return this.xOssAccessPointName; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPolicyRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPolicyRequest.java new file mode 100644 index 00000000..960b24ec --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPolicyRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutAccessPointPolicyRequest extends TeaModel { + /** + *

The configurations of the access point policy.

+ */ + @NameInMap("body") + public String body; + + public static PutAccessPointPolicyRequest build(java.util.Map map) throws Exception { + PutAccessPointPolicyRequest self = new PutAccessPointPolicyRequest(); + return TeaModel.build(map, self); + } + + public PutAccessPointPolicyRequest setBody(String body) { + this.body = body; + return this; + } + public String getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPolicyResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPolicyResponse.java new file mode 100644 index 00000000..6fd30e9e --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPolicyResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutAccessPointPolicyResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutAccessPointPolicyResponse build(java.util.Map map) throws Exception { + PutAccessPointPolicyResponse self = new PutAccessPointPolicyResponse(); + return TeaModel.build(map, self); + } + + public PutAccessPointPolicyResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutAccessPointPolicyResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPublicAccessBlockRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPublicAccessBlockRequest.java new file mode 100644 index 00000000..ee5506d4 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPublicAccessBlockRequest.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutAccessPointPublicAccessBlockRequest extends TeaModel { + @NameInMap("body") + public PublicAccessBlockConfiguration body; + + @NameInMap("x-oss-access-point-name") + public String xOssAccessPointName; + + public static PutAccessPointPublicAccessBlockRequest build(java.util.Map map) throws Exception { + PutAccessPointPublicAccessBlockRequest self = new PutAccessPointPublicAccessBlockRequest(); + return TeaModel.build(map, self); + } + + public PutAccessPointPublicAccessBlockRequest setBody(PublicAccessBlockConfiguration body) { + this.body = body; + return this; + } + public PublicAccessBlockConfiguration getBody() { + return this.body; + } + + public PutAccessPointPublicAccessBlockRequest setXOssAccessPointName(String xOssAccessPointName) { + this.xOssAccessPointName = xOssAccessPointName; + return this; + } + public String getXOssAccessPointName() { + return this.xOssAccessPointName; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPublicAccessBlockResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPublicAccessBlockResponse.java new file mode 100644 index 00000000..52f4866b --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutAccessPointPublicAccessBlockResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutAccessPointPublicAccessBlockResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutAccessPointPublicAccessBlockResponse build(java.util.Map map) throws Exception { + PutAccessPointPublicAccessBlockResponse self = new PutAccessPointPublicAccessBlockResponse(); + return TeaModel.build(map, self); + } + + public PutAccessPointPublicAccessBlockResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutAccessPointPublicAccessBlockResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketAccessMonitorRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketAccessMonitorRequest.java new file mode 100644 index 00000000..adb6fb41 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketAccessMonitorRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketAccessMonitorRequest extends TeaModel { + /** + *

The access tracking configurations of the bucket.

+ */ + @NameInMap("body") + public AccessMonitorConfiguration body; + + public static PutBucketAccessMonitorRequest build(java.util.Map map) throws Exception { + PutBucketAccessMonitorRequest self = new PutBucketAccessMonitorRequest(); + return TeaModel.build(map, self); + } + + public PutBucketAccessMonitorRequest setBody(AccessMonitorConfiguration body) { + this.body = body; + return this; + } + public AccessMonitorConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketAccessMonitorResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketAccessMonitorResponse.java new file mode 100644 index 00000000..354ad89a --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketAccessMonitorResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketAccessMonitorResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutBucketAccessMonitorResponse build(java.util.Map map) throws Exception { + PutBucketAccessMonitorResponse self = new PutBucketAccessMonitorResponse(); + return TeaModel.build(map, self); + } + + public PutBucketAccessMonitorResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutBucketAccessMonitorResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketAclHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketAclHeaders.java new file mode 100644 index 00000000..7f50818e --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketAclHeaders.java @@ -0,0 +1,42 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketAclHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + /** + *

The ACL that you want to configure or modify for the bucket. The x-oss-acl header is included in PutBucketAcl requests to configure or modify the ACL of the bucket. If this header is not included, the ACL configurations do not take effect.\

+ *

Valid values:

+ *
+ *

* public-read-write: All users can read and write objects in the bucket. Exercise caution when you set the value to public-read-write.

+ *

* public-read: Only the owner and authorized users of the bucket can read and write objects in the bucket. Other users can only read objects in the bucket. Exercise caution when you set the value to public-read.

+ *

* private: Only the owner and authorized users of this bucket can read and write objects in the bucket. Other users cannot access objects in the bucket.

+ */ + @NameInMap("x-oss-acl") + public String xOssAcl; + + public static PutBucketAclHeaders build(java.util.Map map) throws Exception { + PutBucketAclHeaders self = new PutBucketAclHeaders(); + return TeaModel.build(map, self); + } + + public PutBucketAclHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public PutBucketAclHeaders setXOssAcl(String xOssAcl) { + this.xOssAcl = xOssAcl; + return this; + } + public String getXOssAcl() { + return this.xOssAcl; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketAclResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketAclResponse.java new file mode 100644 index 00000000..f77976dd --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketAclResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketAclResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutBucketAclResponse build(java.util.Map map) throws Exception { + PutBucketAclResponse self = new PutBucketAclResponse(); + return TeaModel.build(map, self); + } + + public PutBucketAclResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutBucketAclResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketArchiveDirectReadRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketArchiveDirectReadRequest.java new file mode 100644 index 00000000..0a865e3a --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketArchiveDirectReadRequest.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketArchiveDirectReadRequest extends TeaModel { + @NameInMap("body") + public ArchiveDirectReadConfiguration body; + + public static PutBucketArchiveDirectReadRequest build(java.util.Map map) throws Exception { + PutBucketArchiveDirectReadRequest self = new PutBucketArchiveDirectReadRequest(); + return TeaModel.build(map, self); + } + + public PutBucketArchiveDirectReadRequest setBody(ArchiveDirectReadConfiguration body) { + this.body = body; + return this; + } + public ArchiveDirectReadConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketArchiveDirectReadResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketArchiveDirectReadResponse.java new file mode 100644 index 00000000..6275065f --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketArchiveDirectReadResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketArchiveDirectReadResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutBucketArchiveDirectReadResponse build(java.util.Map map) throws Exception { + PutBucketArchiveDirectReadResponse self = new PutBucketArchiveDirectReadResponse(); + return TeaModel.build(map, self); + } + + public PutBucketArchiveDirectReadResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutBucketArchiveDirectReadResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketCallbackPolicyResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketCallbackPolicyResponse.java new file mode 100644 index 00000000..5005e67c --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketCallbackPolicyResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketCallbackPolicyResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public CallbackPolicy body; + + public static PutBucketCallbackPolicyResponse build(java.util.Map map) throws Exception { + PutBucketCallbackPolicyResponse self = new PutBucketCallbackPolicyResponse(); + return TeaModel.build(map, self); + } + + public PutBucketCallbackPolicyResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutBucketCallbackPolicyResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public PutBucketCallbackPolicyResponse setBody(CallbackPolicy body) { + this.body = body; + return this; + } + public CallbackPolicy getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketCorsRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketCorsRequest.java new file mode 100644 index 00000000..3825086f --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketCorsRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketCorsRequest extends TeaModel { + /** + *

The container that stores the information about CORS rules of the bucket.

+ */ + @NameInMap("body") + public CORSConfiguration body; + + public static PutBucketCorsRequest build(java.util.Map map) throws Exception { + PutBucketCorsRequest self = new PutBucketCorsRequest(); + return TeaModel.build(map, self); + } + + public PutBucketCorsRequest setBody(CORSConfiguration body) { + this.body = body; + return this; + } + public CORSConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketCorsResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketCorsResponse.java new file mode 100644 index 00000000..73a4d8ec --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketCorsResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketCorsResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutBucketCorsResponse build(java.util.Map map) throws Exception { + PutBucketCorsResponse self = new PutBucketCorsResponse(); + return TeaModel.build(map, self); + } + + public PutBucketCorsResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutBucketCorsResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketEncryptionRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketEncryptionRequest.java new file mode 100644 index 00000000..5e8bedcd --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketEncryptionRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketEncryptionRequest extends TeaModel { + /** + *

The container that stores server-side encryption rules.

+ */ + @NameInMap("body") + public ServerSideEncryptionRule body; + + public static PutBucketEncryptionRequest build(java.util.Map map) throws Exception { + PutBucketEncryptionRequest self = new PutBucketEncryptionRequest(); + return TeaModel.build(map, self); + } + + public PutBucketEncryptionRequest setBody(ServerSideEncryptionRule body) { + this.body = body; + return this; + } + public ServerSideEncryptionRule getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketEncryptionResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketEncryptionResponse.java new file mode 100644 index 00000000..5b244ab7 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketEncryptionResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketEncryptionResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutBucketEncryptionResponse build(java.util.Map map) throws Exception { + PutBucketEncryptionResponse self = new PutBucketEncryptionResponse(); + return TeaModel.build(map, self); + } + + public PutBucketEncryptionResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutBucketEncryptionResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketHeaders.java new file mode 100644 index 00000000..58606a63 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketHeaders.java @@ -0,0 +1,64 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + /** + *

The access control list (ACL) of the bucket to be created. Valid values:

+ *
+ *

* public-read-write

+ *

* public-read

+ *

* private (default)

+ *
+ *

For more information, see [Bucket ACL](~~31843~~).

+ */ + @NameInMap("x-oss-acl") + public String xOssAcl; + + /** + *

The ID of the resource group.

+ *
+ *

* If you include the header in the request and specify the ID of the resource group, the bucket that you create belongs to the resource group. If the specified resource group ID is rg-default-id, the bucket that you create belongs to the default resource group.

+ *

* If you do not include the header in the request, the bucket that you create belongs to the default resource group.

+ *
+ *

You can obtain the ID of a resource group in the Resource Management console or by calling the ListResourceGroups operation. For more information, see [View basic information of a resource group](~~151181~~) and [ListResourceGroups](~~158855~~).

+ *
+ *

> You cannot configure a resource group for an Anywhere Bucket.

+ */ + @NameInMap("x-oss-resource-group-id") + public String xOssResourceGroupId; + + public static PutBucketHeaders build(java.util.Map map) throws Exception { + PutBucketHeaders self = new PutBucketHeaders(); + return TeaModel.build(map, self); + } + + public PutBucketHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public PutBucketHeaders setXOssAcl(String xOssAcl) { + this.xOssAcl = xOssAcl; + return this; + } + public String getXOssAcl() { + return this.xOssAcl; + } + + public PutBucketHeaders setXOssResourceGroupId(String xOssResourceGroupId) { + this.xOssResourceGroupId = xOssResourceGroupId; + return this; + } + public String getXOssResourceGroupId() { + return this.xOssResourceGroupId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketHttpsConfigRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketHttpsConfigRequest.java new file mode 100644 index 00000000..93c8be2b --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketHttpsConfigRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketHttpsConfigRequest extends TeaModel { + /** + *

The container that stores HTTPS configurations.

+ */ + @NameInMap("body") + public HttpsConfiguration body; + + public static PutBucketHttpsConfigRequest build(java.util.Map map) throws Exception { + PutBucketHttpsConfigRequest self = new PutBucketHttpsConfigRequest(); + return TeaModel.build(map, self); + } + + public PutBucketHttpsConfigRequest setBody(HttpsConfiguration body) { + this.body = body; + return this; + } + public HttpsConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketHttpsConfigResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketHttpsConfigResponse.java new file mode 100644 index 00000000..c71bb9d7 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketHttpsConfigResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketHttpsConfigResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutBucketHttpsConfigResponse build(java.util.Map map) throws Exception { + PutBucketHttpsConfigResponse self = new PutBucketHttpsConfigResponse(); + return TeaModel.build(map, self); + } + + public PutBucketHttpsConfigResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutBucketHttpsConfigResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketInventoryRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketInventoryRequest.java new file mode 100644 index 00000000..ed7f0b66 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketInventoryRequest.java @@ -0,0 +1,40 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketInventoryRequest extends TeaModel { + /** + *

The container that stores the configurations of the inventory.

+ */ + @NameInMap("body") + public InventoryConfiguration body; + + /** + *

The name of the inventory.

+ */ + @NameInMap("inventoryId") + public String inventoryId; + + public static PutBucketInventoryRequest build(java.util.Map map) throws Exception { + PutBucketInventoryRequest self = new PutBucketInventoryRequest(); + return TeaModel.build(map, self); + } + + public PutBucketInventoryRequest setBody(InventoryConfiguration body) { + this.body = body; + return this; + } + public InventoryConfiguration getBody() { + return this.body; + } + + public PutBucketInventoryRequest setInventoryId(String inventoryId) { + this.inventoryId = inventoryId; + return this; + } + public String getInventoryId() { + return this.inventoryId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketInventoryResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketInventoryResponse.java new file mode 100644 index 00000000..d60bf330 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketInventoryResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketInventoryResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutBucketInventoryResponse build(java.util.Map map) throws Exception { + PutBucketInventoryResponse self = new PutBucketInventoryResponse(); + return TeaModel.build(map, self); + } + + public PutBucketInventoryResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutBucketInventoryResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketLifecycleRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketLifecycleRequest.java new file mode 100644 index 00000000..e17dfbd2 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketLifecycleRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketLifecycleRequest extends TeaModel { + /** + *

The container that stores the lifecycle configurations. The container can contain up to 1,000 lifecycle rules.

+ */ + @NameInMap("body") + public LifecycleConfiguration body; + + public static PutBucketLifecycleRequest build(java.util.Map map) throws Exception { + PutBucketLifecycleRequest self = new PutBucketLifecycleRequest(); + return TeaModel.build(map, self); + } + + public PutBucketLifecycleRequest setBody(LifecycleConfiguration body) { + this.body = body; + return this; + } + public LifecycleConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketLifecycleResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketLifecycleResponse.java new file mode 100644 index 00000000..157bbcef --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketLifecycleResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketLifecycleResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutBucketLifecycleResponse build(java.util.Map map) throws Exception { + PutBucketLifecycleResponse self = new PutBucketLifecycleResponse(); + return TeaModel.build(map, self); + } + + public PutBucketLifecycleResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutBucketLifecycleResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketLoggingRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketLoggingRequest.java new file mode 100644 index 00000000..ebca0142 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketLoggingRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketLoggingRequest extends TeaModel { + /** + *

The container that stores the information about the logging status.

+ */ + @NameInMap("body") + public BucketLoggingStatus body; + + public static PutBucketLoggingRequest build(java.util.Map map) throws Exception { + PutBucketLoggingRequest self = new PutBucketLoggingRequest(); + return TeaModel.build(map, self); + } + + public PutBucketLoggingRequest setBody(BucketLoggingStatus body) { + this.body = body; + return this; + } + public BucketLoggingStatus getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketLoggingResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketLoggingResponse.java new file mode 100644 index 00000000..258d4524 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketLoggingResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketLoggingResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutBucketLoggingResponse build(java.util.Map map) throws Exception { + PutBucketLoggingResponse self = new PutBucketLoggingResponse(); + return TeaModel.build(map, self); + } + + public PutBucketLoggingResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutBucketLoggingResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketPolicyRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketPolicyRequest.java new file mode 100644 index 00000000..7d2db0cf --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketPolicyRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketPolicyRequest extends TeaModel { + /** + *

The request parameters.

+ */ + @NameInMap("body") + public String body; + + public static PutBucketPolicyRequest build(java.util.Map map) throws Exception { + PutBucketPolicyRequest self = new PutBucketPolicyRequest(); + return TeaModel.build(map, self); + } + + public PutBucketPolicyRequest setBody(String body) { + this.body = body; + return this; + } + public String getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketPolicyResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketPolicyResponse.java new file mode 100644 index 00000000..86795f79 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketPolicyResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketPolicyResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutBucketPolicyResponse build(java.util.Map map) throws Exception { + PutBucketPolicyResponse self = new PutBucketPolicyResponse(); + return TeaModel.build(map, self); + } + + public PutBucketPolicyResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutBucketPolicyResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketPublicAccessBlockRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketPublicAccessBlockRequest.java new file mode 100644 index 00000000..7a8e3d12 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketPublicAccessBlockRequest.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketPublicAccessBlockRequest extends TeaModel { + @NameInMap("body") + public PublicAccessBlockConfiguration body; + + public static PutBucketPublicAccessBlockRequest build(java.util.Map map) throws Exception { + PutBucketPublicAccessBlockRequest self = new PutBucketPublicAccessBlockRequest(); + return TeaModel.build(map, self); + } + + public PutBucketPublicAccessBlockRequest setBody(PublicAccessBlockConfiguration body) { + this.body = body; + return this; + } + public PublicAccessBlockConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketPublicAccessBlockResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketPublicAccessBlockResponse.java new file mode 100644 index 00000000..155bc3ac --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketPublicAccessBlockResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketPublicAccessBlockResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutBucketPublicAccessBlockResponse build(java.util.Map map) throws Exception { + PutBucketPublicAccessBlockResponse self = new PutBucketPublicAccessBlockResponse(); + return TeaModel.build(map, self); + } + + public PutBucketPublicAccessBlockResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutBucketPublicAccessBlockResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRedundancyTypeRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRedundancyTypeRequest.java new file mode 100644 index 00000000..a7d083ae --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRedundancyTypeRequest.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketRedundancyTypeRequest extends TeaModel { + @NameInMap("Type") + public String type; + + public static PutBucketRedundancyTypeRequest build(java.util.Map map) throws Exception { + PutBucketRedundancyTypeRequest self = new PutBucketRedundancyTypeRequest(); + return TeaModel.build(map, self); + } + + public PutBucketRedundancyTypeRequest setType(String type) { + this.type = type; + return this; + } + public String getType() { + return this.type; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRedundancyTypeResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRedundancyTypeResponse.java new file mode 100644 index 00000000..1a82d8e3 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRedundancyTypeResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketRedundancyTypeResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutBucketRedundancyTypeResponse build(java.util.Map map) throws Exception { + PutBucketRedundancyTypeResponse self = new PutBucketRedundancyTypeResponse(); + return TeaModel.build(map, self); + } + + public PutBucketRedundancyTypeResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutBucketRedundancyTypeResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRefererRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRefererRequest.java new file mode 100644 index 00000000..cc1de450 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRefererRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketRefererRequest extends TeaModel { + /** + *

The container that stores the Referer configurations.

+ */ + @NameInMap("body") + public RefererConfiguration body; + + public static PutBucketRefererRequest build(java.util.Map map) throws Exception { + PutBucketRefererRequest self = new PutBucketRefererRequest(); + return TeaModel.build(map, self); + } + + public PutBucketRefererRequest setBody(RefererConfiguration body) { + this.body = body; + return this; + } + public RefererConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRefererResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRefererResponse.java new file mode 100644 index 00000000..8acaa083 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRefererResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketRefererResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutBucketRefererResponse build(java.util.Map map) throws Exception { + PutBucketRefererResponse self = new PutBucketRefererResponse(); + return TeaModel.build(map, self); + } + + public PutBucketRefererResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutBucketRefererResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketReplicationRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketReplicationRequest.java new file mode 100644 index 00000000..3671eebb --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketReplicationRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketReplicationRequest extends TeaModel { + /** + *

The configurations for data replication.

+ */ + @NameInMap("body") + public ReplicationConfiguration body; + + public static PutBucketReplicationRequest build(java.util.Map map) throws Exception { + PutBucketReplicationRequest self = new PutBucketReplicationRequest(); + return TeaModel.build(map, self); + } + + public PutBucketReplicationRequest setBody(ReplicationConfiguration body) { + this.body = body; + return this; + } + public ReplicationConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketReplicationResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketReplicationResponse.java new file mode 100644 index 00000000..c9cc5737 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketReplicationResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketReplicationResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutBucketReplicationResponse build(java.util.Map map) throws Exception { + PutBucketReplicationResponse self = new PutBucketReplicationResponse(); + return TeaModel.build(map, self); + } + + public PutBucketReplicationResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutBucketReplicationResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRequest.java new file mode 100644 index 00000000..b6fc05e8 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketRequest extends TeaModel { + /** + *

The container that stores the information about the bucket to be created.

+ */ + @NameInMap("body") + public CreateBucketConfiguration body; + + public static PutBucketRequest build(java.util.Map map) throws Exception { + PutBucketRequest self = new PutBucketRequest(); + return TeaModel.build(map, self); + } + + public PutBucketRequest setBody(CreateBucketConfiguration body) { + this.body = body; + return this; + } + public CreateBucketConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRequestPaymentRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRequestPaymentRequest.java new file mode 100644 index 00000000..a0a8804a --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRequestPaymentRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketRequestPaymentRequest extends TeaModel { + /** + *

The container that stores pay-by-requester configurations.

+ */ + @NameInMap("body") + public RequestPaymentConfiguration body; + + public static PutBucketRequestPaymentRequest build(java.util.Map map) throws Exception { + PutBucketRequestPaymentRequest self = new PutBucketRequestPaymentRequest(); + return TeaModel.build(map, self); + } + + public PutBucketRequestPaymentRequest setBody(RequestPaymentConfiguration body) { + this.body = body; + return this; + } + public RequestPaymentConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRequestPaymentResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRequestPaymentResponse.java new file mode 100644 index 00000000..f2ce6323 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRequestPaymentResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketRequestPaymentResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutBucketRequestPaymentResponse build(java.util.Map map) throws Exception { + PutBucketRequestPaymentResponse self = new PutBucketRequestPaymentResponse(); + return TeaModel.build(map, self); + } + + public PutBucketRequestPaymentResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutBucketRequestPaymentResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketResourceGroupRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketResourceGroupRequest.java new file mode 100644 index 00000000..56bceb0d --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketResourceGroupRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketResourceGroupRequest extends TeaModel { + /** + *

The container that stores the ID of the resource group.

+ */ + @NameInMap("body") + public BucketResourceGroupConfiguration body; + + public static PutBucketResourceGroupRequest build(java.util.Map map) throws Exception { + PutBucketResourceGroupRequest self = new PutBucketResourceGroupRequest(); + return TeaModel.build(map, self); + } + + public PutBucketResourceGroupRequest setBody(BucketResourceGroupConfiguration body) { + this.body = body; + return this; + } + public BucketResourceGroupConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketResourceGroupResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketResourceGroupResponse.java new file mode 100644 index 00000000..e808ad1c --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketResourceGroupResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketResourceGroupResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutBucketResourceGroupResponse build(java.util.Map map) throws Exception { + PutBucketResourceGroupResponse self = new PutBucketResourceGroupResponse(); + return TeaModel.build(map, self); + } + + public PutBucketResourceGroupResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutBucketResourceGroupResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketResponse.java new file mode 100644 index 00000000..e9c09514 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutBucketResponse build(java.util.Map map) throws Exception { + PutBucketResponse self = new PutBucketResponse(); + return TeaModel.build(map, self); + } + + public PutBucketResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutBucketResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketResponseHeaderRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketResponseHeaderRequest.java new file mode 100644 index 00000000..46b015a0 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketResponseHeaderRequest.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketResponseHeaderRequest extends TeaModel { + @NameInMap("body") + public ResponseHeaderConfiguration body; + + public static PutBucketResponseHeaderRequest build(java.util.Map map) throws Exception { + PutBucketResponseHeaderRequest self = new PutBucketResponseHeaderRequest(); + return TeaModel.build(map, self); + } + + public PutBucketResponseHeaderRequest setBody(ResponseHeaderConfiguration body) { + this.body = body; + return this; + } + public ResponseHeaderConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketResponseHeaderResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketResponseHeaderResponse.java new file mode 100644 index 00000000..4683b842 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketResponseHeaderResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketResponseHeaderResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutBucketResponseHeaderResponse build(java.util.Map map) throws Exception { + PutBucketResponseHeaderResponse self = new PutBucketResponseHeaderResponse(); + return TeaModel.build(map, self); + } + + public PutBucketResponseHeaderResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutBucketResponseHeaderResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRtcRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRtcRequest.java new file mode 100644 index 00000000..69a52222 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRtcRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketRtcRequest extends TeaModel { + /** + *

The container that stores the RTC configurations.

+ */ + @NameInMap("body") + public RtcConfiguration body; + + public static PutBucketRtcRequest build(java.util.Map map) throws Exception { + PutBucketRtcRequest self = new PutBucketRtcRequest(); + return TeaModel.build(map, self); + } + + public PutBucketRtcRequest setBody(RtcConfiguration body) { + this.body = body; + return this; + } + public RtcConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRtcResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRtcResponse.java new file mode 100644 index 00000000..38b1e36a --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketRtcResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketRtcResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutBucketRtcResponse build(java.util.Map map) throws Exception { + PutBucketRtcResponse self = new PutBucketRtcResponse(); + return TeaModel.build(map, self); + } + + public PutBucketRtcResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutBucketRtcResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketTagsRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketTagsRequest.java new file mode 100644 index 00000000..b7c6e2fe --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketTagsRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketTagsRequest extends TeaModel { + /** + *

The container that stores the tags.

+ */ + @NameInMap("body") + public Tagging body; + + public static PutBucketTagsRequest build(java.util.Map map) throws Exception { + PutBucketTagsRequest self = new PutBucketTagsRequest(); + return TeaModel.build(map, self); + } + + public PutBucketTagsRequest setBody(Tagging body) { + this.body = body; + return this; + } + public Tagging getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketTagsResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketTagsResponse.java new file mode 100644 index 00000000..bc2ada7a --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketTagsResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketTagsResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutBucketTagsResponse build(java.util.Map map) throws Exception { + PutBucketTagsResponse self = new PutBucketTagsResponse(); + return TeaModel.build(map, self); + } + + public PutBucketTagsResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutBucketTagsResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketTransferAccelerationRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketTransferAccelerationRequest.java new file mode 100644 index 00000000..eeff52b4 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketTransferAccelerationRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketTransferAccelerationRequest extends TeaModel { + /** + *

The container that stores the transfer acceleration configurations.

+ */ + @NameInMap("body") + public TransferAccelerationConfiguration body; + + public static PutBucketTransferAccelerationRequest build(java.util.Map map) throws Exception { + PutBucketTransferAccelerationRequest self = new PutBucketTransferAccelerationRequest(); + return TeaModel.build(map, self); + } + + public PutBucketTransferAccelerationRequest setBody(TransferAccelerationConfiguration body) { + this.body = body; + return this; + } + public TransferAccelerationConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketTransferAccelerationResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketTransferAccelerationResponse.java new file mode 100644 index 00000000..9cb13d24 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketTransferAccelerationResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketTransferAccelerationResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutBucketTransferAccelerationResponse build(java.util.Map map) throws Exception { + PutBucketTransferAccelerationResponse self = new PutBucketTransferAccelerationResponse(); + return TeaModel.build(map, self); + } + + public PutBucketTransferAccelerationResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutBucketTransferAccelerationResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketVersioningRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketVersioningRequest.java new file mode 100644 index 00000000..71c10fb8 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketVersioningRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketVersioningRequest extends TeaModel { + /** + *

The request parameters.

+ */ + @NameInMap("body") + public VersioningConfiguration body; + + public static PutBucketVersioningRequest build(java.util.Map map) throws Exception { + PutBucketVersioningRequest self = new PutBucketVersioningRequest(); + return TeaModel.build(map, self); + } + + public PutBucketVersioningRequest setBody(VersioningConfiguration body) { + this.body = body; + return this; + } + public VersioningConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketVersioningResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketVersioningResponse.java new file mode 100644 index 00000000..f0f837fa --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketVersioningResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketVersioningResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutBucketVersioningResponse build(java.util.Map map) throws Exception { + PutBucketVersioningResponse self = new PutBucketVersioningResponse(); + return TeaModel.build(map, self); + } + + public PutBucketVersioningResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutBucketVersioningResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketWebsiteRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketWebsiteRequest.java new file mode 100644 index 00000000..0c602f01 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketWebsiteRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketWebsiteRequest extends TeaModel { + /** + *

The information about the root node.

+ */ + @NameInMap("body") + public WebsiteConfiguration body; + + public static PutBucketWebsiteRequest build(java.util.Map map) throws Exception { + PutBucketWebsiteRequest self = new PutBucketWebsiteRequest(); + return TeaModel.build(map, self); + } + + public PutBucketWebsiteRequest setBody(WebsiteConfiguration body) { + this.body = body; + return this; + } + public WebsiteConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketWebsiteResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketWebsiteResponse.java new file mode 100644 index 00000000..55b670d2 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketWebsiteResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutBucketWebsiteResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutBucketWebsiteResponse build(java.util.Map map) throws Exception { + PutBucketWebsiteResponse self = new PutBucketWebsiteResponse(); + return TeaModel.build(map, self); + } + + public PutBucketWebsiteResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutBucketWebsiteResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutCnameRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutCnameRequest.java new file mode 100644 index 00000000..27d52817 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutCnameRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutCnameRequest extends TeaModel { + /** + *

The container that stores the CNAME record.

+ */ + @NameInMap("body") + public BucketCnameConfiguration body; + + public static PutCnameRequest build(java.util.Map map) throws Exception { + PutCnameRequest self = new PutCnameRequest(); + return TeaModel.build(map, self); + } + + public PutCnameRequest setBody(BucketCnameConfiguration body) { + this.body = body; + return this; + } + public BucketCnameConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutCnameResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutCnameResponse.java new file mode 100644 index 00000000..7733f59c --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutCnameResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutCnameResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutCnameResponse build(java.util.Map map) throws Exception { + PutCnameResponse self = new PutCnameResponse(); + return TeaModel.build(map, self); + } + + public PutCnameResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutCnameResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutLiveChannelRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutLiveChannelRequest.java new file mode 100644 index 00000000..fb792cc0 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutLiveChannelRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutLiveChannelRequest extends TeaModel { + /** + *

The container that stores the configurations of the LiveChannel.

+ */ + @NameInMap("body") + public LiveChannelConfiguration body; + + public static PutLiveChannelRequest build(java.util.Map map) throws Exception { + PutLiveChannelRequest self = new PutLiveChannelRequest(); + return TeaModel.build(map, self); + } + + public PutLiveChannelRequest setBody(LiveChannelConfiguration body) { + this.body = body; + return this; + } + public LiveChannelConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutLiveChannelResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutLiveChannelResponse.java new file mode 100644 index 00000000..2cce3b08 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutLiveChannelResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutLiveChannelResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public PutLiveChannelResponseBody body; + + public static PutLiveChannelResponse build(java.util.Map map) throws Exception { + PutLiveChannelResponse self = new PutLiveChannelResponse(); + return TeaModel.build(map, self); + } + + public PutLiveChannelResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutLiveChannelResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public PutLiveChannelResponse setBody(PutLiveChannelResponseBody body) { + this.body = body; + return this; + } + public PutLiveChannelResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutLiveChannelResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutLiveChannelResponseBody.java new file mode 100644 index 00000000..ff6391a3 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutLiveChannelResponseBody.java @@ -0,0 +1,40 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutLiveChannelResponseBody extends TeaModel { + /** + *

The container that stores the URL used to play the streams ingested to the LiveChannel.

+ */ + @NameInMap("PlayUrls") + public LiveChannelPlayUrls playUrls; + + /** + *

The container that stores the URL used to ingest streams to the LiveChannel.

+ */ + @NameInMap("PublishUrls") + public LiveChannelPublishUrls publishUrls; + + public static PutLiveChannelResponseBody build(java.util.Map map) throws Exception { + PutLiveChannelResponseBody self = new PutLiveChannelResponseBody(); + return TeaModel.build(map, self); + } + + public PutLiveChannelResponseBody setPlayUrls(LiveChannelPlayUrls playUrls) { + this.playUrls = playUrls; + return this; + } + public LiveChannelPlayUrls getPlayUrls() { + return this.playUrls; + } + + public PutLiveChannelResponseBody setPublishUrls(LiveChannelPublishUrls publishUrls) { + this.publishUrls = publishUrls; + return this; + } + public LiveChannelPublishUrls getPublishUrls() { + return this.publishUrls; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutLiveChannelStatusRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutLiveChannelStatusRequest.java new file mode 100644 index 00000000..7f88e689 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutLiveChannelStatusRequest.java @@ -0,0 +1,29 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutLiveChannelStatusRequest extends TeaModel { + /** + *

The status of the LiveChannel.

+ *

Valid values:

+ *

- enabled: enables the LiveChannel.

+ *

- disabled: disables the LiveChannel.

+ */ + @NameInMap("status") + public String status; + + public static PutLiveChannelStatusRequest build(java.util.Map map) throws Exception { + PutLiveChannelStatusRequest self = new PutLiveChannelStatusRequest(); + return TeaModel.build(map, self); + } + + public PutLiveChannelStatusRequest setStatus(String status) { + this.status = status; + return this; + } + public String getStatus() { + return this.status; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutLiveChannelStatusResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutLiveChannelStatusResponse.java new file mode 100644 index 00000000..a3f67365 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutLiveChannelStatusResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutLiveChannelStatusResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutLiveChannelStatusResponse build(java.util.Map map) throws Exception { + PutLiveChannelStatusResponse self = new PutLiveChannelStatusResponse(); + return TeaModel.build(map, self); + } + + public PutLiveChannelStatusResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutLiveChannelStatusResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectAclHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectAclHeaders.java new file mode 100644 index 00000000..5cd131be --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectAclHeaders.java @@ -0,0 +1,37 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutObjectAclHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + /** + *

The name of the bucket.

+ */ + @NameInMap("x-oss-object-acl") + public String xOssObjectAcl; + + public static PutObjectAclHeaders build(java.util.Map map) throws Exception { + PutObjectAclHeaders self = new PutObjectAclHeaders(); + return TeaModel.build(map, self); + } + + public PutObjectAclHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public PutObjectAclHeaders setXOssObjectAcl(String xOssObjectAcl) { + this.xOssObjectAcl = xOssObjectAcl; + return this; + } + public String getXOssObjectAcl() { + return this.xOssObjectAcl; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectAclRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectAclRequest.java new file mode 100644 index 00000000..30a5d930 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectAclRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutObjectAclRequest extends TeaModel { + /** + *

The full path of the object.

+ */ + @NameInMap("versionId") + public String versionId; + + public static PutObjectAclRequest build(java.util.Map map) throws Exception { + PutObjectAclRequest self = new PutObjectAclRequest(); + return TeaModel.build(map, self); + } + + public PutObjectAclRequest setVersionId(String versionId) { + this.versionId = versionId; + return this; + } + public String getVersionId() { + return this.versionId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectAclResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectAclResponse.java new file mode 100644 index 00000000..35c686c9 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectAclResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutObjectAclResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutObjectAclResponse build(java.util.Map map) throws Exception { + PutObjectAclResponse self = new PutObjectAclResponse(); + return TeaModel.build(map, self); + } + + public PutObjectAclResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutObjectAclResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectHeaders.java new file mode 100644 index 00000000..f80bf5d0 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectHeaders.java @@ -0,0 +1,165 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutObjectHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + /** + *

Specifies whether the object that is uploaded by calling the PutObject operation overwrites the existing object that has the same name. When versioning is enabled or suspended for the bucket to which you want to upload the object, the **x-oss-forbid-overwrite** header does not take effect. In this case, the object that is uploaded by calling the PutObject operation overwrites the existing object that has the same name.

+ *

- If you do not specify the **x-oss-forbid-overwrite** header or set the **x-oss-forbid-overwrite** header to **false**, the object that is uploaded by calling the PutObject operation overwrites the existing object that has the same name.

+ *

- If the value of **x-oss-forbid-overwrite** is set to **true**, existing objects cannot be overwritten by objects that have the same names.

+ *
+ *

If you specify the **x-oss-forbid-overwrite** request header, the queries per second (QPS) performance of OSS is degraded. If you want to use the **x-oss-forbid-overwrite** request header to perform a large number of operations (QPS greater than 1,000), contact technical support.

+ *

Default value: **false**.

+ */ + @NameInMap("x-oss-forbid-overwrite") + public Boolean xOssForbidOverwrite; + + /** + *

If the PutObject request contains a parameter prefixed with **x-oss-meta-***, the parameter is considered as the user metadata. Example: `x-oss-meta-location`. You can specify multiple similar headers for an object. However, the user metadata of an object cannot exceed 8 KB in size.

+ *
+ *

The names of user metadata headers can contain letters, digits, and hyphens (-). Uppercase letters are converted to lowercase letters. Other characters such as underscores (_) are not supported.

+ */ + @NameInMap("x-oss-meta-*") + public java.util.Map xOssMeta; + + /** + *

The access control list (ACL) of the object. Default value: default.

+ *

Valid values:

+ *
+ *

- default: The ACL of the object is the same as that of the bucket in which the object is stored.

+ *

- private: The ACL of the object is private. Only the owner of the object and authorized users can read and write this object.

+ *

- public-read: The ACL of the object is public-read. Only the owner of the object and authorized users can read and write this object. Other users can only read the object. Exercise caution when you set the object ACL to this value.

+ *

- public-read-write: The ACL of the object is public-read-write. All users can read and write this object. Exercise caution when you set the object ACL to this value.

+ *
+ *

For more information about the ACL, see **[ACL](~~100676~~)**.

+ */ + @NameInMap("x-oss-object-acl") + public String xOssObjectAcl; + + /** + *

The encryption method on the server side when an object is created.

+ *
+ *

Valid values: **AES256**, **KMS**, and **SM4**.

+ *
+ *

If you specify the header, the header is returned in the response. OSS uses the method that is specified by this header to encrypt the uploaded object. When you download the encrypted object, the **x-oss-server-side-encryption** header is included in the response and the header value is set to the algorithm that is used to encrypt the object.

+ */ + @NameInMap("x-oss-server-side-data-encryption") + public String xOssServerSideDataEncryption; + + /** + *

The method that is used to encrypt the object on the OSS server when the object is created.

+ *
+ *

Valid values: **AES256**, **KMS**, and **SM4****.

+ *
+ *

If you specify the header, the header is returned in the response. OSS uses the method that is specified by this header to encrypt the uploaded object. When you download the encrypted object, the **x-oss-server-side-encryption** header is included in the response and the header value is set to the algorithm that is used to encrypt the object.

+ */ + @NameInMap("x-oss-server-side-encryption") + public String xOssServerSideEncryption; + + /** + *

The ID of the customer master key (CMK) managed by Key Management Service (KMS).

+ *

This header is valid only when the **x-oss-server-side-encryption** header is set to KMS.

+ */ + @NameInMap("x-oss-server-side-encryption-key-id") + public String xOssServerSideEncryptionKeyId; + + /** + *

The storage class of the bucket. Default value: Standard. Valid values:

+ *
+ *

- Standard

+ *

- IA

+ *

- Archive

+ *

- ColdArchive

+ */ + @NameInMap("x-oss-storage-class") + public String xOssStorageClass; + + /** + *

The tag of the object. You can configure multiple tags for the object. Example: TagA=A&TagB=B.

+ *

> The key and value of a tag must be URL-encoded. If a tag does not contain an equal sign (=), the value of the tag is considered an empty string.

+ */ + @NameInMap("x-oss-tagging") + public String xOssTagging; + + public static PutObjectHeaders build(java.util.Map map) throws Exception { + PutObjectHeaders self = new PutObjectHeaders(); + return TeaModel.build(map, self); + } + + public PutObjectHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public PutObjectHeaders setXOssForbidOverwrite(Boolean xOssForbidOverwrite) { + this.xOssForbidOverwrite = xOssForbidOverwrite; + return this; + } + public Boolean getXOssForbidOverwrite() { + return this.xOssForbidOverwrite; + } + + public PutObjectHeaders setXOssMeta(java.util.Map xOssMeta) { + this.xOssMeta = xOssMeta; + return this; + } + public java.util.Map getXOssMeta() { + return this.xOssMeta; + } + + public PutObjectHeaders setXOssObjectAcl(String xOssObjectAcl) { + this.xOssObjectAcl = xOssObjectAcl; + return this; + } + public String getXOssObjectAcl() { + return this.xOssObjectAcl; + } + + public PutObjectHeaders setXOssServerSideDataEncryption(String xOssServerSideDataEncryption) { + this.xOssServerSideDataEncryption = xOssServerSideDataEncryption; + return this; + } + public String getXOssServerSideDataEncryption() { + return this.xOssServerSideDataEncryption; + } + + public PutObjectHeaders setXOssServerSideEncryption(String xOssServerSideEncryption) { + this.xOssServerSideEncryption = xOssServerSideEncryption; + return this; + } + public String getXOssServerSideEncryption() { + return this.xOssServerSideEncryption; + } + + public PutObjectHeaders setXOssServerSideEncryptionKeyId(String xOssServerSideEncryptionKeyId) { + this.xOssServerSideEncryptionKeyId = xOssServerSideEncryptionKeyId; + return this; + } + public String getXOssServerSideEncryptionKeyId() { + return this.xOssServerSideEncryptionKeyId; + } + + public PutObjectHeaders setXOssStorageClass(String xOssStorageClass) { + this.xOssStorageClass = xOssStorageClass; + return this; + } + public String getXOssStorageClass() { + return this.xOssStorageClass; + } + + public PutObjectHeaders setXOssTagging(String xOssTagging) { + this.xOssTagging = xOssTagging; + return this; + } + public String getXOssTagging() { + return this.xOssTagging; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectRequest.java new file mode 100644 index 00000000..8ace3c33 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutObjectRequest extends TeaModel { + /** + *

The body of the request.

+ */ + @NameInMap("body") + public java.io.InputStream body; + + public static PutObjectRequest build(java.util.Map map) throws Exception { + PutObjectRequest self = new PutObjectRequest(); + return TeaModel.build(map, self); + } + + public PutObjectRequest setBody(java.io.InputStream body) { + this.body = body; + return this; + } + public java.io.InputStream getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectResponse.java new file mode 100644 index 00000000..f786460a --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutObjectResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutObjectResponse build(java.util.Map map) throws Exception { + PutObjectResponse self = new PutObjectResponse(); + return TeaModel.build(map, self); + } + + public PutObjectResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutObjectResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectTaggingRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectTaggingRequest.java new file mode 100644 index 00000000..56b34280 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectTaggingRequest.java @@ -0,0 +1,40 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutObjectTaggingRequest extends TeaModel { + /** + *

The container used to store Tagset.

+ */ + @NameInMap("body") + public Tagging body; + + /** + *

The ID of the version.

+ */ + @NameInMap("versionId") + public String versionId; + + public static PutObjectTaggingRequest build(java.util.Map map) throws Exception { + PutObjectTaggingRequest self = new PutObjectTaggingRequest(); + return TeaModel.build(map, self); + } + + public PutObjectTaggingRequest setBody(Tagging body) { + this.body = body; + return this; + } + public Tagging getBody() { + return this.body; + } + + public PutObjectTaggingRequest setVersionId(String versionId) { + this.versionId = versionId; + return this; + } + public String getVersionId() { + return this.versionId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectTaggingResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectTaggingResponse.java new file mode 100644 index 00000000..a9f578bc --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutObjectTaggingResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutObjectTaggingResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutObjectTaggingResponse build(java.util.Map map) throws Exception { + PutObjectTaggingResponse self = new PutObjectTaggingResponse(); + return TeaModel.build(map, self); + } + + public PutObjectTaggingResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutObjectTaggingResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutPublicAccessBlockRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutPublicAccessBlockRequest.java new file mode 100644 index 00000000..d7cd34fd --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutPublicAccessBlockRequest.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutPublicAccessBlockRequest extends TeaModel { + @NameInMap("body") + public PublicAccessBlockConfiguration body; + + public static PutPublicAccessBlockRequest build(java.util.Map map) throws Exception { + PutPublicAccessBlockRequest self = new PutPublicAccessBlockRequest(); + return TeaModel.build(map, self); + } + + public PutPublicAccessBlockRequest setBody(PublicAccessBlockConfiguration body) { + this.body = body; + return this; + } + public PublicAccessBlockConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutPublicAccessBlockResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutPublicAccessBlockResponse.java new file mode 100644 index 00000000..569a5fa1 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutPublicAccessBlockResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutPublicAccessBlockResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutPublicAccessBlockResponse build(java.util.Map map) throws Exception { + PutPublicAccessBlockResponse self = new PutPublicAccessBlockResponse(); + return TeaModel.build(map, self); + } + + public PutPublicAccessBlockResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutPublicAccessBlockResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutStyleRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutStyleRequest.java new file mode 100644 index 00000000..3ed5ac88 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutStyleRequest.java @@ -0,0 +1,40 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutStyleRequest extends TeaModel { + /** + *

The container that stores the content information about the image style.

+ */ + @NameInMap("body") + public Style body; + + /** + *

The name of the image style.

+ */ + @NameInMap("styleName") + public String styleName; + + public static PutStyleRequest build(java.util.Map map) throws Exception { + PutStyleRequest self = new PutStyleRequest(); + return TeaModel.build(map, self); + } + + public PutStyleRequest setBody(Style body) { + this.body = body; + return this; + } + public Style getBody() { + return this.body; + } + + public PutStyleRequest setStyleName(String styleName) { + this.styleName = styleName; + return this; + } + public String getStyleName() { + return this.styleName; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutStyleResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutStyleResponse.java new file mode 100644 index 00000000..2fdb86fa --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutStyleResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutStyleResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutStyleResponse build(java.util.Map map) throws Exception { + PutStyleResponse self = new PutStyleResponse(); + return TeaModel.build(map, self); + } + + public PutStyleResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutStyleResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutSymlinkHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutSymlinkHeaders.java new file mode 100644 index 00000000..b93bc7ff --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutSymlinkHeaders.java @@ -0,0 +1,100 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutSymlinkHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + /** + *

Specifies whether the PutSymlink operation overwrites the object that has the same name as that of the symbolic link you want to create.

+ *

- If the value of **x-oss-forbid-overwrite** is not specified or set to **false**, existing objects can be overwritten by objects that have the same names.

+ *

- If the value of **x-oss-forbid-overwrite** is set to **true**, existing objects cannot be overwritten by objects that have the same names.

+ *
+ *

If you specify the **x-oss-forbid-overwrite** request header, the queries per second (QPS) performance of OSS is degraded. If you want to use the **x-oss-forbid-overwrite** request header to perform a large number of operations (QPS greater than 1,000), contact technical support.

+ *

> The **x-oss-forbid-overwrite** request header is invalid when versioning is enabled or suspended for the destination bucket. In this case, the object with the same name can be overwritten.

+ */ + @NameInMap("x-oss-forbid-overwrite") + public String xOssForbidOverwrite; + + /** + *

The access control list (ACL) of the object. Default value: default.

+ *

Valid values:

+ *
+ *

- default: The ACL of the object is the same as that of the bucket in which the object is stored.

+ *

- private: The ACL of the object is private. Only the owner of the object and authorized users can read and write this object.

+ *

- public-read: The ACL of the object is public-read. Only the owner of the object and authorized users can read and write this object. Other users can only read the object. Exercise caution when you set the object ACL to this value.

+ *

- public-read-write: The ACL of the object is public-read-write. All users can read and write this object. Exercise caution when you set the object ACL to this value.

+ *
+ *

For more information about the ACL, see **[ACL](~~100676~~)**.

+ */ + @NameInMap("x-oss-object-acl") + public String xOssObjectAcl; + + /** + *

The storage class of the bucket. Default value: Standard. Valid values:

+ *
+ *

- Standard

+ *

- IA

+ *

- Archive

+ *

- ColdArchive

+ */ + @NameInMap("x-oss-storage-class") + public String xOssStorageClass; + + /** + *

The target object to which the symbolic link points.

+ *

The naming conventions for target objects are the same as those for objects.

+ *

- Similar to ObjectName, TargetObjectName must be URL-encoded.

+ *

- The target object to which a symbolic link points cannot be a symbolic link.

+ */ + @NameInMap("x-oss-symlink-target") + public String xOssSymlinkTarget; + + public static PutSymlinkHeaders build(java.util.Map map) throws Exception { + PutSymlinkHeaders self = new PutSymlinkHeaders(); + return TeaModel.build(map, self); + } + + public PutSymlinkHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public PutSymlinkHeaders setXOssForbidOverwrite(String xOssForbidOverwrite) { + this.xOssForbidOverwrite = xOssForbidOverwrite; + return this; + } + public String getXOssForbidOverwrite() { + return this.xOssForbidOverwrite; + } + + public PutSymlinkHeaders setXOssObjectAcl(String xOssObjectAcl) { + this.xOssObjectAcl = xOssObjectAcl; + return this; + } + public String getXOssObjectAcl() { + return this.xOssObjectAcl; + } + + public PutSymlinkHeaders setXOssStorageClass(String xOssStorageClass) { + this.xOssStorageClass = xOssStorageClass; + return this; + } + public String getXOssStorageClass() { + return this.xOssStorageClass; + } + + public PutSymlinkHeaders setXOssSymlinkTarget(String xOssSymlinkTarget) { + this.xOssSymlinkTarget = xOssSymlinkTarget; + return this; + } + public String getXOssSymlinkTarget() { + return this.xOssSymlinkTarget; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutSymlinkResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutSymlinkResponse.java new file mode 100644 index 00000000..b7e10c53 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutSymlinkResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutSymlinkResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutSymlinkResponse build(java.util.Map map) throws Exception { + PutSymlinkResponse self = new PutSymlinkResponse(); + return TeaModel.build(map, self); + } + + public PutSymlinkResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutSymlinkResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutUserDefinedLogFieldsConfigRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutUserDefinedLogFieldsConfigRequest.java new file mode 100644 index 00000000..a7edbb77 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutUserDefinedLogFieldsConfigRequest.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutUserDefinedLogFieldsConfigRequest extends TeaModel { + @NameInMap("body") + public UserDefinedLogFieldsConfiguration body; + + public static PutUserDefinedLogFieldsConfigRequest build(java.util.Map map) throws Exception { + PutUserDefinedLogFieldsConfigRequest self = new PutUserDefinedLogFieldsConfigRequest(); + return TeaModel.build(map, self); + } + + public PutUserDefinedLogFieldsConfigRequest setBody(UserDefinedLogFieldsConfiguration body) { + this.body = body; + return this; + } + public UserDefinedLogFieldsConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutUserDefinedLogFieldsConfigResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutUserDefinedLogFieldsConfigResponse.java new file mode 100644 index 00000000..8dd94ea3 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutUserDefinedLogFieldsConfigResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class PutUserDefinedLogFieldsConfigResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static PutUserDefinedLogFieldsConfigResponse build(java.util.Map map) throws Exception { + PutUserDefinedLogFieldsConfigResponse self = new PutUserDefinedLogFieldsConfigResponse(); + return TeaModel.build(map, self); + } + + public PutUserDefinedLogFieldsConfigResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public PutUserDefinedLogFieldsConfigResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RTC.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RTC.java new file mode 100644 index 00000000..e76a512d --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RTC.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class RTC extends TeaModel { + @NameInMap("Status") + public String status; + + public static RTC build(java.util.Map map) throws Exception { + RTC self = new RTC(); + return TeaModel.build(map, self); + } + + public RTC setStatus(String status) { + this.status = status; + return this; + } + public String getStatus() { + return this.status; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RefererConfiguration.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RefererConfiguration.java new file mode 100644 index 00000000..112ca22f --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RefererConfiguration.java @@ -0,0 +1,105 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class RefererConfiguration extends TeaModel { + @NameInMap("AllowEmptyReferer") + public Boolean allowEmptyReferer; + + @NameInMap("AllowTruncateQueryString") + public Boolean allowTruncateQueryString; + + @NameInMap("RefererBlacklist") + public RefererConfigurationRefererBlacklist refererBlacklist; + + @NameInMap("RefererList") + public RefererConfigurationRefererList refererList; + + @NameInMap("TruncatePath") + public Boolean truncatePath; + + public static RefererConfiguration build(java.util.Map map) throws Exception { + RefererConfiguration self = new RefererConfiguration(); + return TeaModel.build(map, self); + } + + public RefererConfiguration setAllowEmptyReferer(Boolean allowEmptyReferer) { + this.allowEmptyReferer = allowEmptyReferer; + return this; + } + public Boolean getAllowEmptyReferer() { + return this.allowEmptyReferer; + } + + public RefererConfiguration setAllowTruncateQueryString(Boolean allowTruncateQueryString) { + this.allowTruncateQueryString = allowTruncateQueryString; + return this; + } + public Boolean getAllowTruncateQueryString() { + return this.allowTruncateQueryString; + } + + public RefererConfiguration setRefererBlacklist(RefererConfigurationRefererBlacklist refererBlacklist) { + this.refererBlacklist = refererBlacklist; + return this; + } + public RefererConfigurationRefererBlacklist getRefererBlacklist() { + return this.refererBlacklist; + } + + public RefererConfiguration setRefererList(RefererConfigurationRefererList refererList) { + this.refererList = refererList; + return this; + } + public RefererConfigurationRefererList getRefererList() { + return this.refererList; + } + + public RefererConfiguration setTruncatePath(Boolean truncatePath) { + this.truncatePath = truncatePath; + return this; + } + public Boolean getTruncatePath() { + return this.truncatePath; + } + + public static class RefererConfigurationRefererBlacklist extends TeaModel { + @NameInMap("Referer") + public java.util.List referer; + + public static RefererConfigurationRefererBlacklist build(java.util.Map map) throws Exception { + RefererConfigurationRefererBlacklist self = new RefererConfigurationRefererBlacklist(); + return TeaModel.build(map, self); + } + + public RefererConfigurationRefererBlacklist setReferer(java.util.List referer) { + this.referer = referer; + return this; + } + public java.util.List getReferer() { + return this.referer; + } + + } + + public static class RefererConfigurationRefererList extends TeaModel { + @NameInMap("Referer") + public java.util.List referer; + + public static RefererConfigurationRefererList build(java.util.Map map) throws Exception { + RefererConfigurationRefererList self = new RefererConfigurationRefererList(); + return TeaModel.build(map, self); + } + + public RefererConfigurationRefererList setReferer(java.util.List referer) { + this.referer = referer; + return this; + } + public java.util.List getReferer() { + return this.referer; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RegionInfo.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RegionInfo.java new file mode 100644 index 00000000..b73faf22 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RegionInfo.java @@ -0,0 +1,56 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class RegionInfo extends TeaModel { + @NameInMap("AccelerateEndpoint") + public String accelerateEndpoint; + + @NameInMap("InternalEndpoint") + public String internalEndpoint; + + @NameInMap("InternetEndpoint") + public String internetEndpoint; + + @NameInMap("Region") + public String region; + + public static RegionInfo build(java.util.Map map) throws Exception { + RegionInfo self = new RegionInfo(); + return TeaModel.build(map, self); + } + + public RegionInfo setAccelerateEndpoint(String accelerateEndpoint) { + this.accelerateEndpoint = accelerateEndpoint; + return this; + } + public String getAccelerateEndpoint() { + return this.accelerateEndpoint; + } + + public RegionInfo setInternalEndpoint(String internalEndpoint) { + this.internalEndpoint = internalEndpoint; + return this; + } + public String getInternalEndpoint() { + return this.internalEndpoint; + } + + public RegionInfo setInternetEndpoint(String internetEndpoint) { + this.internetEndpoint = internetEndpoint; + return this; + } + public String getInternetEndpoint() { + return this.internetEndpoint; + } + + public RegionInfo setRegion(String region) { + this.region = region; + return this; + } + public String getRegion() { + return this.region; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationConfiguration.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationConfiguration.java new file mode 100644 index 00000000..ed18ca6b --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationConfiguration.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ReplicationConfiguration extends TeaModel { + @NameInMap("Rule") + public ReplicationRule rule; + + public static ReplicationConfiguration build(java.util.Map map) throws Exception { + ReplicationConfiguration self = new ReplicationConfiguration(); + return TeaModel.build(map, self); + } + + public ReplicationConfiguration setRule(ReplicationRule rule) { + this.rule = rule; + return this; + } + public ReplicationRule getRule() { + return this.rule; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationDestination.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationDestination.java new file mode 100644 index 00000000..6ffb1f21 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationDestination.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ReplicationDestination extends TeaModel { + @NameInMap("Bucket") + public String bucket; + + @NameInMap("Location") + public String location; + + @NameInMap("TransferType") + public String transferType; + + public static ReplicationDestination build(java.util.Map map) throws Exception { + ReplicationDestination self = new ReplicationDestination(); + return TeaModel.build(map, self); + } + + public ReplicationDestination setBucket(String bucket) { + this.bucket = bucket; + return this; + } + public String getBucket() { + return this.bucket; + } + + public ReplicationDestination setLocation(String location) { + this.location = location; + return this; + } + public String getLocation() { + return this.location; + } + + public ReplicationDestination setTransferType(String transferType) { + this.transferType = transferType; + return this; + } + public String getTransferType() { + return this.transferType; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationPrefixSet.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationPrefixSet.java new file mode 100644 index 00000000..7aacbf43 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationPrefixSet.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ReplicationPrefixSet extends TeaModel { + @NameInMap("Prefix") + public java.util.List prefix; + + public static ReplicationPrefixSet build(java.util.Map map) throws Exception { + ReplicationPrefixSet self = new ReplicationPrefixSet(); + return TeaModel.build(map, self); + } + + public ReplicationPrefixSet setPrefix(java.util.List prefix) { + this.prefix = prefix; + return this; + } + public java.util.List getPrefix() { + return this.prefix; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationProgressRule.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationProgressRule.java new file mode 100644 index 00000000..7004f40f --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationProgressRule.java @@ -0,0 +1,119 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ReplicationProgressRule extends TeaModel { + @NameInMap("Action") + public String action; + + @NameInMap("Destination") + public ReplicationDestination destination; + + @NameInMap("HistoricalObjectReplication") + public String historicalObjectReplication; + + @NameInMap("ID") + public String ID; + + @NameInMap("PrefixSet") + public ReplicationPrefixSet prefixSet; + + @NameInMap("Progress") + public ReplicationProgressRuleProgress progress; + + @NameInMap("Status") + public String status; + + public static ReplicationProgressRule build(java.util.Map map) throws Exception { + ReplicationProgressRule self = new ReplicationProgressRule(); + return TeaModel.build(map, self); + } + + public ReplicationProgressRule setAction(String action) { + this.action = action; + return this; + } + public String getAction() { + return this.action; + } + + public ReplicationProgressRule setDestination(ReplicationDestination destination) { + this.destination = destination; + return this; + } + public ReplicationDestination getDestination() { + return this.destination; + } + + public ReplicationProgressRule setHistoricalObjectReplication(String historicalObjectReplication) { + this.historicalObjectReplication = historicalObjectReplication; + return this; + } + public String getHistoricalObjectReplication() { + return this.historicalObjectReplication; + } + + public ReplicationProgressRule setID(String ID) { + this.ID = ID; + return this; + } + public String getID() { + return this.ID; + } + + public ReplicationProgressRule setPrefixSet(ReplicationPrefixSet prefixSet) { + this.prefixSet = prefixSet; + return this; + } + public ReplicationPrefixSet getPrefixSet() { + return this.prefixSet; + } + + public ReplicationProgressRule setProgress(ReplicationProgressRuleProgress progress) { + this.progress = progress; + return this; + } + public ReplicationProgressRuleProgress getProgress() { + return this.progress; + } + + public ReplicationProgressRule setStatus(String status) { + this.status = status; + return this; + } + public String getStatus() { + return this.status; + } + + public static class ReplicationProgressRuleProgress extends TeaModel { + @NameInMap("HistoricalObject") + public String historicalObject; + + @NameInMap("NewObject") + public String newObject; + + public static ReplicationProgressRuleProgress build(java.util.Map map) throws Exception { + ReplicationProgressRuleProgress self = new ReplicationProgressRuleProgress(); + return TeaModel.build(map, self); + } + + public ReplicationProgressRuleProgress setHistoricalObject(String historicalObject) { + this.historicalObject = historicalObject; + return this; + } + public String getHistoricalObject() { + return this.historicalObject; + } + + public ReplicationProgressRuleProgress setNewObject(String newObject) { + this.newObject = newObject; + return this; + } + public String getNewObject() { + return this.newObject; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationRule.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationRule.java new file mode 100644 index 00000000..f69b1885 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationRule.java @@ -0,0 +1,130 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ReplicationRule extends TeaModel { + @NameInMap("Action") + public String action; + + @NameInMap("Destination") + public ReplicationDestination destination; + + @NameInMap("EncryptionConfiguration") + public ReplicationRuleEncryptionConfiguration encryptionConfiguration; + + @NameInMap("HistoricalObjectReplication") + public String historicalObjectReplication; + + @NameInMap("ID") + public String ID; + + @NameInMap("PrefixSet") + public ReplicationPrefixSet prefixSet; + + @NameInMap("SourceSelectionCriteria") + public ReplicationSourceSelectionCriteria sourceSelectionCriteria; + + @NameInMap("Status") + public String status; + + @NameInMap("SyncRole") + public String syncRole; + + public static ReplicationRule build(java.util.Map map) throws Exception { + ReplicationRule self = new ReplicationRule(); + return TeaModel.build(map, self); + } + + public ReplicationRule setAction(String action) { + this.action = action; + return this; + } + public String getAction() { + return this.action; + } + + public ReplicationRule setDestination(ReplicationDestination destination) { + this.destination = destination; + return this; + } + public ReplicationDestination getDestination() { + return this.destination; + } + + public ReplicationRule setEncryptionConfiguration(ReplicationRuleEncryptionConfiguration encryptionConfiguration) { + this.encryptionConfiguration = encryptionConfiguration; + return this; + } + public ReplicationRuleEncryptionConfiguration getEncryptionConfiguration() { + return this.encryptionConfiguration; + } + + public ReplicationRule setHistoricalObjectReplication(String historicalObjectReplication) { + this.historicalObjectReplication = historicalObjectReplication; + return this; + } + public String getHistoricalObjectReplication() { + return this.historicalObjectReplication; + } + + public ReplicationRule setID(String ID) { + this.ID = ID; + return this; + } + public String getID() { + return this.ID; + } + + public ReplicationRule setPrefixSet(ReplicationPrefixSet prefixSet) { + this.prefixSet = prefixSet; + return this; + } + public ReplicationPrefixSet getPrefixSet() { + return this.prefixSet; + } + + public ReplicationRule setSourceSelectionCriteria(ReplicationSourceSelectionCriteria sourceSelectionCriteria) { + this.sourceSelectionCriteria = sourceSelectionCriteria; + return this; + } + public ReplicationSourceSelectionCriteria getSourceSelectionCriteria() { + return this.sourceSelectionCriteria; + } + + public ReplicationRule setStatus(String status) { + this.status = status; + return this; + } + public String getStatus() { + return this.status; + } + + public ReplicationRule setSyncRole(String syncRole) { + this.syncRole = syncRole; + return this; + } + public String getSyncRole() { + return this.syncRole; + } + + public static class ReplicationRuleEncryptionConfiguration extends TeaModel { + @NameInMap("ReplicaKmsKeyID") + public String replicaKmsKeyID; + + public static ReplicationRuleEncryptionConfiguration build(java.util.Map map) throws Exception { + ReplicationRuleEncryptionConfiguration self = new ReplicationRuleEncryptionConfiguration(); + return TeaModel.build(map, self); + } + + public ReplicationRuleEncryptionConfiguration setReplicaKmsKeyID(String replicaKmsKeyID) { + this.replicaKmsKeyID = replicaKmsKeyID; + return this; + } + public String getReplicaKmsKeyID() { + return this.replicaKmsKeyID; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationRuleProgress.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationRuleProgress.java new file mode 100644 index 00000000..3887dcaf --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationRuleProgress.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ReplicationRuleProgress extends TeaModel { + @NameInMap("Action") + public String action; + + @NameInMap("ID") + public String ID; + + @NameInMap("PrefixSet") + public ReplicationPrefixSet prefixSet; + + public static ReplicationRuleProgress build(java.util.Map map) throws Exception { + ReplicationRuleProgress self = new ReplicationRuleProgress(); + return TeaModel.build(map, self); + } + + public ReplicationRuleProgress setAction(String action) { + this.action = action; + return this; + } + public String getAction() { + return this.action; + } + + public ReplicationRuleProgress setID(String ID) { + this.ID = ID; + return this; + } + public String getID() { + return this.ID; + } + + public ReplicationRuleProgress setPrefixSet(ReplicationPrefixSet prefixSet) { + this.prefixSet = prefixSet; + return this; + } + public ReplicationPrefixSet getPrefixSet() { + return this.prefixSet; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationRules.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationRules.java new file mode 100644 index 00000000..77e755ed --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationRules.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ReplicationRules extends TeaModel { + @NameInMap("ID") + public java.util.List ID; + + public static ReplicationRules build(java.util.Map map) throws Exception { + ReplicationRules self = new ReplicationRules(); + return TeaModel.build(map, self); + } + + public ReplicationRules setID(java.util.List ID) { + this.ID = ID; + return this; + } + public java.util.List getID() { + return this.ID; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationSourceSelectionCriteria.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationSourceSelectionCriteria.java new file mode 100644 index 00000000..29223b01 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ReplicationSourceSelectionCriteria.java @@ -0,0 +1,42 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ReplicationSourceSelectionCriteria extends TeaModel { + @NameInMap("SseKmsEncryptedObjects") + public ReplicationSourceSelectionCriteriaSseKmsEncryptedObjects sseKmsEncryptedObjects; + + public static ReplicationSourceSelectionCriteria build(java.util.Map map) throws Exception { + ReplicationSourceSelectionCriteria self = new ReplicationSourceSelectionCriteria(); + return TeaModel.build(map, self); + } + + public ReplicationSourceSelectionCriteria setSseKmsEncryptedObjects(ReplicationSourceSelectionCriteriaSseKmsEncryptedObjects sseKmsEncryptedObjects) { + this.sseKmsEncryptedObjects = sseKmsEncryptedObjects; + return this; + } + public ReplicationSourceSelectionCriteriaSseKmsEncryptedObjects getSseKmsEncryptedObjects() { + return this.sseKmsEncryptedObjects; + } + + public static class ReplicationSourceSelectionCriteriaSseKmsEncryptedObjects extends TeaModel { + @NameInMap("Status") + public String status; + + public static ReplicationSourceSelectionCriteriaSseKmsEncryptedObjects build(java.util.Map map) throws Exception { + ReplicationSourceSelectionCriteriaSseKmsEncryptedObjects self = new ReplicationSourceSelectionCriteriaSseKmsEncryptedObjects(); + return TeaModel.build(map, self); + } + + public ReplicationSourceSelectionCriteriaSseKmsEncryptedObjects setStatus(String status) { + this.status = status; + return this; + } + public String getStatus() { + return this.status; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RequestPaymentConfiguration.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RequestPaymentConfiguration.java new file mode 100644 index 00000000..55aea5ee --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RequestPaymentConfiguration.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class RequestPaymentConfiguration extends TeaModel { + @NameInMap("Payer") + public String payer; + + public static RequestPaymentConfiguration build(java.util.Map map) throws Exception { + RequestPaymentConfiguration self = new RequestPaymentConfiguration(); + return TeaModel.build(map, self); + } + + public RequestPaymentConfiguration setPayer(String payer) { + this.payer = payer; + return this; + } + public String getPayer() { + return this.payer; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ResponseHeaderConfiguration.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ResponseHeaderConfiguration.java new file mode 100644 index 00000000..c252f7dc --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ResponseHeaderConfiguration.java @@ -0,0 +1,102 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ResponseHeaderConfiguration extends TeaModel { + @NameInMap("Rule") + public java.util.List rule; + + public static ResponseHeaderConfiguration build(java.util.Map map) throws Exception { + ResponseHeaderConfiguration self = new ResponseHeaderConfiguration(); + return TeaModel.build(map, self); + } + + public ResponseHeaderConfiguration setRule(java.util.List rule) { + this.rule = rule; + return this; + } + public java.util.List getRule() { + return this.rule; + } + + public static class ResponseHeaderConfigurationRuleFilters extends TeaModel { + @NameInMap("Operation") + public java.util.List operation; + + public static ResponseHeaderConfigurationRuleFilters build(java.util.Map map) throws Exception { + ResponseHeaderConfigurationRuleFilters self = new ResponseHeaderConfigurationRuleFilters(); + return TeaModel.build(map, self); + } + + public ResponseHeaderConfigurationRuleFilters setOperation(java.util.List operation) { + this.operation = operation; + return this; + } + public java.util.List getOperation() { + return this.operation; + } + + } + + public static class ResponseHeaderConfigurationRuleHideHeaders extends TeaModel { + @NameInMap("Header") + public java.util.List header; + + public static ResponseHeaderConfigurationRuleHideHeaders build(java.util.Map map) throws Exception { + ResponseHeaderConfigurationRuleHideHeaders self = new ResponseHeaderConfigurationRuleHideHeaders(); + return TeaModel.build(map, self); + } + + public ResponseHeaderConfigurationRuleHideHeaders setHeader(java.util.List header) { + this.header = header; + return this; + } + public java.util.List getHeader() { + return this.header; + } + + } + + public static class ResponseHeaderConfigurationRule extends TeaModel { + @NameInMap("Filters") + public ResponseHeaderConfigurationRuleFilters filters; + + @NameInMap("HideHeaders") + public ResponseHeaderConfigurationRuleHideHeaders hideHeaders; + + @NameInMap("Name") + public String name; + + public static ResponseHeaderConfigurationRule build(java.util.Map map) throws Exception { + ResponseHeaderConfigurationRule self = new ResponseHeaderConfigurationRule(); + return TeaModel.build(map, self); + } + + public ResponseHeaderConfigurationRule setFilters(ResponseHeaderConfigurationRuleFilters filters) { + this.filters = filters; + return this; + } + public ResponseHeaderConfigurationRuleFilters getFilters() { + return this.filters; + } + + public ResponseHeaderConfigurationRule setHideHeaders(ResponseHeaderConfigurationRuleHideHeaders hideHeaders) { + this.hideHeaders = hideHeaders; + return this; + } + public ResponseHeaderConfigurationRuleHideHeaders getHideHeaders() { + return this.hideHeaders; + } + + public ResponseHeaderConfigurationRule setName(String name) { + this.name = name; + return this; + } + public String getName() { + return this.name; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RestoreObjectRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RestoreObjectRequest.java new file mode 100644 index 00000000..bae2bbe2 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RestoreObjectRequest.java @@ -0,0 +1,40 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class RestoreObjectRequest extends TeaModel { + /** + *

Request information of the restoration.

+ */ + @NameInMap("body") + public RestoreRequest body; + + /** + *

The version number of the object that you want to restore.

+ */ + @NameInMap("versionId") + public String versionId; + + public static RestoreObjectRequest build(java.util.Map map) throws Exception { + RestoreObjectRequest self = new RestoreObjectRequest(); + return TeaModel.build(map, self); + } + + public RestoreObjectRequest setBody(RestoreRequest body) { + this.body = body; + return this; + } + public RestoreRequest getBody() { + return this.body; + } + + public RestoreObjectRequest setVersionId(String versionId) { + this.versionId = versionId; + return this; + } + public String getVersionId() { + return this.versionId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RestoreObjectResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RestoreObjectResponse.java new file mode 100644 index 00000000..8670f242 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RestoreObjectResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class RestoreObjectResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static RestoreObjectResponse build(java.util.Map map) throws Exception { + RestoreObjectResponse self = new RestoreObjectResponse(); + return TeaModel.build(map, self); + } + + public RestoreObjectResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public RestoreObjectResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RestoreRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RestoreRequest.java new file mode 100644 index 00000000..735ca0c8 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RestoreRequest.java @@ -0,0 +1,53 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class RestoreRequest extends TeaModel { + @NameInMap("Days") + public Long days; + + @NameInMap("JobParameters") + public RestoreRequestJobParameters jobParameters; + + public static RestoreRequest build(java.util.Map map) throws Exception { + RestoreRequest self = new RestoreRequest(); + return TeaModel.build(map, self); + } + + public RestoreRequest setDays(Long days) { + this.days = days; + return this; + } + public Long getDays() { + return this.days; + } + + public RestoreRequest setJobParameters(RestoreRequestJobParameters jobParameters) { + this.jobParameters = jobParameters; + return this; + } + public RestoreRequestJobParameters getJobParameters() { + return this.jobParameters; + } + + public static class RestoreRequestJobParameters extends TeaModel { + @NameInMap("Tier") + public String tier; + + public static RestoreRequestJobParameters build(java.util.Map map) throws Exception { + RestoreRequestJobParameters self = new RestoreRequestJobParameters(); + return TeaModel.build(map, self); + } + + public RestoreRequestJobParameters setTier(String tier) { + this.tier = tier; + return this; + } + public String getTier() { + return this.tier; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RoutingRule.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RoutingRule.java new file mode 100644 index 00000000..821eae5a --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RoutingRule.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class RoutingRule extends TeaModel { + @NameInMap("Condition") + public RoutingRuleCondition condition; + + @NameInMap("Redirect") + public RoutingRuleRedirect redirect; + + @NameInMap("RuleNumber") + public Long ruleNumber; + + public static RoutingRule build(java.util.Map map) throws Exception { + RoutingRule self = new RoutingRule(); + return TeaModel.build(map, self); + } + + public RoutingRule setCondition(RoutingRuleCondition condition) { + this.condition = condition; + return this; + } + public RoutingRuleCondition getCondition() { + return this.condition; + } + + public RoutingRule setRedirect(RoutingRuleRedirect redirect) { + this.redirect = redirect; + return this; + } + public RoutingRuleRedirect getRedirect() { + return this.redirect; + } + + public RoutingRule setRuleNumber(Long ruleNumber) { + this.ruleNumber = ruleNumber; + return this; + } + public Long getRuleNumber() { + return this.ruleNumber; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RoutingRuleCondition.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RoutingRuleCondition.java new file mode 100644 index 00000000..df25710c --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RoutingRuleCondition.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class RoutingRuleCondition extends TeaModel { + @NameInMap("HttpErrorCodeReturnedEquals") + public Long httpErrorCodeReturnedEquals; + + @NameInMap("KeyPrefixEquals") + public String keyPrefixEquals; + + public static RoutingRuleCondition build(java.util.Map map) throws Exception { + RoutingRuleCondition self = new RoutingRuleCondition(); + return TeaModel.build(map, self); + } + + public RoutingRuleCondition setHttpErrorCodeReturnedEquals(Long httpErrorCodeReturnedEquals) { + this.httpErrorCodeReturnedEquals = httpErrorCodeReturnedEquals; + return this; + } + public Long getHttpErrorCodeReturnedEquals() { + return this.httpErrorCodeReturnedEquals; + } + + public RoutingRuleCondition setKeyPrefixEquals(String keyPrefixEquals) { + this.keyPrefixEquals = keyPrefixEquals; + return this; + } + public String getKeyPrefixEquals() { + return this.keyPrefixEquals; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RoutingRuleRedirect.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RoutingRuleRedirect.java new file mode 100644 index 00000000..f33196c9 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RoutingRuleRedirect.java @@ -0,0 +1,248 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class RoutingRuleRedirect extends TeaModel { + @NameInMap("EnableReplacePrefix") + public Boolean enableReplacePrefix; + + @NameInMap("HostName") + public String hostName; + + @NameInMap("HttpRedirectCode") + public Long httpRedirectCode; + + @NameInMap("MirrorCheckMd5") + public Boolean mirrorCheckMd5; + + @NameInMap("MirrorFollowRedirect") + public Boolean mirrorFollowRedirect; + + @NameInMap("MirrorHeaders") + public RoutingRuleRedirectMirrorHeaders mirrorHeaders; + + @NameInMap("MirrorPassQueryString") + public Boolean mirrorPassQueryString; + + @NameInMap("MirrorURL") + public String mirrorURL; + + @NameInMap("PassQueryString") + public Boolean passQueryString; + + @NameInMap("Protocol") + public String protocol; + + @NameInMap("RedirectType") + public String redirectType; + + @NameInMap("ReplaceKeyPrefixWith") + public String replaceKeyPrefixWith; + + @NameInMap("ReplaceKeyWith") + public String replaceKeyWith; + + @NameInMap("TransparentMirrorResponseCodes") + public String transparentMirrorResponseCodes; + + public static RoutingRuleRedirect build(java.util.Map map) throws Exception { + RoutingRuleRedirect self = new RoutingRuleRedirect(); + return TeaModel.build(map, self); + } + + public RoutingRuleRedirect setEnableReplacePrefix(Boolean enableReplacePrefix) { + this.enableReplacePrefix = enableReplacePrefix; + return this; + } + public Boolean getEnableReplacePrefix() { + return this.enableReplacePrefix; + } + + public RoutingRuleRedirect setHostName(String hostName) { + this.hostName = hostName; + return this; + } + public String getHostName() { + return this.hostName; + } + + public RoutingRuleRedirect setHttpRedirectCode(Long httpRedirectCode) { + this.httpRedirectCode = httpRedirectCode; + return this; + } + public Long getHttpRedirectCode() { + return this.httpRedirectCode; + } + + public RoutingRuleRedirect setMirrorCheckMd5(Boolean mirrorCheckMd5) { + this.mirrorCheckMd5 = mirrorCheckMd5; + return this; + } + public Boolean getMirrorCheckMd5() { + return this.mirrorCheckMd5; + } + + public RoutingRuleRedirect setMirrorFollowRedirect(Boolean mirrorFollowRedirect) { + this.mirrorFollowRedirect = mirrorFollowRedirect; + return this; + } + public Boolean getMirrorFollowRedirect() { + return this.mirrorFollowRedirect; + } + + public RoutingRuleRedirect setMirrorHeaders(RoutingRuleRedirectMirrorHeaders mirrorHeaders) { + this.mirrorHeaders = mirrorHeaders; + return this; + } + public RoutingRuleRedirectMirrorHeaders getMirrorHeaders() { + return this.mirrorHeaders; + } + + public RoutingRuleRedirect setMirrorPassQueryString(Boolean mirrorPassQueryString) { + this.mirrorPassQueryString = mirrorPassQueryString; + return this; + } + public Boolean getMirrorPassQueryString() { + return this.mirrorPassQueryString; + } + + public RoutingRuleRedirect setMirrorURL(String mirrorURL) { + this.mirrorURL = mirrorURL; + return this; + } + public String getMirrorURL() { + return this.mirrorURL; + } + + public RoutingRuleRedirect setPassQueryString(Boolean passQueryString) { + this.passQueryString = passQueryString; + return this; + } + public Boolean getPassQueryString() { + return this.passQueryString; + } + + public RoutingRuleRedirect setProtocol(String protocol) { + this.protocol = protocol; + return this; + } + public String getProtocol() { + return this.protocol; + } + + public RoutingRuleRedirect setRedirectType(String redirectType) { + this.redirectType = redirectType; + return this; + } + public String getRedirectType() { + return this.redirectType; + } + + public RoutingRuleRedirect setReplaceKeyPrefixWith(String replaceKeyPrefixWith) { + this.replaceKeyPrefixWith = replaceKeyPrefixWith; + return this; + } + public String getReplaceKeyPrefixWith() { + return this.replaceKeyPrefixWith; + } + + public RoutingRuleRedirect setReplaceKeyWith(String replaceKeyWith) { + this.replaceKeyWith = replaceKeyWith; + return this; + } + public String getReplaceKeyWith() { + return this.replaceKeyWith; + } + + public RoutingRuleRedirect setTransparentMirrorResponseCodes(String transparentMirrorResponseCodes) { + this.transparentMirrorResponseCodes = transparentMirrorResponseCodes; + return this; + } + public String getTransparentMirrorResponseCodes() { + return this.transparentMirrorResponseCodes; + } + + public static class RoutingRuleRedirectMirrorHeadersSet extends TeaModel { + @NameInMap("Key") + public String key; + + @NameInMap("Value") + public String value; + + public static RoutingRuleRedirectMirrorHeadersSet build(java.util.Map map) throws Exception { + RoutingRuleRedirectMirrorHeadersSet self = new RoutingRuleRedirectMirrorHeadersSet(); + return TeaModel.build(map, self); + } + + public RoutingRuleRedirectMirrorHeadersSet setKey(String key) { + this.key = key; + return this; + } + public String getKey() { + return this.key; + } + + public RoutingRuleRedirectMirrorHeadersSet setValue(String value) { + this.value = value; + return this; + } + public String getValue() { + return this.value; + } + + } + + public static class RoutingRuleRedirectMirrorHeaders extends TeaModel { + @NameInMap("Pass") + public java.util.List pass; + + @NameInMap("PassAll") + public Boolean passAll; + + @NameInMap("Remove") + public java.util.List remove; + + @NameInMap("Set") + public java.util.List set; + + public static RoutingRuleRedirectMirrorHeaders build(java.util.Map map) throws Exception { + RoutingRuleRedirectMirrorHeaders self = new RoutingRuleRedirectMirrorHeaders(); + return TeaModel.build(map, self); + } + + public RoutingRuleRedirectMirrorHeaders setPass(java.util.List pass) { + this.pass = pass; + return this; + } + public java.util.List getPass() { + return this.pass; + } + + public RoutingRuleRedirectMirrorHeaders setPassAll(Boolean passAll) { + this.passAll = passAll; + return this; + } + public Boolean getPassAll() { + return this.passAll; + } + + public RoutingRuleRedirectMirrorHeaders setRemove(java.util.List remove) { + this.remove = remove; + return this; + } + public java.util.List getRemove() { + return this.remove; + } + + public RoutingRuleRedirectMirrorHeaders setSet(java.util.List set) { + this.set = set; + return this; + } + public java.util.List getSet() { + return this.set; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RtcConfiguration.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RtcConfiguration.java new file mode 100644 index 00000000..65e0c0fa --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/RtcConfiguration.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class RtcConfiguration extends TeaModel { + @NameInMap("ID") + public String ID; + + @NameInMap("RTC") + public RTC RTC; + + public static RtcConfiguration build(java.util.Map map) throws Exception { + RtcConfiguration self = new RtcConfiguration(); + return TeaModel.build(map, self); + } + + public RtcConfiguration setID(String ID) { + this.ID = ID; + return this; + } + public String getID() { + return this.ID; + } + + public RtcConfiguration setRTC(RTC RTC) { + this.RTC = RTC; + return this; + } + public RTC getRTC() { + return this.RTC; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SSEKMS.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SSEKMS.java new file mode 100644 index 00000000..5c1dcfea --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SSEKMS.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class SSEKMS extends TeaModel { + @NameInMap("KeyId") + public String keyId; + + public static SSEKMS build(java.util.Map map) throws Exception { + SSEKMS self = new SSEKMS(); + return TeaModel.build(map, self); + } + + public SSEKMS setKeyId(String keyId) { + this.keyId = keyId; + return this; + } + public String getKeyId() { + return this.keyId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SSEOSS.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SSEOSS.java new file mode 100644 index 00000000..6690c117 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SSEOSS.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class SSEOSS extends TeaModel { + @NameInMap("unused") + public String unused; + + public static SSEOSS build(java.util.Map map) throws Exception { + SSEOSS self = new SSEOSS(); + return TeaModel.build(map, self); + } + + public SSEOSS setUnused(String unused) { + this.unused = unused; + return this; + } + public String getUnused() { + return this.unused; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SelectMetaRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SelectMetaRequest.java new file mode 100644 index 00000000..89932061 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SelectMetaRequest.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class SelectMetaRequest extends TeaModel { + @NameInMap("InputSerialization") + public InputSerialization inputSerialization; + + @NameInMap("OverwriteIfExists") + public Boolean overwriteIfExists; + + public static SelectMetaRequest build(java.util.Map map) throws Exception { + SelectMetaRequest self = new SelectMetaRequest(); + return TeaModel.build(map, self); + } + + public SelectMetaRequest setInputSerialization(InputSerialization inputSerialization) { + this.inputSerialization = inputSerialization; + return this; + } + public InputSerialization getInputSerialization() { + return this.inputSerialization; + } + + public SelectMetaRequest setOverwriteIfExists(Boolean overwriteIfExists) { + this.overwriteIfExists = overwriteIfExists; + return this; + } + public Boolean getOverwriteIfExists() { + return this.overwriteIfExists; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SelectMetaStatus.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SelectMetaStatus.java new file mode 100644 index 00000000..17f4026f --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SelectMetaStatus.java @@ -0,0 +1,89 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class SelectMetaStatus extends TeaModel { + @NameInMap("ColsCount") + public Long colsCount; + + @NameInMap("ErrorMessage") + public String errorMessage; + + @NameInMap("Offset") + public Long offset; + + @NameInMap("RowsCount") + public Long rowsCount; + + @NameInMap("SplitsCount") + public Long splitsCount; + + @NameInMap("Status") + public Long status; + + @NameInMap("TotalScannedBytes") + public Long totalScannedBytes; + + public static SelectMetaStatus build(java.util.Map map) throws Exception { + SelectMetaStatus self = new SelectMetaStatus(); + return TeaModel.build(map, self); + } + + public SelectMetaStatus setColsCount(Long colsCount) { + this.colsCount = colsCount; + return this; + } + public Long getColsCount() { + return this.colsCount; + } + + public SelectMetaStatus setErrorMessage(String errorMessage) { + this.errorMessage = errorMessage; + return this; + } + public String getErrorMessage() { + return this.errorMessage; + } + + public SelectMetaStatus setOffset(Long offset) { + this.offset = offset; + return this; + } + public Long getOffset() { + return this.offset; + } + + public SelectMetaStatus setRowsCount(Long rowsCount) { + this.rowsCount = rowsCount; + return this; + } + public Long getRowsCount() { + return this.rowsCount; + } + + public SelectMetaStatus setSplitsCount(Long splitsCount) { + this.splitsCount = splitsCount; + return this; + } + public Long getSplitsCount() { + return this.splitsCount; + } + + public SelectMetaStatus setStatus(Long status) { + this.status = status; + return this; + } + public Long getStatus() { + return this.status; + } + + public SelectMetaStatus setTotalScannedBytes(Long totalScannedBytes) { + this.totalScannedBytes = totalScannedBytes; + return this; + } + public Long getTotalScannedBytes() { + return this.totalScannedBytes; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SelectObjectRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SelectObjectRequest.java new file mode 100644 index 00000000..31b3628c --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SelectObjectRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class SelectObjectRequest extends TeaModel { + /** + *

The container that stores the SelectObject request.

+ */ + @NameInMap("body") + public SelectRequest body; + + public static SelectObjectRequest build(java.util.Map map) throws Exception { + SelectObjectRequest self = new SelectObjectRequest(); + return TeaModel.build(map, self); + } + + public SelectObjectRequest setBody(SelectRequest body) { + this.body = body; + return this; + } + public SelectRequest getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SelectObjectResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SelectObjectResponse.java new file mode 100644 index 00000000..492708b5 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SelectObjectResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class SelectObjectResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public java.io.InputStream body; + + public static SelectObjectResponse build(java.util.Map map) throws Exception { + SelectObjectResponse self = new SelectObjectResponse(); + return TeaModel.build(map, self); + } + + public SelectObjectResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public SelectObjectResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public SelectObjectResponse setBody(java.io.InputStream body) { + this.body = body; + return this; + } + public java.io.InputStream getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SelectRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SelectRequest.java new file mode 100644 index 00000000..948972f0 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SelectRequest.java @@ -0,0 +1,56 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class SelectRequest extends TeaModel { + @NameInMap("Expression") + public String expression; + + @NameInMap("InputSerialization") + public InputSerialization inputSerialization; + + @NameInMap("Options") + public SelectRequestOptions options; + + @NameInMap("OutputSerialization") + public OutputSerialization outputSerialization; + + public static SelectRequest build(java.util.Map map) throws Exception { + SelectRequest self = new SelectRequest(); + return TeaModel.build(map, self); + } + + public SelectRequest setExpression(String expression) { + this.expression = expression; + return this; + } + public String getExpression() { + return this.expression; + } + + public SelectRequest setInputSerialization(InputSerialization inputSerialization) { + this.inputSerialization = inputSerialization; + return this; + } + public InputSerialization getInputSerialization() { + return this.inputSerialization; + } + + public SelectRequest setOptions(SelectRequestOptions options) { + this.options = options; + return this; + } + public SelectRequestOptions getOptions() { + return this.options; + } + + public SelectRequest setOutputSerialization(OutputSerialization outputSerialization) { + this.outputSerialization = outputSerialization; + return this; + } + public OutputSerialization getOutputSerialization() { + return this.outputSerialization; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SelectRequestOptions.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SelectRequestOptions.java new file mode 100644 index 00000000..590902cc --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/SelectRequestOptions.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class SelectRequestOptions extends TeaModel { + @NameInMap("MaxSkippedRecordsAllowed") + public Long maxSkippedRecordsAllowed; + + @NameInMap("SkipPartialDataRecord") + public Boolean skipPartialDataRecord; + + public static SelectRequestOptions build(java.util.Map map) throws Exception { + SelectRequestOptions self = new SelectRequestOptions(); + return TeaModel.build(map, self); + } + + public SelectRequestOptions setMaxSkippedRecordsAllowed(Long maxSkippedRecordsAllowed) { + this.maxSkippedRecordsAllowed = maxSkippedRecordsAllowed; + return this; + } + public Long getMaxSkippedRecordsAllowed() { + return this.maxSkippedRecordsAllowed; + } + + public SelectRequestOptions setSkipPartialDataRecord(Boolean skipPartialDataRecord) { + this.skipPartialDataRecord = skipPartialDataRecord; + return this; + } + public Boolean getSkipPartialDataRecord() { + return this.skipPartialDataRecord; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ServerSideEncryptionRule.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ServerSideEncryptionRule.java new file mode 100644 index 00000000..d05595ec --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ServerSideEncryptionRule.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class ServerSideEncryptionRule extends TeaModel { + @NameInMap("ApplyServerSideEncryptionByDefault") + public ApplyServerSideEncryptionByDefault applyServerSideEncryptionByDefault; + + public static ServerSideEncryptionRule build(java.util.Map map) throws Exception { + ServerSideEncryptionRule self = new ServerSideEncryptionRule(); + return TeaModel.build(map, self); + } + + public ServerSideEncryptionRule setApplyServerSideEncryptionByDefault(ApplyServerSideEncryptionByDefault applyServerSideEncryptionByDefault) { + this.applyServerSideEncryptionByDefault = applyServerSideEncryptionByDefault; + return this; + } + public ApplyServerSideEncryptionByDefault getApplyServerSideEncryptionByDefault() { + return this.applyServerSideEncryptionByDefault; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Style.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Style.java new file mode 100644 index 00000000..78b32f65 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Style.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class Style extends TeaModel { + @NameInMap("Content") + public String content; + + public static Style build(java.util.Map map) throws Exception { + Style self = new Style(); + return TeaModel.build(map, self); + } + + public Style setContent(String content) { + this.content = content; + return this; + } + public String getContent() { + return this.content; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/StyleInfo.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/StyleInfo.java new file mode 100644 index 00000000..221f7bf1 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/StyleInfo.java @@ -0,0 +1,56 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class StyleInfo extends TeaModel { + @NameInMap("Content") + public String content; + + @NameInMap("CreateTime") + public String createTime; + + @NameInMap("LastModifyTime") + public String lastModifyTime; + + @NameInMap("Name") + public String name; + + public static StyleInfo build(java.util.Map map) throws Exception { + StyleInfo self = new StyleInfo(); + return TeaModel.build(map, self); + } + + public StyleInfo setContent(String content) { + this.content = content; + return this; + } + public String getContent() { + return this.content; + } + + public StyleInfo setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + public String getCreateTime() { + return this.createTime; + } + + public StyleInfo setLastModifyTime(String lastModifyTime) { + this.lastModifyTime = lastModifyTime; + return this; + } + public String getLastModifyTime() { + return this.lastModifyTime; + } + + public StyleInfo setName(String name) { + this.name = name; + return this; + } + public String getName() { + return this.name; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Tag.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Tag.java new file mode 100644 index 00000000..49a4c383 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Tag.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class Tag extends TeaModel { + @NameInMap("Key") + public String key; + + @NameInMap("Value") + public String value; + + public static Tag build(java.util.Map map) throws Exception { + Tag self = new Tag(); + return TeaModel.build(map, self); + } + + public Tag setKey(String key) { + this.key = key; + return this; + } + public String getKey() { + return this.key; + } + + public Tag setValue(String value) { + this.value = value; + return this; + } + public String getValue() { + return this.value; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/TagSet.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/TagSet.java new file mode 100644 index 00000000..e33919b4 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/TagSet.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class TagSet extends TeaModel { + @NameInMap("Tag") + public java.util.List tag; + + public static TagSet build(java.util.Map map) throws Exception { + TagSet self = new TagSet(); + return TeaModel.build(map, self); + } + + public TagSet setTag(java.util.List tag) { + this.tag = tag; + return this; + } + public java.util.List getTag() { + return this.tag; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Tagging.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Tagging.java new file mode 100644 index 00000000..fc809b93 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Tagging.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class Tagging extends TeaModel { + @NameInMap("TagSet") + public TagSet tagSet; + + public static Tagging build(java.util.Map map) throws Exception { + Tagging self = new Tagging(); + return TeaModel.build(map, self); + } + + public Tagging setTagSet(TagSet tagSet) { + this.tagSet = tagSet; + return this; + } + public TagSet getTagSet() { + return this.tagSet; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/TransferAccelerationConfiguration.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/TransferAccelerationConfiguration.java new file mode 100644 index 00000000..00e2fb68 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/TransferAccelerationConfiguration.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class TransferAccelerationConfiguration extends TeaModel { + @NameInMap("Enabled") + public Boolean enabled; + + public static TransferAccelerationConfiguration build(java.util.Map map) throws Exception { + TransferAccelerationConfiguration self = new TransferAccelerationConfiguration(); + return TeaModel.build(map, self); + } + + public TransferAccelerationConfiguration setEnabled(Boolean enabled) { + this.enabled = enabled; + return this; + } + public Boolean getEnabled() { + return this.enabled; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateBucketAntiDDosInfoHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateBucketAntiDDosInfoHeaders.java new file mode 100644 index 00000000..dbbd3427 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateBucketAntiDDosInfoHeaders.java @@ -0,0 +1,55 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class UpdateBucketAntiDDosInfoHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + /** + *

The Anti-DDoS instance ID.

+ */ + @NameInMap("x-oss-defender-instance") + public String xOssDefenderInstance; + + /** + *

The new status of the Anti-DDoS instance. Valid values:

+ *
+ *

* Init: You must specify the custom domain name that you want to protect.

+ *

* Defending: You can select whether to specify the custom domain name that you want to protect.

+ *

* HaltDefending: You do not need to specify the custom domain name that you want to protect.

+ */ + @NameInMap("x-oss-defender-status") + public String xOssDefenderStatus; + + public static UpdateBucketAntiDDosInfoHeaders build(java.util.Map map) throws Exception { + UpdateBucketAntiDDosInfoHeaders self = new UpdateBucketAntiDDosInfoHeaders(); + return TeaModel.build(map, self); + } + + public UpdateBucketAntiDDosInfoHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public UpdateBucketAntiDDosInfoHeaders setXOssDefenderInstance(String xOssDefenderInstance) { + this.xOssDefenderInstance = xOssDefenderInstance; + return this; + } + public String getXOssDefenderInstance() { + return this.xOssDefenderInstance; + } + + public UpdateBucketAntiDDosInfoHeaders setXOssDefenderStatus(String xOssDefenderStatus) { + this.xOssDefenderStatus = xOssDefenderStatus; + return this; + } + public String getXOssDefenderStatus() { + return this.xOssDefenderStatus; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateBucketAntiDDosInfoRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateBucketAntiDDosInfoRequest.java new file mode 100644 index 00000000..71a64cfd --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateBucketAntiDDosInfoRequest.java @@ -0,0 +1,26 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class UpdateBucketAntiDDosInfoRequest extends TeaModel { + /** + *

The container that stores the configurations of the Anti-DDoS instance.

+ */ + @NameInMap("body") + public BucketAntiDDOSConfiguration body; + + public static UpdateBucketAntiDDosInfoRequest build(java.util.Map map) throws Exception { + UpdateBucketAntiDDosInfoRequest self = new UpdateBucketAntiDDosInfoRequest(); + return TeaModel.build(map, self); + } + + public UpdateBucketAntiDDosInfoRequest setBody(BucketAntiDDOSConfiguration body) { + this.body = body; + return this; + } + public BucketAntiDDOSConfiguration getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateBucketAntiDDosInfoResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateBucketAntiDDosInfoResponse.java new file mode 100644 index 00000000..9fb6237a --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateBucketAntiDDosInfoResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class UpdateBucketAntiDDosInfoResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static UpdateBucketAntiDDosInfoResponse build(java.util.Map map) throws Exception { + UpdateBucketAntiDDosInfoResponse self = new UpdateBucketAntiDDosInfoResponse(); + return TeaModel.build(map, self); + } + + public UpdateBucketAntiDDosInfoResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public UpdateBucketAntiDDosInfoResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateUserAntiDDosInfoHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateUserAntiDDosInfoHeaders.java new file mode 100644 index 00000000..c7105ce8 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateUserAntiDDosInfoHeaders.java @@ -0,0 +1,51 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class UpdateUserAntiDDosInfoHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + /** + *

The Anti-DDoS instance ID.

+ */ + @NameInMap("x-oss-defender-instance") + public String xOssDefenderInstance; + + /** + *

The new status of the Anti-DDoS instance. Set the value to HaltDefending, which indicates that the Anti-DDos protection is disabled for a bucket.

+ */ + @NameInMap("x-oss-defender-status") + public String xOssDefenderStatus; + + public static UpdateUserAntiDDosInfoHeaders build(java.util.Map map) throws Exception { + UpdateUserAntiDDosInfoHeaders self = new UpdateUserAntiDDosInfoHeaders(); + return TeaModel.build(map, self); + } + + public UpdateUserAntiDDosInfoHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public UpdateUserAntiDDosInfoHeaders setXOssDefenderInstance(String xOssDefenderInstance) { + this.xOssDefenderInstance = xOssDefenderInstance; + return this; + } + public String getXOssDefenderInstance() { + return this.xOssDefenderInstance; + } + + public UpdateUserAntiDDosInfoHeaders setXOssDefenderStatus(String xOssDefenderStatus) { + this.xOssDefenderStatus = xOssDefenderStatus; + return this; + } + public String getXOssDefenderStatus() { + return this.xOssDefenderStatus; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateUserAntiDDosInfoResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateUserAntiDDosInfoResponse.java new file mode 100644 index 00000000..899d22b3 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateUserAntiDDosInfoResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class UpdateUserAntiDDosInfoResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static UpdateUserAntiDDosInfoResponse build(java.util.Map map) throws Exception { + UpdateUserAntiDDosInfoResponse self = new UpdateUserAntiDDosInfoResponse(); + return TeaModel.build(map, self); + } + + public UpdateUserAntiDDosInfoResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public UpdateUserAntiDDosInfoResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Upload.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Upload.java new file mode 100644 index 00000000..fea00557 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/Upload.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class Upload extends TeaModel { + @NameInMap("Initiated") + public String initiated; + + @NameInMap("Key") + public String key; + + @NameInMap("UploadId") + public String uploadId; + + public static Upload build(java.util.Map map) throws Exception { + Upload self = new Upload(); + return TeaModel.build(map, self); + } + + public Upload setInitiated(String initiated) { + this.initiated = initiated; + return this; + } + public String getInitiated() { + return this.initiated; + } + + public Upload setKey(String key) { + this.key = key; + return this; + } + public String getKey() { + return this.key; + } + + public Upload setUploadId(String uploadId) { + this.uploadId = uploadId; + return this; + } + public String getUploadId() { + return this.uploadId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UploadPartCopyHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UploadPartCopyHeaders.java new file mode 100644 index 00000000..4aa1a691 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UploadPartCopyHeaders.java @@ -0,0 +1,118 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class UploadPartCopyHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + /** + *

The address to access the source object. You must have permissions to read the source object.

+ *


Default value: null

+ */ + @NameInMap("x-oss-copy-source") + public String xOssCopySource; + + /** + *

The copy operation condition. If the ETag value of the source object is the same as the ETag value provided by the user, OSS copies data. Otherwise, OSS returns 412 Precondition Failed.

+ *


Default value: null

+ */ + @NameInMap("x-oss-copy-source-if-match") + public String xOssCopySourceIfMatch; + + /** + *

The object transfer condition. If the specified time is earlier than the actual modified time of the object, the system transfers the object normally and returns 200 OK. Otherwise, OSS returns 304 Not Modified.

+ *


Default value: null

+ *


Time format: ddd, dd MMM yyyy HH:mm:ss GMT. Example: Fri, 13 Nov 2015 14:47:53 GMT.

+ */ + @NameInMap("x-oss-copy-source-if-modified-since") + public String xOssCopySourceIfModifiedSince; + + /** + *

The object transfer condition. If the input ETag value does not match the ETag value of the object, the system transfers the object normally and returns 200 OK. Otherwise, OSS returns 304 Not Modified.

+ *


Default value: null

+ */ + @NameInMap("x-oss-copy-source-if-none-match") + public String xOssCopySourceIfNoneMatch; + + /** + *

The object transfer condition. If the specified time is the same as or later than the actual modified time of the object, OSS transfers the object normally and returns 200 OK. Otherwise, OSS returns 412 Precondition Failed.

+ *


Default value: null

+ */ + @NameInMap("x-oss-copy-source-if-unmodified-since") + public String xOssCopySourceIfUnmodifiedSince; + + /** + *

The range of bytes to copy data from the source object. For example, if you specify bytes to 0 to 9, the system transfers byte 0 to byte 9, a total of 10 bytes.

+ *


Default value: null

+ *
+ *

- If the x-oss-copy-source-range request header is not specified, the entire source object is copied.

+ *

- If the x-oss-copy-source-range request header is specified, the response contains the length of the entire object and the range of bytes to be copied for this operation. For example, Content-Range: bytes 0~9/44 indicates that the length of the entire object is 44 bytes. The range of bytes to be copied is byte 0 to byte 9.

+ *

- If the specified range does not conform to the range conventions, OSS copies the entire object and does not include Content-Range in the response.

+ */ + @NameInMap("x-oss-copy-source-range") + public String xOssCopySourceRange; + + public static UploadPartCopyHeaders build(java.util.Map map) throws Exception { + UploadPartCopyHeaders self = new UploadPartCopyHeaders(); + return TeaModel.build(map, self); + } + + public UploadPartCopyHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public UploadPartCopyHeaders setXOssCopySource(String xOssCopySource) { + this.xOssCopySource = xOssCopySource; + return this; + } + public String getXOssCopySource() { + return this.xOssCopySource; + } + + public UploadPartCopyHeaders setXOssCopySourceIfMatch(String xOssCopySourceIfMatch) { + this.xOssCopySourceIfMatch = xOssCopySourceIfMatch; + return this; + } + public String getXOssCopySourceIfMatch() { + return this.xOssCopySourceIfMatch; + } + + public UploadPartCopyHeaders setXOssCopySourceIfModifiedSince(String xOssCopySourceIfModifiedSince) { + this.xOssCopySourceIfModifiedSince = xOssCopySourceIfModifiedSince; + return this; + } + public String getXOssCopySourceIfModifiedSince() { + return this.xOssCopySourceIfModifiedSince; + } + + public UploadPartCopyHeaders setXOssCopySourceIfNoneMatch(String xOssCopySourceIfNoneMatch) { + this.xOssCopySourceIfNoneMatch = xOssCopySourceIfNoneMatch; + return this; + } + public String getXOssCopySourceIfNoneMatch() { + return this.xOssCopySourceIfNoneMatch; + } + + public UploadPartCopyHeaders setXOssCopySourceIfUnmodifiedSince(String xOssCopySourceIfUnmodifiedSince) { + this.xOssCopySourceIfUnmodifiedSince = xOssCopySourceIfUnmodifiedSince; + return this; + } + public String getXOssCopySourceIfUnmodifiedSince() { + return this.xOssCopySourceIfUnmodifiedSince; + } + + public UploadPartCopyHeaders setXOssCopySourceRange(String xOssCopySourceRange) { + this.xOssCopySourceRange = xOssCopySourceRange; + return this; + } + public String getXOssCopySourceRange() { + return this.xOssCopySourceRange; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UploadPartCopyRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UploadPartCopyRequest.java new file mode 100644 index 00000000..8186cc24 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UploadPartCopyRequest.java @@ -0,0 +1,40 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class UploadPartCopyRequest extends TeaModel { + /** + *

The number of parts.

+ */ + @NameInMap("partNumber") + public Long partNumber; + + /** + *

The ID that identifies the object to which the parts to upload belong.

+ */ + @NameInMap("uploadId") + public String uploadId; + + public static UploadPartCopyRequest build(java.util.Map map) throws Exception { + UploadPartCopyRequest self = new UploadPartCopyRequest(); + return TeaModel.build(map, self); + } + + public UploadPartCopyRequest setPartNumber(Long partNumber) { + this.partNumber = partNumber; + return this; + } + public Long getPartNumber() { + return this.partNumber; + } + + public UploadPartCopyRequest setUploadId(String uploadId) { + this.uploadId = uploadId; + return this; + } + public String getUploadId() { + return this.uploadId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UploadPartCopyResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UploadPartCopyResponse.java new file mode 100644 index 00000000..cd9b9a91 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UploadPartCopyResponse.java @@ -0,0 +1,45 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class UploadPartCopyResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + @NameInMap("body") + public UploadPartCopyResponseBody body; + + public static UploadPartCopyResponse build(java.util.Map map) throws Exception { + UploadPartCopyResponse self = new UploadPartCopyResponse(); + return TeaModel.build(map, self); + } + + public UploadPartCopyResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public UploadPartCopyResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + + public UploadPartCopyResponse setBody(UploadPartCopyResponseBody body) { + this.body = body; + return this; + } + public UploadPartCopyResponseBody getBody() { + return this.body; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UploadPartCopyResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UploadPartCopyResponseBody.java new file mode 100644 index 00000000..6347c372 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UploadPartCopyResponseBody.java @@ -0,0 +1,42 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class UploadPartCopyResponseBody extends TeaModel { + /** + *

The ETag that is generated when an object is created. ETags are used to identify the content of objects.

+ *


If an object is created by calling the CompleteMultipartUpload operation, the ETag value is not the MD5 hash of the object content but a unique value calculated based on a specific rule.

+ *

>The ETag value of the object can be used to check whether the object content is modified. However, we recommend that you use the MD5 hash of an object rather than the ETag value of the object to verify data integrity.

+ */ + @NameInMap("ETag") + public String ETag; + + /** + *

The time when the object was last modified.

+ */ + @NameInMap("LastModified") + public String lastModified; + + public static UploadPartCopyResponseBody build(java.util.Map map) throws Exception { + UploadPartCopyResponseBody self = new UploadPartCopyResponseBody(); + return TeaModel.build(map, self); + } + + public UploadPartCopyResponseBody setETag(String ETag) { + this.ETag = ETag; + return this; + } + public String getETag() { + return this.ETag; + } + + public UploadPartCopyResponseBody setLastModified(String lastModified) { + this.lastModified = lastModified; + return this; + } + public String getLastModified() { + return this.lastModified; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UploadPartRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UploadPartRequest.java new file mode 100644 index 00000000..d3f7885b --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UploadPartRequest.java @@ -0,0 +1,59 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class UploadPartRequest extends TeaModel { + /** + *

The request body.

+ */ + @NameInMap("body") + public java.io.InputStream body; + + /** + *

The number that identifies a part.

+ *
+ *

Valid values: 1 to 10000.

+ *
+ *

The size of a part ranges from 100 KB to 5 GB.

+ *

> In multipart upload, each part except the last part must be larger than or equal to 100 KB in size. When you call the UploadPart operation, the size of each part is not verified because not all parts have been uploaded and OSS does not know which part is the last part. The size of each part is verified only when you call CompleteMultipartUpload.

+ */ + @NameInMap("partNumber") + public Long partNumber; + + /** + *

The ID that identifies the object to which the part that you want to upload belongs.

+ */ + @NameInMap("uploadId") + public String uploadId; + + public static UploadPartRequest build(java.util.Map map) throws Exception { + UploadPartRequest self = new UploadPartRequest(); + return TeaModel.build(map, self); + } + + public UploadPartRequest setBody(java.io.InputStream body) { + this.body = body; + return this; + } + public java.io.InputStream getBody() { + return this.body; + } + + public UploadPartRequest setPartNumber(Long partNumber) { + this.partNumber = partNumber; + return this; + } + public Long getPartNumber() { + return this.partNumber; + } + + public UploadPartRequest setUploadId(String uploadId) { + this.uploadId = uploadId; + return this; + } + public String getUploadId() { + return this.uploadId; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UploadPartResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UploadPartResponse.java new file mode 100644 index 00000000..1db76253 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UploadPartResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class UploadPartResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static UploadPartResponse build(java.util.Map map) throws Exception { + UploadPartResponse self = new UploadPartResponse(); + return TeaModel.build(map, self); + } + + public UploadPartResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public UploadPartResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UserAntiDDOSInfo.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UserAntiDDOSInfo.java new file mode 100644 index 00000000..14db36e8 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UserAntiDDOSInfo.java @@ -0,0 +1,78 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class UserAntiDDOSInfo extends TeaModel { + @NameInMap("ActiveTime") + public Long activeTime; + + @NameInMap("Ctime") + public Long ctime; + + @NameInMap("InstanceId") + public String instanceId; + + @NameInMap("Mtime") + public Long mtime; + + @NameInMap("Owner") + public String owner; + + @NameInMap("Status") + public String status; + + public static UserAntiDDOSInfo build(java.util.Map map) throws Exception { + UserAntiDDOSInfo self = new UserAntiDDOSInfo(); + return TeaModel.build(map, self); + } + + public UserAntiDDOSInfo setActiveTime(Long activeTime) { + this.activeTime = activeTime; + return this; + } + public Long getActiveTime() { + return this.activeTime; + } + + public UserAntiDDOSInfo setCtime(Long ctime) { + this.ctime = ctime; + return this; + } + public Long getCtime() { + return this.ctime; + } + + public UserAntiDDOSInfo setInstanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + public String getInstanceId() { + return this.instanceId; + } + + public UserAntiDDOSInfo setMtime(Long mtime) { + this.mtime = mtime; + return this; + } + public Long getMtime() { + return this.mtime; + } + + public UserAntiDDOSInfo setOwner(String owner) { + this.owner = owner; + return this; + } + public String getOwner() { + return this.owner; + } + + public UserAntiDDOSInfo setStatus(String status) { + this.status = status; + return this; + } + public String getStatus() { + return this.status; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UserDefinedLogFieldsConfiguration.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UserDefinedLogFieldsConfiguration.java new file mode 100644 index 00000000..b8f4671f --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UserDefinedLogFieldsConfiguration.java @@ -0,0 +1,72 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class UserDefinedLogFieldsConfiguration extends TeaModel { + @NameInMap("HeaderSet") + public UserDefinedLogFieldsConfigurationHeaderSet headerSet; + + @NameInMap("ParamSet") + public UserDefinedLogFieldsConfigurationParamSet paramSet; + + public static UserDefinedLogFieldsConfiguration build(java.util.Map map) throws Exception { + UserDefinedLogFieldsConfiguration self = new UserDefinedLogFieldsConfiguration(); + return TeaModel.build(map, self); + } + + public UserDefinedLogFieldsConfiguration setHeaderSet(UserDefinedLogFieldsConfigurationHeaderSet headerSet) { + this.headerSet = headerSet; + return this; + } + public UserDefinedLogFieldsConfigurationHeaderSet getHeaderSet() { + return this.headerSet; + } + + public UserDefinedLogFieldsConfiguration setParamSet(UserDefinedLogFieldsConfigurationParamSet paramSet) { + this.paramSet = paramSet; + return this; + } + public UserDefinedLogFieldsConfigurationParamSet getParamSet() { + return this.paramSet; + } + + public static class UserDefinedLogFieldsConfigurationHeaderSet extends TeaModel { + @NameInMap("header") + public java.util.List header; + + public static UserDefinedLogFieldsConfigurationHeaderSet build(java.util.Map map) throws Exception { + UserDefinedLogFieldsConfigurationHeaderSet self = new UserDefinedLogFieldsConfigurationHeaderSet(); + return TeaModel.build(map, self); + } + + public UserDefinedLogFieldsConfigurationHeaderSet setHeader(java.util.List header) { + this.header = header; + return this; + } + public java.util.List getHeader() { + return this.header; + } + + } + + public static class UserDefinedLogFieldsConfigurationParamSet extends TeaModel { + @NameInMap("parameter") + public java.util.List parameter; + + public static UserDefinedLogFieldsConfigurationParamSet build(java.util.Map map) throws Exception { + UserDefinedLogFieldsConfigurationParamSet self = new UserDefinedLogFieldsConfigurationParamSet(); + return TeaModel.build(map, self); + } + + public UserDefinedLogFieldsConfigurationParamSet setParameter(java.util.List parameter) { + this.parameter = parameter; + return this; + } + public java.util.List getParameter() { + return this.parameter; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/VersioningConfiguration.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/VersioningConfiguration.java new file mode 100644 index 00000000..f6fc6234 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/VersioningConfiguration.java @@ -0,0 +1,23 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class VersioningConfiguration extends TeaModel { + @NameInMap("Status") + public String status; + + public static VersioningConfiguration build(java.util.Map map) throws Exception { + VersioningConfiguration self = new VersioningConfiguration(); + return TeaModel.build(map, self); + } + + public VersioningConfiguration setStatus(String status) { + this.status = status; + return this; + } + public String getStatus() { + return this.status; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/WebsiteConfiguration.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/WebsiteConfiguration.java new file mode 100644 index 00000000..bd45f251 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/WebsiteConfiguration.java @@ -0,0 +1,64 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class WebsiteConfiguration extends TeaModel { + @NameInMap("ErrorDocument") + public ErrorDocument errorDocument; + + @NameInMap("IndexDocument") + public IndexDocument indexDocument; + + @NameInMap("RoutingRules") + public WebsiteConfigurationRoutingRules routingRules; + + public static WebsiteConfiguration build(java.util.Map map) throws Exception { + WebsiteConfiguration self = new WebsiteConfiguration(); + return TeaModel.build(map, self); + } + + public WebsiteConfiguration setErrorDocument(ErrorDocument errorDocument) { + this.errorDocument = errorDocument; + return this; + } + public ErrorDocument getErrorDocument() { + return this.errorDocument; + } + + public WebsiteConfiguration setIndexDocument(IndexDocument indexDocument) { + this.indexDocument = indexDocument; + return this; + } + public IndexDocument getIndexDocument() { + return this.indexDocument; + } + + public WebsiteConfiguration setRoutingRules(WebsiteConfigurationRoutingRules routingRules) { + this.routingRules = routingRules; + return this; + } + public WebsiteConfigurationRoutingRules getRoutingRules() { + return this.routingRules; + } + + public static class WebsiteConfigurationRoutingRules extends TeaModel { + @NameInMap("RoutingRule") + public java.util.List routingRule; + + public static WebsiteConfigurationRoutingRules build(java.util.Map map) throws Exception { + WebsiteConfigurationRoutingRules self = new WebsiteConfigurationRoutingRules(); + return TeaModel.build(map, self); + } + + public WebsiteConfigurationRoutingRules setRoutingRule(java.util.List routingRule) { + this.routingRule = routingRule; + return this; + } + public java.util.List getRoutingRule() { + return this.routingRule; + } + + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/WriteGetObjectResponseHeaders.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/WriteGetObjectResponseHeaders.java new file mode 100644 index 00000000..51a6e736 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/WriteGetObjectResponseHeaders.java @@ -0,0 +1,177 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class WriteGetObjectResponseHeaders extends TeaModel { + @NameInMap("commonHeaders") + public java.util.Map commonHeaders; + + @NameInMap("Content-Length") + public Long contentLength; + + @NameInMap("x-oss-fwd-header-Accept-Ranges") + public String xOssFwdHeaderAcceptRanges; + + @NameInMap("x-oss-fwd-header-Cache-Control") + public String xOssFwdHeaderCacheControl; + + @NameInMap("x-oss-fwd-header-Content-Disposition") + public String xOssFwdHeaderContentDisposition; + + @NameInMap("x-oss-fwd-header-Content-Encoding") + public String xOssFwdHeaderContentEncoding; + + @NameInMap("x-oss-fwd-header-Content-Language") + public String xOssFwdHeaderContentLanguage; + + @NameInMap("x-oss-fwd-header-Content-Range") + public String xOssFwdHeaderContentRange; + + @NameInMap("x-oss-fwd-header-Content-Type") + public String xOssFwdHeaderContentType; + + @NameInMap("x-oss-fwd-header-ETag") + public String xOssFwdHeaderETag; + + @NameInMap("x-oss-fwd-header-Expires") + public String xOssFwdHeaderExpires; + + @NameInMap("x-oss-fwd-header-Last-Modified") + public String xOssFwdHeaderLastModified; + + @NameInMap("x-oss-fwd-status") + public String xOssFwdStatus; + + @NameInMap("x-oss-request-route") + public String xOssRequestRoute; + + @NameInMap("x-oss-request-token") + public String xOssRequestToken; + + public static WriteGetObjectResponseHeaders build(java.util.Map map) throws Exception { + WriteGetObjectResponseHeaders self = new WriteGetObjectResponseHeaders(); + return TeaModel.build(map, self); + } + + public WriteGetObjectResponseHeaders setCommonHeaders(java.util.Map commonHeaders) { + this.commonHeaders = commonHeaders; + return this; + } + public java.util.Map getCommonHeaders() { + return this.commonHeaders; + } + + public WriteGetObjectResponseHeaders setContentLength(Long contentLength) { + this.contentLength = contentLength; + return this; + } + public Long getContentLength() { + return this.contentLength; + } + + public WriteGetObjectResponseHeaders setXOssFwdHeaderAcceptRanges(String xOssFwdHeaderAcceptRanges) { + this.xOssFwdHeaderAcceptRanges = xOssFwdHeaderAcceptRanges; + return this; + } + public String getXOssFwdHeaderAcceptRanges() { + return this.xOssFwdHeaderAcceptRanges; + } + + public WriteGetObjectResponseHeaders setXOssFwdHeaderCacheControl(String xOssFwdHeaderCacheControl) { + this.xOssFwdHeaderCacheControl = xOssFwdHeaderCacheControl; + return this; + } + public String getXOssFwdHeaderCacheControl() { + return this.xOssFwdHeaderCacheControl; + } + + public WriteGetObjectResponseHeaders setXOssFwdHeaderContentDisposition(String xOssFwdHeaderContentDisposition) { + this.xOssFwdHeaderContentDisposition = xOssFwdHeaderContentDisposition; + return this; + } + public String getXOssFwdHeaderContentDisposition() { + return this.xOssFwdHeaderContentDisposition; + } + + public WriteGetObjectResponseHeaders setXOssFwdHeaderContentEncoding(String xOssFwdHeaderContentEncoding) { + this.xOssFwdHeaderContentEncoding = xOssFwdHeaderContentEncoding; + return this; + } + public String getXOssFwdHeaderContentEncoding() { + return this.xOssFwdHeaderContentEncoding; + } + + public WriteGetObjectResponseHeaders setXOssFwdHeaderContentLanguage(String xOssFwdHeaderContentLanguage) { + this.xOssFwdHeaderContentLanguage = xOssFwdHeaderContentLanguage; + return this; + } + public String getXOssFwdHeaderContentLanguage() { + return this.xOssFwdHeaderContentLanguage; + } + + public WriteGetObjectResponseHeaders setXOssFwdHeaderContentRange(String xOssFwdHeaderContentRange) { + this.xOssFwdHeaderContentRange = xOssFwdHeaderContentRange; + return this; + } + public String getXOssFwdHeaderContentRange() { + return this.xOssFwdHeaderContentRange; + } + + public WriteGetObjectResponseHeaders setXOssFwdHeaderContentType(String xOssFwdHeaderContentType) { + this.xOssFwdHeaderContentType = xOssFwdHeaderContentType; + return this; + } + public String getXOssFwdHeaderContentType() { + return this.xOssFwdHeaderContentType; + } + + public WriteGetObjectResponseHeaders setXOssFwdHeaderETag(String xOssFwdHeaderETag) { + this.xOssFwdHeaderETag = xOssFwdHeaderETag; + return this; + } + public String getXOssFwdHeaderETag() { + return this.xOssFwdHeaderETag; + } + + public WriteGetObjectResponseHeaders setXOssFwdHeaderExpires(String xOssFwdHeaderExpires) { + this.xOssFwdHeaderExpires = xOssFwdHeaderExpires; + return this; + } + public String getXOssFwdHeaderExpires() { + return this.xOssFwdHeaderExpires; + } + + public WriteGetObjectResponseHeaders setXOssFwdHeaderLastModified(String xOssFwdHeaderLastModified) { + this.xOssFwdHeaderLastModified = xOssFwdHeaderLastModified; + return this; + } + public String getXOssFwdHeaderLastModified() { + return this.xOssFwdHeaderLastModified; + } + + public WriteGetObjectResponseHeaders setXOssFwdStatus(String xOssFwdStatus) { + this.xOssFwdStatus = xOssFwdStatus; + return this; + } + public String getXOssFwdStatus() { + return this.xOssFwdStatus; + } + + public WriteGetObjectResponseHeaders setXOssRequestRoute(String xOssRequestRoute) { + this.xOssRequestRoute = xOssRequestRoute; + return this; + } + public String getXOssRequestRoute() { + return this.xOssRequestRoute; + } + + public WriteGetObjectResponseHeaders setXOssRequestToken(String xOssRequestToken) { + this.xOssRequestToken = xOssRequestToken; + return this; + } + public String getXOssRequestToken() { + return this.xOssRequestToken; + } + +} diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/WriteGetObjectResponseResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/WriteGetObjectResponseResponse.java new file mode 100644 index 00000000..9eb8d615 --- /dev/null +++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/WriteGetObjectResponseResponse.java @@ -0,0 +1,34 @@ +// This file is auto-generated, don't edit it. Thanks. +com.aliyun.gateway.oss.util.models + +import com.aliyun.tea.*; + +public class WriteGetObjectResponseResponse extends TeaModel { + @NameInMap("headers") + public java.util.Map headers; + + @NameInMap("statusCode") + public Integer statusCode; + + public static WriteGetObjectResponseResponse build(java.util.Map map) throws Exception { + WriteGetObjectResponseResponse self = new WriteGetObjectResponseResponse(); + return TeaModel.build(map, self); + } + + public WriteGetObjectResponseResponse setHeaders(java.util.Map headers) { + this.headers = headers; + return this; + } + public java.util.Map getHeaders() { + return this.headers; + } + + public WriteGetObjectResponseResponse setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + public Integer getStatusCode() { + return this.statusCode; + } + +} diff --git a/alibabacloud-gateway-oss/util/main.tea b/alibabacloud-gateway-oss/util/main.tea new file mode 100644 index 00000000..d0410278 --- /dev/null +++ b/alibabacloud-gateway-oss/util/main.tea @@ -0,0 +1,7 @@ + +/** + * + * @param stream the readable stream + * @return the parsed result + */ +static async function parseXml(input: string, field: string): any \ No newline at end of file