imagex

package
v1.0.148 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 17 Imported by: 3

Documentation

Index

Constants

View Source
const (
	ServiceName    = "ImageX"
	ApiVersion     = "2018-08-01"
	DefaultTimeout = 10 * time.Second

	ResourceServiceIdTRN = "trn:ImageX:*:*:ServiceId/%s"
	ResourceStoreKeyTRN  = "trn:ImageX:*:*:StoreKeys/%s"

	MinChunkSize   = 1024 * 1024 * 20
	LargeFileSize  = 1024 * 1024 * 1024
	UploadRoutines = 4
)
View Source
const (
	SEGMENT_CLASS_GENERAL    = "general"
	SEGMENT_CLASS_HUMAN      = "human"
	SEGMENT_CLASS_PRODUCT    = "product"
	SEGMENT_CLASS_HUMAN_V2   = "humanv2"
	SEGMENT_CLASS_PRODUCT_V2 = "productv2"

	SMARTCROP_POLICY_DEMOTION_CENTER = "center"
	SMARTCROP_POLICY_DEMOTION_FGLASS = "fglass"
	SMARTCROP_POLICY_DEMOTION_TOP    = "top"

	SMARTCROP_SCENE_NORMAL  = "normal"
	SMARTCROP_SCENE_CARTOON = "cartoon"

	FunctionEncryption = "Encryption"
)

Variables

View Source
var (
	ServiceInfoMap = map[string]*base.ServiceInfo{
		base.RegionCnNorth1: {
			Timeout: DefaultTimeout,
			Scheme:  "https",
			Host:    "imagex.volcengineapi.com",
			Header: http.Header{
				"Accept": []string{"application/json"},
			},
			Credentials: base.Credentials{
				Region:  base.RegionCnNorth1,
				Service: ServiceName,
			},
		},
		base.RegionUsEast1: {
			Timeout: DefaultTimeout,
			Scheme:  "https",
			Host:    "imagex-us-east-1.volcengineapi.com",
			Header: http.Header{
				"Accept": []string{"application/json"},
			},
			Credentials: base.Credentials{
				Region:  base.RegionUsEast1,
				Service: ServiceName,
			},
		},
		base.RegionApSingapore: {
			Timeout: DefaultTimeout,
			Scheme:  "https",
			Host:    "imagex-ap-singapore-1.volcengineapi.com",
			Header: http.Header{
				"Accept": []string{"application/json"},
			},
			Credentials: base.Credentials{
				Region:  base.RegionApSingapore,
				Service: ServiceName,
			},
		},
	}

	ApiInfoList = map[string]*base.ApiInfo{
		"GetImageServiceSubscription": {
			Method: http.MethodGet,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetImageServiceSubscription"},
				"Version": []string{"2018-08-01"},
			},
		},
		"CreateImageService": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"CreateImageService"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetImageService": {
			Method: http.MethodGet,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetImageService"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetAllImageServices": {
			Method: http.MethodGet,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetAllImageServices"},
				"Version": []string{"2018-08-01"},
			},
		},
		"DeleteImageService": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"DeleteImageService"},
				"Version": []string{"2018-08-01"},
			},
		},
		"UpdateImageAuthKey": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"UpdateImageAuthKey"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetImageAuthKey": {
			Method: http.MethodGet,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetImageAuthKey"},
				"Version": []string{"2018-08-01"},
			},
		},
		"UpdateImageObjectAccess": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"UpdateImageObjectAccess"},
				"Version": []string{"2018-08-01"},
			},
		},
		"UpdateImageMirrorConf": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"UpdateImageMirrorConf"},
				"Version": []string{"2018-08-01"},
			},
		},
		"DelDomain": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"DelDomain"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetServiceDomains": {
			Method: http.MethodGet,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetServiceDomains"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetDomainConfig": {
			Method: http.MethodGet,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetDomainConfig"},
				"Version": []string{"2018-08-01"},
			},
		},
		"SetDefaultDomain": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"SetDefaultDomain"},
				"Version": []string{"2018-08-01"},
			},
		},
		"UpdateResponseHeader": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"UpdateResponseHeader"},
				"Version": []string{"2018-08-01"},
			},
		},
		"UpdateRefer": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"UpdateRefer"},
				"Version": []string{"2018-08-01"},
			},
		},
		"UpdateHttps": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"UpdateHttps"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetResponseHeaderValidateKeys": {
			Method: http.MethodGet,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetResponseHeaderValidateKeys"},
				"Version": []string{"2018-08-01"},
			},
		},
		"CreateImageTemplate": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"CreateImageTemplate"},
				"Version": []string{"2018-08-01"},
			},
		},
		"DeleteImageTemplate": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"DeleteImageTemplate"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetImageTemplate": {
			Method: http.MethodGet,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetImageTemplate"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetAllImageTemplates": {
			Method: http.MethodGet,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetAllImageTemplates"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetTemplatesFromBin": {
			Method: http.MethodGet,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetTemplatesFromBin"},
				"Version": []string{"2018-08-01"},
			},
		},
		"CreateTemplatesFromBin": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"CreateTemplatesFromBin"},
				"Version": []string{"2018-08-01"},
			},
		},
		"DeleteTemplatesFromBin": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"DeleteTemplatesFromBin"},
				"Version": []string{"2018-08-01"},
			},
		},
		"ApplyImageUpload": {
			Method: http.MethodGet,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"ApplyImageUpload"},
				"Version": []string{"2018-08-01"},
			},
		},
		"CommitImageUpload": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"CommitImageUpload"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetImageUploadFile": {
			Method: http.MethodGet,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetImageUploadFile"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetImageUploadFiles": {
			Method: http.MethodGet,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetImageUploadFiles"},
				"Version": []string{"2018-08-01"},
			},
		},
		"DeleteImageUploadFiles": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"DeleteImageUploadFiles"},
				"Version": []string{"2018-08-01"},
			},
		},
		"PreviewImageUploadFile": {
			Method: http.MethodGet,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"PreviewImageUploadFile"},
				"Version": []string{"2018-08-01"},
			},
		},
		"CreateImageContentTask": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"CreateImageContentTask"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetImageContentTaskDetail": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetImageContentTaskDetail"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetImageContentBlockList": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetImageContentBlockList"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetImageUpdateFiles": {
			Method: http.MethodGet,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetImageUpdateFiles"},
				"Version": []string{"2018-08-01"},
			},
		},
		"FetchImageUrl": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"FetchImageUrl"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetUrlFetchTask": {
			Method: http.MethodGet,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetUrlFetchTask"},
				"Version": []string{"2018-08-01"},
			},
		},
		"UpdateServiceName": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"UpdateServiceName"},
				"Version": []string{"2018-08-01"},
			},
		},
		"UpdateImageStorageTTL": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"UpdateImageStorageTTL"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetImageOCRV2": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetImageOCRV2"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetImageQuality": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetImageQuality"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetImageEraseModels": {
			Method: http.MethodGet,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetImageEraseModels"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetImageEnhanceResult": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetImageEnhanceResult"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetImageBgFillResult": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetImageBgFillResult"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetImageDuplicateDetection": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetImageDuplicateDetection"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetDedupTaskStatus": {
			Method: http.MethodGet,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetDedupTaskStatus"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetDenoisingImage": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetDenoisingImage"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetSegmentImage": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetSegmentImage"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetImageComicResult": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetImageComicResult"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetImageSuperResolutionResult": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetImageSuperResolutionResult"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetImageSmartCropResult": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetImageSmartCropResult"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetLicensePlateDetection": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetLicensePlateDetection"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetImagePSDetection": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetImagePSDetection"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetPrivateImageType": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetPrivateImageType"},
				"Version": []string{"2018-08-01"},
			},
		},
		"CreateImageHmEmbed": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"CreateImageHmEmbed"},
				"Version": []string{"2018-08-01"},
			},
		},
		"CreateHiddenWatermarkImage": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"CreateHiddenWatermarkImage"},
				"Version": []string{"2023-05-01"},
			},
		},
		"CreateImageHmExtract": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"CreateImageHmExtract"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetImageEraseResult": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetImageEraseResult"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetImageStyleResult": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetImageStyleResult"},
				"Version": []string{"2018-08-01"},
			},
		},
		"DescribeImageVolcCdnAccessLog": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"DescribeImageVolcCdnAccessLog"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetImageEnhanceResultWithData": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetImageEnhanceResultWithData"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetCompressTaskInfo": {
			Method: http.MethodGet,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetCompressTaskInfo"},
				"Version": []string{"2018-08-01"},
			},
		},
		"CreateImageCompressTask": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"CreateImageCompressTask"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetImageAuditResult": {
			Method: http.MethodGet,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetImageAuditResult"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetImageAuditTasks": {
			Method: http.MethodGet,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetImageAuditTasks"},
				"Version": []string{"2018-08-01"},
			},
		},
		"UpdateImageAuditTaskStatus": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"UpdateImageAuditTaskStatus"},
				"Version": []string{"2018-08-01"},
			},
		},
		"CreateImageRetryAuditTask": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"CreateImageRetryAuditTask"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetAuditEntrysCount": {
			Method: http.MethodGet,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetAuditEntrysCount"},
				"Version": []string{"2018-08-01"},
			},
		},
		"DeleteImageAuditResult": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"DeleteImageAuditResult"},
				"Version": []string{"2018-08-01"},
			},
		},
		"UpdateAuditImageStatus": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"UpdateAuditImageStatus"},
				"Version": []string{"2018-08-01"},
			},
		},
		"CreateImageAuditTask": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"CreateImageAuditTask"},
				"Version": []string{"2018-08-01"},
			},
		},
		"UpdateImageAuditTask": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"UpdateImageAuditTask"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetAiGenerateImage": {
			Method: http.MethodPost,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetAiGenerateImage"},
				"Version": []string{"2018-08-01"},
			},
		},
		"GetImageAiGenerateTask": {
			Method: http.MethodGet,
			Path:   "/",
			Query: url.Values{
				"Action":  []string{"GetImageAiGenerateTask"},
				"Version": []string{"2018-08-01"},
			},
		},
	}
)
View Source
var DefaultInstance = NewInstance()

DefaultInstance 默认实例,Region: cn-north-1

Functions

func MarshalToQuery

func MarshalToQuery(model interface{}, filters ...QueryMarshalFilter) (url.Values, error)

func UnmarshalResultInto

func UnmarshalResultInto(data []byte, result interface{}) error

Types

type AccessControlConfig

type AccessControlConfig struct {
	ReferLink ReferLink `json:"refer_link"`
}

type AllItem

type AllItem struct {
	Domain     string  `json:"Domain,omitempty"`
	Isp        string  `json:"Isp,omitempty"`
	Region     string  `json:"Region,omitempty"`
	RegionType string  `json:"RegionType,omitempty"`
	Value      float64 `json:"Value"`
	Count      int64   `json:"Count"`
}

type App

type App struct {
	AppId       string `json:"AppId"`
	AppName     string `json:"AppName"`
	AppRegion   string `json:"AppRegion"`
	PackageName string `json:"PackageName"`
	BundleId    string `json:"BundleId"`
}

type ApplyUploadImageParam

type ApplyUploadImageParam struct {
	ServiceId   string
	SessionKey  string
	UploadNum   int
	StoreKeys   []string
	CommitParam *CommitUploadImageParam
	SkipMeta    bool
	SkipCommit  bool
	Overwrite   bool
}

ApplyImageUpload

type ApplyUploadImageResult

type ApplyUploadImageResult struct {
	UploadAddress UploadAddress `json:"UploadAddress"`
	RequestId     string        `json:"RequestId"`
}

type AuditImageInfo added in v1.0.122

type AuditImageInfo struct {
	ImageUri string `json:"ImageUri"`
	DataId   string `json:"DataId"`
}

type CdnOverviewResp

type CdnOverviewResp struct {
	SuccessRate float64 `json:"SuccessRate"`
	AvgDuration float64 `json:"AvgDuration"`
	TotalCount  int     `json:"TotalCount"`
}

type ClientOverviewResp

type ClientOverviewResp struct {
	FailureRate       float64 `json:"FailureRate"`
	SuccessRate       float64 `json:"SuccessRate"`
	AvgDecodeDuration float64 `json:"AvgDecodeDuration"`
	AvgQueueDuration  float64 `json:"AvgQueueDuration"`
	AvgLoadDuration   float64 `json:"AvgLoadDuration"`
	TotalCount        int     `json:"TotalCount"`
}

type ClientTopItem

type ClientTopItem struct {
	Url   string `json:"Url"`
	Value int64  `json:"Value"`
	Count int64  `json:"Count"`
}

type CommitUploadImageParam

type CommitUploadImageParam struct {
	ServiceId   string     `json:"-"`
	SessionKey  string     `json:"SessionKey"`
	SuccessOids []string   `json:"SuccessOids"`
	Functions   []Function `json:"Functions"`
	SkipMeta    bool       `json:"-"`
}

CommitImageUpload

type CommitUploadImageResult

type CommitUploadImageResult struct {
	Results    []Result    `json:"Results"`
	RequestId  string      `json:"RequestId"`
	ImageInfos []ImageInfo `json:"PluginResult"`
}

type CompressDataItem

type CompressDataItem struct {
	InSize  []TSFloatItem `json:"InSize"`
	OutSize []TSFloatItem `json:"OutSize"`
}

type Contour

type Contour struct {
	Color string `json:"Color"`
	Size  int    `json:"Size"`
}

type CreateHiddenWatermarkImageParam added in v1.0.131

type CreateHiddenWatermarkImageParam struct {
	ServiceId string
	Algorithm string `json:"Algorithm"`
	Strength  string `json:"Strength"`
	Info      string `json:"Info"`
}

type CreateHiddenWatermarkImageResult added in v1.0.131

type CreateHiddenWatermarkImageResult struct {
	StoreUri string `json:"StoreUri"`
}

type CreateImageAuditTaskReq added in v1.0.118

type CreateImageAuditTaskReq struct {
	Type                   string            `json:"Type"`
	ServiceID              string            `json:"ServiceId"`
	Region                 string            `json:"Region"`
	TaskType               string            `json:"TaskType"`
	AuditAbility           int               `json:"AuditAbility"`
	AuditDimensions        []string          `json:"AuditDimensions"`
	AuditTextDimensions    []string          `json:"AuditTextDimensions"`
	FreezeStrategy         int               `json:"FreezeStrategy"`
	ResURI                 []string          `json:"ResUri"`
	CallbackDimensions     []string          `json:"CallbackDimensions"`
	FreezeType             []string          `json:"FreezeType"`
	CallbackImageTypes     []string          `json:"CallbackImageTypes"`
	CallbackURL            string            `json:"CallbackUrl"`
	EnableFreeze           bool              `json:"EnableFreeze"`
	EnableCallback         bool              `json:"EnableCallback"`
	AuditPrefix            []string          `json:"AuditPrefix"`
	FreezeDimensions       []string          `json:"FreezeDimensions"`
	EnableAuditRange       int               `json:"EnableAuditRange"`
	NoAuditPrefix          []string          `json:"NoAuditPrefix"`
	ImageInfos             []*AuditImageInfo `json:"ImageInfos"`
	EnableLargeImageDetect bool              `json:"EnableLargeImageDetect"`
}

CreateImageAuditTask

type CreateImageAuditTaskResp added in v1.0.118

type CreateImageAuditTaskResp struct {
	TaskID string `json:"TaskId"`
}

type CreateImageCompressTaskReq added in v1.0.110

type CreateImageCompressTaskReq struct {
	ServiceId string
	FileList  []UncompressFileInfo
	IndexFile string
	Output    string
	Callback  string
	ZipMode   int
}

type CreateImageCompressTaskResp added in v1.0.110

type CreateImageCompressTaskResp struct {
	TaskId string
}

type CreateImageContentTaskReq

type CreateImageContentTaskReq struct {
	ServiceId string   `query:"ServiceId" json:"-"`
	TaskType  string   `json:"TaskType"`
	Urls      []string `json:"Urls"`
}

CreateImageContentTask

type CreateImageContentTaskResp

type CreateImageContentTaskResp struct {
	Msg    string `json:"Msg"`
	TaskId string `json:"TaskId"`
}

type CreateImageHmEmbedParam

type CreateImageHmEmbedParam struct {
	ServiceId     string `json:"ServiceId"`
	StoreUri      string `json:"StoreUri"`
	Algorithm     string `json:"Algorithm"`
	Info          string `json:"Info"`
	OutFormat     string `json:"OutFormat"`
	OutQuality    int    `json:"OutQuality"`
	StrengthLevel string `json:"StrengthLevel"`
	ImageUrl      string `json:"ImageUrl"`
	Strength      int    `json:"Strength"`
}

CreateImageHmEmbed

type CreateImageHmEmbedResult

type CreateImageHmEmbedResult struct {
	StoreUri string `json:"StoreUri"`
}

type CreateImageHmExtractParam

type CreateImageHmExtractParam struct {
	ServiceId string `json:"ServiceId"`
	StoreUri  string `json:"StoreUri"`
	Algorithm string `json:"Algorithm"`
	ImageUrl  string
}

CreateImageHmExtract

type CreateImageHmExtractResult

type CreateImageHmExtractResult struct {
	Info       string `json:"Info"`
	StatusCode int    `json:"StatusCode"`
}

type CreateImageRetryAuditTaskReq added in v1.0.118

type CreateImageRetryAuditTaskReq struct {
	TaskID string `json:"TaskId"`
	Entry  string `json:"Entry"`
}

CreateImageRetryAuditTask

type CreateImageRetryAuditTaskResp added in v1.0.118

type CreateImageRetryAuditTaskResp struct {
	TaskId string `json:"TaskId"`
}

type CurveDataFloatItem

type CurveDataFloatItem struct {
	Value     float64 `json:"Value"`
	Count     int64   `json:"Count"`
	Timestamp string  `json:"Timestamp"`
}

type CurveDataIntItem

type CurveDataIntItem struct {
	Value     int64  `json:"Value"`
	Count     int64  `json:"Count"`
	Timestamp string `json:"Timestamp"`
}

type CurveFloatItem

type CurveFloatItem struct {
	Type  string               `json:"Type"`
	Count int64                `json:"Count"`
	Data  []CurveDataFloatItem `json:"Data"`
}

type CurveIntItem

type CurveIntItem struct {
	Type  string             `json:"Type"`
	Count int64              `json:"Count"`
	Data  []CurveDataIntItem `json:"Data"`
}

type DataFloatItem

type DataFloatItem struct {
	Data []TSFloatItem `json:"Data"`
}

type DataIntItem

type DataIntItem struct {
	Data []TSIntItem `json:"Data"`
}

type DeleteImageAuditResultReq added in v1.0.118

type DeleteImageAuditResultReq struct {
	TaskId  string `json:"TaskId"`
	EntryId string `json:"EntryId"`
}

DeleteImageAuditResult

type DeleteImageAuditResultResp added in v1.0.118

type DeleteImageAuditResultResp struct {
}

type DeleteImageParam

type DeleteImageParam struct {
	StoreUris []string `json:"StoreUris"`
}

DeleteImageUploadFiles

type DeleteImageResult

type DeleteImageResult struct {
	ServiceId    string   `json:"ServiceId"`
	DeletedFiles []string `json:"DeletedFiles"`
}

type DescribeImageVolcCdnAccessLogReq

type DescribeImageVolcCdnAccessLogReq struct {
	ServiceId string `query:"ServiceId"`
	Domain    string `json:"Domain"`
	Region    string `json:"Region"`
	StartTime int64  `json:"StartTime"`
	EndTime   int64  `json:"EndTime"`
	PageNum   int    `json:"PageNum"`
	PageSize  int    `json:"PageSize"`
}

DescribeImageVolcCdnAccessLog

type DescribeImageVolcCdnAccessLogResp

type DescribeImageVolcCdnAccessLogResp struct {
	Domain     string                                 `json:"Domain"`
	PageSize   int                                    `json:"PageSize"`
	PageNum    int                                    `json:"PageNum"`
	TotalCount int                                    `json:"TotalCount"`
	Logs       []DescribeImageVolcCdnAccessLogRespLog `json:"Logs"`
}

type DescribeImageVolcCdnAccessLogRespLog

type DescribeImageVolcCdnAccessLogRespLog struct {
	StartTime int64  `json:"StartTime"`
	EndTime   int64  `json:"EndTime"`
	LogName   string `json:"LogName"`
	LogPath   string `json:"LogPath"`
	LogSize   int64  `json:"LogSize"`
}

type DescribeImageXBaseOpUsageReq

type DescribeImageXBaseOpUsageReq struct {
	ServiceIds string `query:"ServiceIds"` // 传入多个用英文逗号分隔
	StartTime  string `query:"StartTime"`  // YYYY-MM-DDThh:mm:ss±hh:mm
	EndTime    string `query:"EndTime"`    // YYYY-MM-DDThh:mm:ss±hh:mm
	Interval   string `query:"Interval"`   // 时间粒度,单位秒。支持300,3600,86400。不传默认查询时间段全部数据
}

type DescribeImageXBaseOpUsageResp

type DescribeImageXBaseOpUsageResp struct {
	BaseOpData []DataFloatItem `json:"BaseOpData"`
}

type DescribeImageXBucketUsageReq

type DescribeImageXBucketUsageReq struct {
	ServiceIds  string `query:"ServiceIds"`  // 传入多个用英文逗号分隔
	BucketNames string `query:"BucketNames"` // 传入多个用英文逗号分隔
	GroupBy     string `query:"GroupBy"`     // 维度拆分的维度值。不传表示不拆分维度。传入多个用英文逗号分隔。支持ServiceId,BucketName
	StartTime   string `query:"StartTime"`   // YYYY-MM-DDThh:mm:ss±hh:mm
	EndTime     string `query:"EndTime"`     // YYYY-MM-DDThh:mm:ss±hh:mm
}

type DescribeImageXBucketUsageResp

type DescribeImageXBucketUsageResp struct {
	StorageData []StorageDataItem `json:"StorageData"`
}

type DescribeImageXCDNTopRequestDataReq

type DescribeImageXCDNTopRequestDataReq struct {
	ServiceIds  string `query:"ServiceIds"`  // 传入多个用英文逗号分隔
	DomainNames string `query:"DomainNames"` // 传入多个用英文逗号分隔
	StartTime   string `query:"StartTime"`   // YYYY-MM-DDThh:mm:ss±hh:mm
	EndTime     string `query:"EndTime"`     // YYYY-MM-DDThh:mm:ss±hh:mm
	KeyType     string `query:"KeyType"`     // 需要Top的对象
	ValueType   string `query:"ValueType"`   // 单选Traffic/RequestCnt,代表按流量/请求次数排序 (KeyType=Domain时,只能为Traffic)
	IPVersion   string `query:"IPVersion"`   // 单选IPv4/IPv6,不传为不限制; KeyType=Domain时无效
	Country     string `query:"Country"`
	Limit       string `query:"Limit"`  // 分页Limit,默认为0,即返回所有
	Offset      string `query:"Offset"` // 分页Offset,默认为0
}

type DescribeImageXCDNTopRequestDataResp

type DescribeImageXCDNTopRequestDataResp struct {
	Count      int            `json:"Count"`
	TopValue   []TopValueItem `json:"TopValue"`
	TotalValue float64        `json:"TotalValue"`
}

type DescribeImageXCdnDurationAllReq

type DescribeImageXCdnDurationAllReq struct {
	Appid     string     `json:"Appid"`
	AppVer    []string   `json:"AppVer"`
	OS        string     `json:"OS"`
	SdkVer    []string   `json:"SdkVer"`
	Country   string     `json:"Country"`
	Province  string     `json:"Province"`
	Isp       []string   `json:"Isp"`
	Domain    []string   `json:"Domain"`
	ImageType []string   `json:"ImageType"`
	ExtraDims []ExtraDim `json:"ExtraDims"`
	StartTime string     `json:"StartTime"`
	EndTime   string     `json:"EndTime"`
	GroupBy   string     `json:"GroupBy"`
	OrderBy   string     `json:"OrderBy"`
	OrderAsc  bool       `json:"OrderAsc"`
}

type DescribeImageXCdnDurationAllResp

type DescribeImageXCdnDurationAllResp struct {
	DurationData []AllItem `json:"DurationData"`
}

type DescribeImageXCdnDurationDetailByTimeReq

type DescribeImageXCdnDurationDetailByTimeReq struct {
	Appid       string     `json:"Appid"`
	AppVer      []string   `json:"AppVer"`
	OS          string     `json:"OS"`
	SdkVer      []string   `json:"SdkVer"`
	Country     string     `json:"Country"`
	Province    string     `json:"Province"`
	Isp         []string   `json:"Isp"`
	Domain      []string   `json:"Domain"`
	ImageType   []string   `json:"ImageType"`
	ExtraDims   []ExtraDim `json:"ExtraDims"`
	GroupBy     string     `json:"GroupBy"`
	Phase       string     `json:"Phase"`
	StartTime   string     `json:"StartTime"`
	EndTime     string     `json:"EndTime"`
	Granularity string     `json:"Granularity"`
}

type DescribeImageXCdnDurationDetailByTimeResp

type DescribeImageXCdnDurationDetailByTimeResp struct {
	DurationData []CurveFloatItem `json:"DurationData"`
}

type DescribeImageXCdnErrorCodeAllReq

type DescribeImageXCdnErrorCodeAllReq struct {
	Appid     string     `json:"Appid"`
	AppVer    []string   `json:"AppVer"`
	OS        string     `json:"OS"`
	SdkVer    []string   `json:"SdkVer"`
	Country   string     `json:"Country"`
	Province  string     `json:"Province"`
	Isp       []string   `json:"Isp"`
	Domain    []string   `json:"Domain"`
	ImageType []string   `json:"ImageType"`
	ExtraDims []ExtraDim `json:"ExtraDims"`
	StartTime string     `json:"StartTime"`
	EndTime   string     `json:"EndTime"`
	GroupBy   string     `json:"GroupBy"`
	OrderBy   string     `json:"OrderBy"`
	OrderAsc  bool       `json:"OrderAsc"`
}

type DescribeImageXCdnErrorCodeAllResp

type DescribeImageXCdnErrorCodeAllResp struct {
	ErrorCodeData []ErrorCodeAllItem `json:"ErrorCodeData"`
}

type DescribeImageXCdnErrorCodeByTimeReq

type DescribeImageXCdnErrorCodeByTimeReq struct {
	Appid       string     `json:"Appid"`
	AppVer      []string   `json:"AppVer"`
	OS          string     `json:"OS"`
	SdkVer      []string   `json:"SdkVer"`
	Country     string     `json:"Country"`
	Province    string     `json:"Province"`
	Isp         []string   `json:"Isp"`
	Domain      []string   `json:"Domain"`
	ImageType   []string   `json:"ImageType"`
	ExtraDims   []ExtraDim `json:"ExtraDims"`
	GroupBy     string     `json:"GroupBy"`
	StartTime   string     `json:"StartTime"`
	EndTime     string     `json:"EndTime"`
	Granularity string     `json:"Granularity"`
}

type DescribeImageXCdnErrorCodeByTimeResp

type DescribeImageXCdnErrorCodeByTimeResp struct {
	ErrorCodeData []ErrorCodeItem `json:"ErrorCodeData"`
}

type DescribeImageXCdnProtocolRateByTimeReq

type DescribeImageXCdnProtocolRateByTimeReq struct {
	Appid       string     `json:"Appid"`
	AppVer      []string   `json:"AppVer"`
	OS          string     `json:"OS"`
	SdkVer      []string   `json:"SdkVer"`
	Country     string     `json:"Country"`
	Province    string     `json:"Province"`
	Isp         []string   `json:"Isp"`
	Domain      []string   `json:"Domain"`
	ImageType   []string   `json:"ImageType"`
	ExtraDims   []ExtraDim `json:"ExtraDims"`
	StartTime   string     `json:"StartTime"`
	EndTime     string     `json:"EndTime"`
	Granularity string     `json:"Granularity"`
}

type DescribeImageXCdnProtocolRateByTimeResp

type DescribeImageXCdnProtocolRateByTimeResp struct {
	ProtocolRateData []CurveFloatItem `json:"ProtocolRateData"`
}

type DescribeImageXCdnReuseRateAllReq

type DescribeImageXCdnReuseRateAllReq struct {
	Appid     string     `json:"Appid"`
	AppVer    []string   `json:"AppVer"`
	OS        string     `json:"OS"`
	SdkVer    []string   `json:"SdkVer"`
	Country   string     `json:"Country"`
	Province  string     `json:"Province"`
	Isp       []string   `json:"Isp"`
	Domain    []string   `json:"Domain"`
	ImageType []string   `json:"ImageType"`
	ExtraDims []ExtraDim `json:"ExtraDims"`
	StartTime string     `json:"StartTime"`
	EndTime   string     `json:"EndTime"`
	GroupBy   string     `json:"GroupBy"`
	OrderBy   string     `json:"OrderBy"`
	OrderAsc  bool       `json:"OrderAsc"`
}

type DescribeImageXCdnReuseRateAllResp

type DescribeImageXCdnReuseRateAllResp struct {
	ReuseRateData []AllItem `json:"ReuseRateData"`
}

type DescribeImageXCdnReuseRateByTimeReq

type DescribeImageXCdnReuseRateByTimeReq struct {
	Appid       string     `json:"Appid"`
	AppVer      []string   `json:"AppVer"`
	OS          string     `json:"OS"`
	SdkVer      []string   `json:"SdkVer"`
	Country     string     `json:"Country"`
	Province    string     `json:"Province"`
	Isp         []string   `json:"Isp"`
	Domain      []string   `json:"Domain"`
	ImageType   []string   `json:"ImageType"`
	ExtraDims   []ExtraDim `json:"ExtraDims"`
	GroupBy     string     `json:"GroupBy"`
	StartTime   string     `json:"StartTime"`
	EndTime     string     `json:"EndTime"`
	Granularity string     `json:"Granularity"`
}

type DescribeImageXCdnReuseRateByTimeResp

type DescribeImageXCdnReuseRateByTimeResp struct {
	ReuseRateData []CurveFloatItem `json:"ReuseRateData"`
}

type DescribeImageXCdnSuccessRateAllReq

type DescribeImageXCdnSuccessRateAllReq struct {
	Appid     string     `json:"Appid"`
	AppVer    []string   `json:"AppVer"`
	OS        string     `json:"OS"`
	SdkVer    []string   `json:"SdkVer"`
	Country   string     `json:"Country"`
	Province  string     `json:"Province"`
	Isp       []string   `json:"Isp"`
	Domain    []string   `json:"Domain"`
	ImageType []string   `json:"ImageType"`
	ExtraDims []ExtraDim `json:"ExtraDims"`
	StartTime string     `json:"StartTime"`
	EndTime   string     `json:"EndTime"`
	GroupBy   string     `json:"GroupBy"`
	OrderBy   string     `json:"OrderBy"`
	OrderAsc  bool       `json:"OrderAsc"`
}

type DescribeImageXCdnSuccessRateAllResp

type DescribeImageXCdnSuccessRateAllResp struct {
	SuccessRateData []AllItem `json:"SuccessRateData"`
}

type DescribeImageXCdnSuccessRateByTimeReq

