Documentation
¶
Index ¶
- type DeleteBackSourceConfigurationRequest
- func NewDeleteBackSourceConfigurationRequest(regionId string, bucketName string) *DeleteBackSourceConfigurationRequest
- func NewDeleteBackSourceConfigurationRequestWithAllParams(regionId string, bucketName string) *DeleteBackSourceConfigurationRequest
- func NewDeleteBackSourceConfigurationRequestWithoutParam() *DeleteBackSourceConfigurationRequest
- type DeleteBackSourceConfigurationResponse
- type DeleteBackSourceConfigurationResult
- type GetBackSourceConfigurationRequest
- func NewGetBackSourceConfigurationRequest(regionId string, bucketName string) *GetBackSourceConfigurationRequest
- func NewGetBackSourceConfigurationRequestWithAllParams(regionId string, bucketName string) *GetBackSourceConfigurationRequest
- func NewGetBackSourceConfigurationRequestWithoutParam() *GetBackSourceConfigurationRequest
- type GetBackSourceConfigurationResponse
- type GetBackSourceConfigurationResult
- type PutBackSourceConfigurationRequest
- func NewPutBackSourceConfigurationRequest(regionId string, bucketName string) *PutBackSourceConfigurationRequest
- func NewPutBackSourceConfigurationRequestWithAllParams(regionId string, bucketName string, ...) *PutBackSourceConfigurationRequest
- func NewPutBackSourceConfigurationRequestWithoutParam() *PutBackSourceConfigurationRequest
- func (r PutBackSourceConfigurationRequest) GetRegionId() string
- func (r *PutBackSourceConfigurationRequest) SetBackSourceRules(backSourceRules []ossopenapi.BackSourceRule)
- func (r *PutBackSourceConfigurationRequest) SetBucketName(bucketName string)
- func (r *PutBackSourceConfigurationRequest) SetRegionId(regionId string)
- type PutBackSourceConfigurationResponse
- type PutBackSourceConfigurationResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteBackSourceConfigurationRequest ¶
type DeleteBackSourceConfigurationRequest struct { core.JDCloudRequest /* 区域ID */ RegionId string `json:"regionId"` /* Bucket名称 */ BucketName string `json:"bucketName"` }
func NewDeleteBackSourceConfigurationRequest ¶
func NewDeleteBackSourceConfigurationRequest( regionId string, bucketName string, ) *DeleteBackSourceConfigurationRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteBackSourceConfigurationRequestWithAllParams ¶
func NewDeleteBackSourceConfigurationRequestWithAllParams( regionId string, bucketName string, ) *DeleteBackSourceConfigurationRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required)
func NewDeleteBackSourceConfigurationRequestWithoutParam ¶
func NewDeleteBackSourceConfigurationRequestWithoutParam() *DeleteBackSourceConfigurationRequest
This constructor has better compatible ability when API parameters changed
func (DeleteBackSourceConfigurationRequest) GetRegionId ¶
func (r DeleteBackSourceConfigurationRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteBackSourceConfigurationRequest) SetBucketName ¶
func (r *DeleteBackSourceConfigurationRequest) SetBucketName(bucketName string)
param bucketName: Bucket名称(Required)
func (*DeleteBackSourceConfigurationRequest) SetRegionId ¶
func (r *DeleteBackSourceConfigurationRequest) SetRegionId(regionId string)
param regionId: 区域ID(Required)
type DeleteBackSourceConfigurationResponse ¶
type DeleteBackSourceConfigurationResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteBackSourceConfigurationResult `json:"result"` }
type DeleteBackSourceConfigurationResult ¶
type DeleteBackSourceConfigurationResult struct { }
type GetBackSourceConfigurationRequest ¶
type GetBackSourceConfigurationRequest struct { core.JDCloudRequest /* 区域ID */ RegionId string `json:"regionId"` /* Bucket名称 */ BucketName string `json:"bucketName"` }
func NewGetBackSourceConfigurationRequest ¶
func NewGetBackSourceConfigurationRequest( regionId string, bucketName string, ) *GetBackSourceConfigurationRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetBackSourceConfigurationRequestWithAllParams ¶
func NewGetBackSourceConfigurationRequestWithAllParams( regionId string, bucketName string, ) *GetBackSourceConfigurationRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required)
func NewGetBackSourceConfigurationRequestWithoutParam ¶
func NewGetBackSourceConfigurationRequestWithoutParam() *GetBackSourceConfigurationRequest
This constructor has better compatible ability when API parameters changed
func (GetBackSourceConfigurationRequest) GetRegionId ¶
func (r GetBackSourceConfigurationRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetBackSourceConfigurationRequest) SetBucketName ¶
func (r *GetBackSourceConfigurationRequest) SetBucketName(bucketName string)
param bucketName: Bucket名称(Required)
func (*GetBackSourceConfigurationRequest) SetRegionId ¶
func (r *GetBackSourceConfigurationRequest) SetRegionId(regionId string)
param regionId: 区域ID(Required)
type GetBackSourceConfigurationResponse ¶
type GetBackSourceConfigurationResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result GetBackSourceConfigurationResult `json:"result"` }
type GetBackSourceConfigurationResult ¶
type GetBackSourceConfigurationResult struct {
BackSourceRules []ossopenapi.BackSourceRule `json:"backSourceRules"`
}
type PutBackSourceConfigurationRequest ¶
type PutBackSourceConfigurationRequest struct { core.JDCloudRequest /* 区域ID */ RegionId string `json:"regionId"` /* Bucket名称 */ BucketName string `json:"bucketName"` /* 回源配置规则 (Optional) */ BackSourceRules []ossopenapi.BackSourceRule `json:"backSourceRules"` }
func NewPutBackSourceConfigurationRequest ¶
func NewPutBackSourceConfigurationRequest( regionId string, bucketName string, ) *PutBackSourceConfigurationRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewPutBackSourceConfigurationRequestWithAllParams ¶
func NewPutBackSourceConfigurationRequestWithAllParams( regionId string, bucketName string, backSourceRules []ossopenapi.BackSourceRule, ) *PutBackSourceConfigurationRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required) * param backSourceRules: 回源配置规则 (Optional)
func NewPutBackSourceConfigurationRequestWithoutParam ¶
func NewPutBackSourceConfigurationRequestWithoutParam() *PutBackSourceConfigurationRequest
This constructor has better compatible ability when API parameters changed
func (PutBackSourceConfigurationRequest) GetRegionId ¶
func (r PutBackSourceConfigurationRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*PutBackSourceConfigurationRequest) SetBackSourceRules ¶
func (r *PutBackSourceConfigurationRequest) SetBackSourceRules(backSourceRules []ossopenapi.BackSourceRule)
param backSourceRules: 回源配置规则(Optional)
func (*PutBackSourceConfigurationRequest) SetBucketName ¶
func (r *PutBackSourceConfigurationRequest) SetBucketName(bucketName string)
param bucketName: Bucket名称(Required)
func (*PutBackSourceConfigurationRequest) SetRegionId ¶
func (r *PutBackSourceConfigurationRequest) SetRegionId(regionId string)
param regionId: 区域ID(Required)
type PutBackSourceConfigurationResponse ¶
type PutBackSourceConfigurationResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result PutBackSourceConfigurationResult `json:"result"` }
type PutBackSourceConfigurationResult ¶
type PutBackSourceConfigurationResult struct { }