response

package
v4.0.1-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: UNKNOWN not legal advice Imports: 1 Imported by: 0

Documentation

Overview

Nutanix Standard Response Format

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiLink struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/**
	  The URL at which the entity described by this link can be accessed.
	*/
	Href *string `json:"href,omitempty"`
	/**
	  A name that identifies the relationship of this link to the object that is returned by the URL.  The special value of "self" identifies the URL for the object.
	*/
	Rel *string `json:"rel,omitempty"`
}

* A HATEOAS style link for the response. Each link contains a user friendly name identifying the link and an address for retrieving the particular resource.

func NewApiLink() *ApiLink

type ApiResponseMetadata

type ApiResponseMetadata struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/**
	  An array of entity specific metadata
	*/
	ExtraInfo []import1.KVPair `json:"extraInfo,omitempty"`

	Flags []import1.Flag `json:"flags,omitempty"`

	Links []ApiLink `json:"links,omitempty"`

	Messages []import1.Message `json:"messages,omitempty"`

	TotalAvailableResults *int `json:"totalAvailableResults,omitempty"`
}

* The metadata associated with an API response. Always present and minimally contains the self link for the API request that produced this response. Also contains pagination data for paginated requests.

func NewApiResponseMetadata

func NewApiResponseMetadata() *ApiResponseMetadata

Jump to

Keyboard shortcuts

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