Documentation ¶
Index ¶
- type BandwidthPolicyDto
- type CreateSyncEventsRequest
- type CreateSyncEventsResponse
- type CreateTaskReq
- type CreateTaskReqTaskType
- type CreateTaskReqTaskTypeEnum
- type CreateTaskRequest
- type CreateTaskResponse
- type DeleteTaskRequest
- type DeleteTaskResponse
- type DstNodeReq
- type DstNodeResp
- type ErrorReasonResp
- type FailedObjectRecordDto
- type Link
- type ListApiVersionsRequest
- type ListApiVersionsResponse
- type ListFile
- type ListTasksRequest
- type ListTasksResponse
- type ShowApiInfoRequest
- type ShowApiInfoResponse
- type ShowApiInfoResponseStatus
- type ShowApiInfoResponseStatusEnum
- type ShowTaskRequest
- type ShowTaskResponse
- type ShowTaskResponseTaskType
- type ShowTaskResponseTaskTypeEnum
- type SmnConfig
- type SmnConfigLanguage
- type SmnConfigLanguageEnum
- type SmnInfo
- type SourceCdnReq
- type SourceCdnReqAuthenticationType
- type SourceCdnReqAuthenticationTypeEnum
- type SourceCdnReqProtocol
- type SourceCdnReqProtocolEnum
- type SourceCdnResp
- type SourceCdnRespAuthenticationType
- type SourceCdnRespAuthenticationTypeEnum
- type SourceCdnRespProtocol
- type SourceCdnRespProtocolEnum
- type SrcNodeReq
- type SrcNodeResp
- type SrcNodeRespCloudType
- type SrcNodeRespCloudTypeEnum
- type StartTaskReq
- type StartTaskRequest
- type StartTaskResponse
- type StopTaskRequest
- type StopTaskResponse
- type SyncObjectReq
- type TaskResp
- type TaskRespTaskType
- type TaskRespTaskTypeEnum
- type UpdateBandwidthPolicyReq
- type UpdateBandwidthPolicyRequest
- type UpdateBandwidthPolicyResponse
- type Version
- type VersionStatus
- type VersionStatusEnum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BandwidthPolicyDto ¶
type BandwidthPolicyDto struct { End string `json:"end"` MaxBandwidth int64 `json:"max_bandwidth"` Start string `json:"start"` }
带宽限速策略。
func (BandwidthPolicyDto) String ¶
func (o BandwidthPolicyDto) String() string
type CreateSyncEventsRequest ¶
type CreateSyncEventsRequest struct { SyncTaskId string `json:"sync_task_id"` Body *SyncObjectReq `json:"body,omitempty"` }
Request Object
func (CreateSyncEventsRequest) String ¶
func (o CreateSyncEventsRequest) String() string
type CreateSyncEventsResponse ¶
type CreateSyncEventsResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateSyncEventsResponse) String ¶
func (o CreateSyncEventsResponse) String() string
type CreateTaskReq ¶
type CreateTaskReq struct { TaskType *CreateTaskReqTaskType `json:"task_type,omitempty"` SrcNode *SrcNodeReq `json:"src_node"` DstNode *DstNodeReq `json:"dst_node"` EnableKms *bool `json:"enable_kms,omitempty"` Description *string `json:"description,omitempty"` MigrateSince *int64 `json:"migrate_since,omitempty"` BandwidthPolicy *[]BandwidthPolicyDto `json:"bandwidth_policy,omitempty"` SourceCdn *SourceCdnReq `json:"source_cdn,omitempty"` SmnConfig *SmnConfig `json:"smn_config,omitempty"` EnableRestore *bool `json:"enable_restore,omitempty"` EnableFailedObjectRecording *bool `json:"enable_failed_object_recording,omitempty"` }
This is a auto create Body Object
func (CreateTaskReq) String ¶
func (o CreateTaskReq) String() string
type CreateTaskReqTaskType ¶
type CreateTaskReqTaskType struct {
// contains filtered or unexported fields
}
func (CreateTaskReqTaskType) MarshalJSON ¶
func (c CreateTaskReqTaskType) MarshalJSON() ([]byte, error)
func (*CreateTaskReqTaskType) UnmarshalJSON ¶
func (c *CreateTaskReqTaskType) UnmarshalJSON(b []byte) error
type CreateTaskReqTaskTypeEnum ¶
type CreateTaskReqTaskTypeEnum struct { LIST CreateTaskReqTaskType URL_LIST CreateTaskReqTaskType OBJECT CreateTaskReqTaskType PREFIX CreateTaskReqTaskType }
func GetCreateTaskReqTaskTypeEnum ¶
func GetCreateTaskReqTaskTypeEnum() CreateTaskReqTaskTypeEnum
type CreateTaskRequest ¶
type CreateTaskRequest struct {
Body *CreateTaskReq `json:"body,omitempty"`
}
Request Object
func (CreateTaskRequest) String ¶
func (o CreateTaskRequest) String() string
type CreateTaskResponse ¶
type CreateTaskResponse struct { Id *int64 `json:"id,omitempty"` TaskName *string `json:"task_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateTaskResponse) String ¶
func (o CreateTaskResponse) String() string
type DeleteTaskRequest ¶
type DeleteTaskRequest struct {
TaskId int64 `json:"task_id"`
}
Request Object
func (DeleteTaskRequest) String ¶
func (o DeleteTaskRequest) String() string
type DeleteTaskResponse ¶
type DeleteTaskResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteTaskResponse) String ¶
func (o DeleteTaskResponse) String() string
type DstNodeReq ¶
type DstNodeReq struct { Ak string `json:"ak"` Sk string `json:"sk"` SecurityToken *string `json:"security_token,omitempty"` Bucket string `json:"bucket"` SavePrefix *string `json:"save_prefix,omitempty"` Region string `json:"region"` }
func (DstNodeReq) String ¶
func (o DstNodeReq) String() string
type DstNodeResp ¶
type DstNodeResp struct { Bucket *string `json:"bucket,omitempty"` Region *string `json:"region,omitempty"` }
func (DstNodeResp) String ¶
func (o DstNodeResp) String() string
type ErrorReasonResp ¶
type ErrorReasonResp struct { ErrorCode *string `json:"error_code,omitempty"` ErrorMsg *string `json:"error_msg,omitempty"` }
迁移任务查询接口中返回的任务失败信息提示
func (ErrorReasonResp) String ¶
func (o ErrorReasonResp) String() string
type FailedObjectRecordDto ¶
type FailedObjectRecordDto struct { Result *bool `json:"result,omitempty"` ListFileKey *string `json:"list_file_key,omitempty"` ErrorCode *string `json:"error_code,omitempty"` }
func (FailedObjectRecordDto) String ¶
func (o FailedObjectRecordDto) String() string
type ListApiVersionsRequest ¶
type ListApiVersionsRequest struct { }
Request Object
func (ListApiVersionsRequest) String ¶
func (o ListApiVersionsRequest) String() string
type ListApiVersionsResponse ¶
type ListApiVersionsResponse struct { Versions *[]Version `json:"versions,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApiVersionsResponse) String ¶
func (o ListApiVersionsResponse) String() string
type ListFile ¶
type ListFile struct { ListFileKey string `json:"list_file_key"` ObsBucket string `json:"obs_bucket"` }
列表文件配置。
type ListTasksRequest ¶
type ListTasksRequest struct { GroupId *string `json:"group_id,omitempty"` Limit *int32 `json:"limit,omitempty"` Offset *int32 `json:"offset,omitempty"` Status *int32 `json:"status,omitempty"` }
Request Object
func (ListTasksRequest) String ¶
func (o ListTasksRequest) String() string
type ListTasksResponse ¶
type ListTasksResponse struct { Tasks *[]TaskResp `json:"tasks,omitempty"` Count *int64 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListTasksResponse) String ¶
func (o ListTasksResponse) String() string
type ShowApiInfoRequest ¶
type ShowApiInfoRequest struct {
Version string `json:"version"`
}
Request Object
func (ShowApiInfoRequest) String ¶
func (o ShowApiInfoRequest) String() string
type ShowApiInfoResponse ¶
type ShowApiInfoResponse struct { Id *string `json:"id,omitempty"` Links *[]Link `json:"links,omitempty"` Status *ShowApiInfoResponseStatus `json:"status,omitempty"` Updated *string `json:"updated,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowApiInfoResponse) String ¶
func (o ShowApiInfoResponse) String() string
type ShowApiInfoResponseStatus ¶
type ShowApiInfoResponseStatus struct {
// contains filtered or unexported fields
}
func (ShowApiInfoResponseStatus) MarshalJSON ¶
func (c ShowApiInfoResponseStatus) MarshalJSON() ([]byte, error)
func (*ShowApiInfoResponseStatus) UnmarshalJSON ¶
func (c *ShowApiInfoResponseStatus) UnmarshalJSON(b []byte) error
type ShowApiInfoResponseStatusEnum ¶
type ShowApiInfoResponseStatusEnum struct { CURRENT ShowApiInfoResponseStatus DEPRECATED ShowApiInfoResponseStatus SUPPORTED ShowApiInfoResponseStatus }
func GetShowApiInfoResponseStatusEnum ¶
func GetShowApiInfoResponseStatusEnum() ShowApiInfoResponseStatusEnum
type ShowTaskRequest ¶
type ShowTaskRequest struct {
TaskId int64 `json:"task_id"`
}
Request Object
func (ShowTaskRequest) String ¶
func (o ShowTaskRequest) String() string
type ShowTaskResponse ¶
type ShowTaskResponse struct { BandwidthPolicy *[]BandwidthPolicyDto `json:"bandwidth_policy,omitempty"` CompleteSize *int64 `json:"complete_size,omitempty"` Description *string `json:"description,omitempty"` DstNode *DstNodeResp `json:"dst_node,omitempty"` EnableFailedObjectRecording *bool `json:"enable_failed_object_recording,omitempty"` EnableKms *bool `json:"enable_kms,omitempty"` EnableRestore *bool `json:"enable_restore,omitempty"` ErrorReason *ErrorReasonResp `json:"error_reason,omitempty"` FailedNum *int64 `json:"failed_num,omitempty"` FailedObjectRecord *FailedObjectRecordDto `json:"failed_object_record,omitempty"` GroupId *string `json:"group_id,omitempty"` Id *int64 `json:"id,omitempty"` IsQueryOver *bool `json:"is_query_over,omitempty"` LeftTime *int64 `json:"left_time,omitempty"` MigrateSince *int64 `json:"migrate_since,omitempty"` MigrateSpeed *int64 `json:"migrate_speed,omitempty"` Name *string `json:"name,omitempty"` Progress *float64 `json:"progress,omitempty"` RealSize *int64 `json:"real_size,omitempty"` SkippedNum *int64 `json:"skipped_num,omitempty"` SrcNode *SrcNodeResp `json:"src_node,omitempty"` StartTime *int64 `json:"start_time,omitempty"` Status *int32 `json:"status,omitempty"` SuccessfulNum *int64 `json:"successful_num,omitempty"` TaskType *ShowTaskResponseTaskType `json:"task_type,omitempty"` TotalNum *int64 `json:"total_num,omitempty"` TotalSize *int64 `json:"total_size,omitempty"` TotalTime *int64 `json:"total_time,omitempty"` SmnInfo *SmnInfo `json:"smn_info,omitempty"` SourceCdn *SourceCdnResp `json:"source_cdn,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowTaskResponse) String ¶
func (o ShowTaskResponse) String() string
type ShowTaskResponseTaskType ¶
type ShowTaskResponseTaskType struct {
// contains filtered or unexported fields
}
func (ShowTaskResponseTaskType) MarshalJSON ¶
func (c ShowTaskResponseTaskType) MarshalJSON() ([]byte, error)
func (*ShowTaskResponseTaskType) UnmarshalJSON ¶
func (c *ShowTaskResponseTaskType) UnmarshalJSON(b []byte) error
type ShowTaskResponseTaskTypeEnum ¶
type ShowTaskResponseTaskTypeEnum struct { LIST ShowTaskResponseTaskType OBJECT ShowTaskResponseTaskType PREFIX ShowTaskResponseTaskType URL_LIST ShowTaskResponseTaskType }
func GetShowTaskResponseTaskTypeEnum ¶
func GetShowTaskResponseTaskTypeEnum() ShowTaskResponseTaskTypeEnum
type SmnConfig ¶
type SmnConfig struct { Language *SmnConfigLanguage `json:"language,omitempty"` TopicUrn string `json:"topic_urn"` TriggerConditions []string `json:"trigger_conditions"` }
SMN消息通知配置。
type SmnConfigLanguage ¶
type SmnConfigLanguage struct {
// contains filtered or unexported fields
}
func (SmnConfigLanguage) MarshalJSON ¶
func (c SmnConfigLanguage) MarshalJSON() ([]byte, error)
func (*SmnConfigLanguage) UnmarshalJSON ¶
func (c *SmnConfigLanguage) UnmarshalJSON(b []byte) error
type SmnConfigLanguageEnum ¶
type SmnConfigLanguageEnum struct { ZH_CN SmnConfigLanguage EN_US SmnConfigLanguage }
func GetSmnConfigLanguageEnum ¶
func GetSmnConfigLanguageEnum() SmnConfigLanguageEnum
type SmnInfo ¶
type SmnInfo struct { NotifyResult *bool `json:"notify_result,omitempty"` NotifyErrorMessage *string `json:"notify_error_message,omitempty"` TopicName *string `json:"topic_name,omitempty"` }
smn 消息通知结果
type SourceCdnReq ¶
type SourceCdnReq struct { AuthenticationKey *string `json:"authentication_key,omitempty"` AuthenticationType SourceCdnReqAuthenticationType `json:"authentication_type"` Domain string `json:"domain"` Protocol SourceCdnReqProtocol `json:"protocol"` }
源端CDN配置。
func (SourceCdnReq) String ¶
func (o SourceCdnReq) String() string
type SourceCdnReqAuthenticationType ¶
type SourceCdnReqAuthenticationType struct {
// contains filtered or unexported fields
}
func (SourceCdnReqAuthenticationType) MarshalJSON ¶
func (c SourceCdnReqAuthenticationType) MarshalJSON() ([]byte, error)
func (*SourceCdnReqAuthenticationType) UnmarshalJSON ¶
func (c *SourceCdnReqAuthenticationType) UnmarshalJSON(b []byte) error
type SourceCdnReqAuthenticationTypeEnum ¶
type SourceCdnReqAuthenticationTypeEnum struct { NONE SourceCdnReqAuthenticationType QINIU_PRIVATE_AUTHENTICATION SourceCdnReqAuthenticationType ALIYUN_OSS_A SourceCdnReqAuthenticationType ALIYUN_OSS_B SourceCdnReqAuthenticationType ALIYUN_OSS_C SourceCdnReqAuthenticationType KSYUN_PRIVATE_AUTHENTICATION SourceCdnReqAuthenticationType }
func GetSourceCdnReqAuthenticationTypeEnum ¶
func GetSourceCdnReqAuthenticationTypeEnum() SourceCdnReqAuthenticationTypeEnum
type SourceCdnReqProtocol ¶
type SourceCdnReqProtocol struct {
// contains filtered or unexported fields
}
func (SourceCdnReqProtocol) MarshalJSON ¶
func (c SourceCdnReqProtocol) MarshalJSON() ([]byte, error)
func (*SourceCdnReqProtocol) UnmarshalJSON ¶
func (c *SourceCdnReqProtocol) UnmarshalJSON(b []byte) error
type SourceCdnReqProtocolEnum ¶
type SourceCdnReqProtocolEnum struct { HTTP SourceCdnReqProtocol HTTPS SourceCdnReqProtocol }
func GetSourceCdnReqProtocolEnum ¶
func GetSourceCdnReqProtocolEnum() SourceCdnReqProtocolEnum
type SourceCdnResp ¶
type SourceCdnResp struct { Domain string `json:"domain"` Protocol SourceCdnRespProtocol `json:"protocol"` AuthenticationType *SourceCdnRespAuthenticationType `json:"authentication_type,omitempty"` }
源端CDN配置返回值。
func (SourceCdnResp) String ¶
func (o SourceCdnResp) String() string
type SourceCdnRespAuthenticationType ¶
type SourceCdnRespAuthenticationType struct {
// contains filtered or unexported fields
}
func (SourceCdnRespAuthenticationType) MarshalJSON ¶
func (c SourceCdnRespAuthenticationType) MarshalJSON() ([]byte, error)
func (*SourceCdnRespAuthenticationType) UnmarshalJSON ¶
func (c *SourceCdnRespAuthenticationType) UnmarshalJSON(b []byte) error
type SourceCdnRespAuthenticationTypeEnum ¶
type SourceCdnRespAuthenticationTypeEnum struct { NONE SourceCdnRespAuthenticationType QINIU_PRIVATE_AUTHENTICATION SourceCdnRespAuthenticationType ALIYUN_OSS_A SourceCdnRespAuthenticationType ALIYUN_OSS_B SourceCdnRespAuthenticationType ALIYUN_OSS_C SourceCdnRespAuthenticationType KSYUN_PRIVATE_AUTHENTICATION SourceCdnRespAuthenticationType AZURE_SAS_TOKEN SourceCdnRespAuthenticationType }
func GetSourceCdnRespAuthenticationTypeEnum ¶
func GetSourceCdnRespAuthenticationTypeEnum() SourceCdnRespAuthenticationTypeEnum
type SourceCdnRespProtocol ¶
type SourceCdnRespProtocol struct {
// contains filtered or unexported fields
}
func (SourceCdnRespProtocol) MarshalJSON ¶
func (c SourceCdnRespProtocol) MarshalJSON() ([]byte, error)
func (*SourceCdnRespProtocol) UnmarshalJSON ¶
func (c *SourceCdnRespProtocol) UnmarshalJSON(b []byte) error
type SourceCdnRespProtocolEnum ¶
type SourceCdnRespProtocolEnum struct { HTTP SourceCdnRespProtocol HTTPS SourceCdnRespProtocol }
func GetSourceCdnRespProtocolEnum ¶
func GetSourceCdnRespProtocolEnum() SourceCdnRespProtocolEnum
type SrcNodeReq ¶
type SrcNodeReq struct { CloudType *string `json:"cloud_type,omitempty"` Region *string `json:"region,omitempty"` Ak *string `json:"ak,omitempty"` Sk *string `json:"sk,omitempty"` SecurityToken *string `json:"security_token,omitempty"` AppId *string `json:"app_id,omitempty"` Bucket *string `json:"bucket,omitempty"` ObjectKey *[]string `json:"object_key,omitempty"` ListFile *ListFile `json:"list_file,omitempty"` }
源端节点信息。
func (SrcNodeReq) String ¶
func (o SrcNodeReq) String() string
type SrcNodeResp ¶
type SrcNodeResp struct { Bucket *string `json:"bucket,omitempty"` CloudType *SrcNodeRespCloudType `json:"cloud_type,omitempty"` Region *string `json:"region,omitempty"` AppId *string `json:"app_id,omitempty"` ObjectKey *[]string `json:"object_key,omitempty"` ListFile *ListFile `json:"list_file,omitempty"` }
源端节点信息。
func (SrcNodeResp) String ¶
func (o SrcNodeResp) String() string
type SrcNodeRespCloudType ¶
type SrcNodeRespCloudType struct {
// contains filtered or unexported fields
}
func (SrcNodeRespCloudType) MarshalJSON ¶
func (c SrcNodeRespCloudType) MarshalJSON() ([]byte, error)
func (*SrcNodeRespCloudType) UnmarshalJSON ¶
func (c *SrcNodeRespCloudType) UnmarshalJSON(b []byte) error
type SrcNodeRespCloudTypeEnum ¶
type SrcNodeRespCloudTypeEnum struct { AWS SrcNodeRespCloudType AZURE SrcNodeRespCloudType ALIYUN SrcNodeRespCloudType TENCENT SrcNodeRespCloudType HUAWEI_CLOUD SrcNodeRespCloudType QING_CLOUD SrcNodeRespCloudType KINGSOFT_CLOUD SrcNodeRespCloudType BAIDU SrcNodeRespCloudType QINIU SrcNodeRespCloudType URL_SOURCE SrcNodeRespCloudType U_CLOUD SrcNodeRespCloudType }
func GetSrcNodeRespCloudTypeEnum ¶
func GetSrcNodeRespCloudTypeEnum() SrcNodeRespCloudTypeEnum
type StartTaskReq ¶
type StartTaskReq struct { SrcAk *string `json:"src_ak,omitempty"` SrcSk *string `json:"src_sk,omitempty"` SrcSecurityToken *string `json:"src_security_token,omitempty"` DstAk string `json:"dst_ak"` DstSk string `json:"dst_sk"` DstSecurityToken *string `json:"dst_security_token,omitempty"` SourceCdnAuthenticationKey *string `json:"source_cdn_authentication_key,omitempty"` MigrateFailedObject *bool `json:"migrate_failed_object,omitempty"` }
This is a auto create Body Object
func (StartTaskReq) String ¶
func (o StartTaskReq) String() string
type StartTaskRequest ¶
type StartTaskRequest struct { TaskId int64 `json:"task_id"` Body *StartTaskReq `json:"body,omitempty"` }
Request Object
func (StartTaskRequest) String ¶
func (o StartTaskRequest) String() string
type StartTaskResponse ¶
type StartTaskResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (StartTaskResponse) String ¶
func (o StartTaskResponse) String() string
type StopTaskRequest ¶
type StopTaskRequest struct {
TaskId int64 `json:"task_id"`
}
Request Object
func (StopTaskRequest) String ¶
func (o StopTaskRequest) String() string
type StopTaskResponse ¶
type StopTaskResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (StopTaskResponse) String ¶
func (o StopTaskResponse) String() string
type SyncObjectReq ¶
type SyncObjectReq struct {
ObjectKeys []string `json:"object_keys"`
}
同步事件请求体
func (SyncObjectReq) String ¶
func (o SyncObjectReq) String() string
type TaskResp ¶
type TaskResp struct { BandwidthPolicy *[]BandwidthPolicyDto `json:"bandwidth_policy,omitempty"` CompleteSize *int64 `json:"complete_size,omitempty"` Description *string `json:"description,omitempty"` DstNode *DstNodeResp `json:"dst_node,omitempty"` EnableFailedObjectRecording *bool `json:"enable_failed_object_recording,omitempty"` EnableKms *bool `json:"enable_kms,omitempty"` EnableRestore *bool `json:"enable_restore,omitempty"` ErrorReason *ErrorReasonResp `json:"error_reason,omitempty"` FailedNum *int64 `json:"failed_num,omitempty"` FailedObjectRecord *FailedObjectRecordDto `json:"failed_object_record,omitempty"` GroupId *string `json:"group_id,omitempty"` Id *int64 `json:"id,omitempty"` IsQueryOver *bool `json:"is_query_over,omitempty"` LeftTime *int64 `json:"left_time,omitempty"` MigrateSince *int64 `json:"migrate_since,omitempty"` MigrateSpeed *int64 `json:"migrate_speed,omitempty"` Name *string `json:"name,omitempty"` Progress *float64 `json:"progress,omitempty"` RealSize *int64 `json:"real_size,omitempty"` SkippedNum *int64 `json:"skipped_num,omitempty"` SrcNode *SrcNodeResp `json:"src_node,omitempty"` StartTime *int64 `json:"start_time,omitempty"` Status *int32 `json:"status,omitempty"` SuccessfulNum *int64 `json:"successful_num,omitempty"` TaskType *TaskRespTaskType `json:"task_type,omitempty"` TotalNum *int64 `json:"total_num,omitempty"` TotalSize *int64 `json:"total_size,omitempty"` TotalTime *int64 `json:"total_time,omitempty"` SmnInfo *SmnInfo `json:"smn_info,omitempty"` SourceCdn *SourceCdnResp `json:"source_cdn,omitempty"` }
type TaskRespTaskType ¶
type TaskRespTaskType struct {
// contains filtered or unexported fields
}
func (TaskRespTaskType) MarshalJSON ¶
func (c TaskRespTaskType) MarshalJSON() ([]byte, error)
func (*TaskRespTaskType) UnmarshalJSON ¶
func (c *TaskRespTaskType) UnmarshalJSON(b []byte) error
type TaskRespTaskTypeEnum ¶
type TaskRespTaskTypeEnum struct { LIST TaskRespTaskType OBJECT TaskRespTaskType PREFIX TaskRespTaskType URL_LIST TaskRespTaskType }
func GetTaskRespTaskTypeEnum ¶
func GetTaskRespTaskTypeEnum() TaskRespTaskTypeEnum
type UpdateBandwidthPolicyReq ¶
type UpdateBandwidthPolicyReq struct {
BandwidthPolicy []BandwidthPolicyDto `json:"bandwidth_policy"`
}
func (UpdateBandwidthPolicyReq) String ¶
func (o UpdateBandwidthPolicyReq) String() string
type UpdateBandwidthPolicyRequest ¶
type UpdateBandwidthPolicyRequest struct { TaskId int64 `json:"task_id"` Body *UpdateBandwidthPolicyReq `json:"body,omitempty"` }
Request Object
func (UpdateBandwidthPolicyRequest) String ¶
func (o UpdateBandwidthPolicyRequest) String() string
type UpdateBandwidthPolicyResponse ¶
type UpdateBandwidthPolicyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateBandwidthPolicyResponse) String ¶
func (o UpdateBandwidthPolicyResponse) String() string
type Version ¶
type Version struct { Id *string `json:"id,omitempty"` Links *[]Link `json:"links,omitempty"` Status *VersionStatus `json:"status,omitempty"` Updated *string `json:"updated,omitempty"` }
type VersionStatus ¶
type VersionStatus struct {
// contains filtered or unexported fields
}
func (VersionStatus) MarshalJSON ¶
func (c VersionStatus) MarshalJSON() ([]byte, error)
func (*VersionStatus) UnmarshalJSON ¶
func (c *VersionStatus) UnmarshalJSON(b []byte) error
type VersionStatusEnum ¶
type VersionStatusEnum struct { CURRENT VersionStatus DEPRECATED VersionStatus SUPPORTED VersionStatus }
func GetVersionStatusEnum ¶
func GetVersionStatusEnum() VersionStatusEnum
Source Files ¶
- model_bandwidth_policy_dto.go
- model_create_sync_events_request.go
- model_create_sync_events_response.go
- model_create_task_req.go
- model_create_task_request.go
- model_create_task_response.go
- model_delete_task_request.go
- model_delete_task_response.go
- model_dst_node_req.go
- model_dst_node_resp.go
- model_error_reason_resp.go
- model_failed_object_record_dto.go
- model_link.go
- model_list_api_versions_request.go
- model_list_api_versions_response.go
- model_list_file.go
- model_list_tasks_request.go
- model_list_tasks_response.go
- model_show_api_info_request.go
- model_show_api_info_response.go
- model_show_task_request.go
- model_show_task_response.go
- model_smn_config.go
- model_smn_info.go
- model_source_cdn_req.go
- model_source_cdn_resp.go
- model_src_node_req.go
- model_src_node_resp.go
- model_start_task_req.go
- model_start_task_request.go
- model_start_task_response.go
- model_stop_task_request.go
- model_stop_task_response.go
- model_sync_object_req.go
- model_task_resp.go
- model_update_bandwidth_policy_req.go
- model_update_bandwidth_policy_request.go
- model_update_bandwidth_policy_response.go
- model_version.go
Click to show internal directories.
Click to hide internal directories.