model

package
v0.0.76 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

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"`

	SavePrefix *string `json:"save_prefix,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 Link struct {
	Href *string `json:"href,omitempty"`

	Rel *string `json:"rel,omitempty"`
}

链接信息。

func (Link) String

func (o Link) 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"`
}

列表文件配置。

func (ListFile) String

func (o ListFile) String() string

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"`

	GroupType *ShowTaskResponseGroupType `json:"group_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"`

	SuccessRecordErrorReason *string `json:"success_record_error_reason,omitempty"`

	SkipRecordErrorReason *string `json:"skip_record_error_reason,omitempty"`
	HttpStatusCode        int     `json:"-"`
}

Response Object

func (ShowTaskResponse) String

func (o ShowTaskResponse) String() string

type ShowTaskResponseGroupType added in v0.0.73

type ShowTaskResponseGroupType struct {
	// contains filtered or unexported fields
}

func (ShowTaskResponseGroupType) MarshalJSON added in v0.0.73

func (c ShowTaskResponseGroupType) MarshalJSON() ([]byte, error)

func (*ShowTaskResponseGroupType) UnmarshalJSON added in v0.0.73

func (c *ShowTaskResponseGroupType) UnmarshalJSON(b []byte) error

type ShowTaskResponseGroupTypeEnum added in v0.0.73

type ShowTaskResponseGroupTypeEnum struct {
	NORMAL_TASK ShowTaskResponseGroupType
	SYNC_TASK   ShowTaskResponseGroupType
	GROUP_TASK  ShowTaskResponseGroupType
}

func GetShowTaskResponseGroupTypeEnum added in v0.0.73

func GetShowTaskResponseGroupTypeEnum() ShowTaskResponseGroupTypeEnum

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消息通知配置。

func (SmnConfig) String

func (o SmnConfig) String() string

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 消息通知结果

func (SmnInfo) String

func (o SmnInfo) String() string

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 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"`

	GroupType *TaskRespGroupType `json:"group_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"`

	SuccessRecordErrorReason *string `json:"success_record_error_reason,omitempty"`

	SkipRecordErrorReason *string `json:"skip_record_error_reason,omitempty"`
}

func (TaskResp) String

func (o TaskResp) String() string

type TaskRespGroupType added in v0.0.73

type TaskRespGroupType struct {
	// contains filtered or unexported fields
}

func (TaskRespGroupType) MarshalJSON added in v0.0.73

func (c TaskRespGroupType) MarshalJSON() ([]byte, error)

func (*TaskRespGroupType) UnmarshalJSON added in v0.0.73

func (c *TaskRespGroupType) UnmarshalJSON(b []byte) error

type TaskRespGroupTypeEnum added in v0.0.73

type TaskRespGroupTypeEnum struct {
	NORMAL_TASK TaskRespGroupType
	SYNC_TASK   TaskRespGroupType
	GROUP_TASK  TaskRespGroupType
}

func GetTaskRespGroupTypeEnum added in v0.0.73

func GetTaskRespGroupTypeEnum() TaskRespGroupTypeEnum

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

type UpdateBandwidthPolicyResponse

type UpdateBandwidthPolicyResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdateBandwidthPolicyResponse) 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"`
}

func (Version) String

func (o Version) String() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL