Documentation ¶
Index ¶
- Constants
- Variables
- type ListStorageSpace
- type ListStorageSpaceBody
- type ListStorageSpaceDetail
- type ListStorageSpaceDetailBody
- type ListStorageSpaceDetailQuery
- type ListStorageSpaceDetailReq
- type ListStorageSpaceDetailRes
- type ListStorageSpaceDetailResResponseMetadata
- type ListStorageSpaceDetailResResult
- type ListStorageSpaceDetailResResultStorageSpaceListDetailItem
- type ListStorageSpaceQuery
- type ListStorageSpaceReq
- type ListStorageSpaceRes
- type ListStorageSpaceResResponseMetadata
- type ListStorageSpaceResResult
- type Live
Constants ¶
View Source
const ( ServiceName = "live" DefaultTimeout = 10 * time.Second )
Variables ¶
View Source
var ( ServiceInfoMap = map[string]common.ServiceInfo{ "cn-north-1": { Timeout: DefaultTimeout, Scheme: "https", Host: "open.byteplusapi.com", Header: http.Header{ "Accept": []string{"application/json"}, }, Credentials: common.Credentials{ Region: "cn-north-1", Service: ServiceName, }, }, } ApiListInfo = map[string]*common.ApiInfo{ "ListStorageSpace": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListStorageSpace"}, "Version": []string{"2020-08-01"}, }, }, "ListStorageSpaceDetail": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListStorageSpaceDetail"}, "Version": []string{"2020-08-01"}, }, }, } )
Functions ¶
This section is empty.
Types ¶
type ListStorageSpace ¶
type ListStorageSpace struct{}
type ListStorageSpaceBody ¶
type ListStorageSpaceDetail ¶
type ListStorageSpaceDetail struct{}
type ListStorageSpaceDetailBody ¶
type ListStorageSpaceDetailBody struct {
StorageSpaceList []*string `json:"StorageSpaceList,omitempty"`
}
type ListStorageSpaceDetailQuery ¶
type ListStorageSpaceDetailQuery struct{}
type ListStorageSpaceDetailReq ¶
type ListStorageSpaceDetailReq struct { *ListStorageSpaceDetailQuery *ListStorageSpaceDetailBody }
type ListStorageSpaceDetailRes ¶
type ListStorageSpaceDetailRes struct { // REQUIRED ResponseMetadata ListStorageSpaceDetailResResponseMetadata `json:"ResponseMetadata"` // REQUIRED Result ListStorageSpaceDetailResResult `json:"Result"` }
type ListStorageSpaceDetailResResult ¶
type ListStorageSpaceDetailResResult struct { // REQUIRED StorageSpaceListDetail []ListStorageSpaceDetailResResultStorageSpaceListDetailItem `json:"StorageSpaceListDetail"` }
type ListStorageSpaceQuery ¶
type ListStorageSpaceQuery struct{}
type ListStorageSpaceReq ¶
type ListStorageSpaceReq struct { *ListStorageSpaceQuery *ListStorageSpaceBody }
type ListStorageSpaceRes ¶
type ListStorageSpaceRes struct { // REQUIRED ResponseMetadata ListStorageSpaceResResponseMetadata `json:"ResponseMetadata"` // REQUIRED Result ListStorageSpaceResResult `json:"Result"` }
type Live ¶
func NewInstance ¶
func NewInstance() *Live
func NewInstanceWithRegion ¶
func (*Live) ListStorageSpace ¶
func (c *Live) ListStorageSpace(arg *ListStorageSpaceBody) (*ListStorageSpaceRes, error)
func (*Live) ListStorageSpaceDetail ¶
func (c *Live) ListStorageSpaceDetail(arg *ListStorageSpaceDetailBody) (*ListStorageSpaceDetailRes, error)
Click to show internal directories.
Click to hide internal directories.