model

package
v0.1.39 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 1

Documentation

Index

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

type CreatePredefineTagsResponse

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

Response Object

func (CreatePredefineTagsResponse) String

type CreateResourceTagRequest added in v0.1.15

type CreateResourceTagRequest struct {
	Body *ReqCreateTag `json:"body,omitempty"`
}

Request Object

func (CreateResourceTagRequest) String added in v0.1.15

func (o CreateResourceTagRequest) String() string

type CreateResourceTagResponse added in v0.1.15

type CreateResourceTagResponse struct {

	// 查询标签下的资源
	FailedResources *[]TagCreateResponseItem `json:"failed_resources,omitempty"`
	HttpStatusCode  int                      `json:"-"`
}

Response Object

func (CreateResourceTagResponse) String added in v0.1.15

func (o CreateResourceTagResponse) String() string

type CreateTagRequest added in v0.1.15

type CreateTagRequest 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"`
}

标签详情。

func (CreateTagRequest) String added in v0.1.15

func (o CreateTagRequest) String() string

type DeletePredefineTagsRequest

type DeletePredefineTagsRequest struct {
	Body *ReqDeletePredefineTag `json:"body,omitempty"`
}

Request Object

func (DeletePredefineTagsRequest) String

type DeletePredefineTagsResponse

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

Response Object

func (DeletePredefineTagsResponse) String

type DeleteResourceTagRequest added in v0.1.15

type DeleteResourceTagRequest struct {
	Body *ReqDeleteTag `json:"body,omitempty"`
}

Request Object

func (DeleteResourceTagRequest) String added in v0.1.15

func (o DeleteResourceTagRequest) String() string

type DeleteResourceTagResponse added in v0.1.15

type DeleteResourceTagResponse struct {

	// 查询标签下的资源
	FailedResources *[]TagDeleteResponseItem `json:"failed_resources,omitempty"`
	HttpStatusCode  int                      `json:"-"`
}

Response Object

func (DeleteResourceTagResponse) String added in v0.1.15

func (o DeleteResourceTagResponse) String() string

type DeleteTagRequest added in v0.1.15

type DeleteTagRequest struct {

	//   键。 最大长度36个字符。 字符集:A-Z,a-z , 0-9,‘-’,‘_’,UNICODE字符(\\u4E00-\\u9FFF)。
	Key string `json:"key"`
}

func (DeleteTagRequest) String added in v0.1.15

func (o DeleteTagRequest) String() string

type Errors added in v0.1.15

type Errors struct {

	// 错误码
	ErrorCode *string `json:"error_code,omitempty"`

	// 错误描述
	ErrorMsg *string `json:"error_msg,omitempty"`

	// ProjectID
	ProjectId *string `json:"project_id,omitempty"`

	// 资源类型
	ResourceType *string `json:"resource_type,omitempty"`
}

错误列表

func (Errors) String added in v0.1.15

func (o Errors) String() string
type Link struct {

	// API的URL地址。
	Href string `json:"href"`

	// self
	Rel string `json:"rel"`
}

API的URL地址。

func (Link) String

func (o Link) String() string

type ListApiVersionsRequest

type ListApiVersionsRequest struct {
}

Request Object

func (ListApiVersionsRequest) String

func (o ListApiVersionsRequest) String() string

type ListApiVersionsResponse

