response

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplyUploadResponse

type ApplyUploadResponse struct {
	Response struct {
		CommonResponse
		MediaID  uint64 `json:"MediaID"`
		Key      string `json:"Key"`
		Bucket   string `json:"Bucket"`
		UploadId string `json:"UploadId"`
	} `json:"Response"`
}

ApplyUploadResponse

type BaseResponse

type BaseResponse struct {
	Response interface{} `json:"Response"`
}

BaseResponse

type CommitUploadResponse

type CommitUploadResponse struct {
	Response struct {
		CommonResponse
	} `json:"Response"`
}

CommitUploadResponse

type CommonResponse

type CommonResponse struct {
	RequestID string `json:"RequestID,omitempty"`
	ApiError  *Error `json:"Error,omitempty"`
	Error     error  `json:"-"`
}

CommonResponse

type CreateMediasResponse added in v1.0.1

type CreateMediasResponse struct {
	Response struct {
		CommonResponse
		UploadMediaInfoSet []UploadMediaInfo `json:"UploadMediaInfoSet"`
	} `json:"Response"`
}

CreateMediasResponse

type DescribeCategoriesResponse

type DescribeCategoriesResponse struct {
	Response struct {
		CommonResponse
		CategorySet []*request.Category `json:"CategorySet"`
		LabelSet    []*request.Label    `json:"LabelSet"`
		LangSet     []string            `json:"LangSet"`
	} `json:"Response"`
}

DescribeCategoriesResponse

type DescribeMediaDetailsResponse

type DescribeMediaDetailsResponse struct {
	Response struct {
		CommonResponse
		MediaInfoSet []*MediaInfo `json:"MediaInfoSet"`
	} `json:"Response"`
}

DescribeMediaDetailsResponse

type DescribeMediasResponse

type DescribeMediasResponse struct {
	Response struct {
		CommonResponse
		MediaInfoSet []*MediaInfo `json:"MediaInfoSet"`
		TotalCount   int32        `json:"TotalCount"`
	} `json:"Response"`
}

DescribeMediasResponse

type DescribeNewURLResponse added in v1.3.0

type DescribeNewURLResponse struct {
	Response struct {
		CommonResponse
		NewURLSet    []string `json:"NewURLSet"`
		FailedReason []string `json:"FailedReason"`
	} `json:"Response"`
}

DescribeNewURLResponse

type Error

type Error struct {
	Code    string `json:"Code"`
	Message string `json:"Message"`
}

Error

type FailedMediaInfo

type FailedMediaInfo struct {
	MediaID      uint64 `json:"MediaID"`
	FailedReason string `json:"FailedReason"`
}

FailedMediaInfo

type MediaInfo

type MediaInfo struct {
	MediaID         uint64  `json:"MediaID"`
	BusinessMediaID string  `json:"BusinessMediaID"`
	Name            string  `json:"Name"`
	Duration        float32 `json:"Duration"`
	Size            uint32  `json:"Size"`
	Width           uint32  `json:"Width"`
	Height          uint32  `json:"Height"`
	FPS             float32 `json:"FPS"`
	BitRate         uint32  `json:"BitRate"`
	Format          string  `json:"Format"`
	FrameCount      uint32  `json:"FrameCount,omitempty"`
	RotateAngle     float32 `json:"RotateAngle,omitempty"`
	request.MediaMeta
	DownLoadURL  string `json:"DownLoadURL"`
	Status       string `json:"Status"`
	FailedReason string `json:"FailedReason"`
	Bucket       string `json:"Bucket,omitempty"`
	Key          string `json:"Key,omitempty"`
	UploadId     string `json:"UploadId,omitempty"`
	LocalPath    string `json:"LocalPath,omitempty"`
}

MediaInfo

type ModifyExpireTimeResponse

type ModifyExpireTimeResponse struct {
	Response struct {
		CommonResponse
	} `json:"Response"`
}

ModifyExpireTimeResponse

type ModifyMediaResponse

type ModifyMediaResponse struct {
	Response struct {
		CommonResponse
	} `json:"Response"`
}

ModifyMediaResponse

type PutObjectResponse

type PutObjectResponse struct {
	Response struct {
		CommonResponse
		Key  string `json:"Key"`
		ETag string `json:"ETag"`
	} `json:"Response"`
}

PutObjectResponse

type RemoveMediasResponse

type RemoveMediasResponse struct {
	Response struct {
		CommonResponse
		FailedMediaSet []*FailedMediaInfo `json:"FailedMediaSet"`
	} `json:"Response"`
}

RemoveMediasResponse

type Response

type Response interface {
	SetRequestId(requestId string)
}

Response

type UploadMediaInfo added in v1.0.1

type UploadMediaInfo struct {
	FailedReason string `json:"FailedReason"`
	MediaID      uint64 `json:"MediaID"`
}

UploadMediaInfo

type UploadPartResponse

type UploadPartResponse struct {
	Response struct {
		CommonResponse
		ETag string `json:"ETag"`
	} `json:"Response"`
}

UploadPartResponse

Jump to

Keyboard shortcuts

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