responses

package
v0.3.10-0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListResult2JSON

func ListResult2JSON(result *ListResult) jsonutils.JSONObject

func ListResult2JSONWithKey

func ListResult2JSONWithKey(result *ListResult, key string) jsonutils.JSONObject

func TransColonToDot

func TransColonToDot(obj jsonutils.JSONObject) (jsonutils.JSONObject, error)

将key中的冒号替换成

Types

type ListResult

type ListResult struct {
	Data     []jsonutils.JSONObject
	Total    int
	Limit    int
	Offset   int
	NextLink string
}

func JSON2ListResult

func JSON2ListResult(result jsonutils.JSONObject) *ListResult

Jump to

Keyboard shortcuts

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