responses

package
v0.0.0-...-3235d85 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 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