type DescribeImageXCdnSuccessRateByTimeReq struct {
	Appid       string     `json:"Appid"`
	AppVer      []string   `json:"AppVer"`
	OS          string     `json:"OS"`
	SdkVer      []string   `json:"SdkVer"`
	Country     string     `json:"Country"`
	Province    string     `json:"Province"`
	Isp         []string   `json:"Isp"`
	Domain      []string   `json:"Domain"`
	ImageType   []string   `json:"ImageType"`
	ExtraDims   []ExtraDim `json:"ExtraDims"`
	GroupBy     string     `json:"GroupBy"`
	StartTime   string     `json:"StartTime"`
	EndTime     string     `json:"EndTime"`
	Granularity string     `json:"Granularity"`
}

type DescribeImageXCdnSuccessRateByTimeResp

type DescribeImageXCdnSuccessRateByTimeResp struct {
	SuccessRateData []CurveFloatItem `json:"SuccessRateData"`
}

type DescribeImageXClientCountByTimeReq

type DescribeImageXClientCountByTimeReq struct {
	Appid       string     `json:"Appid"`
	AppVer      []string   `json:"AppVer"`
	OS          string     `json:"OS"`
	SdkVer      []string   `json:"SdkVer"`
	Country     string     `json:"Country"`
	Province    string     `json:"Province"`
	Isp         []string   `json:"Isp"`
	Domain      []string   `json:"Domain"`
	ImageType   []string   `json:"ImageType"`
	ExtraDims   []ExtraDim `json:"ExtraDims"`
	GroupBy     string     `json:"GroupBy"`
	StartTime   string     `json:"StartTime"`
	EndTime     string     `json:"EndTime"`
	Granularity string     `json:"Granularity"`
}

type DescribeImageXClientCountByTimeResp

type DescribeImageXClientCountByTimeResp struct {
	ClientCountData []CurveIntItem `json:"ClientCountData"`
}

type DescribeImageXClientDecodeDurationByTimeReq

type DescribeImageXClientDecodeDurationByTimeReq struct {
	Appid       string     `json:"Appid"`
	AppVer      []string   `json:"AppVer"`
	OS          string     `json:"OS"`
	SdkVer      []string   `json:"SdkVer"`
	Country     string     `json:"Country"`
	Province    string     `json:"Province"`
	Isp         []string   `json:"Isp"`
	Domain      []string   `json:"Domain"`
	ImageType   []string   `json:"ImageType"`
	ExtraDims   []ExtraDim `json:"ExtraDims"`
	GroupBy     string     `json:"GroupBy"`
	StartTime   string     `json:"StartTime"`
	EndTime     string     `json:"EndTime"`
	Granularity string     `json:"Granularity"`
}

type DescribeImageXClientDecodeDurationByTimeResp

type DescribeImageXClientDecodeDurationByTimeResp struct {
	DurationData []CurveFloatItem `json:"DurationData"`
}

type DescribeImageXClientDecodeSuccessRateByTimeReq

type DescribeImageXClientDecodeSuccessRateByTimeReq struct {
	Appid       string     `json:"Appid"`
	AppVer      []string   `json:"AppVer"`
	OS          string     `json:"OS"`
	SdkVer      []string   `json:"SdkVer"`
	Country     string     `json:"Country"`
	Province    string     `json:"Province"`
	Isp         []string   `json:"Isp"`
	Domain      []string   `json:"Domain"`
	ImageType   []string   `json:"ImageType"`
	ExtraDims   []ExtraDim `json:"ExtraDims"`
	GroupBy     string     `json:"GroupBy"`
	StartTime   string     `json:"StartTime"`
	EndTime     string     `json:"EndTime"`
	Granularity string     `json:"Granularity"`
}

type DescribeImageXClientDecodeSuccessRateByTimeResp

type DescribeImageXClientDecodeSuccessRateByTimeResp struct {
	SuccessRateData []CurveFloatItem `json:"SuccessRateData"`
}

type DescribeImageXClientDemotionRateByTimeReq

type DescribeImageXClientDemotionRateByTimeReq struct {
	Appid        string     `json:"Appid"`
	AppVer       []string   `json:"AppVer"`
	OS           string     `json:"OS"`
	SdkVer       []string   `json:"SdkVer"`
	Country      string     `json:"Country"`
	Province     string     `json:"Province"`
	Isp          []string   `json:"Isp"`
	Domain       []string   `json:"Domain"`
	ImageType    []string   `json:"ImageType"`
	ExtraDims    []ExtraDim `json:"ExtraDims"`
	GroupBy      string     `json:"GroupBy"`
	DemotionType string     `json:"DemotionType"`
	StartTime    string     `json:"StartTime"`
	EndTime      string     `json:"EndTime"`
	Granularity  string     `json:"Granularity"`
}

type DescribeImageXClientDemotionRateByTimeResp

type DescribeImageXClientDemotionRateByTimeResp struct {
	DemotionRateData []CurveFloatItem `json:"DemotionRateData"`
}

type DescribeImageXClientErrorCodeAllReq

type DescribeImageXClientErrorCodeAllReq struct {
	Appid     string     `json:"Appid"`
	AppVer    []string   `json:"AppVer"`
	OS        string     `json:"OS"`
	SdkVer    []string   `json:"SdkVer"`
	Country   string     `json:"Country"`
	Province  string     `json:"Province"`
	Isp       []string   `json:"Isp"`
	Domain    []string   `json:"Domain"`
	ImageType []string   `json:"ImageType"`
	ExtraDims []ExtraDim `json:"ExtraDims"`
	StartTime string     `json:"StartTime"`
	EndTime   string     `json:"EndTime"`
	GroupBy   string     `json:"GroupBy"`
	OrderBy   string     `json:"OrderBy"`
	OrderAsc  bool       `json:"OrderAsc"`
}

type DescribeImageXClientErrorCodeAllResp

type DescribeImageXClientErrorCodeAllResp struct {
	ErrorCodeData []ErrorCodeAllItem `json:"ErrorCodeData"`
}

type DescribeImageXClientErrorCodeByTimeReq

type DescribeImageXClientErrorCodeByTimeReq struct {
	Appid       string     `json:"Appid"`
	AppVer      []string   `json:"AppVer"`
	OS          string     `json:"OS"`
	SdkVer      []string   `json:"SdkVer"`
	Country     string     `json:"Country"`
	Province    string     `json:"Province"`
	Isp         []string   `json:"Isp"`
	Domain      []string   `json:"Domain"`
	ImageType   []string   `json:"ImageType"`
	ExtraDims   []ExtraDim `json:"ExtraDims"`
	StartTime   string     `json:"StartTime"`
	EndTime     string     `json:"EndTime"`
	Granularity string     `json:"Granularity"`
}

type DescribeImageXClientErrorCodeByTimeResp

type DescribeImageXClientErrorCodeByTimeResp struct {
	ErrorCodeData []ErrorCodeItem `json:"ErrorCodeData"`
}

type DescribeImageXClientFailureRateReq

type DescribeImageXClientFailureRateReq struct {
	Appid       string     `json:"Appid"`
	AppVer      []string   `json:"AppVer"`
	OS          string     `json:"OS"`
	SdkVer      []string   `json:"SdkVer"`
	Country     string     `json:"Country"`
	Province    string     `json:"Province"`
	Isp         []string   `json:"Isp"`
	Domain      []string   `json:"Domain"`
	ImageType   []string   `json:"ImageType"`
	ExtraDims   []ExtraDim `json:"ExtraDims"`
	GroupBy     string     `json:"GroupBy"`
	StartTime   string     `json:"StartTime"`
	EndTime     string     `json:"EndTime"`
	Granularity string     `json:"Granularity"`
}

type DescribeImageXClientFailureRateResp

type DescribeImageXClientFailureRateResp struct {
	FailureRateData []CurveFloatItem `json:"FailureRateData"`
}

type DescribeImageXClientFileSizeReq

type DescribeImageXClientFileSizeReq struct {
	Appid       string     `json:"Appid"`
	AppVer      []string   `json:"AppVer"`
	OS          string     `json:"OS"`
	SdkVer      []string   `json:"SdkVer"`
	Country     string     `json:"Country"`
	Province    string     `json:"Province"`
	Isp         []string   `json:"Isp"`
	Domain      []string   `json:"Domain"`
	ImageType   []string   `json:"ImageType"`
	ExtraDims   []ExtraDim `json:"ExtraDims"`
	GroupBy     string     `json:"GroupBy"`
	StartTime   string     `json:"StartTime"`
	EndTime     string     `json:"EndTime"`
	Granularity string     `json:"Granularity"`
}

type DescribeImageXClientFileSizeResp

type DescribeImageXClientFileSizeResp struct {
	FSizeData []CurveFloatItem `json:"FSizeData"`
}

type DescribeImageXClientLoadDurationAllReq

type DescribeImageXClientLoadDurationAllReq struct {
	Appid     string     `json:"Appid"`
	AppVer    []string   `json:"AppVer"`
	OS        string     `json:"OS"`
	SdkVer    []string   `json:"SdkVer"`
	Country   string     `json:"Country"`
	Province  string     `json:"Province"`
	Isp       []string   `json:"Isp"`
	Domain    []string   `json:"Domain"`
	ImageType []string   `json:"ImageType"`
	ExtraDims []ExtraDim `json:"ExtraDims"`
	StartTime string     `json:"StartTime"`
	EndTime   string     `json:"EndTime"`
	GroupBy   string     `json:"GroupBy"`
	OrderBy   string     `json:"OrderBy"`
	OrderAsc  bool       `json:"OrderAsc"`
}

type DescribeImageXClientLoadDurationAllResp

type DescribeImageXClientLoadDurationAllResp struct {
	DurationData []AllItem `json:"DurationData"`
}

type DescribeImageXClientLoadDurationReq

type DescribeImageXClientLoadDurationReq struct {
	Appid       string     `json:"Appid"`
	AppVer      []string   `json:"AppVer"`
	OS          string     `json:"OS"`
	SdkVer      []string   `json:"SdkVer"`
	Country     string     `json:"Country"`
	Province    string     `json:"Province"`
	Isp         []string   `json:"Isp"`
	Domain      []string   `json:"Domain"`
	ImageType   []string   `json:"ImageType"`
	ExtraDims   []ExtraDim `json:"ExtraDims"`
	GroupBy     string     `json:"GroupBy"`
	StartTime   string     `json:"StartTime"`
	EndTime     string     `json:"EndTime"`
	Granularity string     `json:"Granularity"`
}

type DescribeImageXClientLoadDurationResp

type DescribeImageXClientLoadDurationResp struct {
	DurationData []CurveFloatItem `json:"DurationData"`
}

type DescribeImageXClientQualityRateByTimeReq

type DescribeImageXClientQualityRateByTimeReq struct {
	Appid       string     `json:"Appid"`
	AppVer      []string   `json:"AppVer"`
	OS          string     `json:"OS"`
	SdkVer      []string   `json:"SdkVer"`
	Country     string     `json:"Country"`
	Province    string     `json:"Province"`
	Isp         []string   `json:"Isp"`
	Domain      []string   `json:"Domain"`
	ImageType   []string   `json:"ImageType"`
	ExtraDims   []ExtraDim `json:"ExtraDims"`
	GroupBy     string     `json:"GroupBy"`
	QualityType string     `json:"QualityType"`
	StartTime   string     `json:"StartTime"`
	EndTime     string     `json:"EndTime"`
	Granularity string     `json:"Granularity"`
}

type DescribeImageXClientQualityRateByTimeResp

type DescribeImageXClientQualityRateByTimeResp struct {
	QualityRateData []CurveFloatItem `json:"QualityRateData"`
}

type DescribeImageXClientQueueDurationByTimeReq

type DescribeImageXClientQueueDurationByTimeReq struct {
	Appid       string     `json:"Appid"`
	AppVer      []string   `json:"AppVer"`
	OS          string     `json:"OS"`
	SdkVer      []string   `json:"SdkVer"`
	Country     string     `json:"Country"`
	Province    string     `json:"Province"`
	Isp         []string   `json:"Isp"`
	Domain      []string   `json:"Domain"`
	ImageType   []string   `json:"ImageType"`
	ExtraDims   []ExtraDim `json:"ExtraDims"`
	GroupBy     string     `json:"GroupBy"`
	StartTime   string     `json:"StartTime"`
	EndTime     string     `json:"EndTime"`
	Granularity string     `json:"Granularity"`
}

type DescribeImageXClientQueueDurationByTimeResp

type DescribeImageXClientQueueDurationByTimeResp struct {
	DurationData []CurveFloatItem `json:"DurationData"`
}

type DescribeImageXClientScoreByTimeReq

type DescribeImageXClientScoreByTimeReq struct {
	Appid       string     `json:"Appid"`
	AppVer      []string   `json:"AppVer"`
	OS          string     `json:"OS"`
	SdkVer      []string   `json:"SdkVer"`
	Country     string     `json:"Country"`
	Province    string     `json:"Province"`
	Isp         []string   `json:"Isp"`
	Domain      []string   `json:"Domain"`
	ImageType   []string   `json:"ImageType"`
	ExtraDims   []ExtraDim `json:"ExtraDims"`
	GroupBy     string     `json:"GroupBy"`
	ScoreType   string     `json:"ScoreType"`
	StartTime   string     `json:"StartTime"`
	EndTime     string     `json:"EndTime"`
	Granularity string     `json:"Granularity"`
}

type DescribeImageXClientScoreByTimeResp

type DescribeImageXClientScoreByTimeResp struct {
	ScoreData []CurveFloatItem `json:"ScoreData"`
}

type DescribeImageXClientSdkVerByTimeReq

type DescribeImageXClientSdkVerByTimeReq struct {
	Appid       string     `json:"Appid"`
	AppVer      []string   `json:"AppVer"`
	OS          string     `json:"OS"`
	SdkVer      []string   `json:"SdkVer"`
	Country     string     `json:"Country"`
	Province    string     `json:"Province"`
	Isp         []string   `json:"Isp"`
	Domain      []string   `json:"Domain"`
	ImageType   []string   `json:"ImageType"`
	ExtraDims   []ExtraDim `json:"ExtraDims"`
	StartTime   string     `json:"StartTime"`
	EndTime     string     `json:"EndTime"`
	Granularity string     `json:"Granularity"`
}

type DescribeImageXClientSdkVerByTimeResp

type DescribeImageXClientSdkVerByTimeResp struct {
	SdkVerData []SdkVerItem `json:"SdkVerData"`
}

type DescribeImageXClientTopDemotionURLReq

type DescribeImageXClientTopDemotionURLReq struct {
	Appid        string `json:"Appid"`
	OS           string `json:"OS"`
	DemotionType string `json:"DemotionType"`
	StartTime    string `json:"StartTime"`
	EndTime      string `json:"EndTime"`
	Top          int    `json:"Top"`
}

type DescribeImageXClientTopDemotionURLResp

type DescribeImageXClientTopDemotionURLResp struct {
	TopUrlData []ClientTopItem `json:"TopUrlData"`
}

type DescribeImageXClientTopFileSizeReq

type DescribeImageXClientTopFileSizeReq struct {
	Appid     string `json:"Appid"`
	OS        string `json:"OS"`
	StartTime string `json:"StartTime"`
	EndTime   string `json:"EndTime"`
	Top       int    `json:"Top"`
}

type DescribeImageXClientTopFileSizeResp

type DescribeImageXClientTopFileSizeResp struct {
	TopUrlData []ClientTopItem `json:"TopUrlData"`
}

type DescribeImageXClientTopQualityURLReq

type DescribeImageXClientTopQualityURLReq struct {
	Appid       string `json:"Appid"`
	OS          string `json:"OS"`
	QualityType string `json:"QualityType"`
	StartTime   string `json:"StartTime"`
	EndTime     string `json:"EndTime"`
	Top         int    `json:"Top"`
}

