models

package
v1.45.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2020 License: Apache-2.0 Imports: 0 Imported by: 18 modules, 427 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchResultDetail added in v1.10.0

type BatchResultDetail struct {

	/* 操作成功的资源个数 (Optional) */
	SuccessCount int `json:"successCount"`

	/* 操作失败的资源及原因 (Optional) */
	Failed []ErrorItem `json:"failed"`
}

type Err added in v1.10.0

type Err struct {

	/* 同http code (Optional) */
	Code int64 `json:"code"`

	/*  (Optional) */
	Details interface{} `json:"details"`

	/*  (Optional) */
	Message string `json:"message"`

	/* 具体错误 (Optional) */
	Status string `json:"status"`
}

type ErrorItem added in v1.10.0

type ErrorItem struct {

	/* 出错资源ID (Optional) */
	Id string `json:"id"`

	/* 错误码,同标准code (Optional) */
	Code int64 `json:"code"`

	/*  (Optional) */
	Details interface{} `json:"details"`

	/*  (Optional) */
	Message string `json:"message"`

	/* 具体错误,同标准status (Optional) */
	Status string `json:"status"`
}

type Filter

type Filter struct {

	/* 过滤条件的名称  */
	Name string `json:"name"`

	/* 过滤条件的操作符,默认eq (Optional) */
	Operator *string `json:"operator"`

	/* 过滤条件的值  */
	Values []string `json:"values"`
}

type Quota

type Quota struct {

	/* 配额项的名称 (Optional) */
	Name string `json:"name"`

	/* 配额 (Optional) */
	Max int `json:"max"`

	/* 已使用的数目 (Optional) */
	Used int `json:"used"`
}

type SimpleResponses

type SimpleResponses struct {

	/* Request ID (Optional) */
	RequestId string `json:"requestId"`
}

type Sort

type Sort struct {

	/* 排序条件的名称 (Optional) */
	Name *string `json:"name"`

	/* 排序条件的方向 (Optional) */
	Direction *string `json:"direction"`
}

type TagFilter added in v1.3.0

type TagFilter struct {

	/* Tag键  */
	Key string `json:"key"`

	/* Tag值  */
	Values []string `json:"values"`
}

Jump to

Keyboard shortcuts

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