Documentation ¶
Index ¶
- type CreatePredefineTagsRequest
- type CreatePredefineTagsResponse
- type DeletePredefineTagsRequest
- type DeletePredefineTagsResponse
- type Link
- type ListApiVersionsRequest
- type ListApiVersionsResponse
- type ListPredefineTagsRequest
- type ListPredefineTagsRequestOrderMethod
- type ListPredefineTagsRequestOrderMethodEnum
- type ListPredefineTagsResponse
- type ModifyPrefineTag
- type PredefineTag
- type PredefineTagRequest
- type ReqCreatePredefineTag
- type ReqCreatePredefineTagAction
- type ReqCreatePredefineTagActionEnum
- type ReqDeletePredefineTag
- type ReqDeletePredefineTagAction
- type ReqDeletePredefineTagActionEnum
- type ShowApiVersionRequest
- type ShowApiVersionResponse
- type UpdatePredefineTagsRequest
- type UpdatePredefineTagsResponse
- type VersionDetail
- type VersionDetailStatus
- type VersionDetailStatusEnum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreatePredefineTagsRequest ¶
type CreatePredefineTagsRequest struct {
Body *ReqCreatePredefineTag `json:"body,omitempty"`
}
Request Object
func (CreatePredefineTagsRequest) String ¶
func (o CreatePredefineTagsRequest) String() string
type CreatePredefineTagsResponse ¶
type CreatePredefineTagsResponse struct { }
Response Object
func (CreatePredefineTagsResponse) String ¶
func (o CreatePredefineTagsResponse) String() string
type DeletePredefineTagsRequest ¶
type DeletePredefineTagsRequest struct {
Body *ReqDeletePredefineTag `json:"body,omitempty"`
}
Request Object
func (DeletePredefineTagsRequest) String ¶
func (o DeletePredefineTagsRequest) String() string
type DeletePredefineTagsResponse ¶
type DeletePredefineTagsResponse struct { }
Response Object
func (DeletePredefineTagsResponse) String ¶
func (o DeletePredefineTagsResponse) String() string
type ListApiVersionsRequest ¶
type ListApiVersionsRequest struct { }
Request Object
func (ListApiVersionsRequest) String ¶
func (o ListApiVersionsRequest) String() string
type ListApiVersionsResponse ¶
type ListApiVersionsResponse struct { // 版本列表 Versions *[]VersionDetail `json:"versions,omitempty"` }
Response Object
func (ListApiVersionsResponse) String ¶
func (o ListApiVersionsResponse) String() string
type ListPredefineTagsRequest ¶
type ListPredefineTagsRequest struct { Key *string `json:"key,omitempty"` Value *string `json:"value,omitempty"` Limit *int32 `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` OrderField *string `json:"order_field,omitempty"` OrderMethod *ListPredefineTagsRequestOrderMethod `json:"order_method,omitempty"` }
Request Object
func (ListPredefineTagsRequest) String ¶
func (o ListPredefineTagsRequest) String() string
type ListPredefineTagsRequestOrderMethod ¶
type ListPredefineTagsRequestOrderMethod struct {
// contains filtered or unexported fields
}
func (ListPredefineTagsRequestOrderMethod) MarshalJSON ¶
func (c ListPredefineTagsRequestOrderMethod) MarshalJSON() ([]byte, error)
func (*ListPredefineTagsRequestOrderMethod) UnmarshalJSON ¶
func (c *ListPredefineTagsRequestOrderMethod) UnmarshalJSON(b []byte) error
type ListPredefineTagsRequestOrderMethodEnum ¶
type ListPredefineTagsRequestOrderMethodEnum struct { ASC ListPredefineTagsRequestOrderMethod DESC ListPredefineTagsRequestOrderMethod }
func GetListPredefineTagsRequestOrderMethodEnum ¶
func GetListPredefineTagsRequestOrderMethodEnum() ListPredefineTagsRequestOrderMethodEnum
type ListPredefineTagsResponse ¶
type ListPredefineTagsResponse struct { // 分页位置标识(索引)。 Marker *string `json:"marker,omitempty"` // 查询到的标签总数 TotalCount *int32 `json:"total_count,omitempty"` // 查询到的标签列表 Tags *[]PredefineTag `json:"tags,omitempty"` }
Response Object
func (ListPredefineTagsResponse) String ¶
func (o ListPredefineTagsResponse) String() string
type ModifyPrefineTag ¶
type ModifyPrefineTag struct { NewTag *PredefineTagRequest `json:"new_tag"` OldTag *PredefineTagRequest `json:"old_tag"` }
修改预定义标签
func (ModifyPrefineTag) String ¶
func (o ModifyPrefineTag) String() string
type PredefineTag ¶
type PredefineTag struct { // 键。 最大长度36个字符。 字符集:A-Z,a-z , 0-9,‘-’,‘_’,UNICODE字符(\\u4E00-\\u9FFF)。 Key string `json:"key"` // 值。 每个值最大长度43个字符,可以为空字符串。 字符集:A-Z,a-z , 0-9,‘.’,‘-’,‘_’,UNICODE字符(\\u4E00-\\u9FFF)。 Value string `json:"value"` // 更新时间,采用UTC时间表示。2016-12-09T00:00:00Z UpdateTime *sdktime.SdkTime `json:"update_time"` }
标签列表。
func (PredefineTag) String ¶
func (o PredefineTag) String() string
type PredefineTagRequest ¶
type PredefineTagRequest struct { // 键。最大长度36个字符。字符集:A-Z,a-z , 0-9,‘-’,‘_’,UNICODE字符(\\u4E00-\\u9FFF)。 Key string `json:"key"` // 值。每个值最大长度43个字符,可以为空字符串。字符集:AZ,a-z , 0-9,‘.’,‘-’,‘_’,UNICODE字符(\\u4E00-\\u9FFF)。 Value string `json:"value"` }
标签详情。
func (PredefineTagRequest) String ¶
func (o PredefineTagRequest) String() string
type ReqCreatePredefineTag ¶
type ReqCreatePredefineTag struct { // 操作标识(区分大小写):create(创建) Action ReqCreatePredefineTagAction `json:"action"` // 标签列表 Tags []PredefineTagRequest `json:"tags"` }
创建预定义标签请求
func (ReqCreatePredefineTag) String ¶
func (o ReqCreatePredefineTag) String() string
type ReqCreatePredefineTagAction ¶
type ReqCreatePredefineTagAction struct {
// contains filtered or unexported fields
}
func (ReqCreatePredefineTagAction) MarshalJSON ¶
func (c ReqCreatePredefineTagAction) MarshalJSON() ([]byte, error)
func (*ReqCreatePredefineTagAction) UnmarshalJSON ¶
func (c *ReqCreatePredefineTagAction) UnmarshalJSON(b []byte) error
type ReqCreatePredefineTagActionEnum ¶
type ReqCreatePredefineTagActionEnum struct {
CREATE ReqCreatePredefineTagAction
}
func GetReqCreatePredefineTagActionEnum ¶
func GetReqCreatePredefineTagActionEnum() ReqCreatePredefineTagActionEnum
type ReqDeletePredefineTag ¶
type ReqDeletePredefineTag struct { // 操作标识(区分大小写):delete(删除) Action ReqDeletePredefineTagAction `json:"action"` // 标签列表 Tags []PredefineTagRequest `json:"tags"` }
删除预定义标签请求
func (ReqDeletePredefineTag) String ¶
func (o ReqDeletePredefineTag) String() string
type ReqDeletePredefineTagAction ¶
type ReqDeletePredefineTagAction struct {
// contains filtered or unexported fields
}
func (ReqDeletePredefineTagAction) MarshalJSON ¶
func (c ReqDeletePredefineTagAction) MarshalJSON() ([]byte, error)
func (*ReqDeletePredefineTagAction) UnmarshalJSON ¶
func (c *ReqDeletePredefineTagAction) UnmarshalJSON(b []byte) error
type ReqDeletePredefineTagActionEnum ¶
type ReqDeletePredefineTagActionEnum struct {
DELETE ReqDeletePredefineTagAction
}
func GetReqDeletePredefineTagActionEnum ¶
func GetReqDeletePredefineTagActionEnum() ReqDeletePredefineTagActionEnum
type ShowApiVersionRequest ¶
type ShowApiVersionRequest struct {
ApiVersion string `json:"api_version"`
}
Request Object
func (ShowApiVersionRequest) String ¶
func (o ShowApiVersionRequest) String() string
type ShowApiVersionResponse ¶
type ShowApiVersionResponse struct {
Version *VersionDetail `json:"version,omitempty"`
}
Response Object
func (ShowApiVersionResponse) String ¶
func (o ShowApiVersionResponse) String() string
type UpdatePredefineTagsRequest ¶
type UpdatePredefineTagsRequest struct {
Body *ModifyPrefineTag `json:"body,omitempty"`
}
Request Object
func (UpdatePredefineTagsRequest) String ¶
func (o UpdatePredefineTagsRequest) String() string
type UpdatePredefineTagsResponse ¶
type UpdatePredefineTagsResponse struct { }
Response Object
func (UpdatePredefineTagsResponse) String ¶
func (o UpdatePredefineTagsResponse) String() string
type VersionDetail ¶
type VersionDetail struct { // 版本ID(版本号),如v1.0。 Id string `json:"id"` // API的URL地址。 Links []Link `json:"links"` // 若该版本API支持微版本,则返回支持的最新微版本号,如果不支持微版本,则返回空。 Version string `json:"version"` // 版本状态,为如下3种: CURRENT:表示该版本为主推版本。 SUPPORTED:表示为老版本,但是现在还继续支持。 DEPRECATED:表示为废弃版本,存在后续删除的可能。 Status VersionDetailStatus `json:"status"` // 版本发布时间,采用UTC时间表示。如v1.0发布的时间2016-12-09T00:00:00Z。 Updated *sdktime.SdkTime `json:"updated"` // 若该版本API 支持微版本,则返回支持的最早微版本号, 如果不支持微版本,则返回空。 MinVersion string `json:"min_version"` }
版本详情
func (VersionDetail) String ¶
func (o VersionDetail) String() string
type VersionDetailStatus ¶
type VersionDetailStatus struct {
// contains filtered or unexported fields
}
func (VersionDetailStatus) MarshalJSON ¶
func (c VersionDetailStatus) MarshalJSON() ([]byte, error)
func (*VersionDetailStatus) UnmarshalJSON ¶
func (c *VersionDetailStatus) UnmarshalJSON(b []byte) error
type VersionDetailStatusEnum ¶
type VersionDetailStatusEnum struct { CURRENT VersionDetailStatus SUPPORTED VersionDetailStatus DEPRECATED VersionDetailStatus }
func GetVersionDetailStatusEnum ¶
func GetVersionDetailStatusEnum() VersionDetailStatusEnum
Source Files ¶
- model_create_predefine_tags_request.go
- model_create_predefine_tags_response.go
- model_delete_predefine_tags_request.go
- model_delete_predefine_tags_response.go
- model_link.go
- model_list_api_versions_request.go
- model_list_api_versions_response.go
- model_list_predefine_tags_request.go
- model_list_predefine_tags_response.go
- model_modify_prefine_tag.go
- model_predefine_tag.go
- model_predefine_tag_request.go
- model_req_create_predefine_tag.go
- model_req_delete_predefine_tag.go
- model_show_api_version_request.go
- model_show_api_version_response.go
- model_update_predefine_tags_request.go
- model_update_predefine_tags_response.go
- model_version_detail.go
Click to show internal directories.
Click to hide internal directories.