type ListApiVersionsResponse struct {

	// 版本列表
	Versions       *[]VersionDetail `json:"versions,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (ListApiVersionsResponse) String

func (o ListApiVersionsResponse) String() string

type ListPredefineTagsRequest

type ListPredefineTagsRequest struct {

	// 键,支持模糊查询,不区分大小写,如果包含“non-URL-safe”的字符,需要进行“urlencoded”。
	Key *string `json:"key,omitempty"`

	// 值,支持模糊查询,不区分大小写,如果包含“non-URL-safe”的字符,需要进行“urlencoded”。
	Value *string `json:"value,omitempty"`

	// 查询记录数。 最小为1,最大为1000,未输入时默认为10,为0时不限制查询数据条数。
	Limit *int32 `json:"limit,omitempty"`

	// 分页位置标识(索引)。 从marker指定索引的下一条数据开始查询。 说明: 查询第一页数据时,不需要传入此参数,查询后续页码数据时,将查询前一页数据响应体中marker值配入此参数,当返回的tags为空列表时表示查询到最后一页。
	Marker *string `json:"marker,omitempty"`

	// 排序字段: 可输入的值包含(区分大小写):update_time(更新时间)、key(键)、value(值)。 只能选择以上排序字段中的一个,并按照排序方法字段order_method进行排序,如果不传则默认值为:update_time。 如以下: 若该字段为update_time,则剩余两个默认字段排序为key升序,value升序。 若该字段如为key,则剩余两个默认字段排序为update_time降序,value升序。 若该字段如为value,则剩余两个默认字段排序为update_time降序,key升序。 若该字段不传,默认字段为update_time,则剩余两个默认字段排序为key升序,value升序。
	OrderField *string `json:"order_field,omitempty"`

	// order_field字段的排序方法。 可输入的值包含(区分大小写): asc(升序) desc(降序) 只能选择以上值的其中之一。 不传则默认值为:desc
	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

func (ListPredefineTagsRequestOrderMethod) Value added in v0.0.90

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"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (ListPredefineTagsResponse) String

func (o ListPredefineTagsResponse) String() string

type ListProvidersRequest added in v0.1.11

type ListProvidersRequest struct {

	// 指定显示语言
	Locale *ListProvidersRequestLocale `json:"locale,omitempty"`

	// 查询记录数默认为200,limit最多为200,最小值为1。
	Limit *int32 `json:"limit,omitempty"`

	// 索引位置,从offset指定的下一条数据开始查询,必须为数字,不能为负数,默认为0。
	Offset *int32 `json:"offset,omitempty"`

	// 云服务名称
	Provider *string `json:"provider,omitempty"`
}

Request Object

func (ListProvidersRequest) String added in v0.1.11

func (o ListProvidersRequest) String() string

type ListProvidersRequestLocale added in v0.1.11

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

func (ListProvidersRequestLocale) MarshalJSON added in v0.1.11

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

func (*ListProvidersRequestLocale) UnmarshalJSON added in v0.1.11

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

func (ListProvidersRequestLocale) Value added in v0.1.11

type ListProvidersRequestLocaleEnum added in v0.1.11

type ListProvidersRequestLocaleEnum struct {
	ZH_CN ListProvidersRequestLocale
	EN_US ListProvidersRequestLocale
}

func GetListProvidersRequestLocaleEnum added in v0.1.11

func GetListProvidersRequestLocaleEnum() ListProvidersRequestLocaleEnum

type ListProvidersResponse added in v0.1.11

type ListProvidersResponse struct {

	// 云服务列表
	Providers *[]ProviderResponseBody `json:"providers,omitempty"`

	// 当前支持的云服务总数
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListProvidersResponse) String added in v0.1.11

func (o ListProvidersResponse) String() string

type ListResourceRequest added in v0.1.15

type ListResourceRequest struct {
	Body *ResqTagResource `json:"body,omitempty"`
}

Request Object

func (ListResourceRequest) String added in v0.1.15

func (o ListResourceRequest) String() string

type ListResourceResponse added in v0.1.15

type ListResourceResponse struct {

	// 资源列表
	Resources *[]Resources `json:"resources,omitempty"`

	// 查询标签下的资源
	Errors *[]Errors `json:"errors,omitempty"`

	// 标签下的资源总数
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListResourceResponse) String added in v0.1.15

func (o ListResourceResponse) String() string

type ListTagKeysRequest added in v0.1.15

type ListTagKeysRequest struct {

	// 区域ID
	RegionId *string `json:"region_id,omitempty"`

	// 查询记录数。 最小为1,最大为200,未输入时默认为200。
	Limit *int32 `json:"limit,omitempty"`

	// 分页位置标识(索引)。 从marker指定索引的下一条数据开始查询。 说明: 查询第一页数据时,不需要传入此参数,查询后续页码数据时,将查询前一页数据响应体中marker值配入此参数,当返回的next_marker为空时表示查询到最后一页。
	Marker *string `json:"marker,omitempty"`
}

Request Object

func (ListTagKeysRequest) String added in v0.1.15

func (o ListTagKeysRequest) String() string

type ListTagKeysResponse added in v0.1.15

type ListTagKeysResponse struct {

	// 标签键列表
	Keys *[]string `json:"keys,omitempty"`

	PageInfo       *PageInfoTagKeys `json:"page_info,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (ListTagKeysResponse) String added in v0.1.15

func (o ListTagKeysResponse) String() string

type ListTagValuesRequest added in v0.1.15

type ListTagValuesRequest struct {

	// 区域ID
	RegionId *string `json:"region_id,omitempty"`

	// 查询记录数。 最小为1,最大为200,未输入时默认为200。
	Limit *int32 `json:"limit,omitempty"`

	// 分页位置标识(索引)。 从marker指定索引的下一条数据开始查询。 说明: 查询第一页数据时,不需要传入此参数,查询后续页码数据时,将查询前一页数据响应体中marker值配入此参数,当返回的next_marker为空时表示查询到最后一页。
	Marker *string `json:"marker,omitempty"`

	// 标签键
	Key string `json:"key"`
}

Request Object

func (ListTagValuesRequest) String added in v0.1.15

func (o ListTagValuesRequest) String() string

type ListTagValuesResponse added in v0.1.15

type ListTagValuesResponse struct {

	// 查询到的标签值列表
	Values *[]string `json:"values,omitempty"`

	PageInfo       *PageInfoTagValues `json:"page_info,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (ListTagValuesResponse) String added in v0.1.15

func (o ListTagValuesResponse) 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 PageInfoTagKeys added in v0.1.15

type PageInfoTagKeys struct {

	// 分页位置标识(索引)
	NextMarker string `json:"next_marker"`

	// 当前页标签键的数量
	CurrentCount int32 `json:"current_count"`
}

func (PageInfoTagKeys) String added in v0.1.15

func (o PageInfoTagKeys) String() string

type PageInfoTagValues added in v0.1.15

type PageInfoTagValues struct {

	// 分页位置标识(索引)
	NextMarker string `json:"next_marker"`

	// 当前页标签值的数量
	CurrentCount int32 `json:"current_count"`
}

func (PageInfoTagValues) String added in v0.1.15

func (o PageInfoTagValues) 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 ProviderResponseBody added in v0.1.11

type ProviderResponseBody struct {

	// 云服务名称
	Provider string `json:"provider"`

	// 服务显示名称,可以通过参数中“locale”设置语言。
	ProviderI18nDisplayName string `json:"provider_i18n_display_name"`

	// 资源类型列表
	ResourceTypes []ResourceTypeBody `json:"resource_types"`
}

func (ProviderResponseBody) String added in v0.1.11

func (o ProviderResponseBody) 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

func (ReqCreatePredefineTagAction) Value added in v0.0.90

type ReqCreatePredefineTagActionEnum

type ReqCreatePredefineTagActionEnum struct {
	CREATE ReqCreatePredefineTagAction
}

func GetReqCreatePredefineTagActionEnum

func GetReqCreatePredefineTagActionEnum() ReqCreatePredefineTagActionEnum

type ReqCreateTag added in v0.1.15

type ReqCreateTag struct {

	// 项目ID,resource_type为region级别服务时为必选项。
	ProjectId *string `json:"project_id,omitempty"`

	// 资源列表
	Resources []ResourceTagBody `json:"resources"`

	// 标签列表
	Tags []CreateTagRequest `json:"tags"`
}

创建标签请求

func (ReqCreateTag) String added in v0.1.15

func (o ReqCreateTag) String() string

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

func (ReqDeletePredefineTagAction) Value added in v0.0.90

type ReqDeletePredefineTagActionEnum

type ReqDeletePredefineTagActionEnum struct {
	DELETE ReqDeletePredefineTagAction
}

func GetReqDeletePredefineTagActionEnum

func GetReqDeletePredefineTagActionEnum() ReqDeletePredefineTagActionEnum

type ReqDeleteTag added in v0.1.15

type ReqDeleteTag struct {

	// 项目ID,resource_type为region级别服务时为必选项。
	ProjectId *string `json:"project_id,omitempty"`

	// 资源列表
	Resources []ResourceTagBody `json:"resources"`

	// 标签列表
	Tags []DeleteTagRequest `json:"tags"`
}

删除标签请求

func (ReqDeleteTag) String added in v0.1.15

func (o ReqDeleteTag) String() string

type ResourceTagBody added in v0.1.15

type ResourceTagBody struct {

	// 资源ID
	ResourceId string `json:"resource_id"`

	// 资源类型
	ResourceType string `json:"resource_type"`
}

func (ResourceTagBody) String added in v0.1.15

func (o ResourceTagBody) String() string

type ResourceTypeBody added in v0.1.11

type ResourceTypeBody struct {

	// 资源类型
	ResourceType string `json:"resource_type"`

	// 资源类型显示名称,可以通过参数中“locale”设置语言。
	ResourceTypeI18nDisplayName string `json:"resource_type_i18n_display_name"`

	// 支持的region列表
	Regions []string `json:"regions"`

	// 是否是全局类型的资源
	Global bool `json:"global"`
}

func (ResourceTypeBody) String added in v0.1.11

func (o ResourceTypeBody) String() string

type Resources added in v0.1.15

type Resources struct {

	// ProjectID
	ProjectId string `json:"project_id"`

	// Project名称
	ProjectName string `json:"project_name"`

	// 资源详情
	ResourceDetail *interface{} `json:"resource_detail,omitempty"`

	// 资源ID
	ResourceId string `json:"resource_id"`

	// 资源名称
	ResourceName string `json:"resource_name"`

	// 资源类型
	ResourceType string `json:"resource_type"`
}

资源列表

func (Resources) String added in v0.1.15

func (o Resources) String() string

type ResqTagResource added in v0.1.15

type ResqTagResource struct {

	// 项目ID,resource_type为region级别服务时为必选项。
	ProjectId *string `json:"project_id,omitempty"`

	// 资源类型, 此参数为可输入的值(区分大小写)。例如:ecs,scaling_group, images, disk,vpcs,security-groups, shared_bandwidth,eip, cdn等,具体请参见“附录-标签支持的资源类型”章节。
	ResourceTypes []string `json:"resource_types"`

	// 标签列表
	Tags []Tag `json:"tags"`

	// 索引位置, 从offset指定的下一条数据开始查询,必须为数字,不能为负数,默认为0。
	Offset *int32 `json:"offset,omitempty"`

	// 查询记录数,不传默认为200,limit最多为200, 最小值为1。
	Limit *int32 `json:"limit,omitempty"`
}

获取标签下资源请求

func (ResqTagResource) String added in v0.1.15

func (o ResqTagResource) String() string

type ShowApiVersionRequest

type ShowApiVersionRequest struct {

	// API版本号。
	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"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ShowApiVersionResponse) String

func (o ShowApiVersionResponse) String() string

type ShowResourceTagRequest added in v0.1.15

type ShowResourceTagRequest struct {

	// 资源ID
	ResourceId string `json:"resource_id"`

	// 项目ID,region级资源必选。
	ProjectId *string `json:"project_id,omitempty"`

	// 资源类型
	ResourceType string `json:"resource_type"`
}

Request Object

func (ShowResourceTagRequest) String added in v0.1.15

func (o ShowResourceTagRequest) String() string

type ShowResourceTagResponse added in v0.1.15

type ShowResourceTagResponse struct {

	// 资源标签列表
	Tags           *[]TagVo `json:"tags,omitempty"`
	HttpStatusCode int      `json:"-"`
}

Response Object

func (ShowResourceTagResponse) String added in v0.1.15

func (o ShowResourceTagResponse) String() string

type ShowTagQuotaRequest added in v0.0.69

type ShowTagQuotaRequest struct {
}

Request Object

func (ShowTagQuotaRequest) String added in v0.0.69

func (o ShowTagQuotaRequest) String() string

type ShowTagQuotaResponse added in v0.0.69

type ShowTagQuotaResponse struct {

	// 配额列表
	Quotas         *[]TagQuota `json:"quotas,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (ShowTagQuotaResponse) String added in v0.0.69

func (o ShowTagQuotaResponse) String() string

type Tag added in v0.1.15

type Tag 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)。
	Values []string `json:"values"`
}