type DescribeImageXClientTopQualityURLResp

type DescribeImageXClientTopQualityURLResp struct {
	TopUrlData []ClientTopItem `json:"TopUrlData"`
}

type DescribeImageXCompressUsageReq

type DescribeImageXCompressUsageReq struct {
	ServiceIds string `query:"ServiceIds"` // 传入多个用英文逗号分隔
	StartTime  string `query:"StartTime"`  // YYYY-MM-DDThh:mm:ss±hh:mm
	EndTime    string `query:"EndTime"`    // YYYY-MM-DDThh:mm:ss±hh:mm
	Interval   string `query:"Interval"`   // 时间粒度,单位秒。支持300,3600,86400。不传默认查询时间段全部数据
}

type DescribeImageXCompressUsageResp

type DescribeImageXCompressUsageResp struct {
	CompressData []CompressDataItem `json:"CompressData"`
}

type DescribeImageXDomainBandwidthDataReq

type DescribeImageXDomainBandwidthDataReq struct {
	ServiceIds    string `query:"ServiceIds"`    // 传入多个用英文逗号分隔
	DomainNames   string `query:"DomainNames"`   // 传入多个用英文逗号分隔
	BillingRegion string `query:"BillingRegion"` // 过滤计费区域
	GroupBy       string `query:"GroupBy"`       // 维度拆分的维度值。不传表示不拆分维度。传入多个用英文逗号分隔。支持ServiceId,DomainName
	StartTime     string `query:"StartTime"`     // YYYY-MM-DDThh:mm:ss±hh:mm
	EndTime       string `query:"EndTime"`       // YYYY-MM-DDThh:mm:ss±hh:mm
	Interval      string `query:"Interval"`      // 时间粒度,单位秒。支持300,3600,86400。不传默认查询时间段全部数据
}

type DescribeImageXDomainBandwidthDataResp

type DescribeImageXDomainBandwidthDataResp struct {
	BpsData []ServiceDomainDataItem `json:"BpsData"`
}

type DescribeImageXDomainTrafficDataReq

type DescribeImageXDomainTrafficDataReq struct {
	ServiceIds    string `query:"ServiceIds"`    // 传入多个用英文逗号分隔
	DomainNames   string `query:"DomainNames"`   // 传入多个用英文逗号分隔
	BillingRegion string `query:"BillingRegion"` // 过滤计费区域
	GroupBy       string `query:"GroupBy"`       // 维度拆分的维度值。不传表示不拆分维度。传入多个用英文逗号分隔。支持ServiceId,DomainName
	StartTime     string `query:"StartTime"`     // YYYY-MM-DDThh:mm:ss±hh:mm
	EndTime       string `query:"EndTime"`       // YYYY-MM-DDThh:mm:ss±hh:mm
	Interval      string `query:"Interval"`      // 时间粒度,单位秒。支持300,3600,86400。不传默认查询时间段全部数据
}

type DescribeImageXDomainTrafficDataResp

type DescribeImageXDomainTrafficDataResp struct {
	TrafficData []ServiceDomainDataItem `json:"TrafficData"`
}

type DescribeImageXEdgeRequestBandwidthReq

type DescribeImageXEdgeRequestBandwidthReq struct {
	ServiceIds   string `query:"ServiceIds"`   // 传入多个用英文逗号分隔
	DomainNames  string `query:"DomainNames"`  // 传入多个用英文逗号分隔
	Regions      string `query:"Regions"`      // cdn区域。支持参数:中国大陆、亚太一区、亚太二区、亚太三区、欧洲区、北美区、南美区、中东区。传入多个用英文逗号分割。不传表示不过滤。
	UserCountry  string `query:"UserCountry"`  // 客户端国家。支持参数:中国、海外、美国等。传入多个用英文逗号分割。不传表示不过滤。
	UserProvince string `query:"UserProvince"` // 客户端省份。传入多个用英文逗号分割。不传表示不过滤。
	Protocols    string `query:"Protocols"`    // 过滤网络协议。支持参数:HTTP、HTTPS。传入多个用英文逗号分割。不传为不过滤。
	Isp          string `query:"Isp"`          // 过滤运营商。传入多个用英文逗号分割。不传为不过滤。
	GroupBy      string `query:"GroupBy"`      // 维度拆分的维度值。不传表示不拆分维度。传入多个用英文逗号分隔。支持DomainName
	StartTime    string `query:"StartTime"`    // YYYY-MM-DDThh:mm:ss±hh:mm
	EndTime      string `query:"EndTime"`      // YYYY-MM-DDThh:mm:ss±hh:mm
	Interval     string `query:"Interval"`     // 时间粒度,单位秒。支持300,3600,86400。不传默认查询时间段全部数据
}

type DescribeImageXEdgeRequestBandwidthResp

type DescribeImageXEdgeRequestBandwidthResp struct {
	BpsData []DomainDataItem `json:"BpsData"`
}

type DescribeImageXEdgeRequestRegionsReq

type DescribeImageXEdgeRequestRegionsReq struct {
	StartTime string `query:"StartTime"` // YYYY-MM-DDThh:mm:ss±hh:mm
	EndTime   string `query:"EndTime"`   // YYYY-MM-DDThh:mm:ss±hh:mm
}

type DescribeImageXEdgeRequestRegionsResp

type DescribeImageXEdgeRequestRegionsResp struct {
	UserProvince []string `json:"UserProvince"`
	UserCountry  []string `json:"UserCountry"`
}

type DescribeImageXEdgeRequestReq

type DescribeImageXEdgeRequestReq struct {
	ServiceIds   string `query:"ServiceIds"`   // 传入多个用英文逗号分隔
	DomainNames  string `query:"DomainNames"`  // 传入多个用英文逗号分隔
	Regions      string `query:"Regions"`      // cdn区域。支持参数:中国大陆、亚太一区、亚太二区、亚太三区、欧洲区、北美区、南美区、中东区。传入多个用英文逗号分割。不传表示不过滤。
	UserCountry  string `query:"UserCountry"`  // 客户端国家。支持参数:中国、海外、美国等。传入多个用英文逗号分割。不传表示不过滤。
	UserProvince string `query:"UserProvince"` // 客户端省份。传入多个用英文逗号分割。不传表示不过滤。
	Protocols    string `query:"Protocols"`    // 过滤网络协议。支持参数:HTTP、HTTPS。传入多个用英文逗号分割。不传为不过滤。
	Isp          string `query:"Isp"`          // 过滤运营商。传入多个用英文逗号分割。不传为不过滤。
	DataTypes    string `query:"DataTypes"`    // 状态码过滤。传入多个用英文逗号分隔。支持2xx,3xx,4xx,5xx,req_cnt
	GroupBy      string `query:"GroupBy"`      // 维度拆分的维度值。不传表示不拆分维度。传入多个用英文逗号分隔。支持DomainName,DataType
	StartTime    string `query:"StartTime"`    // YYYY-MM-DDThh:mm:ss±hh:mm
	EndTime      string `query:"EndTime"`      // YYYY-MM-DDThh:mm:ss±hh:mm
	Interval     string `query:"Interval"`     // 时间粒度,单位秒。支持300,3600,86400。不传默认查询时间段全部数据
	DetailedCode string `query:"DetailedCode"` // 是否拆分状态码。不传默认为false,表示不拆分。
}

type DescribeImageXEdgeRequestResp

type DescribeImageXEdgeRequestResp struct {
	RequestCnt []EdgeRequestCntItem `json:"RequestCnt"`
}

type DescribeImageXEdgeRequestTrafficReq

type DescribeImageXEdgeRequestTrafficReq struct {
	ServiceIds   string `query:"ServiceIds"`   // 传入多个用英文逗号分隔
	DomainNames  string `query:"DomainNames"`  // 传入多个用英文逗号分隔
	Regions      string `query:"Regions"`      // cdn区域。支持参数:中国大陆、亚太一区、亚太二区、亚太三区、欧洲区、北美区、南美区、中东区。传入多个用英文逗号分割。不传表示不过滤。
	UserCountry  string `query:"UserCountry"`  // 客户端国家。支持参数:中国、海外、美国等。传入多个用英文逗号分割。不传表示不过滤。
	UserProvince string `query:"UserProvince"` // 客户端省份。传入多个用英文逗号分割。不传表示不过滤。
	Protocols    string `query:"Protocols"`    // 过滤网络协议。支持参数:HTTP、HTTPS。传入多个用英文逗号分割。不传为不过滤。
	Isp          string `query:"Isp"`          // 过滤运营商。传入多个用英文逗号分割。不传为不过滤。
	GroupBy      string `query:"GroupBy"`      // 维度拆分的维度值。不传表示不拆分维度。传入多个用英文逗号分隔。支持DomainName
	StartTime    string `query:"StartTime"`    // YYYY-MM-DDThh:mm:ss±hh:mm
	EndTime      string `query:"EndTime"`      // YYYY-MM-DDThh:mm:ss±hh:mm
	Interval     string `query:"Interval"`     // 时间粒度,单位秒。支持300,3600,86400。不传默认查询时间段全部数据
}

type DescribeImageXEdgeRequestTrafficResp

type DescribeImageXEdgeRequestTrafficResp struct {
	TrafficData []DomainDataItem `json:"TrafficData"`
}

type DescribeImageXHitRateRequestDataReq

type DescribeImageXHitRateRequestDataReq struct {
	ServiceIds  string `query:"ServiceIds"`  // 传入多个用英文逗号分隔
	DomainNames string `query:"DomainNames"` // 传入多个用英文逗号分隔
	GroupBy     string `query:"GroupBy"`     // 维度拆分的维度值。不传表示不拆分维度。传入多个用英文逗号分隔。支持ServiceId,DomainName
	StartTime   string `query:"StartTime"`   // YYYY-MM-DDThh:mm:ss±hh:mm
	EndTime     string `query:"EndTime"`     // YYYY-MM-DDThh:mm:ss±hh:mm
	Interval    string `query:"Interval"`    // 时间粒度,单位秒。支持300,3600,86400。不传默认查询时间段全部数据
}

type DescribeImageXHitRateRequestDataResp

type DescribeImageXHitRateRequestDataResp struct {
	HitRateData []ServiceDomainDataItem `json:"HitRateData"`
}

type DescribeImageXHitRateTrafficDataReq

type DescribeImageXHitRateTrafficDataReq struct {
	ServiceIds  string `query:"ServiceIds"`  // 传入多个用英文逗号分隔
	DomainNames string `query:"DomainNames"` // 传入多个用英文逗号分隔
	GroupBy     string `query:"GroupBy"`     // 维度拆分的维度值。不传表示不拆分维度。传入多个用英文逗号分隔。支持ServiceId,DomainName
	StartTime   string `query:"StartTime"`   // YYYY-MM-DDThh:mm:ss±hh:mm
	EndTime     string `query:"EndTime"`     // YYYY-MM-DDThh:mm:ss±hh:mm
	Interval    string `query:"Interval"`    // 时间粒度,单位秒。支持300,3600,86400。不传默认查询时间段全部数据
}

type DescribeImageXHitRateTrafficDataResp

type DescribeImageXHitRateTrafficDataResp struct {
	HitRateData []ServiceDomainDataItem `json:"HitRateData"`
}

type DescribeImageXMirrorRequestBandwidthReq

type DescribeImageXMirrorRequestBandwidthReq struct {
	ServiceIds  []string `json:"ServiceIds"`  // 服务id过滤
	DomainNames []string `json:"DomainNames"` // 域名过滤
	StartTime   string   `json:"StartTime"`   // YYYY-MM-DDThh:mm:ss±hh:mm
	EndTime     string   `json:"EndTime"`     // YYYY-MM-DDThh:mm:ss±hh:mm
	Granularity string   `json:"Granularity"` // 时间粒度。支持5m,1h,1d。不传默认查询时间段全部数据
	Interval    string   `json:"Interval"`    // 时间粒度。支持5m,1h,1d。不传默认查询时间段全部数据
}

type DescribeImageXMirrorRequestBandwidthResp

type DescribeImageXMirrorRequestBandwidthResp struct {
	Data []TSFloatItem `json:"Data"`
}

type DescribeImageXMirrorRequestHttpCodeByTimeReq

type DescribeImageXMirrorRequestHttpCodeByTimeReq struct {
	ServiceIds    []string `json:"ServiceIds"`    // 服务id过滤
	DomainNames   []string `json:"DomainNames"`   // 域名过滤
	AggregateCode string   `json:"AggregateCode"` // 状态码是否聚合。支持true,false。默认为false
	StartTime     string   `json:"StartTime"`     // YYYY-MM-DDThh:mm:ss±hh:mm
	EndTime       string   `json:"EndTime"`       // YYYY-MM-DDThh:mm:ss±hh:mm
	Granularity   string   `json:"Granularity"`   // 时间粒度。支持5m,1h,1d。不传默认查询时间段全部数据
}

type DescribeImageXMirrorRequestHttpCodeByTimeResp

type DescribeImageXMirrorRequestHttpCodeByTimeResp struct {
	Data []MirrorHttpCodeDataItem `json:"Data"`
}

type DescribeImageXMirrorRequestHttpCodeOverviewReq

type DescribeImageXMirrorRequestHttpCodeOverviewReq struct {
	ServiceIds    []string `json:"ServiceIds"`
	DomainNames   []string `json:"DomainNames"`
	StartTime     string   `json:"StartTime"` // YYYY-MM-DDThh:mm:ss±hh:mm
	EndTime       string   `json:"EndTime"`   // YYYY-MM-DDThh:mm:ss±hh:mm
	AggregateCode string   `json:"AggregateCode"`
	Granularity   string   `json:"Granularity"`
}

type DescribeImageXMirrorRequestHttpCodeOverviewResp

type DescribeImageXMirrorRequestHttpCodeOverviewResp struct {
	Data []MirrorHttpCodeRespItem `json:"Data"`
}

type DescribeImageXMirrorRequestTrafficReq

type DescribeImageXMirrorRequestTrafficReq struct {
	ServiceIds  []string `json:"ServiceIds"`  // 服务id过滤
	DomainNames []string `json:"DomainNames"` // 域名过滤
	StartTime   string   `json:"StartTime"`   // YYYY-MM-DDThh:mm:ss±hh:mm
	EndTime     string   `json:"EndTime"`     // YYYY-MM-DDThh:mm:ss±hh:mm
	Interval    string   `json:"Interval"`    // 时间粒度。支持5m,1h,1d。不传默认查询时间段全部数据
	Granularity string   `json:"Granularity"` // 时间粒度。支持5m,1h,1d。不传默认查询时间段全部数据
}

type DescribeImageXMirrorRequestTrafficResp

type DescribeImageXMirrorRequestTrafficResp struct {
	Data []TSIntItem `json:"Data"`
}

type DescribeImageXRequestCntUsageReq

type DescribeImageXRequestCntUsageReq struct {
	ServiceIds string `query:"ServiceIds"` // 传入多个用英文逗号分隔
	AdvFeats   string `query:"AdvFeats"`   // 传入多个用英文逗号分隔
	GroupBy    string `query:"GroupBy"`    // 维度拆分的维度值。不传表示不拆分维度。传入多个用英文逗号分隔。支持AdvFeat
	StartTime  string `query:"StartTime"`  // YYYY-MM-DDThh:mm:ss±hh:mm
	EndTime    string `query:"EndTime"`    // YYYY-MM-DDThh:mm:ss±hh:mm
	Interval   string `query:"Interval"`   // 时间粒度,单位秒。支持300,3600,86400。不传默认查询时间段全部数据
}

type DescribeImageXRequestCntUsageResp

type DescribeImageXRequestCntUsageResp struct {
	RequestCntData []RequestCntDataItem `json:"RequestCntData"`
}

type DescribeImageXSensibleCacheHitRateByTimeReq

