model

package
v0.0.43-rc Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 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 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 Link struct {
	Href string `json:"href"`

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

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 {
	Key string `json:"key"`

	Value string `json:"value"`

	UpdateTime *sdktime.SdkTime `json:"update_time"`
}

标签列表。

func (PredefineTag) String

func (o PredefineTag) String() string

type PredefineTagRequest

type PredefineTagRequest struct {
	Key string `json:"key"`

	Value string `json:"value"`
}

标签详情。

func (PredefineTagRequest) String

func (o PredefineTagRequest) String() string

type ReqCreatePredefineTag

type ReqCreatePredefineTag struct {
	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 {
	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"`
	HttpStatusCode int            `json:"-"`
}

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

type UpdatePredefineTagsResponse

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

Response Object

func (UpdatePredefineTagsResponse) String

type VersionDetail

type VersionDetail struct {
	Id string `json:"id"`

	Links []Link `json:"links"`

	Version string `json:"version"`

	Status VersionDetailStatus `json:"status"`

	Updated *sdktime.SdkTime `json:"updated"`

	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

Jump to

Keyboard shortcuts

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