models

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {

	// Error message
	// Example: Failed to validate credentials.
	Message string `json:"message,omitempty"`

	// status code
	StatusCode int32 `json:"statusCode,omitempty"`
}

Error Error

Specification for a vRA API error.

swagger:model Error

func (*Error) ContextValidate

func (m *Error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

type GetTable added in v0.1.1

type GetTable struct {
	SysClassName string `json:"sys_class_name"`
	// Probably Unique Identifier.
	SysId string `json:"sys_id"`
	Name  string `json:"name,omitempty"`
	Ram   string `json:"ram,omitempty"`
}

type GetTableItem added in v0.1.1

type GetTableItem struct {
	Result []GetTable
}

type IdentifyReconcileItem

type IdentifyReconcileItem struct {
	ClassName           string               `json:"className"`
	InternalId          string               `json:"internal_id,omitempty"`
	Lookup              []*Lookup            `json:"lookup,omitempty"`
	Related             []string             `json:"related,omitempty"`
	Settings            *Settings            `json:"settings,omitempty"`
	SysObjectSourceInfo *SysObjectSourceInfo `json:"sys_object_source_info,omitempty"`
	Values              *ItemValue           `json:"values"`
	Result              *Result              `json:"result"`
}

type IdentifyReconcileItemList

type IdentifyReconcileItemList struct {
	Items []*IdentifyReconcileItem `json:"items"`
}

type ItemValue

type ItemValue struct {
	HostName     string `json:"host_name,omitempty"`
	IpAddress    string `json:"ip_address,omitempty"`
	Name         string `json:"name"`
	OsName       string `json:"os_name,omitempty"`
	SysClassName string `json:"sys_class_name,omitempty"`
	Ram          string `json:"ram,omitempty"`
}

type Items added in v0.1.2

type Items struct {
	ClassName string `json:"className"`
	Operation string `json:"operation,omitempty"`
	SysId     string `json:"sysId,omitempty"`
}

For response

type Lookup

type Lookup struct {
	ClassName           string               `json:"className"`
	InternalId          string               `json:"internal_id,omitempty"`
	SysObjectSourceInfo *SysObjectSourceInfo `json:"sys_object_source_info,omitempty"`
	Values              string               `json:"values"`
}

type Result added in v0.1.2

type Result struct {
	Items *[]Items `json:"items"`
}

type ServiceErrorResponse

type ServiceErrorResponse struct {

	// details
	Details []string `json:"details"`

	// document kind
	DocumentKind string `json:"documentKind,omitempty"`

	// error code
	ErrorCode int32 `json:"errorCode,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// message Id
	MessageID string `json:"messageId,omitempty"`

	// server error Id
	ServerErrorID string `json:"serverErrorId,omitempty"`

	// stack trace
	StackTrace []string `json:"stackTrace"`

	// status code
	StatusCode int32 `json:"statusCode,omitempty"`
}

ServiceErrorResponse service error response

swagger:model ServiceErrorResponse

func (*ServiceErrorResponse) ContextValidate

func (m *ServiceErrorResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service error response based on context it is used

func (*ServiceErrorResponse) MarshalBinary

func (m *ServiceErrorResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceErrorResponse) UnmarshalBinary

func (m *ServiceErrorResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceErrorResponse) Validate

func (m *ServiceErrorResponse) Validate(formats strfmt.Registry) error

Validate validates this service error response

type Settings

type Settings struct {
	SkipReclassificationRestrictionRules bool `json:"skipReclassificationRestrictionRules,omitempty"`
	UpdateWithoutDowngrade               bool `json:"updateWithoutDowngrade,omitempty"`
	UpdateWithoutSwitch                  bool `json:"updateWithoutSwitch,omitempty"`
	UpdateWithoutUpgrade                 bool `json:"updateWithoutUpgrade,omitempty"`
}

type SysObjectSourceInfo

type SysObjectSourceInfo struct {
	SourceFeed             string `json:"source_feed"`
	SourceName             string `json:"source_name"`
	SourceNativeKey        string `json:"source_native_key"`
	SourceRecencyTimestamp string `json:"source_recency_timestamp"`
}

Jump to

Keyboard shortcuts

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