type DescribeImageXSensibleCacheHitRateByTimeReq struct {
	Appid       string     `json:"Appid"`
	AppVer      []string   `json:"AppVer"`
	OS          string     `json:"OS"`
	SdkVer      []string   `json:"SdkVer"`
	ImageType   []string   `json:"ImageType"`
	ExtraDims   []ExtraDim `json:"ExtraDims"`
	GroupBy     string     `json:"GroupBy"`
	Type        string     `json:"Type"`
	StartTime   string     `json:"StartTime"`
	EndTime     string     `json:"EndTime"`
	Granularity string     `json:"Granularity"`
}

type DescribeImageXSensibleCacheHitRateByTimeResp

type DescribeImageXSensibleCacheHitRateByTimeResp struct {
	CacheHitData []CurveFloatItem `json:"CacheHitData"`
}

type DescribeImageXSensibleCountByTimeReq

type DescribeImageXSensibleCountByTimeReq struct {
	Appid       string     `json:"Appid"`
	AppVer      []string   `json:"AppVer"`
	OS          string     `json:"OS"`
	SdkVer      []string   `json:"SdkVer"`
	ImageType   []string   `json:"ImageType"`
	ExtraDims   []ExtraDim `json:"ExtraDims"`
	GroupBy     string     `json:"GroupBy"`
	StartTime   string     `json:"StartTime"`
	EndTime     string     `json:"EndTime"`
	Granularity string     `json:"Granularity"`
}

type DescribeImageXSensibleCountByTimeResp

type DescribeImageXSensibleCountByTimeResp struct {
	SensibleCountData []CurveIntItem `json:"SensibleCountData"`
}

type DescribeImageXSensibleTopRamURLReq

type DescribeImageXSensibleTopRamURLReq struct {
	Appid      string     `json:"Appid"`
	AppVer     []string   `json:"AppVer"`
	OS         string     `json:"OS"`
	SdkVer     []string   `json:"SdkVer"`
	ImageType  []string   `json:"ImageType"`
	ExtraDims  []ExtraDim `json:"ExtraDims"`
	StartTime  string     `json:"StartTime"`
	EndTime    string     `json:"EndTime"`
	Top        int        `json:"Top"`
	OrderByIdx int        `json:"OrderByIdx"`
}

type DescribeImageXSensibleTopRamURLResp

type DescribeImageXSensibleTopRamURLResp struct {
	TopUrlData []SensibleRamItem `json:"TopUrlData"`
}

type DescribeImageXSensibleTopResolutionURLReq

type DescribeImageXSensibleTopResolutionURLReq struct {
	Appid      string     `json:"Appid"`
	AppVer     []string   `json:"AppVer"`
	OS         string     `json:"OS"`
	SdkVer     []string   `json:"SdkVer"`
	ImageType  []string   `json:"ImageType"`
	ExtraDims  []ExtraDim `json:"ExtraDims"`
	StartTime  string     `json:"StartTime"`
	EndTime    string     `json:"EndTime"`
	Top        int        `json:"Top"`
	OrderByIdx int        `json:"OrderByIdx"`
}

type DescribeImageXSensibleTopResolutionURLResp

type DescribeImageXSensibleTopResolutionURLResp struct {
	TopUrlData []SensibleResolutionItem `json:"TopUrlData"`
}

type DescribeImageXSensibleTopSizeURLReq

type DescribeImageXSensibleTopSizeURLReq struct {
	Appid      string     `json:"Appid"`
	AppVer     []string   `json:"AppVer"`
	OS         string     `json:"OS"`
	SdkVer     []string   `json:"SdkVer"`
	ImageType  []string   `json:"ImageType"`
	ExtraDims  []ExtraDim `json:"ExtraDims"`
	StartTime  string     `json:"StartTime"`
	EndTime    string     `json:"EndTime"`
	Top        int        `json:"Top"`
	OrderByIdx int        `json:"OrderByIdx"`
}

type DescribeImageXSensibleTopSizeURLResp

type DescribeImageXSensibleTopSizeURLResp struct {
	TopUrlData []SensibleSizeItem `json:"TopUrlData"`
}

type DescribeImageXSensibleTopUnknownURLReq

type DescribeImageXSensibleTopUnknownURLReq struct {
	Appid      string     `json:"Appid"`
	AppVer     []string   `json:"AppVer"`
	OS         string     `json:"OS"`
	SdkVer     []string   `json:"SdkVer"`
	ImageType  []string   `json:"ImageType"`
	ExtraDims  []ExtraDim `json:"ExtraDims"`
	StartTime  string     `json:"StartTime"`
	EndTime    string     `json:"EndTime"`
	Top        int        `json:"Top"`
	OrderByIdx int        `json:"OrderByIdx"`
}

type DescribeImageXSensibleTopUnknownURLResp

type DescribeImageXSensibleTopUnknownURLResp struct {
	TopUrlData []SensibleUnknownItem `json:"TopUrlData"`
}

type DescribeImageXServiceQualityReq

type DescribeImageXServiceQualityReq struct {
	Region string `query:"Region"`
}

type DescribeImageXServiceQualityResp

type DescribeImageXServiceQualityResp struct {
	FailureRate float64            `json:"FailureRate"`
	UploadData  UploadOverviewResp `json:"UploadData"`
	CdnData     CdnOverviewResp    `json:"CdnData"`
	ClientData  ClientOverviewResp `json:"ClientData"`
}

type DescribeImageXSummaryReq

type DescribeImageXSummaryReq struct {
	ServiceIds string `query:"ServiceIds"` // 传入多个用英文逗号分隔
	Timestamp  string `query:"Timestamp"`
}

type DescribeImageXSummaryResp

type DescribeImageXSummaryResp struct {
	StorageData      SummaryFloatItem `json:"StorageData"`
	CdnBandwidthData SummaryFloatItem `json:"CdnBandwidthData"`
	CdnTrafficData   SummaryIntItem   `json:"CdnTrafficData"`
	RequestCntData   SummaryIntItem   `json:"RequestCntData"`
	BaseOpData       SummaryIntItem   `json:"BaseOpData"`
}

type DescribeImageXUploadCountByTimeReq

type DescribeImageXUploadCountByTimeReq struct {
	Appid       string     `json:"Appid"`
	AppVer      []string   `json:"AppVer"`
	OS          string     `json:"OS"`
	SdkVer      []string   `json:"SdkVer"`
	Country     string     `json:"Country"`
	Province    string     `json:"Province"`
	Isp         []string   `json:"Isp"`
	ExtraDims   []ExtraDim `json:"ExtraDims"`
	UploadType  int        `json:"UploadType"`
	GroupBy     string     `json:"GroupBy"`
	StartTime   string     `json:"StartTime"`
	EndTime     string     `json:"EndTime"`
	Granularity string     `json:"Granularity"`
}

type DescribeImageXUploadCountByTimeResp

type DescribeImageXUploadCountByTimeResp struct {
	UploadCountData []CurveIntItem `json:"UploadCountData"`
}

type DescribeImageXUploadDurationReq

type DescribeImageXUploadDurationReq struct {
	Appid       string     `json:"Appid"`
	AppVer      []string   `json:"AppVer"`
	OS          string     `json:"OS"`
	SdkVer      []string   `json:"SdkVer"`
	Country     string     `json:"Country"`
	Province    string     `json:"Province"`
	Isp         []string   `json:"Isp"`
	ExtraDims   []ExtraDim `json:"ExtraDims"`
	UploadType  int        `json:"UploadType"`
	GroupBy     string     `json:"GroupBy"`
	StartTime   string     `json:"StartTime"`
	EndTime     string     `json:"EndTime"`
	Granularity string     `json:"Granularity"`
}

type DescribeImageXUploadDurationResp

type DescribeImageXUploadDurationResp struct {
	DurationData []CurveFloatItem `json:"DurationData"`
}

type DescribeImageXUploadErrorCodeAllReq

type DescribeImageXUploadErrorCodeAllReq struct {
	Appid      string     `json:"Appid"`
	AppVer     []string   `json:"AppVer"`
	OS         string     `json:"OS"`
	SdkVer     []string   `json:"SdkVer"`
	Country    string     `json:"Country"`
	Province   string     `json:"Province"`
	Isp        []string   `json:"Isp"`
	ExtraDims  []ExtraDim `json:"ExtraDims"`
	UploadType int        `json:"UploadType"`
	StartTime  string     `json:"StartTime"`
	EndTime    string     `json:"EndTime"`
	GroupBy    string     `json:"GroupBy"`
	OrderBy    string     `json:"OrderBy"`
	OrderAsc   bool       `json:"OrderAsc"`
}

type DescribeImageXUploadErrorCodeAllResp

type DescribeImageXUploadErrorCodeAllResp struct {
	ErrorCodeData []ErrorCodeAllItem `json:"ErrorCodeData"`
}

type DescribeImageXUploadErrorCodeByTimeReq

type DescribeImageXUploadErrorCodeByTimeReq struct {
	Appid       string     `json:"Appid"`
	AppVer      []string   `json:"AppVer"`
	OS          string     `json:"OS"`
	SdkVer      []string   `json:"SdkVer"`
	Country     string     `json:"Country"`
	Province    string     `json:"Province"`
	Isp         []string   `json:"Isp"`
	ExtraDims   []ExtraDim `json:"ExtraDims"`
	UploadType  int        `json:"UploadType"`
	StartTime   string     `json:"StartTime"`
	EndTime     string     `json:"EndTime"`
	Granularity string     `json:"Granularity"`
}

type DescribeImageXUploadErrorCodeByTimeResp

type DescribeImageXUploadErrorCodeByTimeResp struct {
	ErrorCodeData []ErrorCodeItem `json:"ErrorCodeData"`
}

type DescribeImageXUploadFileSizeReq

type DescribeImageXUploadFileSizeReq struct {
	Appid       string     `json:"Appid"`
	AppVer      []string   `json:"AppVer"`
	OS          string     `json:"OS"`
	SdkVer      []string   `json:"SdkVer"`
	Country     string     `json:"Country"`
	Province    string     `json:"Province"`
	Isp         []string   `json:"Isp"`
	ExtraDims   []ExtraDim `json:"ExtraDims"`
	UploadType  int        `json:"UploadType"`
	GroupBy     string     `json:"GroupBy"`
	StartTime   string     `json:"StartTime"`
	EndTime     string     `json:"EndTime"`
	Granularity string     `json:"Granularity"`
}

type DescribeImageXUploadFileSizeResp

type DescribeImageXUploadFileSizeResp struct {
	FSizeData []CurveFloatItem `json:"FSizeData"`
}

type DescribeImageXUploadSegmentSpeedByTimeReq

type DescribeImageXUploadSegmentSpeedByTimeReq struct {
	Appid       string     `json:"Appid"`
	AppVer      []string   `json:"AppVer"`
	OS          string     `json:"OS"`
	SdkVer      []string   `json:"SdkVer"`
	Country     string     `json:"Country"`
	Province    string     `json:"Province"`
	Isp         []string   `json:"Isp"`
	ExtraDims   []ExtraDim `json:"ExtraDims"`
	UploadType  int        `json:"UploadType"`
	GroupBy     string     `json:"GroupBy"`
	StartTime   string     `json:"StartTime"`
	EndTime     string     `json:"EndTime"`
	Granularity string     `json:"Granularity"`
}

type DescribeImageXUploadSegmentSpeedByTimeResp

type DescribeImageXUploadSegmentSpeedByTimeResp struct {
	SpeedData []CurveFloatItem `json:"SpeedData"`
}

type DescribeImageXUploadSpeedReq

type DescribeImageXUploadSpeedReq struct {
	Appid       string     `json:"Appid"`
	AppVer      []string   `json:"AppVer"`
	OS          string     `json:"OS"`
	SdkVer      []string   `json:"SdkVer"`
	Country     string     `json:"Country"`
	Province    string     `json:"Province"`
	Isp         []string   `json:"Isp"`
	ExtraDims   []ExtraDim `json:"ExtraDims"`
	UploadType  int        `json:"UploadType"`
	GroupBy     string     `json:"GroupBy"`
	StartTime   string     `json:"StartTime"`
	EndTime     string     `json:"EndTime"`
	Granularity string     `json:"Granularity"`
}

type DescribeImageXUploadSpeedResp

type DescribeImageXUploadSpeedResp struct {
	SpeedData []CurveFloatItem `json:"SpeedData"`
}

type DescribeImageXUploadSuccessRateByTimeReq

type DescribeImageXUploadSuccessRateByTimeReq struct {
	Appid       string     `json:"Appid"`
	AppVer      []string   `json:"AppVer"`
	OS          string     `json:"OS"`
	SdkVer      []string   `json:"SdkVer"`
	Country     string     `json:"Country"`
	Province    string     `json:"Province"`
	Isp         []string   `json:"Isp"`
	ExtraDims   []ExtraDim `json:"ExtraDims"`
	GroupBy     string     `json:"GroupBy"`
	UploadType  int        `json:"UploadType"`
	StartTime   string     `json:"StartTime"`
	EndTime     string     `json:"EndTime"`
	Granularity string     `json:"Granularity"`
}

type DescribeImageXUploadSuccessRateByTimeResp

type DescribeImageXUploadSuccessRateByTimeResp struct {
	SuccessRateData []CurveFloatItem `json:"SuccessRateData"`
}

type Domain

type Domain struct {
	DomainName string `json:"DomainName"`
	CNAME      string `json:"CNAME"`
	Status     string `json:"Status"`
	IsDefault  bool   `json:"IsDefault"`
}

type DomainDataItem

type DomainDataItem struct {
	DomainName string        `json:"DomainName,omitempty"`
	Data       []TSFloatItem `json:"Data"`
}

type DomainResult

type DomainResult struct {
	Domain      string      `json:"domain"`
	CNAME       string      `json:"cname"`
	Status      string      `json:"status"`
	HttpsConfig HttpsConfig `json:"https_config"`
	IsDefault   bool        `json:"is_default"`
	Resolved    bool        `json:"resolved"`
}

GetServiceDomains

type EdgeRequestCntItem

type EdgeRequestCntItem struct {
	DataType   string      `json:"DataType,omitempty"`
	DomainName string      `json:"DomainName,omitempty"`
	Data       []TSIntItem `json:"Data"`
}

type Encryption

type Encryption struct {
	Uri       string            `json:"Uri"`
	SecretKey string            `json:"SecretKey"`
	Algorithm string            `json:"Algorithm"`
	Version   string            `json:"Version"`
	SourceMd5 string            `json:"SourceMd5"`
	Extra     map[string]string `json:"Extra"`
}

type EncryptionInput

type EncryptionInput struct {
	Config       map[string]string `json:"Config"`
	PolicyParams map[string]string `json:"PolicyParams"`
}

type EraseBox

type EraseBox struct {
	X1 float64 `json:"X1"`
	Y1 float64 `json:"Y1"`
	X2 float64 `json:"X2"`
	Y2 float64 `json:"Y2"`
}

type ErrorCodeAllDetailsItem

type ErrorCodeAllDetailsItem struct {
	ErrorCode     string `json:"ErrorCode"`
	ErrorCodeDesc string `json:"ErrorCodeDesc"`
	Value         int64  `json:"Value"`
}

type ErrorCodeAllItem

type ErrorCodeAllItem struct {
	ErrorCode     string                    `json:"ErrorCode,omitempty"`
	ErrorCodeDesc string                    `json:"ErrorCodeDesc,omitempty"`
	Isp           string                    `json:"Isp,omitempty"`
	Domain        string                    `json:"Domain,omitempty"`
	Region        string                    `json:"Region,omitempty"`
	RegionType    string                    `json:"RegionType,omitempty"`
	Value         int64                     `json:"Value"`
	Details       []ErrorCodeAllDetailsItem `json:"Details,omitempty"`
}