标签列表。

func (Tag) String added in v0.1.15

func (o Tag) String() string

type TagCreateResponseItem added in v0.1.15

type TagCreateResponseItem struct {

	// 资源ID。
	ResourceId string `json:"resource_id"`

	// 资源类型。
	ResourceType string `json:"resource_type"`

	// 错误码
	ErrorCode string `json:"error_code"`

	// 错误描述
	ErrorMsg string `json:"error_msg"`
}

func (TagCreateResponseItem) String added in v0.1.15

func (o TagCreateResponseItem) String() string

type TagDeleteResponseItem added in v0.1.15

type TagDeleteResponseItem struct {

	// 资源ID。
	ResourceId string `json:"resource_id"`

	// 资源类型。
	ResourceType string `json:"resource_type"`

	// 错误码
	ErrorCode string `json:"error_code"`

	// 错误描述
	ErrorMsg string `json:"error_msg"`
}

func (TagDeleteResponseItem) String added in v0.1.15

func (o TagDeleteResponseItem) String() string

type TagQuota added in v0.0.69

type TagQuota struct {

	// 配额键
	QuotaKey string `json:"quota_key"`

	// 配额值
	QuotaLimit int32 `json:"quota_limit"`

	// 已使用
	Used int32 `json:"used"`

	// 单位
	Unit string `json:"unit"`
}

配额

func (TagQuota) String added in v0.0.69

func (o TagQuota) String() string

type TagVo added in v0.1.15

type TagVo 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,omitempty"`
}

标签对象。

func (TagVo) String added in v0.1.15

func (o TagVo) String() string

type UpdatePredefineTagsRequest

type UpdatePredefineTagsRequest struct {
	Body *ModifyPrefineTag `json:"body,omitempty"`
}

Request Object

func (UpdatePredefineTagsRequest) String

type UpdatePredefineTagsResponse

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

Response Object

func (UpdatePredefineTagsResponse) 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

func (VersionDetailStatus) Value added in v0.0.90

func (c VersionDetailStatus) Value() string

type VersionDetailStatusEnum

type VersionDetailStatusEnum struct {
	CURRENT    VersionDetailStatus
	SUPPORTED  VersionDetailStatus
	DEPRECATED VersionDetailStatus
}

func GetVersionDetailStatusEnum

func GetVersionDetailStatusEnum() VersionDetailStatusEnum

Source Files

Jump to

Keyboard shortcuts

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