Documentation ¶
Index ¶
- type CreateThumbnailTaskRequest
- func NewCreateThumbnailTaskRequest(regionId string, source *mps.ThumbnailTaskSource, ...) *CreateThumbnailTaskRequest
- func NewCreateThumbnailTaskRequestWithAllParams(regionId string, taskID *string, status *string, errorCode *int, ...) *CreateThumbnailTaskRequest
- func NewCreateThumbnailTaskRequestWithoutParam() *CreateThumbnailTaskRequest
- func (r CreateThumbnailTaskRequest) GetRegionId() string
- func (r *CreateThumbnailTaskRequest) SetCreatedTime(createdTime string)
- func (r *CreateThumbnailTaskRequest) SetErrorCode(errorCode int)
- func (r *CreateThumbnailTaskRequest) SetLastUpdatedTime(lastUpdatedTime string)
- func (r *CreateThumbnailTaskRequest) SetRegionId(regionId string)
- func (r *CreateThumbnailTaskRequest) SetRule(rule *mps.ThumbnailTaskRule)
- func (r *CreateThumbnailTaskRequest) SetSource(source *mps.ThumbnailTaskSource)
- func (r *CreateThumbnailTaskRequest) SetStatus(status string)
- func (r *CreateThumbnailTaskRequest) SetTarget(target *mps.ThumbnailTaskTarget)
- func (r *CreateThumbnailTaskRequest) SetTaskID(taskID string)
- type CreateThumbnailTaskResponse
- type CreateThumbnailTaskResult
- type DeleteStyleDelimiterRequest
- type DeleteStyleDelimiterResponse
- type DeleteStyleDelimiterResult
- type GetNotificationRequest
- type GetNotificationResponse
- type GetNotificationResult
- type GetStyleDelimiterRequest
- type GetStyleDelimiterResponse
- type GetStyleDelimiterResult
- type GetThumbnailTaskRequest
- type GetThumbnailTaskResponse
- type GetThumbnailTaskResult
- type ListThumbnailTaskRequest
- func NewListThumbnailTaskRequest(regionId string) *ListThumbnailTaskRequest
- func NewListThumbnailTaskRequestWithAllParams(regionId string, status *string, begin *string, end *string, marker *string, ...) *ListThumbnailTaskRequest
- func NewListThumbnailTaskRequestWithoutParam() *ListThumbnailTaskRequest
- func (r ListThumbnailTaskRequest) GetRegionId() string
- func (r *ListThumbnailTaskRequest) SetBegin(begin string)
- func (r *ListThumbnailTaskRequest) SetEnd(end string)
- func (r *ListThumbnailTaskRequest) SetLimit(limit int)
- func (r *ListThumbnailTaskRequest) SetMarker(marker string)
- func (r *ListThumbnailTaskRequest) SetRegionId(regionId string)
- func (r *ListThumbnailTaskRequest) SetStatus(status string)
- type ListThumbnailTaskResponse
- type ListThumbnailTaskResult
- type SetNotificationRequest
- func (r SetNotificationRequest) GetRegionId() string
- func (r *SetNotificationRequest) SetEnabled(enabled bool)
- func (r *SetNotificationRequest) SetEndpoint(endpoint string)
- func (r *SetNotificationRequest) SetEvents(events []string)
- func (r *SetNotificationRequest) SetNotifyContentFormat(notifyContentFormat string)
- func (r *SetNotificationRequest) SetNotifyStrategy(notifyStrategy string)
- func (r *SetNotificationRequest) SetRegionId(regionId string)
- type SetNotificationResponse
- type SetNotificationResult
- type SetStyleDelimiterRequest
- func NewSetStyleDelimiterRequest(regionId string, bucketName string, delimiters []string) *SetStyleDelimiterRequest
- func NewSetStyleDelimiterRequestWithAllParams(regionId string, bucketName string, delimiters []string) *SetStyleDelimiterRequest
- func NewSetStyleDelimiterRequestWithoutParam() *SetStyleDelimiterRequest
- type SetStyleDelimiterResponse
- type SetStyleDelimiterResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateThumbnailTaskRequest ¶
type CreateThumbnailTaskRequest struct { core.JDCloudRequest /* region id */ RegionId string `json:"regionId"` /* 任务ID (readonly) (Optional) */ TaskID *string `json:"taskID"` /* 状态 (SUCCESS, ERROR, PENDDING, RUNNING) (readonly) (Optional) */ Status *string `json:"status"` /* 错误码 (readonly) (Optional) */ ErrorCode *int `json:"errorCode"` /* 任务创建时间 时间格式(GMT): yyyy-MM-dd’T’HH:mm:ss.SSS’Z’ (readonly) (Optional) */ CreatedTime *string `json:"createdTime"` /* 任务创建时间 时间格式(GMT): yyyy-MM-dd’T’HH:mm:ss.SSS’Z’ (readonly) (Optional) */ LastUpdatedTime *string `json:"lastUpdatedTime"` /* */ Source *mps.ThumbnailTaskSource `json:"source"` /* */ Target *mps.ThumbnailTaskTarget `json:"target"` /* (Optional) */ Rule *mps.ThumbnailTaskRule `json:"rule"` }
func NewCreateThumbnailTaskRequest ¶
func NewCreateThumbnailTaskRequest( regionId string, source *mps.ThumbnailTaskSource, target *mps.ThumbnailTaskTarget, ) *CreateThumbnailTaskRequest
* param regionId: region id (Required) * param source: (Required) * param target: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateThumbnailTaskRequestWithAllParams ¶ added in v1.7.0
func NewCreateThumbnailTaskRequestWithAllParams( regionId string, taskID *string, status *string, errorCode *int, createdTime *string, lastUpdatedTime *string, source *mps.ThumbnailTaskSource, target *mps.ThumbnailTaskTarget, rule *mps.ThumbnailTaskRule, ) *CreateThumbnailTaskRequest
* param regionId: region id (Required) * param taskID: 任务ID (readonly) (Optional) * param status: 状态 (SUCCESS, ERROR, PENDDING, RUNNING) (readonly) (Optional) * param errorCode: 错误码 (readonly) (Optional) * param createdTime: 任务创建时间 时间格式(GMT): yyyy-MM-dd’T’HH:mm:ss.SSS’Z’ (readonly) (Optional) * param lastUpdatedTime: 任务创建时间 时间格式(GMT): yyyy-MM-dd’T’HH:mm:ss.SSS’Z’ (readonly) (Optional) * param source: (Required) * param target: (Required) * param rule: (Optional)
func NewCreateThumbnailTaskRequestWithoutParam ¶ added in v1.7.0
func NewCreateThumbnailTaskRequestWithoutParam() *CreateThumbnailTaskRequest
This constructor has better compatible ability when API parameters changed
func (CreateThumbnailTaskRequest) GetRegionId ¶
func (r CreateThumbnailTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateThumbnailTaskRequest) SetCreatedTime ¶
func (r *CreateThumbnailTaskRequest) SetCreatedTime(createdTime string)
param createdTime: 任务创建时间 时间格式(GMT): yyyy-MM-dd’T’HH:mm:ss.SSS’Z’ (readonly)(Optional)
func (*CreateThumbnailTaskRequest) SetErrorCode ¶
func (r *CreateThumbnailTaskRequest) SetErrorCode(errorCode int)
param errorCode: 错误码 (readonly)(Optional)
func (*CreateThumbnailTaskRequest) SetLastUpdatedTime ¶
func (r *CreateThumbnailTaskRequest) SetLastUpdatedTime(lastUpdatedTime string)
param lastUpdatedTime: 任务创建时间 时间格式(GMT): yyyy-MM-dd’T’HH:mm:ss.SSS’Z’ (readonly)(Optional)
func (*CreateThumbnailTaskRequest) SetRegionId ¶
func (r *CreateThumbnailTaskRequest) SetRegionId(regionId string)
param regionId: region id(Required)
func (*CreateThumbnailTaskRequest) SetRule ¶
func (r *CreateThumbnailTaskRequest) SetRule(rule *mps.ThumbnailTaskRule)
param rule: (Optional)
func (*CreateThumbnailTaskRequest) SetSource ¶
func (r *CreateThumbnailTaskRequest) SetSource(source *mps.ThumbnailTaskSource)
param source: (Required)
func (*CreateThumbnailTaskRequest) SetStatus ¶
func (r *CreateThumbnailTaskRequest) SetStatus(status string)
param status: 状态 (SUCCESS, ERROR, PENDDING, RUNNING) (readonly)(Optional)
func (*CreateThumbnailTaskRequest) SetTarget ¶
func (r *CreateThumbnailTaskRequest) SetTarget(target *mps.ThumbnailTaskTarget)
param target: (Required)
func (*CreateThumbnailTaskRequest) SetTaskID ¶
func (r *CreateThumbnailTaskRequest) SetTaskID(taskID string)
param taskID: 任务ID (readonly)(Optional)
type CreateThumbnailTaskResponse ¶
type CreateThumbnailTaskResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateThumbnailTaskResult `json:"result"` }
type CreateThumbnailTaskResult ¶
type CreateThumbnailTaskResult struct {
TaskID string `json:"taskID"`
}
type DeleteStyleDelimiterRequest ¶ added in v1.7.0
type DeleteStyleDelimiterRequest struct { core.JDCloudRequest /* 区域ID */ RegionId string `json:"regionId"` /* Bucket名称 */ BucketName string `json:"bucketName"` }
func NewDeleteStyleDelimiterRequest ¶ added in v1.7.0
func NewDeleteStyleDelimiterRequest( regionId string, bucketName string, ) *DeleteStyleDelimiterRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteStyleDelimiterRequestWithAllParams ¶ added in v1.7.0
func NewDeleteStyleDelimiterRequestWithAllParams( regionId string, bucketName string, ) *DeleteStyleDelimiterRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required)
func NewDeleteStyleDelimiterRequestWithoutParam ¶ added in v1.7.0
func NewDeleteStyleDelimiterRequestWithoutParam() *DeleteStyleDelimiterRequest
This constructor has better compatible ability when API parameters changed
func (DeleteStyleDelimiterRequest) GetRegionId ¶ added in v1.7.0
func (r DeleteStyleDelimiterRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteStyleDelimiterRequest) SetBucketName ¶ added in v1.7.0
func (r *DeleteStyleDelimiterRequest) SetBucketName(bucketName string)
param bucketName: Bucket名称(Required)
func (*DeleteStyleDelimiterRequest) SetRegionId ¶ added in v1.7.0
func (r *DeleteStyleDelimiterRequest) SetRegionId(regionId string)
param regionId: 区域ID(Required)
type DeleteStyleDelimiterResponse ¶ added in v1.7.0
type DeleteStyleDelimiterResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteStyleDelimiterResult `json:"result"` }
type DeleteStyleDelimiterResult ¶ added in v1.7.0
type DeleteStyleDelimiterResult struct { }
type GetNotificationRequest ¶
type GetNotificationRequest struct { core.JDCloudRequest /* region id */ RegionId string `json:"regionId"` }
func NewGetNotificationRequest ¶
func NewGetNotificationRequest( regionId string, ) *GetNotificationRequest
* param regionId: region id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetNotificationRequestWithAllParams ¶ added in v1.7.0
func NewGetNotificationRequestWithAllParams( regionId string, ) *GetNotificationRequest
* param regionId: region id (Required)
func NewGetNotificationRequestWithoutParam ¶ added in v1.7.0
func NewGetNotificationRequestWithoutParam() *GetNotificationRequest
This constructor has better compatible ability when API parameters changed
func (GetNotificationRequest) GetRegionId ¶
func (r GetNotificationRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetNotificationRequest) SetRegionId ¶
func (r *GetNotificationRequest) SetRegionId(regionId string)
param regionId: region id(Required)
type GetNotificationResponse ¶
type GetNotificationResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result GetNotificationResult `json:"result"` }
type GetNotificationResult ¶
type GetStyleDelimiterRequest ¶ added in v1.7.0
type GetStyleDelimiterRequest struct { core.JDCloudRequest /* 区域ID */ RegionId string `json:"regionId"` /* Bucket名称 */ BucketName string `json:"bucketName"` }
func NewGetStyleDelimiterRequest ¶ added in v1.7.0
func NewGetStyleDelimiterRequest( regionId string, bucketName string, ) *GetStyleDelimiterRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetStyleDelimiterRequestWithAllParams ¶ added in v1.7.0
func NewGetStyleDelimiterRequestWithAllParams( regionId string, bucketName string, ) *GetStyleDelimiterRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required)
func NewGetStyleDelimiterRequestWithoutParam ¶ added in v1.7.0
func NewGetStyleDelimiterRequestWithoutParam() *GetStyleDelimiterRequest
This constructor has better compatible ability when API parameters changed
func (GetStyleDelimiterRequest) GetRegionId ¶ added in v1.7.0
func (r GetStyleDelimiterRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetStyleDelimiterRequest) SetBucketName ¶ added in v1.7.0
func (r *GetStyleDelimiterRequest) SetBucketName(bucketName string)
param bucketName: Bucket名称(Required)
func (*GetStyleDelimiterRequest) SetRegionId ¶ added in v1.7.0
func (r *GetStyleDelimiterRequest) SetRegionId(regionId string)
param regionId: 区域ID(Required)
type GetStyleDelimiterResponse ¶ added in v1.7.0
type GetStyleDelimiterResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result GetStyleDelimiterResult `json:"result"` }
type GetStyleDelimiterResult ¶ added in v1.7.0
type GetStyleDelimiterResult struct {
Delimiters []string `json:"delimiters"`
}
type GetThumbnailTaskRequest ¶
type GetThumbnailTaskRequest struct { core.JDCloudRequest /* region id */ RegionId string `json:"regionId"` /* task id */ TaskId string `json:"taskId"` }
func NewGetThumbnailTaskRequest ¶
func NewGetThumbnailTaskRequest( regionId string, taskId string, ) *GetThumbnailTaskRequest
* param regionId: region id (Required) * param taskId: task id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetThumbnailTaskRequestWithAllParams ¶ added in v1.7.0
func NewGetThumbnailTaskRequestWithAllParams( regionId string, taskId string, ) *GetThumbnailTaskRequest
* param regionId: region id (Required) * param taskId: task id (Required)
func NewGetThumbnailTaskRequestWithoutParam ¶ added in v1.7.0
func NewGetThumbnailTaskRequestWithoutParam() *GetThumbnailTaskRequest
This constructor has better compatible ability when API parameters changed
func (GetThumbnailTaskRequest) GetRegionId ¶
func (r GetThumbnailTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetThumbnailTaskRequest) SetRegionId ¶
func (r *GetThumbnailTaskRequest) SetRegionId(regionId string)
param regionId: region id(Required)
func (*GetThumbnailTaskRequest) SetTaskId ¶
func (r *GetThumbnailTaskRequest) SetTaskId(taskId string)
param taskId: task id(Required)
type GetThumbnailTaskResponse ¶
type GetThumbnailTaskResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result GetThumbnailTaskResult `json:"result"` }
type GetThumbnailTaskResult ¶
type GetThumbnailTaskResult struct { TaskID string `json:"taskID"` Status string `json:"status"` ErrorCode int `json:"errorCode"` CreatedTime string `json:"createdTime"` LastUpdatedTime string `json:"lastUpdatedTime"` Source mps.ThumbnailTaskSource `json:"source"` Target mps.ThumbnailTaskTarget `json:"target"` Rule mps.ThumbnailTaskRule `json:"rule"` }
type ListThumbnailTaskRequest ¶
type ListThumbnailTaskRequest struct { core.JDCloudRequest /* region id */ RegionId string `json:"regionId"` /* task 状态 (PENDING, RUNNING, SUCCESS, FAILED) (Optional) */ Status *string `json:"status"` /* 开始时间 时间格式(GMT): yyyy-MM-dd'T'HH:mm:ss.SSS'Z' (Optional) */ Begin *string `json:"begin"` /* 结束时间 时间格式(GMT): yyyy-MM-dd'T'HH:mm:ss.SSS'Z' (Optional) */ End *string `json:"end"` /* 查询标记 (Optional) */ Marker *string `json:"marker"` /* 查询记录数 [1, 1000] (Optional) */ Limit *int `json:"limit"` }
func NewListThumbnailTaskRequest ¶
func NewListThumbnailTaskRequest( regionId string, ) *ListThumbnailTaskRequest
* param regionId: region id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewListThumbnailTaskRequestWithAllParams ¶ added in v1.7.0
func NewListThumbnailTaskRequestWithAllParams( regionId string, status *string, begin *string, end *string, marker *string, limit *int, ) *ListThumbnailTaskRequest
* param regionId: region id (Required) * param status: task 状态 (PENDING, RUNNING, SUCCESS, FAILED) (Optional) * param begin: 开始时间 时间格式(GMT): yyyy-MM-dd'T'HH:mm:ss.SSS'Z' (Optional) * param end: 结束时间 时间格式(GMT): yyyy-MM-dd'T'HH:mm:ss.SSS'Z' (Optional) * param marker: 查询标记 (Optional) * param limit: 查询记录数 [1, 1000] (Optional)
func NewListThumbnailTaskRequestWithoutParam ¶ added in v1.7.0
func NewListThumbnailTaskRequestWithoutParam() *ListThumbnailTaskRequest
This constructor has better compatible ability when API parameters changed
func (ListThumbnailTaskRequest) GetRegionId ¶
func (r ListThumbnailTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ListThumbnailTaskRequest) SetBegin ¶
func (r *ListThumbnailTaskRequest) SetBegin(begin string)
param begin: 开始时间 时间格式(GMT): yyyy-MM-dd'T'HH:mm:ss.SSS'Z'(Optional)
func (*ListThumbnailTaskRequest) SetEnd ¶
func (r *ListThumbnailTaskRequest) SetEnd(end string)
param end: 结束时间 时间格式(GMT): yyyy-MM-dd'T'HH:mm:ss.SSS'Z'(Optional)
func (*ListThumbnailTaskRequest) SetLimit ¶
func (r *ListThumbnailTaskRequest) SetLimit(limit int)
param limit: 查询记录数 [1, 1000](Optional)
func (*ListThumbnailTaskRequest) SetMarker ¶
func (r *ListThumbnailTaskRequest) SetMarker(marker string)
param marker: 查询标记(Optional)
func (*ListThumbnailTaskRequest) SetRegionId ¶
func (r *ListThumbnailTaskRequest) SetRegionId(regionId string)
param regionId: region id(Required)
func (*ListThumbnailTaskRequest) SetStatus ¶
func (r *ListThumbnailTaskRequest) SetStatus(status string)
param status: task 状态 (PENDING, RUNNING, SUCCESS, FAILED)(Optional)
type ListThumbnailTaskResponse ¶
type ListThumbnailTaskResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ListThumbnailTaskResult `json:"result"` }
type ListThumbnailTaskResult ¶
type SetNotificationRequest ¶
type SetNotificationRequest struct { core.JDCloudRequest /* region id */ RegionId string `json:"regionId"` /* 是否启用通知 */ Enabled bool `json:"enabled"` /* 通知endpoint, 当前支持http://和https:// (Optional) */ Endpoint *string `json:"endpoint"` /* 触发通知的事件集合 (mpsTranscodeComplete, mpsThumbnailComplete) (Optional) */ Events []string `json:"events"` /* 重试策略, BACKOFF_RETRY: 退避重试策略, 重试 3 次, 每次重试的间隔时间是 10秒 到 20秒 之间的随机值; EXPONENTIAL_DECAY_RETRY: 指数衰减重试, 重试 176 次, 每次重试的间隔时间指数递增至 512秒, 总计重试时间为1天; 每次重试的具体间隔为: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 512 ... 512 秒(共167个512) (Optional) */ NotifyStrategy *string `json:"notifyStrategy"` /* 描述了向 Endpoint 推送的消息格式, JSON: 包含消息正文和消息属性, SIMPLIFIED: 消息体即用户发布的消息, 不包含任何属性信息 (Optional) */ NotifyContentFormat *string `json:"notifyContentFormat"` }
func NewSetNotificationRequest ¶
func NewSetNotificationRequest( regionId string, enabled bool, ) *SetNotificationRequest
* param regionId: region id (Required) * param enabled: 是否启用通知 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetNotificationRequestWithAllParams ¶ added in v1.7.0
func NewSetNotificationRequestWithAllParams( regionId string, enabled bool, endpoint *string, events []string, notifyStrategy *string, notifyContentFormat *string, ) *SetNotificationRequest
* param regionId: region id (Required) * param enabled: 是否启用通知 (Required) * param endpoint: 通知endpoint, 当前支持http://和https:// (Optional) * param events: 触发通知的事件集合 (mpsTranscodeComplete, mpsThumbnailComplete) (Optional) * param notifyStrategy: 重试策略, BACKOFF_RETRY: 退避重试策略, 重试 3 次, 每次重试的间隔时间是 10秒 到 20秒 之间的随机值; EXPONENTIAL_DECAY_RETRY: 指数衰减重试, 重试 176 次, 每次重试的间隔时间指数递增至 512秒, 总计重试时间为1天; 每次重试的具体间隔为: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 512 ... 512 秒(共167个512) (Optional) * param notifyContentFormat: 描述了向 Endpoint 推送的消息格式, JSON: 包含消息正文和消息属性, SIMPLIFIED: 消息体即用户发布的消息, 不包含任何属性信息 (Optional)
func NewSetNotificationRequestWithoutParam ¶ added in v1.7.0
func NewSetNotificationRequestWithoutParam() *SetNotificationRequest
This constructor has better compatible ability when API parameters changed
func (SetNotificationRequest) GetRegionId ¶
func (r SetNotificationRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetNotificationRequest) SetEnabled ¶
func (r *SetNotificationRequest) SetEnabled(enabled bool)
param enabled: 是否启用通知(Required)
func (*SetNotificationRequest) SetEndpoint ¶
func (r *SetNotificationRequest) SetEndpoint(endpoint string)
param endpoint: 通知endpoint, 当前支持http://和https://(Optional)
func (*SetNotificationRequest) SetEvents ¶
func (r *SetNotificationRequest) SetEvents(events []string)
param events: 触发通知的事件集合 (mpsTranscodeComplete, mpsThumbnailComplete)(Optional)
func (*SetNotificationRequest) SetNotifyContentFormat ¶
func (r *SetNotificationRequest) SetNotifyContentFormat(notifyContentFormat string)
param notifyContentFormat: 描述了向 Endpoint 推送的消息格式, JSON: 包含消息正文和消息属性, SIMPLIFIED: 消息体即用户发布的消息, 不包含任何属性信息(Optional)
func (*SetNotificationRequest) SetNotifyStrategy ¶
func (r *SetNotificationRequest) SetNotifyStrategy(notifyStrategy string)
param notifyStrategy: 重试策略, BACKOFF_RETRY: 退避重试策略, 重试 3 次, 每次重试的间隔时间是 10秒 到 20秒 之间的随机值; EXPONENTIAL_DECAY_RETRY: 指数衰减重试, 重试 176 次, 每次重试的间隔时间指数递增至 512秒, 总计重试时间为1天; 每次重试的具体间隔为: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 512 ... 512 秒(共167个512)(Optional)
func (*SetNotificationRequest) SetRegionId ¶
func (r *SetNotificationRequest) SetRegionId(regionId string)
param regionId: region id(Required)
type SetNotificationResponse ¶
type SetNotificationResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SetNotificationResult `json:"result"` }
type SetNotificationResult ¶
type SetNotificationResult struct { }
type SetStyleDelimiterRequest ¶ added in v1.7.0
type SetStyleDelimiterRequest struct { core.JDCloudRequest /* 区域ID */ RegionId string `json:"regionId"` /* Bucket名称 */ BucketName string `json:"bucketName"` /* 图片样式分隔符配置(JSON数组);支持的分隔符包含:["-", "_", "/", "!"] */ Delimiters []string `json:"delimiters"` }
func NewSetStyleDelimiterRequest ¶ added in v1.7.0
func NewSetStyleDelimiterRequest( regionId string, bucketName string, delimiters []string, ) *SetStyleDelimiterRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required) * param delimiters: 图片样式分隔符配置(JSON数组);支持的分隔符包含:["-", "_", "/", "!"] (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetStyleDelimiterRequestWithAllParams ¶ added in v1.7.0
func NewSetStyleDelimiterRequestWithAllParams( regionId string, bucketName string, delimiters []string, ) *SetStyleDelimiterRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required) * param delimiters: 图片样式分隔符配置(JSON数组);支持的分隔符包含:["-", "_", "/", "!"] (Required)
func NewSetStyleDelimiterRequestWithoutParam ¶ added in v1.7.0
func NewSetStyleDelimiterRequestWithoutParam() *SetStyleDelimiterRequest
This constructor has better compatible ability when API parameters changed
func (SetStyleDelimiterRequest) GetRegionId ¶ added in v1.7.0
func (r SetStyleDelimiterRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetStyleDelimiterRequest) SetBucketName ¶ added in v1.7.0
func (r *SetStyleDelimiterRequest) SetBucketName(bucketName string)
param bucketName: Bucket名称(Required)
func (*SetStyleDelimiterRequest) SetDelimiters ¶ added in v1.7.0
func (r *SetStyleDelimiterRequest) SetDelimiters(delimiters []string)
param delimiters: 图片样式分隔符配置(JSON数组);支持的分隔符包含:["-", "_", "/", "!"](Required)
func (*SetStyleDelimiterRequest) SetRegionId ¶ added in v1.7.0
func (r *SetStyleDelimiterRequest) SetRegionId(regionId string)
param regionId: 区域ID(Required)
type SetStyleDelimiterResponse ¶ added in v1.7.0
type SetStyleDelimiterResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SetStyleDelimiterResult `json:"result"` }
type SetStyleDelimiterResult ¶ added in v1.7.0
type SetStyleDelimiterResult struct { }