type ErrorCodeItem

type ErrorCodeItem struct {
	ErrorCode string         `json:"ErrorCode"`
	Count     int64          `json:"Count"`
	Data      []CurveIntItem `json:"Data"`
}

type ExtraDim

type ExtraDim struct {
	Dim  string   `json:"Dim"`
	Vals []string `json:"Vals"`
}

type FetchUrlReq

type FetchUrlReq struct {
	Url              string              `json:"Url"`
	ServiceId        string              `json:"ServiceId"`
	StoreKey         string              `json:"StoreKey"`
	RequestHeader    map[string][]string `json:"RequestHeader"`
	TimeOut          int                 `json:"TimeOut"`
	Async            bool                `json:"Async"`
	Callback         string              `json:"Callback"`
	Host             string              `json:"Host"`
	MD5              string              `json:"MD5"`
	CallbackBodyType string              `json:"CallbackBodyType"`
	CallbackBody     string              `json:"CallbackBody"`
	CallbackHost     string              `json:"CallbackHost"`
	IgnoreSameKey    bool                `json:"IgnoreSameKey"`
}

FetchImageUrl

type FetchUrlResp

type FetchUrlResp struct {
	Url         string `json:"Url"`
	StoreUri    string `json:"StoreUri"`
	FSize       int    `json:"FSize"`
	ImageWidth  int    `json:"ImageWidth,omitempty"`
	ImageHeight int    `json:"ImageHeight,omitempty"`
	Duration    int    `json:"Duration,omitempty"`
	FrameCnt    int    `json:"FrameCnt,omitempty"`
	ImageFormat string `json:"ImageFormat,omitempty"`
	TaskId      string `json:"TaskId"`
}

type FileObject

type FileObject struct {
	StoreUri     string `json:"StoreUri"`
	Key          string `json:"Key"`
	LastModified string `json:"LastModified"`
	FileSize     int    `json:"FileSize"`
	Marker       int64  `json:"Marker"`
}

type Function

type Function struct {
	Name  string      `json:"Name"`
	Input interface{} `json:"Input"`
}

type GetAiGenerateImageReq added in v1.0.131

type GetAiGenerateImageReq struct {
	ServiceId      string  `json:"-"`
	URL            string  `json:"Url"`
	NeedSeg        bool    `json:"NeedSeg"`
	PositivePrompt string  `json:"PositivePrompt"`
	NegativePrompt string  `json:"NegativePrompt"`
	ProductRatio   float64 `json:"ProductRatio"`
	OutputSize     int     `json:"OutputSize"`
	Callback       string  `json:"Callback"`
	Scene          string  `json:"Scene"`
	UseCaption     bool    `json:"UseCaption"`
	ReturnTop1     bool    `json:"ReturnTop1"`
	CX             int     `json:"CX"`
	CY             int     `json:"CY"`
	SafeH          int     `json:"SafeH"`
	SafeW          int     `json:"SafeW"`
	Extra          string  `json:"Extra"`
}

type GetAiGenerateImageResp added in v1.0.131

type GetAiGenerateImageResp struct {
	TaskId string `json:"TaskId"`
}

type GetAuditEntrysCountReq added in v1.0.118

type GetAuditEntrysCountReq struct {
	TaskId string `query:"TaskId"`
}

GetAuditEntrysCount

type GetAuditEntrysCountResp added in v1.0.118

type GetAuditEntrysCountResp struct {
	Total               int `json:"Total"`
	NopassCount         int `json:"NopassCount"`
	RecheckCount        int `json:"RecheckCount"`
	SuccessCount        int `json:"SuccessCount"`
	FailedCount         int `json:"FailedCount"`
	ExceptionCount      int `json:"ExceptionCount"`
	AuditFailCount      int `json:"AuditFailCount"`
	AuditSuccessCount   int `json:"AuditSuccessCount"`
	AuditTotal          int `json:"AuditTotal"`
	AuditExceptionCount int `json:"AuditExceptionCount"`
	AuditNopassCount    int `json:"AuditNopassCount"`
	AuditRecheckCount   int `json:"AuditRecheckCount"`
}

type GetDedupTaskStatusResult

type GetDedupTaskStatusResult struct {
	Status int                              `json:"Status"`
	TaskId string                           `json:"TaskId"`
	Result GetImageDuplicateDetectionResult `json:"Result"`
}

type GetDenoisingImageParam

type GetDenoisingImageParam struct {
	ServiceId   string  `json:"-"`
	StoreUri    string  `json:"StoreUri"`
	ImageUrl    string  `json:"ImageUrl"`
	OutFormat   string  `json:"OutFormat"`
	Intensity   float64 `json:"Intensity"`
	CanDemotion bool    `json:"CanDemotion"`
}

GetDenoisingImage

type GetDenoisingImageResult

type GetDenoisingImageResult struct {
	ResUri   string `json:"ResUri"`
	Demotion bool   `json:"Demotion"`
}

type GetImageAiGenerateTaskReq added in v1.0.131

type GetImageAiGenerateTaskReq struct {
	TaskId string
}

type GetImageAiGenerateTaskResp added in v1.0.131

type GetImageAiGenerateTaskResp struct {
	Uris            string    `json:"Uris"`
	Status          string    `json:"Status"`
	AestheticScores []float64 `json:"AestheticScores"`
	SDScores        []float64 `json:"SDScores"`
}

type GetImageAuditResult added in v1.0.122

type GetImageAuditResult struct {
	Marker          string   `json:"Marker"`
	EndAt           string   `json:"EndAt"`
	Type            string   `json:"Type"`
	ErrMsg          string   `json:"ErrMsg"`
	TaskID          string   `json:"TaskId"`
	Problems        []string `json:"Problems"`
	ImageType       string   `json:"ImageType"`
	EntryID         string   `json:"EntryId"`
	AuditSuggestion string   `json:"AuditSuggestion"`
	ImageURI        string   `json:"ImageUri"`
	Ability         int      `json:"Ability"`
}

type GetImageAuditResultReq added in v1.0.118

type GetImageAuditResultReq struct {
	TaskId          string `query:"TaskId"`
	AuditSuggestion string `query:"AuditSuggestion"`
	Problem         string `query:"Problem"`
	ImageType       string `query:"ImageType"`
	Marker          string `query:"Marker"`
	Limit           int    `query:"Limit"`
	Type            string `query:"Type"`
}

GetImageAuditResult

type GetImageAuditResultResp added in v1.0.118

type GetImageAuditResultResp struct {
	Results  []GetImageAuditResult `json:"Results"`
	HaveMore bool                  `json:"HaveMore"`
}

type GetImageAuditTask added in v1.0.122

type GetImageAuditTask struct {
	Status    string                 `json:"Status"`
	ID        string                 `json:"Id"`
	TaskType  string                 `json:"TaskType"`
	AuditTask *GetImageAuditTaskInfo `json:"AuditTask"`
	Type      string                 `json:"Type"`
	ResURI    []string               `json:"ResUri"`
	CreateAt  string                 `json:"CreateAt"`
	UpdateAt  string                 `json:"UpdateAt"`
	ServiceID string                 `json:"ServiceId"`
}

type GetImageAuditTaskInfo added in v1.0.122

type GetImageAuditTaskInfo struct {
	AuditAbility           int               `json:"AuditAbility"`
	FreezeType             []string          `json:"FreezeType"`
	FreezeDimensions       []string          `json:"FreezeDimensions"`
	EnableFreeze           bool              `json:"EnableFreeze"`
	AuditDimensions        []string          `json:"AuditDimensions"`
	CallbackDimensions     []string          `json:"CallbackDimensions"`
	EnableCallback         bool              `json:"EnableCallback"`
	FreezeStrategy         int               `json:"FreezeStrategy"`
	CallbackURL            string            `json:"CallbackUrl"`
	CallbackImageTypes     []string          `json:"CallbackImageTypes"`
	EnableAuditRange       int               `json:"EnableAuditRange"`
	NoAuditPrefix          []string          `json:"NoAuditPrefix"`
	AuditPrefix            []string          `json:"AuditPrefix"`
	ProcessedNumber        int               `json:"ProcessedNumber"`
	FailedCount            int               `json:"FailedCount"`
	SuccessCount           int               `json:"SuccessCount"`
	ImageInfos             []*AuditImageInfo `json:"ImageInfos"`
	AuditTextDimensions    []string          `json:"AuditTextDimensions"`
	EnableLargeImageDetect bool              `json:"EnableLargeImageDetect"`
}

type GetImageAuditTasksReq added in v1.0.118

type GetImageAuditTasksReq struct {
	Region       string `query:"Region"`
	TaskType     string `query:"TaskType"`
	AuditAbility string `query:"AuditAbility"`
	Status       string `query:"Status"`
	Offset       int    `query:"Offset"`
	Limit        int    `query:"Limit"`
	Type         string `query:"Type"`
}

GetImageAuditTasks

type GetImageAuditTasksResp added in v1.0.118

type GetImageAuditTasksResp struct {
	Tasks []GetImageAuditTask `json:"Tasks"`
	Total int                 `json:"Total"`
}

type GetImageBgFillParam

type GetImageBgFillParam struct {
	ServiceId string  `json:"ServiceId"`
	StoreUri  string  `json:"StoreUri"`
	Model     int     `json:"Model"`
	Top       float64 `json:"Top"`
	Bottom    float64 `json:"Bottom"`
	Left      float64 `json:"Left"`
	Right     float64 `json:"Right"`
}

GetImageBgFillResult

type GetImageBgFillResult

type GetImageBgFillResult struct {
	ResUri string `json:"ResUri"`
}

type GetImageComicParam

type GetImageComicParam struct {
	ServiceId string `json:"ServiceId"`
	StoreUri  string `json:"StoreUri"`
}

GetImageComicResult

type GetImageComicResult

type GetImageComicResult struct {
	ResUri string `json:"ResUri"`
}

type GetImageCompressTaskInfoReq added in v1.0.110

type GetImageCompressTaskInfoReq struct {
	ServiceId string
	TaskId    string
}

type GetImageCompressTaskInfoResp added in v1.0.110

type GetImageCompressTaskInfoResp struct {
	Status       string
	TaskId       string
	ProcessCount int
	OutputUri    string
	ErrMsg       string
	ErrCode      int
}

type GetImageContentBlockListReq

type GetImageContentBlockListReq struct {
	ServiceId string `query:"ServiceId" json:"-"`
	State     string `json:"State"`
	Order     string `json:"Order"`
	StartTime int64  `json:"StartTime"`
	EndTime   int64  `json:"EndTime"`
	Url       string `json:"Url"`
	PageNum   int    `json:"PageNum"`
	PageSize  int    `json:"PageSize"`
}

GetImageContentBlockList

type GetImageContentBlockListResp

type GetImageContentBlockListResp struct {
	PageNum  int                                `json:"PageNum"`
	PageSize int                                `json:"PageSize"`
	Total    int                                `json:"Total"`
	Data     []GetImageContentBlockListRespData `json:"Data"`
}

type GetImageContentBlockListRespData

type GetImageContentBlockListRespData struct {
	Url        string `json:"Url"`
	State      string `json:"State"`
	Process    string `json:"Process"`
	TaskType   string `json:"TaskType"`
	CreateTime int64  `json:"CreateTime"`
	UpdateTime int64  `json:"UpdateTime"`
	Msg        string `json:"Msg"`
}

type GetImageContentTaskDetailReq

type GetImageContentTaskDetailReq struct {
	ServiceId string `query:"ServiceId" json:"-"`
	TaskType  string `json:"TaskType"`
	TaskId    string `json:"TaskId"`
	State     string `json:"State"`
	Order     string `json:"Order"`
	StartTime int64  `json:"StartTime"`
	EndTime   int64  `json:"EndTime"`
	Url       string `json:"Url"`
	PageNum   int    `json:"PageNum"`
	PageSize  int    `json:"PageSize"`
}

GetImageContentTaskDetail

type GetImageContentTaskDetailResp

type GetImageContentTaskDetailResp struct {
	PageNum  int                                 `json:"PageNum"`
	PageSize int                                 `json:"PageSize"`
	Total    int                                 `json:"Total"`
	Data     []GetImageContentTaskDetailRespData `json:"Data"`
}

type GetImageContentTaskDetailRespData

type GetImageContentTaskDetailRespData struct {
	Url        string `json:"Url"`
	State      string `json:"State"`
	Process    string `json:"Process"`
	TaskType   string `json:"TaskType"`
	CreateTime int64  `json:"CreateTime"`
	UpdateTime int64  `json:"UpdateTime"`
	Msg        string `json:"Msg"`
	TaskId     string `json:"TaskId"`
}

type GetImageDuplicateDetectionAsyncParam

type GetImageDuplicateDetectionAsyncParam struct {
	GetImageDuplicateDetectionParam
	Callback string `json:"Callback"`
}

type GetImageDuplicateDetectionAsyncResult

type GetImageDuplicateDetectionAsyncResult struct {
	TaskId   string `json:"TaskId"`
	Callback string `json:"Callback"`
}

type GetImageDuplicateDetectionCallbackBody

type GetImageDuplicateDetectionCallbackBody struct {
	Status int                              `json:"Status"`
	TaskId string                           `json:"TaskId"`
	Result GetImageDuplicateDetectionResult `json:"Result"`
}

type GetImageDuplicateDetectionParam

type GetImageDuplicateDetectionParam struct {
	Urls      []string `json:"Urls"`
	ServiceId string   `json:"-"`
}

GetImageDuplicateDetection

type GetImageDuplicateDetectionResult

type GetImageDuplicateDetectionResult struct {
	Score  string              `json:"Score"`
	Groups map[string][]string `json:"Groups"`
}

type GetImageEnhanceParam

type GetImageEnhanceParam struct {
	ServiceId    string   `json:"ServiceId"`
	StoreUri     string   `json:"StoreUri"`
	Model        int      `json:"Model"`
	DisableAr    bool     `json:"DisableAr"`
	DisableSharp bool     `json:"DisableSharp"`
	Resolution   string   `json:"Resolution"`
	Actions      []string `json:"Actions"`
	OutFormat    string   `json:"OutFormat"`
	Quality      int      `json:"Quality"`
}

GetImageEnhanceResult

type GetImageEnhanceResult

type GetImageEnhanceResult struct {
	ResUri string `json:"ResUri"`
	Method string `json:"Method"`
}

type GetImageEraseParam

type GetImageEraseParam struct {
	ServiceId string     `json:"ServiceId"`
	StoreUri  string     `json:"StoreUri"`
	Model     string     `json:"Model"`
	BBox      []EraseBox `json:"BBox"`
}

GetImageEraseResult

type GetImageEraseResult

type GetImageEraseResult struct {
	ResUri string `json:"ResUri"`
}

type GetImageOCRGeneralTextInfo

type GetImageOCRGeneralTextInfo struct {
	Content    string  `json:"Content"`
	Confidence string  `json:"Confidence"`
	Location   [][]int `json:"Location"`
}

type GetImageOCRLicenseTextInfo

type GetImageOCRLicenseTextInfo struct {
	Content  string `json:"Content"`
	Location []int  `json:"Location"`
}

type GetImageOCRParam

type GetImageOCRParam struct {
	ServiceId string `json:"-"`
	StoreUri  string `json:"StoreUri"`
	ImageUrl  string `json:"ImageUrl"`
	Scene     string `json:"Scene"`
}

type GetImageOCRResult

type GetImageOCRResult struct {
	Scene         string                                  `json:"Scene"`
	GeneralResult *[]*GetImageOCRGeneralTextInfo          `json:"GeneralResult"`
	LicenseResult *map[string]*GetImageOCRLicenseTextInfo `json:"LicenseResult"`
}

GetImageOCR

type GetImagePSDetectionParam

