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 ¶
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 ¶
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
Click to show internal directories.
Click to hide internal directories.