type GetImagePSDetectionParam struct {
	ServiceId string `json:"-"`
	ImageUri  string `json:"ImageUri"`
	Method    string `json:"Method"`
}

GetImagePSDetection

type GetImagePSDetectionResult

type GetImagePSDetectionResult struct {
	ElaImage []byte  `json:"ElaImage"`
	NaImage  []byte  `json:"NaImage"`
	HeImage  []byte  `json:"HeImage"`
	Score    float64 `json:"Score"`
	Label    int     `json:"Label"`
}

type GetImageQualityParam

type GetImageQualityParam struct {
	ServiceId string
	ImageUrl  string `json:"ImageUrl"`
	VqType    string `json:"VqType"`
}

GetImageQuality

type GetImageQualityResult

type GetImageQualityResult struct {
	VqType   string                 `json:"VqType"`
	NrScores map[string]interface{} `json:"NrScores"`
}

type GetImageSegmentParam

type GetImageSegmentParam struct {
	ServiceId string
	StoreUri  string   `json:"StoreUri"`
	Class     string   `json:"Class"`
	Refine    bool     `json:"Refine"`
	OutFormat string   `json:"OutFormat"`
	TransBg   bool     `json:"TransBg"`
	Contour   *Contour `json:"Contour"`
}

GetImageSegment

type GetImageSegmentResult

type GetImageSegmentResult struct {
	ResUri string `json:"ResUri"`
}

type GetImageSmartCropParam

type GetImageSmartCropParam struct {
	ServiceId string  `json:"ServiceId"`
	StoreUri  string  `json:"StoreUri"`
	Policy    string  `json:"Policy"`
	Scene     string  `json:"Scene"`
	Sigma     float64 `json:"Sigma"`
	Width     int     `json:"Width"`
	Height    int     `json:"Height"`
}

GetImageSmartCropResult

type GetImageSmartCropResult

type GetImageSmartCropResult struct {
	ResUri   string `json:"ResUri"`
	Demotion bool   `json:"Demotion"`
}

type GetImageStyleResultReq

type GetImageStyleResultReq struct {
	ServiceId     string
	StyleId       string            `json:"StyleId"`
	Params        map[string]string `json:"Params"`
	OutputFormat  string            `json:"OutputFormat"`
	OutputQuality int               `json:"OutputQuality"`
}

GetImageStyleResult

type GetImageStyleResultResp

type GetImageStyleResultResp struct {
	ResUri       string `json:"ResUri"`
	RenderDetail []struct {
		Element string `json:"Element"`
		ErrMsg  string `json:"ErrMsg"`
	} `json:"RenderDetail"`
}

type GetImageSuperResolutionParam

type GetImageSuperResolutionParam struct {
	ServiceId string  `json:"ServiceId"`
	StoreUri  string  `json:"StoreUri"`
	Multiple  float64 `json:"Multiple"`
}

GetImageSuperResolutionResult

type GetImageSuperResolutionResp

type GetImageSuperResolutionResp struct {
	ResUri string `json:"ResUri"`
}

type GetImageUploadFileParam

type GetImageUploadFileParam struct {
	ServiceId string `json:"ServiceId"`
	StoreUri  string `json:"StoreUri"`
}

GetImageUploadFile

type GetImageUploadFileResult

type GetImageUploadFileResult struct {
	ServiceId    string `json:"ServiceId"`
	StoreUri     string `json:"StoreUri"`
	LastModified string `json:"LastModified"`
	FileSize     int    `json:"FileSize"`
	Marker       int64  `json:"Marker"`
}

type GetImageUploadFilesParam

type GetImageUploadFilesParam struct {
	ServiceId string `json:"ServiceId"`
	Limit     int    `json:"Limit"`
	Marker    int64  `json:"Marker"`
}

GetImageUploadFiles

type GetImageUploadFilesResult

type GetImageUploadFilesResult struct {
	ServiceId   string       `json:"ServiceId"`
	FileObjects []FileObject `json:"FileObjects"`
	Status      string       `json:"Status"`
	HasMore     bool         `json:"hasMore"`
}

type GetImageXQueryAppsReq

type GetImageXQueryAppsReq struct {
	Source string `query:"Source"`
}

type GetImageXQueryAppsResp

type GetImageXQueryAppsResp struct {
	Apps []App `json:"Apps"`
}

type GetImageXQueryDimsReq

type GetImageXQueryDimsReq struct {
	Source string `query:"Source"`
	Appid  string `query:"Appid"`
	OS     string `query:"OS"`
}

type GetImageXQueryDimsResp

type GetImageXQueryDimsResp struct {
	Dim []string `json:"Dim"`
}

type GetImageXQueryRegionsReq

type GetImageXQueryRegionsReq struct {
	Source string `query:"Source"`
	Appid  string `query:"Appid"`
	OS     string `query:"OS"`
}

type GetImageXQueryRegionsResp

type GetImageXQueryRegionsResp struct {
	Province []string `json:"Province"`
	Country  []string `json:"Country"`
}

type GetImageXQueryValsReq

type GetImageXQueryValsReq struct {
	Dim    string `query:"Dim"`
	Source string `query:"Source"`
	Appid  string `query:"Appid"`
	OS     string `query:"OS"`
}

type GetImageXQueryValsResp

type GetImageXQueryValsResp struct {
	DimVal []string `json:"DimVal"`
}

type GetLicensePlateDetectionParam

type GetLicensePlateDetectionParam struct {
	ServiceId string `json:"-"`
	ImageUri  string `json:"ImageUri"`
}

GetLicensePlateDetection

type GetLicensePlateDetectionResult

type GetLicensePlateDetectionResult struct {
	Locations []LocationsLower `json:"Locations"`
}

type GetPrivateImageTypeParam

type GetPrivateImageTypeParam struct {
	ServiceId  string  `json:"-"`
	ImageUri   string  `json:"ImageUri"`
	Method     string  `json:"Method"`
	ThresFace  float64 `json:"ThresFace"`
	ThresCloth float64 `json:"ThresCloth"`
}

GetPrivateImageType

type GetPrivateImageTypeResult

type GetPrivateImageTypeResult struct {
	Face  int `json:"Face"`
	Cloth int `json:"Cloth"`
}

type GetServicesResult

type GetServicesResult struct {
	Services []Service `json:"Services"`
}

GetAllImageServices

type GetUrlFetchTaskReq

type GetUrlFetchTaskReq struct {
	Id        string `query:"Id"`
	ServiceId string `query:"ServiceId"`
}

GetUrlFetchTask

type GetUrlFetchTaskResp

type GetUrlFetchTaskResp struct {
	Id               string `json:"Id"`
	Status           string `json:"Status"`
	Url              string `json:"Url"`
	StoreUri         string `json:"StoreUri"`
	Callback         string `json:"Callback"`
	CallbackBody     string `json:"CallbackBody"`
	CallbackBodyType string `json:"CallbackBodyType"`
	Err              string `json:"Err"`
	Code             string `json:"Code"`
}

type HttpsConfig

type HttpsConfig struct {
	EnableHttps bool   `json:"enable_https"`
	ForceHttps  bool   `json:"force_https"`
	CertId      string `json:"cert_id"`
}

type ImageInfo

type ImageInfo struct {
	FileName    string `json:"FileName"`
	ImageUri    string `json:"ImageUri"`
	ImageWidth  int    `json:"ImageWidth"`
	ImageHeight int    `json:"ImageHeight"`
	ImageMd5    string `json:"ImageMd5"`
	ImageFormat string `json:"ImageFormat"`
	ImageSize   int    `json:"ImageSize"`
	FrameCnt    int    `json:"FrameCnt"`
	Duration    int    `json:"Duration"`
}

type ImageX

type ImageX struct {
	*base.Client
}

func NewInstance

func NewInstance() *ImageX

func NewInstanceWithRegion

func NewInstanceWithRegion(region string) *ImageX

func (*ImageX) ApplyUploadImage

func (c *ImageX) ApplyUploadImage(params *ApplyUploadImageParam) (*ApplyUploadImageResult, error)

ApplyImageUpload 获取图片上传地址

func (*ImageX) CommitUploadImage

func (c *ImageX) CommitUploadImage(params *CommitUploadImageParam) (*CommitUploadImageResult, error)

CommitImageUpload 图片上传完成上报

func (*ImageX) CreateHiddenWatermarkImage added in v1.0.131

func (c *ImageX) CreateHiddenWatermarkImage(param *CreateHiddenWatermarkImageParam) (*CreateHiddenWatermarkImageResult, error)

func (*ImageX) CreateImageAuditTask added in v1.0.118

func (c *ImageX) CreateImageAuditTask(req *CreateImageAuditTaskReq) (*CreateImageAuditTaskResp, error)

func (*ImageX) CreateImageCompressTask added in v1.0.110

func (c *ImageX) CreateImageCompressTask(req *CreateImageCompressTaskReq) (*CreateImageCompressTaskResp, error)

func (*ImageX) CreateImageContentTask

func (c *ImageX) CreateImageContentTask(req *CreateImageContentTaskReq) (*CreateImageContentTaskResp, error)

func (*ImageX) CreateImageHmEmbed

func (c *ImageX) CreateImageHmEmbed(param *CreateImageHmEmbedParam) (*CreateImageHmEmbedResult, error)

func (*ImageX) CreateImageHmExtract

func (c *ImageX) CreateImageHmExtract(param *CreateImageHmExtractParam) (*CreateImageHmExtractResult, error)

func (*ImageX) CreateImageRetryAuditTask added in v1.0.118

func (c *ImageX) CreateImageRetryAuditTask(req *CreateImageRetryAuditTaskReq) (*CreateImageRetryAuditTaskResp, error)

func (*ImageX) DeleteImageAuditResult added in v1.0.118

func (c *ImageX) DeleteImageAuditResult(req *DeleteImageAuditResultReq) (*DeleteImageAuditResultResp, error)

func (*ImageX) DeleteImages

func (c *ImageX) DeleteImages(serviceId string, uris []string) (*DeleteImageResult, error)

DeleteImageUploadFiles 删除图片

func (*ImageX) DescribeImageVolcCdnAccessLog

func (c *ImageX) DescribeImageVolcCdnAccessLog(req *DescribeImageVolcCdnAccessLogReq) (*DescribeImageVolcCdnAccessLogResp, error)

func (*ImageX) DescribeImageXBaseOpUsage

func (c *ImageX) DescribeImageXBaseOpUsage(req *DescribeImageXBaseOpUsageReq) (*DescribeImageXBaseOpUsageResp, error)

func (*ImageX) DescribeImageXBucketUsage

func (c *ImageX) DescribeImageXBucketUsage(req *DescribeImageXBucketUsageReq) (*DescribeImageXBucketUsageResp, error)

func (*ImageX) DescribeImageXCdnDurationAll

func (c *ImageX) DescribeImageXCdnDurationAll(req *DescribeImageXCdnDurationAllReq) (*DescribeImageXCdnDurationAllResp, error)

func (*ImageX) DescribeImageXCdnErrorCodeAll

func (c *ImageX) DescribeImageXCdnErrorCodeAll(req *DescribeImageXCdnErrorCodeAllReq) (*DescribeImageXCdnErrorCodeAllResp, error)

func (*ImageX) DescribeImageXCdnReuseRateAll

func (c *ImageX) DescribeImageXCdnReuseRateAll(req *DescribeImageXCdnReuseRateAllReq) (*DescribeImageXCdnReuseRateAllResp, error)

func (*ImageX) DescribeImageXClientFileSize

func (c *ImageX) DescribeImageXClientFileSize(req *DescribeImageXClientFileSizeReq) (*DescribeImageXClientFileSizeResp, error)

func (*ImageX) DescribeImageXCompressUsage

func (c *ImageX) DescribeImageXCompressUsage(req *DescribeImageXCompressUsageReq) (*DescribeImageXCompressUsageResp, error)

func (*ImageX) DescribeImageXEdgeRequest

func (c *ImageX) DescribeImageXEdgeRequest(req *DescribeImageXEdgeRequestReq) (*DescribeImageXEdgeRequestResp, error)

func (*ImageX) DescribeImageXRequestCntUsage

func (c *ImageX) DescribeImageXRequestCntUsage(req *DescribeImageXRequestCntUsageReq) (*DescribeImageXRequestCntUsageResp, error)

func (*ImageX) DescribeImageXServiceQuality

func (c *ImageX) DescribeImageXServiceQuality(req *DescribeImageXServiceQualityReq) (*DescribeImageXServiceQualityResp, error)

func (*ImageX) DescribeImageXSummary

func (c *ImageX) DescribeImageXSummary(req *DescribeImageXSummaryReq) (*DescribeImageXSummaryResp, error)

func (*ImageX) DescribeImageXUploadDuration

func (c *ImageX) DescribeImageXUploadDuration(req *DescribeImageXUploadDurationReq) (*DescribeImageXUploadDurationResp, error)

func (*ImageX) DescribeImageXUploadFileSize

func (c *ImageX) DescribeImageXUploadFileSize(req *DescribeImageXUploadFileSizeReq) (*DescribeImageXUploadFileSizeResp, error)

func (*ImageX) DescribeImageXUploadSpeed

func (c *ImageX) DescribeImageXUploadSpeed(req *DescribeImageXUploadSpeedReq) (*DescribeImageXUploadSpeedResp, error)

func (*ImageX) FetchImageUrl

func (c *ImageX) FetchImageUrl(req *FetchUrlReq) (*FetchUrlResp, error)

func (*ImageX) GetAiGenerateImage added in v1.0.131

func (c *ImageX) GetAiGenerateImage(req *GetAiGenerateImageReq) (*GetAiGenerateImageResp, error)

func (*ImageX) GetAuditEntrysCount added in v1.0.118

func (c *ImageX) GetAuditEntrysCount(req *GetAuditEntrysCountReq) (*GetAuditEntrysCountResp, error)

func (*ImageX) GetDedupTaskStatus

func (c *ImageX) GetDedupTaskStatus(taskId string) (*GetDedupTaskStatusResult, error)

func (*ImageX) GetDenoisingImage

func (c *ImageX) GetDenoisingImage(param *GetDenoisingImageParam) (*GetDenoisingImageResult, error)

func (*ImageX) GetImageAiGenerateTask added in v1.0.131

func (c *ImageX) GetImageAiGenerateTask(req *GetImageAiGenerateTaskReq) (*GetImageAiGenerateTaskResp, error)

func (*ImageX) GetImageAuditResult added in v1.0.118

func (c *ImageX) GetImageAuditResult(req *GetImageAuditResultReq) (*GetImageAuditResultResp, error)

func (*ImageX) GetImageAuditTasks added in v1.0.118

func (c *ImageX) GetImageAuditTasks(req *GetImageAuditTasksReq) (*GetImageAuditTasksResp, error)

func (*ImageX) GetImageBgFill

func (c *ImageX) GetImageBgFill(param *GetImageBgFillParam) (*GetImageBgFillResult, error)

func (*ImageX) GetImageComic

func (c *ImageX) GetImageComic(param *GetImageComicParam) (*GetImageComicResult, error)

func (*ImageX) GetImageCompressTaskInfo added in v1.0.110

func (c *ImageX) GetImageCompressTaskInfo(req *GetImageCompressTaskInfoReq) (*GetImageCompressTaskInfoResp, error)

func (*ImageX) GetImageContentBlockList

func (c *ImageX) GetImageContentBlockList(req *GetImageContentBlockListReq) (*GetImageContentBlockListResp, error)

func (*ImageX) GetImageContentTaskDetail

func (c *ImageX) GetImageContentTaskDetail(req *GetImageContentTaskDetailReq) (*GetImageContentTaskDetailResp, error)

func (*ImageX) GetImageDomains

func (c *ImageX) GetImageDomains(serviceId string) ([]DomainResult, error)

GetServiceDomains 获取服务下的所有域名

func (*ImageX) GetImageDuplicateDetection

func (c *ImageX) GetImageDuplicateDetection(param *GetImageDuplicateDetectionParam) (*GetImageDuplicateDetectionResult, error)

func (*ImageX) GetImageEnhance

func (c *ImageX) GetImageEnhance(param *GetImageEnhanceParam) (*GetImageEnhanceResult, error)

func (*ImageX) GetImageEnhanceWithData

func (c *ImageX) GetImageEnhanceWithData(param *GetImageEnhanceParam, data io.Reader) ([]byte, error)

func (*ImageX) GetImageErase

func (c *ImageX) GetImageErase(param *GetImageEraseParam) (*GetImageEraseResult, error)

func (*ImageX) GetImageEraseModel

func (c *ImageX) GetImageEraseModel(eraseType int) ([]string, error)

func (*ImageX) GetImageOCRV2

func (c *ImageX) GetImageOCRV2(req *GetImageOCRParam) (*GetImageOCRResult, error)

func (*ImageX) GetImagePSDetection

func (c *ImageX) GetImagePSDetection(param *GetImagePSDetectionParam) (*GetImagePSDetectionResult, error)

func (*ImageX) GetImageQuality

func (c *ImageX) GetImageQuality(param *GetImageQualityParam) (*GetImageQualityResult, error)

func (*ImageX) GetImageSegment

func (c *ImageX) GetImageSegment(param *GetImageSegmentParam) (*GetImageSegmentResult, error)

func (*ImageX) GetImageServices

func (c *ImageX) GetImageServices(searchPtn string) (*GetServicesResult, error)

GetAllImageServices 获取所有服务信息

func (*ImageX) GetImageSmartCrop

func (c *ImageX) GetImageSmartCrop(param *GetImageSmartCropParam) (*GetImageSmartCropResult, error)

func (*ImageX) GetImageStyleResult

func (c *ImageX) GetImageStyleResult(req *GetImageStyleResultReq) (*GetImageStyleResultResp, error)

func (*ImageX) GetImageSuperResolution

func (c *ImageX) GetImageSuperResolution(param *GetImageSuperResolutionParam) (*GetImageSuperResolutionResp, error)

func (*ImageX) GetImageUploadFile

func (c *ImageX) GetImageUploadFile(param *GetImageUploadFileParam) (*GetImageUploadFileResult, error)

func (*ImageX) GetImageUploadFiles

func (c *ImageX) GetImageUploadFiles(param *GetImageUploadFilesParam) (*GetImageUploadFilesResult, error)

func (*ImageX) GetImageXQueryApps

func (c *ImageX) GetImageXQueryApps(req *GetImageXQueryAppsReq) (*GetImageXQueryAppsResp, error)

func (*ImageX) GetImageXQueryDims

func (c *ImageX) GetImageXQueryDims(req *GetImageXQueryDimsReq) (*GetImageXQueryDimsResp, error)

func (*ImageX) GetImageXQueryRegions

func (c *ImageX) GetImageXQueryRegions(req *GetImageXQueryRegionsReq) (*GetImageXQueryRegionsResp, error)

func (*ImageX) GetImageXQueryVals

func (c *ImageX) GetImageXQueryVals(req *GetImageXQueryValsReq) (*GetImageXQueryValsResp, error)

func (*ImageX) GetLicensePlateDetection

func (c *ImageX) GetLicensePlateDetection(param *GetLicensePlateDetectionParam) (*GetLicensePlateDetectionResult, error)

func (*ImageX) GetPrivateImageType

func (c *ImageX) GetPrivateImageType(param *GetPrivateImageTypeParam) (*GetPrivateImageTypeResult, error)

func (*ImageX) GetUploadAuth

func (c *ImageX) GetUploadAuth(serviceIds []string, opt ...UploadAuthOpt) (*base.SecurityToken2, error)

获取上传临时密钥

func (*ImageX) GetUploadAuthToken

func (c *ImageX) GetUploadAuthToken(query url.Values) (string, error)

获取临时上传凭证

func (*ImageX) GetUploadAuthWithExpire

func (c *ImageX) GetUploadAuthWithExpire(serviceIds []string, expire time.Duration, opt ...UploadAuthOpt) (*base.SecurityToken2, error)

获取上传临时密钥

func (*ImageX) GetUrlFetchTask

func (c *ImageX) GetUrlFetchTask(req *GetUrlFetchTaskReq) (*GetUrlFetchTaskResp, error)

func (*ImageX) ImageXGet

func (c *ImageX) ImageXGet(action string, query url.Values, result interface{}) error

func (*ImageX) ImageXPost

func (c *ImageX) ImageXPost(action string, query url.Values, req, result interface{}) error

func (*ImageX) SegmentedUploadImages

func (c *ImageX) SegmentedUploadImages(ctx context.Context, params *ApplyUploadImageParam, content []io.Reader, size []int64) (*CommitUploadImageResult, error)

上传图片 请确保 content 长度和 size 长度一致

func (*ImageX) UpdateAuditImageStatus added in v1.0.118

func (c *ImageX) UpdateAuditImageStatus(req *UpdateAuditImageStatusReq) (*UpdateAuditImageStatusResp, error)

func (*ImageX) UpdateImageAuditTask added in v1.0.118

func (c *ImageX) UpdateImageAuditTask(req *UpdateImageAuditTaskReq) (*UpdateImageAuditTaskResp, error)

func (*ImageX) UpdateImageAuditTaskStatus added in v1.0.118

func (c *ImageX) UpdateImageAuditTaskStatus(req *UpdateImageAuditTaskStatusReq) (*UpdateImageAuditTaskStatusResp, error)

func (*ImageX) UpdateImageStorageTTL

func (c *ImageX) UpdateImageStorageTTL(req *UpdateImageStorageTTLReq) (*UpdateImageStorageTTLResp, error)

func (*ImageX) UploadImages

func (c *ImageX) UploadImages(params *ApplyUploadImageParam, images [][]byte) (*CommitUploadImageResult, error)

上传图片

type LocationsLower

type LocationsLower struct {
	X1 int `json:"x1"`
	X2 int `json:"x2"`
	Y1 int `json:"y1"`
	Y2 int `json:"y2"`
}

type Mirror

type Mirror struct {
	Schema  string            `json:"Schema"`
	Host    string            `json:"Host"`
	Source  string            `json:"Source"`
	Headers map[string]string `json:"Headers"`
}

type MirrorHttpCodeDataItem

type MirrorHttpCodeDataItem struct {
	HttpCode string      `json:"HttpCode"`
	Data     []TSIntItem `json:"Data"`
}

type MirrorHttpCodeDetailsItem

type MirrorHttpCodeDetailsItem struct {
	HttpCode string `json:"HttpCode"`
	Value    int64  `json:"Value"`
}

type MirrorHttpCodeRespItem

type MirrorHttpCodeRespItem struct {
	Domain  string                      `json:"Domain"`
	Count   int64                       `json:"Count"`
	Details []MirrorHttpCodeDetailsItem `json:"Details"`
}

type PutError added in v1.0.116

type PutError struct {
	ErrorCode int
	Error     string
	Message   string
}

type QueryMarshalFilter

type QueryMarshalFilter func(key string, value []string) (accept bool)

func SkipEmptyValue

func SkipEmptyValue() QueryMarshalFilter
type ReferLink struct {
	Enabled         bool     `json:"enabled"`
	IsWhiteMode     bool     `json:"is_white_mode"`
	Values          []string `json:"values"`
	AllowEmptyRefer bool     `json:"allow_empty_refer"`
}

type RequestCntDataItem

type RequestCntDataItem struct {
	AdvFeat string        `json:"AdvFeat,omitempty"`
	Data    []TSFloatItem `json:"Data"`
}

type RespHdr

type RespHdr struct {
	Key string `json:"key"`
	Val string `json:"value"`
}

type Result

type Result struct {
	Uri        string     `json:"Uri"`
	UriStatus  int        `json:"UriStatus"` // 图片上传结果(2000:成功,2001:失败)需要传 SuccessOids 才会返回
	Encryption Encryption `json:"Encryption"`
	PutError   *PutError  `json:"-"` // 上传阶段错误
}

type SdkVerItem

type SdkVerItem struct {
	SdkVer string             `json:"SdkVer"`
	Count  int64              `json:"Count"`
	Data   []CurveDataIntItem `json:"Data"`
}

type SensibleRamItem

type SensibleRamItem struct {
	ActivityViewTree string `json:"ActivityViewTree"`
	Count            int64  `json:"Count"`
	RamSize          int64  `json:"RamSize"`
	URL              string `json:"URL"`
	BizTag           string `json:"BizTag"`
}

type SensibleResolutionItem

type SensibleResolutionItem struct {
	ActivityViewTree string `json:"ActivityViewTree"`
	Count            int64  `json:"Count"`
	URL              string `json:"URL"`
	BizTag           string `json:"BizTag"`
	ImageHeight      int64  `json:"ImageHeight"`
	ImageWidth       int64  `json:"ImageWidth"`
	ViewHeight       int64  `json:"ViewHeight"`
	ViewWidth        int64  `json:"ViewWidth"`
}

type SensibleSizeItem

type SensibleSizeItem struct {
	ActivityViewTree string `json:"ActivityViewTree"`
	Count            int64  `json:"Count"`
	Value            int64  `json:"Value"`
	URL              string `json:"URL"`
	BizTag           string `json:"BizTag"`
}

type SensibleUnknownItem

type SensibleUnknownItem struct {
	ActivityViewTree string `json:"ActivityViewTree"`
	Count            int64  `json:"Count"`
	URL              string `json:"URL"`
	BizTag           string `json:"BizTag"`
	ImageHeight      int64  `json:"ImageHeight"`
	ImageWidth       int64  `json:"ImageWidth"`
	ViewHeight       int64  `json:"ViewHeight"`
	ViewWidth        int64  `json:"ViewWidth"`
	FileSize         int64  `json:"FileSize"`
	RamSize          int64  `json:"RamSize"`
}

type Service

type Service struct {
	ServiceName    string   `json:"ServiceName"`
	ServiceId      string   `json:"ServiceId"`
	ServiceRegion  string   `json:"ServiceRegion"`
	CreateAt       string   `json:"CreateAt"`
	ServiceStatus  string   `json:"ServiceStatus"`
	HasSigkey      bool     `json:"HasSigkey"`
	TemplatePrefix string   `json:"TemplatePrefix"`
	DomainInfos    []Domain `json:"DomainInfos"`
	PrimaryKey     string   `json:"PrimaryKey"`
	SecondaryKey   string   `json:"SecondaryKey"`
	ObjectAccess   bool     `json:"ObjectAccess"`
	CompactURL     bool     `json:"CompactURL"`
	Mirror         Mirror   `json:"Mirror"`
	Storage        Storage  `json:"Storage"`
	AllowBkts      []string `json:"AllowBkts"`
}

GetImageService

type ServiceDomainDataItem

type ServiceDomainDataItem struct {
	ServiceId  string        `json:"ServiceId,omitempty"`
	DomainName string        `json:"DomainName,omitempty"`
	Data       []TSFloatItem `json:"Data"`
}

type Storage

type Storage struct {
	BktName  string `json:"BktName"`
	TTL      int    `json:"TTL"`
	AllTypes bool   `json:"AllTypes"`
}

type StorageDataItem

type StorageDataItem struct {
	ServiceId  string        `json:"ServiceId,omitempty"`
	BucketName string        `json:"BucketName,omitempty"`
	Data       []TSFloatItem `json:"Data"`
}

type StoreInfo

type StoreInfo struct {
	StoreUri string `json:"StoreUri"`
	Auth     string `json:"Auth"`
}

type SummaryFloatItem

type SummaryFloatItem struct {
	Value float64 `json:"Value"`
}

type SummaryIntItem

type SummaryIntItem struct {
	Value int64 `json:"Value"`
}

type TSFloatItem

type TSFloatItem struct {
	TimeStamp string  `json:"TimeStamp"`
	Value     float64 `json:"Value"`
}

type TSIntItem

type TSIntItem struct {
	TimeStamp string `json:"TimeStamp"`
	Value     int64  `json:"Value"`
}

type TopValueItem

type TopValueItem struct {
	Key   string  `json:"Key"`
	Value float64 `json:"Value"`
}

type UncompressFileInfo added in v1.0.110

type UncompressFileInfo struct {
	Url    string
	Alias  string
	Folder string
}

type UpdateAuditImageStatusReq added in v1.0.118

type UpdateAuditImageStatusReq struct {
	TaskID  string `json:"TaskId"`
	EntryID string `json:"EntryId"`
	Status  string `json:"Status"`
}

UpdateAuditImageStatus

type UpdateAuditImageStatusResp added in v1.0.118

type UpdateAuditImageStatusResp struct {
}

type UpdateImageAuditTaskReq added in v1.0.118

type UpdateImageAuditTaskReq struct {
	ServiceID              string   `json:"ServiceId"`
	AuditDimensions        []string `json:"AuditDimensions"`
	AuditTextDimensions    []string `json:"AuditTextDimensions"`
	TaskID                 string   `json:"TaskId"`
	EnableFreeze           bool     `json:"EnableFreeze"`
	CallbackURL            string   `json:"CallbackUrl"`
	AuditPrefix            []string `json:"AuditPrefix"`
	NoAuditPrefix          []string `json:"NoAuditPrefix"`
	ResURI                 []string `json:"ResUri"`
	FreezeStrategy         int      `json:"FreezeStrategy"`
	EnableAuditRange       string   `json:"EnableAuditRange"`
	CallbackDimensions     []string `json:"CallbackDimensions"`
	FreezeDimensions       []string `json:"FreezeDimensions"`
	Region                 string   `json:"Region"`
	CallbackImageTypes     []string `json:"CallbackImageTypes"`
	EnableCallback         bool     `json:"EnableCallback"`
	FreezeType             []string `json:"FreezeType"`
	EnableLargeImageDetect bool     `json:"EnableLargeImageDetect"`
}

UpdateImageAuditTask

type UpdateImageAuditTaskResp added in v1.0.118

type UpdateImageAuditTaskResp struct {
}

type UpdateImageAuditTaskStatusReq added in v1.0.118

type UpdateImageAuditTaskStatusReq struct {
	TaskID string `json:"TaskId"`
	Status string `json:"Status"`
}

type UpdateImageAuditTaskStatusResp added in v1.0.118

type UpdateImageAuditTaskStatusResp struct {
}

type UpdateImageStorageTTLReq

type UpdateImageStorageTTLReq struct {
	ServiceId string `json:"ServiceId"`
	TTL       int    `json:"TTL"`
}

UpdateImageStorageTTL

type UpdateImageStorageTTLResp

type UpdateImageStorageTTLResp struct {
}

type UploadAddress

type UploadAddress struct {
	SessionKey  string      `json:"SessionKey"`
	UploadHosts []string    `json:"UploadHosts"`
	StoreInfos  []StoreInfo `json:"StoreInfos"`
}

type UploadAuthOpt

type UploadAuthOpt func(option *uploadAuthOption)

func WithUploadKeyPtn

func WithUploadKeyPtn(ptn string) UploadAuthOpt

func WithUploadOverwrite added in v1.0.111

func WithUploadOverwrite(overwrite bool) UploadAuthOpt

type UploadOverviewResp

type UploadOverviewResp struct {
	SuccessRate float64 `json:"SuccessRate"`
	UploadCount int     `json:"UploadCount"`
	AvgSize     float64 `json:"AvgSize"`
	AvgDuration float64 `json:"AvgDuration"`
	TotalCount  int     `json:"TotalCount"`
}

type UploadPayload added in v1.0.116

type UploadPayload struct {
	Hash string `json:"hash"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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