models

package
v0.0.0-...-29433ec Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

View Source
const (
	// CircuitTerminationTermSideA captures enum value "A"
	CircuitTerminationTermSideA string = "A"
	// CircuitTerminationTermSideZ captures enum value "Z"
	CircuitTerminationTermSideZ string = "Z"
)
View Source
const (
	// InterfaceCircuitTerminationTermSideA captures enum value "A"
	InterfaceCircuitTerminationTermSideA string = "A"
	// InterfaceCircuitTerminationTermSideZ captures enum value "Z"
	InterfaceCircuitTerminationTermSideZ string = "Z"
)
View Source
const (
	// PlatformRPCClientJuniperJunos captures enum value "juniper-junos"
	PlatformRPCClientJuniperJunos string = "juniper-junos"
	// PlatformRPCClientCiscoIos captures enum value "cisco-ios"
	PlatformRPCClientCiscoIos string = "cisco-ios"
	// PlatformRPCClientOpengear captures enum value "opengear"
	PlatformRPCClientOpengear string = "opengear"
)
View Source
const (
	// WritableCircuitTerminationTermSideA captures enum value "A"
	WritableCircuitTerminationTermSideA string = "A"
	// WritableCircuitTerminationTermSideZ captures enum value "Z"
	WritableCircuitTerminationTermSideZ string = "Z"
)
View Source
const (
	// WritablePlatformRPCClientJuniperJunos captures enum value "juniper-junos"
	WritablePlatformRPCClientJuniperJunos string = "juniper-junos"
	// WritablePlatformRPCClientCiscoIos captures enum value "cisco-ios"
	WritablePlatformRPCClientCiscoIos string = "cisco-ios"
	// WritablePlatformRPCClientOpengear captures enum value "opengear"
	WritablePlatformRPCClientOpengear string = "opengear"
)

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type Aggregate ¶

type Aggregate struct {

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Custom fields
	CustomFields interface{} `json:"custom_fields,omitempty"`

	// Date added
	DateAdded strfmt.Date `json:"date_added,omitempty"`

	// Description
	// Max Length: 100
	Description string `json:"description,omitempty"`

	// Family
	// Required: true
	Family *int64 `json:"family"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// Prefix
	// Required: true
	Prefix *string `json:"prefix"`

	// rir
	// Required: true
	Rir *NestedRIR `json:"rir"`
}

Aggregate aggregate swagger:model Aggregate

func (*Aggregate) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Aggregate) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Aggregate) Validate ¶

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

Validate validates this aggregate

type Circuit ¶

type Circuit struct {

	// Circuit ID
	// Required: true
	// Max Length: 50
	Cid *string `json:"cid"`

	// Comments
	Comments string `json:"comments,omitempty"`

	// Commit rate (Kbps)
	// Maximum: 2.147483647e+09
	// Minimum: 0
	CommitRate *int64 `json:"commit_rate,omitempty"`

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Custom fields
	CustomFields interface{} `json:"custom_fields,omitempty"`

	// Description
	// Max Length: 100
	Description string `json:"description,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Date installed
	InstallDate strfmt.Date `json:"install_date,omitempty"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// provider
	// Required: true
	Provider *NestedProvider `json:"provider"`

	// status
	// Required: true
	Status *CircuitStatus `json:"status"`

	// tenant
	// Required: true
	Tenant *NestedTenant `json:"tenant"`

	// type
	// Required: true
	Type *NestedCircuitType `json:"type"`
}

Circuit circuit swagger:model Circuit

func (*Circuit) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Circuit) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Circuit) Validate ¶

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

Validate validates this circuit

type CircuitStatus ¶

type CircuitStatus struct {

	// label
	// Required: true
	Label *string `json:"label"`

	// value
	// Required: true
	Value *int64 `json:"value"`
}

CircuitStatus Status swagger:model circuitStatus

func (*CircuitStatus) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CircuitStatus) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CircuitStatus) Validate ¶

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

Validate validates this circuit status

type CircuitTermination ¶

type CircuitTermination struct {

	// circuit
	// Required: true
	Circuit *NestedCircuit `json:"circuit"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// interface
	// Required: true
	Interface *Interface `json:"interface"`

	// Port speed (Kbps)
	// Required: true
	// Maximum: 2.147483647e+09
	// Minimum: 0
	PortSpeed *int64 `json:"port_speed"`

	// Patch panel/port(s)
	// Max Length: 100
	PpInfo string `json:"pp_info,omitempty"`

	// site
	// Required: true
	Site *NestedSite `json:"site"`

	// Termination
	// Required: true
	TermSide *string `json:"term_side"`

	// Upstream speed (Kbps)
	//
	// Upstream speed, if different from port speed
	// Maximum: 2.147483647e+09
	// Minimum: 0
	UpstreamSpeed *int64 `json:"upstream_speed,omitempty"`

	// Cross-connect ID
	// Max Length: 50
	XconnectID string `json:"xconnect_id,omitempty"`
}

CircuitTermination circuit termination swagger:model CircuitTermination

func (*CircuitTermination) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CircuitTermination) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CircuitTermination) Validate ¶

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

Validate validates this circuit termination

type CircuitType ¶

type CircuitType struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`
}

CircuitType circuit type swagger:model CircuitType

func (*CircuitType) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CircuitType) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CircuitType) Validate ¶

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

Validate validates this circuit type

type CircuitsCircuitTerminationsListOKBody ¶

type CircuitsCircuitTerminationsListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results CircuitsCircuitTerminationsListOKBodyResults `json:"results"`
}

CircuitsCircuitTerminationsListOKBody circuits circuit terminations list o k body swagger:model circuitsCircuitTerminationsListOKBody

func (*CircuitsCircuitTerminationsListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CircuitsCircuitTerminationsListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CircuitsCircuitTerminationsListOKBody) Validate ¶

Validate validates this circuits circuit terminations list o k body

type CircuitsCircuitTerminationsListOKBodyResults ¶

type CircuitsCircuitTerminationsListOKBodyResults []*CircuitTermination

CircuitsCircuitTerminationsListOKBodyResults circuits circuit terminations list o k body results swagger:model circuitsCircuitTerminationsListOKBodyResults

func (CircuitsCircuitTerminationsListOKBodyResults) Validate ¶

Validate validates this circuits circuit terminations list o k body results

type CircuitsCircuitTypesListOKBody ¶

type CircuitsCircuitTypesListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results CircuitsCircuitTypesListOKBodyResults `json:"results"`
}

CircuitsCircuitTypesListOKBody circuits circuit types list o k body swagger:model circuitsCircuitTypesListOKBody

func (*CircuitsCircuitTypesListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CircuitsCircuitTypesListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CircuitsCircuitTypesListOKBody) Validate ¶

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

Validate validates this circuits circuit types list o k body

type CircuitsCircuitTypesListOKBodyResults ¶

type CircuitsCircuitTypesListOKBodyResults []*CircuitType

CircuitsCircuitTypesListOKBodyResults circuits circuit types list o k body results swagger:model circuitsCircuitTypesListOKBodyResults

func (CircuitsCircuitTypesListOKBodyResults) Validate ¶

Validate validates this circuits circuit types list o k body results

type CircuitsCircuitsListOKBody ¶

type CircuitsCircuitsListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results CircuitsCircuitsListOKBodyResults `json:"results"`
}

CircuitsCircuitsListOKBody circuits circuits list o k body swagger:model circuitsCircuitsListOKBody

func (*CircuitsCircuitsListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CircuitsCircuitsListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CircuitsCircuitsListOKBody) Validate ¶

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

Validate validates this circuits circuits list o k body

type CircuitsCircuitsListOKBodyResults ¶

type CircuitsCircuitsListOKBodyResults []*Circuit

CircuitsCircuitsListOKBodyResults circuits circuits list o k body results swagger:model circuitsCircuitsListOKBodyResults

func (CircuitsCircuitsListOKBodyResults) Validate ¶

Validate validates this circuits circuits list o k body results

type CircuitsProvidersListOKBody ¶

type CircuitsProvidersListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results CircuitsProvidersListOKBodyResults `json:"results"`
}

CircuitsProvidersListOKBody circuits providers list o k body swagger:model circuitsProvidersListOKBody

func (*CircuitsProvidersListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CircuitsProvidersListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CircuitsProvidersListOKBody) Validate ¶

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

Validate validates this circuits providers list o k body

type CircuitsProvidersListOKBodyResults ¶

type CircuitsProvidersListOKBodyResults []*Provider

CircuitsProvidersListOKBodyResults circuits providers list o k body results swagger:model circuitsProvidersListOKBodyResults

func (CircuitsProvidersListOKBodyResults) Validate ¶

Validate validates this circuits providers list o k body results

type Cluster ¶

type Cluster struct {

	// Comments
	Comments string `json:"comments,omitempty"`

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Custom fields
	CustomFields interface{} `json:"custom_fields,omitempty"`

	// group
	// Required: true
	Group *NestedClusterGroup `json:"group"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// Name
	// Required: true
	// Max Length: 100
	Name *string `json:"name"`

	// site
	// Required: true
	Site *NestedSite `json:"site"`

	// type
	// Required: true
	Type *NestedClusterType `json:"type"`
}

Cluster cluster swagger:model Cluster

func (*Cluster) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Cluster) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Cluster) Validate ¶

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

Validate validates this cluster

type ClusterGroup ¶

type ClusterGroup struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`
}

ClusterGroup cluster group swagger:model ClusterGroup

func (*ClusterGroup) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ClusterGroup) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ClusterGroup) Validate ¶

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

Validate validates this cluster group

type ClusterType ¶

type ClusterType struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`
}

ClusterType cluster type swagger:model ClusterType

func (*ClusterType) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ClusterType) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ClusterType) Validate ¶

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

Validate validates this cluster type

type ConsolePort ¶

type ConsolePort struct {

	// Connection status
	ConnectionStatus bool `json:"connection_status,omitempty"`

	// cs port
	// Required: true
	CsPort *ConsoleServerPort `json:"cs_port"`

	// device
	// Required: true
	Device *NestedDevice `json:"device"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`
}

ConsolePort console port swagger:model ConsolePort

func (*ConsolePort) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConsolePort) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConsolePort) Validate ¶

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

Validate validates this console port

type ConsolePortTemplate ¶

type ConsolePortTemplate struct {

	// device type
	// Required: true
	DeviceType *NestedDeviceType `json:"device_type"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`
}

ConsolePortTemplate console port template swagger:model ConsolePortTemplate

func (*ConsolePortTemplate) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConsolePortTemplate) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConsolePortTemplate) Validate ¶

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

Validate validates this console port template

type ConsoleServerPort ¶

type ConsoleServerPort struct {

	// Connected console
	// Read Only: true
	ConnectedConsole string `json:"connected_console,omitempty"`

	// device
	// Required: true
	Device *NestedDevice `json:"device"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`
}

ConsoleServerPort Cs port swagger:model ConsoleServerPort

func (*ConsoleServerPort) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConsoleServerPort) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConsoleServerPort) Validate ¶

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

Validate validates this console server port

type ConsoleServerPortTemplate ¶

type ConsoleServerPortTemplate struct {

	// device type
	// Required: true
	DeviceType *NestedDeviceType `json:"device_type"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`
}

ConsoleServerPortTemplate console server port template swagger:model ConsoleServerPortTemplate

func (*ConsoleServerPortTemplate) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConsoleServerPortTemplate) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConsoleServerPortTemplate) Validate ¶

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

Validate validates this console server port template

type DcimConsoleConnectionsListOKBody ¶

type DcimConsoleConnectionsListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results DcimConsoleConnectionsListOKBodyResults `json:"results"`
}

DcimConsoleConnectionsListOKBody dcim console connections list o k body swagger:model dcimConsoleConnectionsListOKBody

func (*DcimConsoleConnectionsListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DcimConsoleConnectionsListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DcimConsoleConnectionsListOKBody) Validate ¶

Validate validates this dcim console connections list o k body

type DcimConsoleConnectionsListOKBodyResults ¶

type DcimConsoleConnectionsListOKBodyResults []*ConsolePort

DcimConsoleConnectionsListOKBodyResults dcim console connections list o k body results swagger:model dcimConsoleConnectionsListOKBodyResults

func (DcimConsoleConnectionsListOKBodyResults) Validate ¶

Validate validates this dcim console connections list o k body results

type DcimConsolePortTemplatesListOKBody ¶

type DcimConsolePortTemplatesListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results DcimConsolePortTemplatesListOKBodyResults `json:"results"`
}

DcimConsolePortTemplatesListOKBody dcim console port templates list o k body swagger:model dcimConsolePortTemplatesListOKBody

func (*DcimConsolePortTemplatesListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DcimConsolePortTemplatesListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DcimConsolePortTemplatesListOKBody) Validate ¶

Validate validates this dcim console port templates list o k body

type DcimConsolePortTemplatesListOKBodyResults ¶

type DcimConsolePortTemplatesListOKBodyResults []*ConsolePortTemplate

DcimConsolePortTemplatesListOKBodyResults dcim console port templates list o k body results swagger:model dcimConsolePortTemplatesListOKBodyResults

func (DcimConsolePortTemplatesListOKBodyResults) Validate ¶

Validate validates this dcim console port templates list o k body results

type DcimConsolePortsListOKBody ¶

type DcimConsolePortsListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results DcimConsolePortsListOKBodyResults `json:"results"`
}

DcimConsolePortsListOKBody dcim console ports list o k body swagger:model dcimConsolePortsListOKBody

func (*DcimConsolePortsListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DcimConsolePortsListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DcimConsolePortsListOKBody) Validate ¶

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

Validate validates this dcim console ports list o k body

type DcimConsolePortsListOKBodyResults ¶

type DcimConsolePortsListOKBodyResults []*ConsolePort

DcimConsolePortsListOKBodyResults dcim console ports list o k body results swagger:model dcimConsolePortsListOKBodyResults

func (DcimConsolePortsListOKBodyResults) Validate ¶

Validate validates this dcim console ports list o k body results

type DcimConsoleServerPortTemplatesListOKBody ¶

type DcimConsoleServerPortTemplatesListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results DcimConsoleServerPortTemplatesListOKBodyResults `json:"results"`
}

DcimConsoleServerPortTemplatesListOKBody dcim console server port templates list o k body swagger:model dcimConsoleServerPortTemplatesListOKBody

func (*DcimConsoleServerPortTemplatesListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DcimConsoleServerPortTemplatesListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DcimConsoleServerPortTemplatesListOKBody) Validate ¶

Validate validates this dcim console server port templates list o k body

type DcimConsoleServerPortTemplatesListOKBodyResults ¶

type DcimConsoleServerPortTemplatesListOKBodyResults []*ConsoleServerPortTemplate

DcimConsoleServerPortTemplatesListOKBodyResults dcim console server port templates list o k body results swagger:model dcimConsoleServerPortTemplatesListOKBodyResults

func (DcimConsoleServerPortTemplatesListOKBodyResults) Validate ¶

Validate validates this dcim console server port templates list o k body results

type DcimConsoleServerPortsListOKBody ¶

type DcimConsoleServerPortsListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results DcimConsoleServerPortsListOKBodyResults `json:"results"`
}

DcimConsoleServerPortsListOKBody dcim console server ports list o k body swagger:model dcimConsoleServerPortsListOKBody

func (*DcimConsoleServerPortsListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DcimConsoleServerPortsListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DcimConsoleServerPortsListOKBody) Validate ¶

Validate validates this dcim console server ports list o k body

type DcimConsoleServerPortsListOKBodyResults ¶

type DcimConsoleServerPortsListOKBodyResults []*ConsoleServerPort

DcimConsoleServerPortsListOKBodyResults dcim console server ports list o k body results swagger:model dcimConsoleServerPortsListOKBodyResults

func (DcimConsoleServerPortsListOKBodyResults) Validate ¶

Validate validates this dcim console server ports list o k body results

type DcimDeviceBayTemplatesListOKBody ¶

type DcimDeviceBayTemplatesListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results DcimDeviceBayTemplatesListOKBodyResults `json:"results"`
}

DcimDeviceBayTemplatesListOKBody dcim device bay templates list o k body swagger:model dcimDeviceBayTemplatesListOKBody

func (*DcimDeviceBayTemplatesListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DcimDeviceBayTemplatesListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DcimDeviceBayTemplatesListOKBody) Validate ¶

Validate validates this dcim device bay templates list o k body

type DcimDeviceBayTemplatesListOKBodyResults ¶

type DcimDeviceBayTemplatesListOKBodyResults []*DeviceBayTemplate

DcimDeviceBayTemplatesListOKBodyResults dcim device bay templates list o k body results swagger:model dcimDeviceBayTemplatesListOKBodyResults

func (DcimDeviceBayTemplatesListOKBodyResults) Validate ¶

Validate validates this dcim device bay templates list o k body results

type DcimDeviceBaysListOKBody ¶

type DcimDeviceBaysListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results DcimDeviceBaysListOKBodyResults `json:"results"`
}

DcimDeviceBaysListOKBody dcim device bays list o k body swagger:model dcimDeviceBaysListOKBody

func (*DcimDeviceBaysListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DcimDeviceBaysListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DcimDeviceBaysListOKBody) Validate ¶

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

Validate validates this dcim device bays list o k body

type DcimDeviceBaysListOKBodyResults ¶

type DcimDeviceBaysListOKBodyResults []*DeviceBay

DcimDeviceBaysListOKBodyResults dcim device bays list o k body results swagger:model dcimDeviceBaysListOKBodyResults

func (DcimDeviceBaysListOKBodyResults) Validate ¶

Validate validates this dcim device bays list o k body results

type DcimDeviceRolesListOKBody ¶

type DcimDeviceRolesListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results DcimDeviceRolesListOKBodyResults `json:"results"`
}

DcimDeviceRolesListOKBody dcim device roles list o k body swagger:model dcimDeviceRolesListOKBody

func (*DcimDeviceRolesListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DcimDeviceRolesListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DcimDeviceRolesListOKBody) Validate ¶

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

Validate validates this dcim device roles list o k body

type DcimDeviceRolesListOKBodyResults ¶

type DcimDeviceRolesListOKBodyResults []*DeviceRole

DcimDeviceRolesListOKBodyResults dcim device roles list o k body results swagger:model dcimDeviceRolesListOKBodyResults

func (DcimDeviceRolesListOKBodyResults) Validate ¶

Validate validates this dcim device roles list o k body results

type DcimDeviceTypesListOKBody ¶

type DcimDeviceTypesListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results DcimDeviceTypesListOKBodyResults `json:"results"`
}

DcimDeviceTypesListOKBody dcim device types list o k body swagger:model dcimDeviceTypesListOKBody

func (*DcimDeviceTypesListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DcimDeviceTypesListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DcimDeviceTypesListOKBody) Validate ¶

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

Validate validates this dcim device types list o k body

type DcimDeviceTypesListOKBodyResults ¶

type DcimDeviceTypesListOKBodyResults []*DeviceType

DcimDeviceTypesListOKBodyResults dcim device types list o k body results swagger:model dcimDeviceTypesListOKBodyResults

func (DcimDeviceTypesListOKBodyResults) Validate ¶

Validate validates this dcim device types list o k body results

type DcimDevicesListOKBody ¶

type DcimDevicesListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results DcimDevicesListOKBodyResults `json:"results"`
}

DcimDevicesListOKBody dcim devices list o k body swagger:model dcimDevicesListOKBody

func (*DcimDevicesListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DcimDevicesListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DcimDevicesListOKBody) Validate ¶

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

Validate validates this dcim devices list o k body

type DcimDevicesListOKBodyResults ¶

type DcimDevicesListOKBodyResults []*Device

DcimDevicesListOKBodyResults dcim devices list o k body results swagger:model dcimDevicesListOKBodyResults

func (DcimDevicesListOKBodyResults) Validate ¶

func (m DcimDevicesListOKBodyResults) Validate(formats strfmt.Registry) error

Validate validates this dcim devices list o k body results

type DcimInterfaceConnectionsListOKBody ¶

type DcimInterfaceConnectionsListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results DcimInterfaceConnectionsListOKBodyResults `json:"results"`
}

DcimInterfaceConnectionsListOKBody dcim interface connections list o k body swagger:model dcimInterfaceConnectionsListOKBody

func (*DcimInterfaceConnectionsListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DcimInterfaceConnectionsListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DcimInterfaceConnectionsListOKBody) Validate ¶

Validate validates this dcim interface connections list o k body

type DcimInterfaceConnectionsListOKBodyResults ¶

type DcimInterfaceConnectionsListOKBodyResults []*InterfaceConnection

DcimInterfaceConnectionsListOKBodyResults dcim interface connections list o k body results swagger:model dcimInterfaceConnectionsListOKBodyResults

func (DcimInterfaceConnectionsListOKBodyResults) Validate ¶

Validate validates this dcim interface connections list o k body results

type DcimInterfaceTemplatesListOKBody ¶

type DcimInterfaceTemplatesListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results DcimInterfaceTemplatesListOKBodyResults `json:"results"`
}

DcimInterfaceTemplatesListOKBody dcim interface templates list o k body swagger:model dcimInterfaceTemplatesListOKBody

func (*DcimInterfaceTemplatesListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DcimInterfaceTemplatesListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DcimInterfaceTemplatesListOKBody) Validate ¶

Validate validates this dcim interface templates list o k body

type DcimInterfaceTemplatesListOKBodyResults ¶

type DcimInterfaceTemplatesListOKBodyResults []*InterfaceTemplate

DcimInterfaceTemplatesListOKBodyResults dcim interface templates list o k body results swagger:model dcimInterfaceTemplatesListOKBodyResults

func (DcimInterfaceTemplatesListOKBodyResults) Validate ¶

Validate validates this dcim interface templates list o k body results

type DcimInterfacesListOKBody ¶

type DcimInterfacesListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results DcimInterfacesListOKBodyResults `json:"results"`
}

DcimInterfacesListOKBody dcim interfaces list o k body swagger:model dcimInterfacesListOKBody

func (*DcimInterfacesListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DcimInterfacesListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DcimInterfacesListOKBody) Validate ¶

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

Validate validates this dcim interfaces list o k body

type DcimInterfacesListOKBodyResults ¶

type DcimInterfacesListOKBodyResults []*Interface

DcimInterfacesListOKBodyResults dcim interfaces list o k body results swagger:model dcimInterfacesListOKBodyResults

func (DcimInterfacesListOKBodyResults) Validate ¶

Validate validates this dcim interfaces list o k body results

type DcimInventoryItemsListOKBody ¶

type DcimInventoryItemsListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results DcimInventoryItemsListOKBodyResults `json:"results"`
}

DcimInventoryItemsListOKBody dcim inventory items list o k body swagger:model dcimInventoryItemsListOKBody

func (*DcimInventoryItemsListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DcimInventoryItemsListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DcimInventoryItemsListOKBody) Validate ¶

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

Validate validates this dcim inventory items list o k body

type DcimInventoryItemsListOKBodyResults ¶

type DcimInventoryItemsListOKBodyResults []*InventoryItem

DcimInventoryItemsListOKBodyResults dcim inventory items list o k body results swagger:model dcimInventoryItemsListOKBodyResults

func (DcimInventoryItemsListOKBodyResults) Validate ¶

Validate validates this dcim inventory items list o k body results

type DcimManufacturersListOKBody ¶

type DcimManufacturersListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results DcimManufacturersListOKBodyResults `json:"results"`
}

DcimManufacturersListOKBody dcim manufacturers list o k body swagger:model dcimManufacturersListOKBody

func (*DcimManufacturersListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DcimManufacturersListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DcimManufacturersListOKBody) Validate ¶

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

Validate validates this dcim manufacturers list o k body

type DcimManufacturersListOKBodyResults ¶

type DcimManufacturersListOKBodyResults []*Manufacturer

DcimManufacturersListOKBodyResults dcim manufacturers list o k body results swagger:model dcimManufacturersListOKBodyResults

func (DcimManufacturersListOKBodyResults) Validate ¶

Validate validates this dcim manufacturers list o k body results

type DcimPlatformsListOKBody ¶

type DcimPlatformsListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results DcimPlatformsListOKBodyResults `json:"results"`
}

DcimPlatformsListOKBody dcim platforms list o k body swagger:model dcimPlatformsListOKBody

func (*DcimPlatformsListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DcimPlatformsListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DcimPlatformsListOKBody) Validate ¶

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

Validate validates this dcim platforms list o k body

type DcimPlatformsListOKBodyResults ¶

type DcimPlatformsListOKBodyResults []*Platform

DcimPlatformsListOKBodyResults dcim platforms list o k body results swagger:model dcimPlatformsListOKBodyResults

func (DcimPlatformsListOKBodyResults) Validate ¶

Validate validates this dcim platforms list o k body results

type DcimPowerConnectionsListOKBody ¶

type DcimPowerConnectionsListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results DcimPowerConnectionsListOKBodyResults `json:"results"`
}

DcimPowerConnectionsListOKBody dcim power connections list o k body swagger:model dcimPowerConnectionsListOKBody

func (*DcimPowerConnectionsListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DcimPowerConnectionsListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DcimPowerConnectionsListOKBody) Validate ¶

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

Validate validates this dcim power connections list o k body

type DcimPowerConnectionsListOKBodyResults ¶

type DcimPowerConnectionsListOKBodyResults []*PowerPort

DcimPowerConnectionsListOKBodyResults dcim power connections list o k body results swagger:model dcimPowerConnectionsListOKBodyResults

func (DcimPowerConnectionsListOKBodyResults) Validate ¶

Validate validates this dcim power connections list o k body results

type DcimPowerOutletTemplatesListOKBody ¶

type DcimPowerOutletTemplatesListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results DcimPowerOutletTemplatesListOKBodyResults `json:"results"`
}

DcimPowerOutletTemplatesListOKBody dcim power outlet templates list o k body swagger:model dcimPowerOutletTemplatesListOKBody

func (*DcimPowerOutletTemplatesListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DcimPowerOutletTemplatesListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DcimPowerOutletTemplatesListOKBody) Validate ¶

Validate validates this dcim power outlet templates list o k body

type DcimPowerOutletTemplatesListOKBodyResults ¶

type DcimPowerOutletTemplatesListOKBodyResults []*PowerOutletTemplate

DcimPowerOutletTemplatesListOKBodyResults dcim power outlet templates list o k body results swagger:model dcimPowerOutletTemplatesListOKBodyResults

func (DcimPowerOutletTemplatesListOKBodyResults) Validate ¶

Validate validates this dcim power outlet templates list o k body results

type DcimPowerOutletsListOKBody ¶

type DcimPowerOutletsListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results DcimPowerOutletsListOKBodyResults `json:"results"`
}

DcimPowerOutletsListOKBody dcim power outlets list o k body swagger:model dcimPowerOutletsListOKBody

func (*DcimPowerOutletsListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DcimPowerOutletsListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DcimPowerOutletsListOKBody) Validate ¶

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

Validate validates this dcim power outlets list o k body

type DcimPowerOutletsListOKBodyResults ¶

type DcimPowerOutletsListOKBodyResults []*PowerOutlet

DcimPowerOutletsListOKBodyResults dcim power outlets list o k body results swagger:model dcimPowerOutletsListOKBodyResults

func (DcimPowerOutletsListOKBodyResults) Validate ¶

Validate validates this dcim power outlets list o k body results

type DcimPowerPortTemplatesListOKBody ¶

type DcimPowerPortTemplatesListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results DcimPowerPortTemplatesListOKBodyResults `json:"results"`
}

DcimPowerPortTemplatesListOKBody dcim power port templates list o k body swagger:model dcimPowerPortTemplatesListOKBody

func (*DcimPowerPortTemplatesListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DcimPowerPortTemplatesListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DcimPowerPortTemplatesListOKBody) Validate ¶

Validate validates this dcim power port templates list o k body

type DcimPowerPortTemplatesListOKBodyResults ¶

type DcimPowerPortTemplatesListOKBodyResults []*PowerPortTemplate

DcimPowerPortTemplatesListOKBodyResults dcim power port templates list o k body results swagger:model dcimPowerPortTemplatesListOKBodyResults

func (DcimPowerPortTemplatesListOKBodyResults) Validate ¶

Validate validates this dcim power port templates list o k body results

type DcimPowerPortsListOKBody ¶

type DcimPowerPortsListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results DcimPowerPortsListOKBodyResults `json:"results"`
}

DcimPowerPortsListOKBody dcim power ports list o k body swagger:model dcimPowerPortsListOKBody

func (*DcimPowerPortsListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DcimPowerPortsListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DcimPowerPortsListOKBody) Validate ¶

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

Validate validates this dcim power ports list o k body

type DcimPowerPortsListOKBodyResults ¶

type DcimPowerPortsListOKBodyResults []*PowerPort

DcimPowerPortsListOKBodyResults dcim power ports list o k body results swagger:model dcimPowerPortsListOKBodyResults

func (DcimPowerPortsListOKBodyResults) Validate ¶

Validate validates this dcim power ports list o k body results

type DcimRackGroupsListOKBody ¶

type DcimRackGroupsListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results DcimRackGroupsListOKBodyResults `json:"results"`
}

DcimRackGroupsListOKBody dcim rack groups list o k body swagger:model dcimRackGroupsListOKBody

func (*DcimRackGroupsListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DcimRackGroupsListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DcimRackGroupsListOKBody) Validate ¶

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

Validate validates this dcim rack groups list o k body

type DcimRackGroupsListOKBodyResults ¶

type DcimRackGroupsListOKBodyResults []*RackGroup

DcimRackGroupsListOKBodyResults dcim rack groups list o k body results swagger:model dcimRackGroupsListOKBodyResults

func (DcimRackGroupsListOKBodyResults) Validate ¶

Validate validates this dcim rack groups list o k body results

type DcimRackReservationsListOKBody ¶

type DcimRackReservationsListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results DcimRackReservationsListOKBodyResults `json:"results"`
}

DcimRackReservationsListOKBody dcim rack reservations list o k body swagger:model dcimRackReservationsListOKBody

func (*DcimRackReservationsListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DcimRackReservationsListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DcimRackReservationsListOKBody) Validate ¶

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

Validate validates this dcim rack reservations list o k body

type DcimRackReservationsListOKBodyResults ¶

type DcimRackReservationsListOKBodyResults []*RackReservation

DcimRackReservationsListOKBodyResults dcim rack reservations list o k body results swagger:model dcimRackReservationsListOKBodyResults

func (DcimRackReservationsListOKBodyResults) Validate ¶

Validate validates this dcim rack reservations list o k body results

type DcimRackRolesListOKBody ¶

type DcimRackRolesListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results DcimRackRolesListOKBodyResults `json:"results"`
}

DcimRackRolesListOKBody dcim rack roles list o k body swagger:model dcimRackRolesListOKBody

func (*DcimRackRolesListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DcimRackRolesListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DcimRackRolesListOKBody) Validate ¶

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

Validate validates this dcim rack roles list o k body

type DcimRackRolesListOKBodyResults ¶

type DcimRackRolesListOKBodyResults []*RackRole

DcimRackRolesListOKBodyResults dcim rack roles list o k body results swagger:model dcimRackRolesListOKBodyResults

func (DcimRackRolesListOKBodyResults) Validate ¶

Validate validates this dcim rack roles list o k body results

type DcimRacksListOKBody ¶

type DcimRacksListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results DcimRacksListOKBodyResults `json:"results"`
}

DcimRacksListOKBody dcim racks list o k body swagger:model dcimRacksListOKBody

func (*DcimRacksListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DcimRacksListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DcimRacksListOKBody) Validate ¶

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

Validate validates this dcim racks list o k body

type DcimRacksListOKBodyResults ¶

type DcimRacksListOKBodyResults []*Rack

DcimRacksListOKBodyResults dcim racks list o k body results swagger:model dcimRacksListOKBodyResults

func (DcimRacksListOKBodyResults) Validate ¶

func (m DcimRacksListOKBodyResults) Validate(formats strfmt.Registry) error

Validate validates this dcim racks list o k body results

type DcimRegionsListOKBody ¶

type DcimRegionsListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results DcimRegionsListOKBodyResults `json:"results"`
}

DcimRegionsListOKBody dcim regions list o k body swagger:model dcimRegionsListOKBody

func (*DcimRegionsListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DcimRegionsListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DcimRegionsListOKBody) Validate ¶

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

Validate validates this dcim regions list o k body

type DcimRegionsListOKBodyResults ¶

type DcimRegionsListOKBodyResults []*Region

DcimRegionsListOKBodyResults dcim regions list o k body results swagger:model dcimRegionsListOKBodyResults

func (DcimRegionsListOKBodyResults) Validate ¶

func (m DcimRegionsListOKBodyResults) Validate(formats strfmt.Registry) error

Validate validates this dcim regions list o k body results

type DcimSitesListOKBody ¶

type DcimSitesListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results DcimSitesListOKBodyResults `json:"results"`
}

DcimSitesListOKBody dcim sites list o k body swagger:model dcimSitesListOKBody

func (*DcimSitesListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DcimSitesListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DcimSitesListOKBody) Validate ¶

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

Validate validates this dcim sites list o k body

type DcimSitesListOKBodyResults ¶

type DcimSitesListOKBodyResults []*Site

DcimSitesListOKBodyResults dcim sites list o k body results swagger:model dcimSitesListOKBodyResults

func (DcimSitesListOKBodyResults) Validate ¶

func (m DcimSitesListOKBodyResults) Validate(formats strfmt.Registry) error

Validate validates this dcim sites list o k body results

type DcimVirtualChassisListOKBody ¶

type DcimVirtualChassisListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results DcimVirtualChassisListOKBodyResults `json:"results"`
}

DcimVirtualChassisListOKBody dcim virtual chassis list o k body swagger:model dcimVirtualChassisListOKBody

func (*DcimVirtualChassisListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DcimVirtualChassisListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DcimVirtualChassisListOKBody) Validate ¶

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

Validate validates this dcim virtual chassis list o k body

type DcimVirtualChassisListOKBodyResults ¶

type DcimVirtualChassisListOKBodyResults []*VirtualChassis

DcimVirtualChassisListOKBodyResults dcim virtual chassis list o k body results swagger:model dcimVirtualChassisListOKBodyResults

func (DcimVirtualChassisListOKBodyResults) Validate ¶

Validate validates this dcim virtual chassis list o k body results

type Device ¶

type Device struct {

	// Asset tag
	//
	// A unique tag used to identify this device
	// Max Length: 50
	AssetTag string `json:"asset_tag,omitempty"`

	// cluster
	// Required: true
	Cluster *NestedCluster `json:"cluster"`

	// Comments
	Comments string `json:"comments,omitempty"`

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Custom fields
	CustomFields interface{} `json:"custom_fields,omitempty"`

	// device role
	// Required: true
	DeviceRole *NestedDeviceRole `json:"device_role"`

	// device type
	// Required: true
	DeviceType *NestedDeviceType `json:"device_type"`

	// Display name
	// Read Only: true
	DisplayName string `json:"display_name,omitempty"`

	// face
	// Required: true
	Face *DeviceFace `json:"face"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// Name
	// Max Length: 64
	Name string `json:"name,omitempty"`

	// Parent device
	// Read Only: true
	ParentDevice string `json:"parent_device,omitempty"`

	// platform
	// Required: true
	Platform *NestedPlatform `json:"platform"`

	// Position (U)
	//
	// The lowest-numbered unit occupied by the device
	// Required: true
	// Maximum: 32767
	// Minimum: 1
	Position *int64 `json:"position"`

	// primary ip
	// Required: true
	PrimaryIP *DeviceIPAddress `json:"primary_ip"`

	// primary ip4
	// Required: true
	PrimaryIp4 *DeviceIPAddress `json:"primary_ip4"`

	// primary ip6
	// Required: true
	PrimaryIp6 *DeviceIPAddress `json:"primary_ip6"`

	// rack
	// Required: true
	Rack *NestedRack `json:"rack"`

	// Serial number
	// Max Length: 50
	Serial string `json:"serial,omitempty"`

	// site
	// Required: true
	Site *NestedSite `json:"site"`

	// status
	// Required: true
	Status *DeviceStatus `json:"status"`

	// tenant
	// Required: true
	Tenant *NestedTenant `json:"tenant"`

	// Vc position
	// Required: true
	// Maximum: 255
	// Minimum: 0
	VcPosition *int64 `json:"vc_position"`

	// Vc priority
	// Maximum: 255
	// Minimum: 0
	VcPriority *int64 `json:"vc_priority,omitempty"`

	// virtual chassis
	// Required: true
	VirtualChassis *DeviceVirtualChassis `json:"virtual_chassis"`
}

Device device swagger:model Device

func (*Device) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Device) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Device) Validate ¶

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

Validate validates this device

type DeviceBay ¶

type DeviceBay struct {

	// device
	// Required: true
	Device *NestedDevice `json:"device"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// installed device
	// Required: true
	InstalledDevice *NestedDevice `json:"installed_device"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`
}

DeviceBay device bay swagger:model DeviceBay

func (*DeviceBay) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DeviceBay) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DeviceBay) Validate ¶

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

Validate validates this device bay

type DeviceBayTemplate ¶

type DeviceBayTemplate struct {

	// device type
	// Required: true
	DeviceType *NestedDeviceType `json:"device_type"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`
}

DeviceBayTemplate device bay template swagger:model DeviceBayTemplate

func (*DeviceBayTemplate) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DeviceBayTemplate) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DeviceBayTemplate) Validate ¶

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

Validate validates this device bay template

type DeviceFace ¶

type DeviceFace struct {

	// label
	// Required: true
	Label *string `json:"label"`

	// value
	// Required: true
	Value *int64 `json:"value"`
}

DeviceFace Face swagger:model deviceFace

func (*DeviceFace) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DeviceFace) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DeviceFace) Validate ¶

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

Validate validates this device face

type DeviceIPAddress ¶

type DeviceIPAddress struct {

	// Address
	//
	// IPv4 or IPv6 address (with mask)
	// Required: true
	Address *string `json:"address"`

	// Family
	// Read Only: true
	Family int64 `json:"family,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

DeviceIPAddress Primary ip swagger:model DeviceIPAddress

func (*DeviceIPAddress) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DeviceIPAddress) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DeviceIPAddress) Validate ¶

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

Validate validates this device IP address

type DeviceRole ¶

type DeviceRole struct {

	// Color
	// Required: true
	// Max Length: 6
	// Pattern: ^[0-9a-f]{6}$
	Color *string `json:"color"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`

	// VM Role
	//
	// Virtual machines may be assigned to this role
	VMRole bool `json:"vm_role,omitempty"`
}

DeviceRole device role swagger:model DeviceRole

func (*DeviceRole) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DeviceRole) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DeviceRole) Validate ¶

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

Validate validates this device role

type DeviceStatus ¶

type DeviceStatus struct {

	// label
	// Required: true
	Label *string `json:"label"`

	// value
	// Required: true
	Value *int64 `json:"value"`
}

DeviceStatus Status swagger:model deviceStatus

func (*DeviceStatus) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DeviceStatus) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DeviceStatus) Validate ¶

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

Validate validates this device status

type DeviceType ¶

type DeviceType struct {

	// Comments
	Comments string `json:"comments,omitempty"`

	// Custom fields
	CustomFields interface{} `json:"custom_fields,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Instance count
	// Read Only: true
	InstanceCount int64 `json:"instance_count,omitempty"`

	// interface ordering
	// Required: true
	InterfaceOrdering *DeviceTypeInterfaceOrdering `json:"interface_ordering"`

	// Is a console server
	//
	// This type of device has console server ports
	IsConsoleServer bool `json:"is_console_server,omitempty"`

	// Is full depth
	//
	// Device consumes both front and rear rack faces
	IsFullDepth bool `json:"is_full_depth,omitempty"`

	// Is a network device
	//
	// This type of device has network interfaces
	IsNetworkDevice bool `json:"is_network_device,omitempty"`

	// Is a PDU
	//
	// This type of device has power outlets
	IsPdu bool `json:"is_pdu,omitempty"`

	// manufacturer
	// Required: true
	Manufacturer *NestedManufacturer `json:"manufacturer"`

	// Model
	// Required: true
	// Max Length: 50
	Model *string `json:"model"`

	// Part number
	//
	// Discrete part number (optional)
	// Max Length: 50
	PartNumber string `json:"part_number,omitempty"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`

	// subdevice role
	// Required: true
	SubdeviceRole *DeviceTypeSubdeviceRole `json:"subdevice_role"`

	// Height (U)
	// Maximum: 32767
	// Minimum: 0
	UHeight *int64 `json:"u_height,omitempty"`
}

DeviceType device type swagger:model DeviceType

func (*DeviceType) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DeviceType) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DeviceType) Validate ¶

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

Validate validates this device type

type DeviceTypeInterfaceOrdering ¶

type DeviceTypeInterfaceOrdering struct {

	// label
	// Required: true
	Label *string `json:"label"`

	// value
	// Required: true
	Value *int64 `json:"value"`
}

DeviceTypeInterfaceOrdering Interface ordering swagger:model deviceTypeInterfaceOrdering

func (*DeviceTypeInterfaceOrdering) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DeviceTypeInterfaceOrdering) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DeviceTypeInterfaceOrdering) Validate ¶

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

Validate validates this device type interface ordering

type DeviceTypeSubdeviceRole ¶

type DeviceTypeSubdeviceRole struct {

	// label
	// Required: true
	Label *string `json:"label"`

	// value
	// Required: true
	Value *bool `json:"value"`
}

DeviceTypeSubdeviceRole Subdevice role swagger:model deviceTypeSubdeviceRole

func (*DeviceTypeSubdeviceRole) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DeviceTypeSubdeviceRole) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DeviceTypeSubdeviceRole) Validate ¶

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

Validate validates this device type subdevice role

type DeviceVirtualChassis ¶

type DeviceVirtualChassis struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// master
	// Required: true
	Master *NestedDevice `json:"master"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

DeviceVirtualChassis Virtual chassis swagger:model DeviceVirtualChassis

func (*DeviceVirtualChassis) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DeviceVirtualChassis) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DeviceVirtualChassis) Validate ¶

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

Validate validates this device virtual chassis

type ExportTemplate ¶

type ExportTemplate struct {

	// Content type
	// Required: true
	ContentType *int64 `json:"content_type"`

	// Description
	// Max Length: 200
	Description string `json:"description,omitempty"`

	// File extension
	// Max Length: 15
	FileExtension string `json:"file_extension,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Mime type
	// Max Length: 15
	MimeType string `json:"mime_type,omitempty"`

	// Name
	// Required: true
	// Max Length: 100
	Name *string `json:"name"`

	// Template code
	// Required: true
	TemplateCode *string `json:"template_code"`
}

ExportTemplate export template swagger:model ExportTemplate

func (*ExportTemplate) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ExportTemplate) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ExportTemplate) Validate ¶

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

Validate validates this export template

type ExtrasExportTemplatesListOKBody ¶

type ExtrasExportTemplatesListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results ExtrasExportTemplatesListOKBodyResults `json:"results"`
}

ExtrasExportTemplatesListOKBody extras export templates list o k body swagger:model extrasExportTemplatesListOKBody

func (*ExtrasExportTemplatesListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ExtrasExportTemplatesListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ExtrasExportTemplatesListOKBody) Validate ¶

Validate validates this extras export templates list o k body

type ExtrasExportTemplatesListOKBodyResults ¶

type ExtrasExportTemplatesListOKBodyResults []*ExportTemplate

ExtrasExportTemplatesListOKBodyResults extras export templates list o k body results swagger:model extrasExportTemplatesListOKBodyResults

func (ExtrasExportTemplatesListOKBodyResults) Validate ¶

Validate validates this extras export templates list o k body results

type ExtrasGraphsListOKBody ¶

type ExtrasGraphsListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results ExtrasGraphsListOKBodyResults `json:"results"`
}

ExtrasGraphsListOKBody extras graphs list o k body swagger:model extrasGraphsListOKBody

func (*ExtrasGraphsListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ExtrasGraphsListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ExtrasGraphsListOKBody) Validate ¶

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

Validate validates this extras graphs list o k body

type ExtrasGraphsListOKBodyResults ¶

type ExtrasGraphsListOKBodyResults []*Graph

ExtrasGraphsListOKBodyResults extras graphs list o k body results swagger:model extrasGraphsListOKBodyResults

func (ExtrasGraphsListOKBodyResults) Validate ¶

func (m ExtrasGraphsListOKBodyResults) Validate(formats strfmt.Registry) error

Validate validates this extras graphs list o k body results

type ExtrasImageAttachmentsListOKBody ¶

type ExtrasImageAttachmentsListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results ExtrasImageAttachmentsListOKBodyResults `json:"results"`
}

ExtrasImageAttachmentsListOKBody extras image attachments list o k body swagger:model extrasImageAttachmentsListOKBody

func (*ExtrasImageAttachmentsListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ExtrasImageAttachmentsListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ExtrasImageAttachmentsListOKBody) Validate ¶

Validate validates this extras image attachments list o k body

type ExtrasImageAttachmentsListOKBodyResults ¶

type ExtrasImageAttachmentsListOKBodyResults []*ImageAttachment

ExtrasImageAttachmentsListOKBodyResults extras image attachments list o k body results swagger:model extrasImageAttachmentsListOKBodyResults

func (ExtrasImageAttachmentsListOKBodyResults) Validate ¶

Validate validates this extras image attachments list o k body results

type ExtrasRecentActivityListOKBody ¶

type ExtrasRecentActivityListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results ExtrasRecentActivityListOKBodyResults `json:"results"`
}

ExtrasRecentActivityListOKBody extras recent activity list o k body swagger:model extrasRecentActivityListOKBody

func (*ExtrasRecentActivityListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ExtrasRecentActivityListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ExtrasRecentActivityListOKBody) Validate ¶

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

Validate validates this extras recent activity list o k body

type ExtrasRecentActivityListOKBodyResults ¶

type ExtrasRecentActivityListOKBodyResults []*UserAction

ExtrasRecentActivityListOKBodyResults extras recent activity list o k body results swagger:model extrasRecentActivityListOKBodyResults

func (ExtrasRecentActivityListOKBodyResults) Validate ¶

Validate validates this extras recent activity list o k body results

type ExtrasTopologyMapsListOKBody ¶

type ExtrasTopologyMapsListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results ExtrasTopologyMapsListOKBodyResults `json:"results"`
}

ExtrasTopologyMapsListOKBody extras topology maps list o k body swagger:model extrasTopologyMapsListOKBody

func (*ExtrasTopologyMapsListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ExtrasTopologyMapsListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ExtrasTopologyMapsListOKBody) Validate ¶

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

Validate validates this extras topology maps list o k body

type ExtrasTopologyMapsListOKBodyResults ¶

type ExtrasTopologyMapsListOKBodyResults []*TopologyMap

ExtrasTopologyMapsListOKBodyResults extras topology maps list o k body results swagger:model extrasTopologyMapsListOKBodyResults

func (ExtrasTopologyMapsListOKBodyResults) Validate ¶

Validate validates this extras topology maps list o k body results

type Graph ¶

type Graph struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Link URL
	// Max Length: 200
	Link strfmt.URI `json:"link,omitempty"`

	// Name
	// Required: true
	// Max Length: 100
	Name *string `json:"name"`

	// Source URL
	// Required: true
	// Max Length: 500
	Source *string `json:"source"`

	// type
	// Required: true
	Type *GraphType `json:"type"`

	// Weight
	// Maximum: 32767
	// Minimum: 0
	Weight *int64 `json:"weight,omitempty"`
}

Graph graph swagger:model Graph

func (*Graph) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Graph) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Graph) Validate ¶

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

Validate validates this graph

type GraphType ¶

type GraphType struct {

	// label
	// Required: true
	Label *string `json:"label"`

	// value
	// Required: true
	Value *int64 `json:"value"`
}

GraphType Type swagger:model graphType

func (*GraphType) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*GraphType) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*GraphType) Validate ¶

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

Validate validates this graph type

type IPAMAggregatesListOKBody ¶

type IPAMAggregatesListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results IPAMAggregatesListOKBodyResults `json:"results"`
}

IPAMAggregatesListOKBody ipam aggregates list o k body swagger:model ipamAggregatesListOKBody

func (*IPAMAggregatesListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IPAMAggregatesListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IPAMAggregatesListOKBody) Validate ¶

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

Validate validates this ipam aggregates list o k body

type IPAMAggregatesListOKBodyResults ¶

type IPAMAggregatesListOKBodyResults []*Aggregate

IPAMAggregatesListOKBodyResults ipam aggregates list o k body results swagger:model ipamAggregatesListOKBodyResults

func (IPAMAggregatesListOKBodyResults) Validate ¶

Validate validates this ipam aggregates list o k body results

type IPAMIPAddressesListOKBody ¶

type IPAMIPAddressesListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results IPAMIPAddressesListOKBodyResults `json:"results"`
}

IPAMIPAddressesListOKBody ipam Ip addresses list o k body swagger:model ipamIpAddressesListOKBody

func (*IPAMIPAddressesListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IPAMIPAddressesListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IPAMIPAddressesListOKBody) Validate ¶

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

Validate validates this ipam Ip addresses list o k body

type IPAMIPAddressesListOKBodyResults ¶

type IPAMIPAddressesListOKBodyResults []*IPAddress

IPAMIPAddressesListOKBodyResults ipam Ip addresses list o k body results swagger:model ipamIpAddressesListOKBodyResults

func (IPAMIPAddressesListOKBodyResults) Validate ¶

Validate validates this ipam Ip addresses list o k body results

type IPAMPrefixesListOKBody ¶

type IPAMPrefixesListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results IPAMPrefixesListOKBodyResults `json:"results"`
}

IPAMPrefixesListOKBody ipam prefixes list o k body swagger:model ipamPrefixesListOKBody

func (*IPAMPrefixesListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IPAMPrefixesListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IPAMPrefixesListOKBody) Validate ¶

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

Validate validates this ipam prefixes list o k body

type IPAMPrefixesListOKBodyResults ¶

type IPAMPrefixesListOKBodyResults []*Prefix

IPAMPrefixesListOKBodyResults ipam prefixes list o k body results swagger:model ipamPrefixesListOKBodyResults

func (IPAMPrefixesListOKBodyResults) Validate ¶

func (m IPAMPrefixesListOKBodyResults) Validate(formats strfmt.Registry) error

Validate validates this ipam prefixes list o k body results

type IPAMRirsListOKBody ¶

type IPAMRirsListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results IPAMRirsListOKBodyResults `json:"results"`
}

IPAMRirsListOKBody ipam rirs list o k body swagger:model ipamRirsListOKBody

func (*IPAMRirsListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IPAMRirsListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IPAMRirsListOKBody) Validate ¶

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

Validate validates this ipam rirs list o k body

type IPAMRirsListOKBodyResults ¶

type IPAMRirsListOKBodyResults []*RIR

IPAMRirsListOKBodyResults ipam rirs list o k body results swagger:model ipamRirsListOKBodyResults

func (IPAMRirsListOKBodyResults) Validate ¶

func (m IPAMRirsListOKBodyResults) Validate(formats strfmt.Registry) error

Validate validates this ipam rirs list o k body results

type IPAMRolesListOKBody ¶

type IPAMRolesListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results IPAMRolesListOKBodyResults `json:"results"`
}

IPAMRolesListOKBody ipam roles list o k body swagger:model ipamRolesListOKBody

func (*IPAMRolesListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IPAMRolesListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IPAMRolesListOKBody) Validate ¶

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

Validate validates this ipam roles list o k body

type IPAMRolesListOKBodyResults ¶

type IPAMRolesListOKBodyResults []*Role

IPAMRolesListOKBodyResults ipam roles list o k body results swagger:model ipamRolesListOKBodyResults

func (IPAMRolesListOKBodyResults) Validate ¶

func (m IPAMRolesListOKBodyResults) Validate(formats strfmt.Registry) error

Validate validates this ipam roles list o k body results

type IPAMServicesListOKBody ¶

type IPAMServicesListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results IPAMServicesListOKBodyResults `json:"results"`
}

IPAMServicesListOKBody ipam services list o k body swagger:model ipamServicesListOKBody

func (*IPAMServicesListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IPAMServicesListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IPAMServicesListOKBody) Validate ¶

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

Validate validates this ipam services list o k body

type IPAMServicesListOKBodyResults ¶

type IPAMServicesListOKBodyResults []*Service

IPAMServicesListOKBodyResults ipam services list o k body results swagger:model ipamServicesListOKBodyResults

func (IPAMServicesListOKBodyResults) Validate ¶

func (m IPAMServicesListOKBodyResults) Validate(formats strfmt.Registry) error

Validate validates this ipam services list o k body results

type IPAMVlanGroupsListOKBody ¶

type IPAMVlanGroupsListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results IPAMVlanGroupsListOKBodyResults `json:"results"`
}

IPAMVlanGroupsListOKBody ipam vlan groups list o k body swagger:model ipamVlanGroupsListOKBody

func (*IPAMVlanGroupsListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IPAMVlanGroupsListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IPAMVlanGroupsListOKBody) Validate ¶

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

Validate validates this ipam vlan groups list o k body

type IPAMVlanGroupsListOKBodyResults ¶

type IPAMVlanGroupsListOKBodyResults []*VLANGroup

IPAMVlanGroupsListOKBodyResults ipam vlan groups list o k body results swagger:model ipamVlanGroupsListOKBodyResults

func (IPAMVlanGroupsListOKBodyResults) Validate ¶

Validate validates this ipam vlan groups list o k body results

type IPAMVlansListOKBody ¶

type IPAMVlansListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results IPAMVlansListOKBodyResults `json:"results"`
}

IPAMVlansListOKBody ipam vlans list o k body swagger:model ipamVlansListOKBody

func (*IPAMVlansListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IPAMVlansListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IPAMVlansListOKBody) Validate ¶

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

Validate validates this ipam vlans list o k body

type IPAMVlansListOKBodyResults ¶

type IPAMVlansListOKBodyResults []*VLAN

IPAMVlansListOKBodyResults ipam vlans list o k body results swagger:model ipamVlansListOKBodyResults

func (IPAMVlansListOKBodyResults) Validate ¶

func (m IPAMVlansListOKBodyResults) Validate(formats strfmt.Registry) error

Validate validates this ipam vlans list o k body results

type IPAMVrfsListOKBody ¶

type IPAMVrfsListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results IPAMVrfsListOKBodyResults `json:"results"`
}

IPAMVrfsListOKBody ipam vrfs list o k body swagger:model ipamVrfsListOKBody

func (*IPAMVrfsListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IPAMVrfsListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IPAMVrfsListOKBody) Validate ¶

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

Validate validates this ipam vrfs list o k body

type IPAMVrfsListOKBodyResults ¶

type IPAMVrfsListOKBodyResults []*VRF

IPAMVrfsListOKBodyResults ipam vrfs list o k body results swagger:model ipamVrfsListOKBodyResults

func (IPAMVrfsListOKBodyResults) Validate ¶

func (m IPAMVrfsListOKBodyResults) Validate(formats strfmt.Registry) error

Validate validates this ipam vrfs list o k body results

type IPAddress ¶

type IPAddress struct {

	// Address
	//
	// IPv4 or IPv6 address (with mask)
	// Required: true
	Address *string `json:"address"`

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Custom fields
	CustomFields interface{} `json:"custom_fields,omitempty"`

	// Description
	// Max Length: 100
	Description string `json:"description,omitempty"`

	// Family
	// Read Only: true
	Family int64 `json:"family,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// interface
	// Required: true
	Interface *IPAddressInterface `json:"interface"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// nat inside
	// Required: true
	NatInside *NestedIPAddress `json:"nat_inside"`

	// nat outside
	// Required: true
	NatOutside *NestedIPAddress `json:"nat_outside"`

	// role
	// Required: true
	Role *IPAddressRole `json:"role"`

	// status
	// Required: true
	Status *IPAddressStatus `json:"status"`

	// tenant
	// Required: true
	Tenant *NestedTenant `json:"tenant"`

	// vrf
	// Required: true
	Vrf *NestedVRF `json:"vrf"`
}

IPAddress IP address swagger:model IPAddress

func (*IPAddress) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IPAddress) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IPAddress) Validate ¶

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

Validate validates this IP address

type IPAddressInterface ¶

type IPAddressInterface struct {

	// device
	// Required: true
	Device *NestedDevice `json:"device"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 64
	Name *string `json:"name"`

	// Url
	// Read Only: true
	URL string `json:"url,omitempty"`

	// virtual machine
	// Required: true
	VirtualMachine *NestedVirtualMachine `json:"virtual_machine"`
}

IPAddressInterface Interface swagger:model IPAddressInterface

func (*IPAddressInterface) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IPAddressInterface) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IPAddressInterface) Validate ¶

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

Validate validates this IP address interface

type IPAddressRole ¶

type IPAddressRole struct {

	// label
	// Required: true
	Label *string `json:"label"`

	// value
	// Required: true
	Value *int64 `json:"value"`
}

IPAddressRole Role swagger:model ipAddressRole

func (*IPAddressRole) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IPAddressRole) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IPAddressRole) Validate ¶

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

Validate validates this ip address role

type IPAddressStatus ¶

type IPAddressStatus struct {

	// label
	// Required: true
	Label *string `json:"label"`

	// value
	// Required: true
	Value *int64 `json:"value"`
}

IPAddressStatus Status swagger:model ipAddressStatus

func (*IPAddressStatus) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IPAddressStatus) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IPAddressStatus) Validate ¶

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

Validate validates this ip address status

type ImageAttachment ¶

type ImageAttachment struct {

	// Created
	// Read Only: true
	Created strfmt.DateTime `json:"created,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Image
	// Required: true
	// Read Only: true
	Image strfmt.URI `json:"image"`

	// Image height
	// Required: true
	// Maximum: 32767
	// Minimum: 0
	ImageHeight *int64 `json:"image_height"`

	// Image width
	// Required: true
	// Maximum: 32767
	// Minimum: 0
	ImageWidth *int64 `json:"image_width"`

	// Name
	// Max Length: 50
	Name string `json:"name,omitempty"`

	// Parent
	// Read Only: true
	Parent string `json:"parent,omitempty"`
}

ImageAttachment image attachment swagger:model ImageAttachment

func (*ImageAttachment) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ImageAttachment) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ImageAttachment) Validate ¶

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

Validate validates this image attachment

type Interface ¶

type Interface struct {

	// circuit termination
	// Required: true
	CircuitTermination *InterfaceCircuitTermination `json:"circuit_termination"`

	// Description
	// Max Length: 100
	Description string `json:"description,omitempty"`

	// device
	// Required: true
	Device *NestedDevice `json:"device"`

	// Enabled
	Enabled bool `json:"enabled,omitempty"`

	// form factor
	// Required: true
	FormFactor *InterfaceFormFactor `json:"form_factor"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Interface connection
	// Read Only: true
	InterfaceConnection string `json:"interface_connection,omitempty"`

	// Is connected
	// Read Only: true
	IsConnected string `json:"is_connected,omitempty"`

	// lag
	// Required: true
	Lag *NestedInterface `json:"lag"`

	// MAC Address
	MacAddress string `json:"mac_address,omitempty"`

	// OOB Management
	//
	// This interface is used only for out-of-band management
	MgmtOnly bool `json:"mgmt_only,omitempty"`

	// mode
	// Required: true
	Mode *InterfaceMode `json:"mode"`

	// MTU
	// Maximum: 32767
	// Minimum: 0
	Mtu *int64 `json:"mtu,omitempty"`

	// Name
	// Required: true
	// Max Length: 64
	Name *string `json:"name"`

	// tagged vlans
	// Required: true
	TaggedVlans InterfaceTaggedVlans `json:"tagged_vlans"`

	// untagged vlan
	// Required: true
	UntaggedVlan *InterfaceVLAN `json:"untagged_vlan"`
}

Interface Interface swagger:model Interface

func (*Interface) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Interface) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Interface) Validate ¶

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

Validate validates this interface

type InterfaceCircuitTermination ¶

type InterfaceCircuitTermination struct {

	// circuit
	// Required: true
	Circuit *InterfaceNestedCircuit `json:"circuit"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Port speed (Kbps)
	// Required: true
	// Maximum: 2.147483647e+09
	// Minimum: 0
	PortSpeed *int64 `json:"port_speed"`

	// Patch panel/port(s)
	// Max Length: 100
	PpInfo string `json:"pp_info,omitempty"`

	// Termination
	// Required: true
	TermSide *string `json:"term_side"`

	// Upstream speed (Kbps)
	//
	// Upstream speed, if different from port speed
	// Maximum: 2.147483647e+09
	// Minimum: 0
	UpstreamSpeed *int64 `json:"upstream_speed,omitempty"`

	// Cross-connect ID
	// Max Length: 50
	XconnectID string `json:"xconnect_id,omitempty"`
}

InterfaceCircuitTermination Circuit termination swagger:model InterfaceCircuitTermination

func (*InterfaceCircuitTermination) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*InterfaceCircuitTermination) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*InterfaceCircuitTermination) Validate ¶

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

Validate validates this interface circuit termination

type InterfaceConnection ¶

type InterfaceConnection struct {

	// connection status
	// Required: true
	ConnectionStatus *InterfaceConnectionConnectionStatus `json:"connection_status"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// interface a
	// Required: true
	InterfaceA *PeerInterface `json:"interface_a"`

	// interface b
	// Required: true
	InterfaceB *PeerInterface `json:"interface_b"`
}

InterfaceConnection interface connection swagger:model InterfaceConnection

func (*InterfaceConnection) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*InterfaceConnection) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*InterfaceConnection) Validate ¶

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

Validate validates this interface connection

type InterfaceConnectionConnectionStatus ¶

type InterfaceConnectionConnectionStatus struct {

	// label
	// Required: true
	Label *string `json:"label"`

	// value
	// Required: true
	Value *bool `json:"value"`
}

InterfaceConnectionConnectionStatus Connection status swagger:model interfaceConnectionConnectionStatus

func (*InterfaceConnectionConnectionStatus) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*InterfaceConnectionConnectionStatus) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*InterfaceConnectionConnectionStatus) Validate ¶

Validate validates this interface connection connection status

type InterfaceFormFactor ¶

type InterfaceFormFactor struct {

	// label
	// Required: true
	Label *string `json:"label"`

	// value
	// Required: true
	Value *int64 `json:"value"`
}

InterfaceFormFactor Form factor swagger:model interfaceFormFactor

func (*InterfaceFormFactor) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*InterfaceFormFactor) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*InterfaceFormFactor) Validate ¶

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

Validate validates this interface form factor

type InterfaceMode ¶

type InterfaceMode struct {

	// label
	// Required: true
	Label *string `json:"label"`

	// value
	// Required: true
	Value *int64 `json:"value"`
}

InterfaceMode Mode swagger:model interfaceMode

func (*InterfaceMode) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*InterfaceMode) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*InterfaceMode) Validate ¶

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

Validate validates this interface mode

type InterfaceNestedCircuit ¶

type InterfaceNestedCircuit struct {

	// Circuit ID
	// Required: true
	// Max Length: 50
	Cid *string `json:"cid"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

InterfaceNestedCircuit Circuit swagger:model InterfaceNestedCircuit

func (*InterfaceNestedCircuit) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*InterfaceNestedCircuit) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*InterfaceNestedCircuit) Validate ¶

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

Validate validates this interface nested circuit

type InterfaceTaggedVlans ¶

type InterfaceTaggedVlans []*InterfaceVLAN

InterfaceTaggedVlans interface tagged vlans swagger:model interfaceTaggedVlans

func (InterfaceTaggedVlans) Validate ¶

func (m InterfaceTaggedVlans) Validate(formats strfmt.Registry) error

Validate validates this interface tagged vlans

type InterfaceTemplate ¶

type InterfaceTemplate struct {

	// device type
	// Required: true
	DeviceType *NestedDeviceType `json:"device_type"`

	// form factor
	// Required: true
	FormFactor *InterfaceTemplateFormFactor `json:"form_factor"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Management only
	MgmtOnly bool `json:"mgmt_only,omitempty"`

	// Name
	// Required: true
	// Max Length: 64
	Name *string `json:"name"`
}

InterfaceTemplate interface template swagger:model InterfaceTemplate

func (*InterfaceTemplate) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*InterfaceTemplate) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*InterfaceTemplate) Validate ¶

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

Validate validates this interface template

type InterfaceTemplateFormFactor ¶

type InterfaceTemplateFormFactor struct {

	// label
	// Required: true
	Label *string `json:"label"`

	// value
	// Required: true
	Value *int64 `json:"value"`
}

InterfaceTemplateFormFactor Form factor swagger:model interfaceTemplateFormFactor

func (*InterfaceTemplateFormFactor) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*InterfaceTemplateFormFactor) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*InterfaceTemplateFormFactor) Validate ¶

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

Validate validates this interface template form factor

type InterfaceVLAN ¶

type InterfaceVLAN struct {

	// Display name
	// Read Only: true
	DisplayName string `json:"display_name,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 64
	Name *string `json:"name"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`

	// ID
	// Required: true
	// Maximum: 4094
	// Minimum: 1
	Vid *int64 `json:"vid"`
}

InterfaceVLAN Untagged vlan swagger:model InterfaceVLAN

func (*InterfaceVLAN) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*InterfaceVLAN) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*InterfaceVLAN) Validate ¶

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

Validate validates this interface v l a n

type InventoryItem ¶

type InventoryItem struct {

	// Asset tag
	//
	// A unique tag used to identify this item
	// Max Length: 50
	AssetTag string `json:"asset_tag,omitempty"`

	// Description
	// Max Length: 100
	Description string `json:"description,omitempty"`

	// device
	// Required: true
	Device *NestedDevice `json:"device"`

	// Discovered
	Discovered bool `json:"discovered,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// manufacturer
	// Required: true
	Manufacturer *NestedManufacturer `json:"manufacturer"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Parent
	// Required: true
	Parent *int64 `json:"parent"`

	// Part ID
	// Max Length: 50
	PartID string `json:"part_id,omitempty"`

	// Serial number
	// Max Length: 50
	Serial string `json:"serial,omitempty"`
}

InventoryItem inventory item swagger:model InventoryItem

func (*InventoryItem) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*InventoryItem) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*InventoryItem) Validate ¶

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

Validate validates this inventory item

type Manufacturer ¶

type Manufacturer struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`
}

Manufacturer manufacturer swagger:model Manufacturer

func (*Manufacturer) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Manufacturer) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Manufacturer) Validate ¶

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

Validate validates this manufacturer

type NestedCircuit ¶

type NestedCircuit struct {

	// Circuit ID
	// Required: true
	// Max Length: 50
	Cid *string `json:"cid"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

NestedCircuit Circuit swagger:model NestedCircuit

func (*NestedCircuit) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*NestedCircuit) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*NestedCircuit) Validate ¶

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

Validate validates this nested circuit

type NestedCircuitType ¶

type NestedCircuitType struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

NestedCircuitType Type swagger:model NestedCircuitType

func (*NestedCircuitType) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*NestedCircuitType) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*NestedCircuitType) Validate ¶

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

Validate validates this nested circuit type

type NestedCluster ¶

type NestedCluster struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 100
	Name *string `json:"name"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

NestedCluster Cluster swagger:model NestedCluster

func (*NestedCluster) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*NestedCluster) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*NestedCluster) Validate ¶

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

Validate validates this nested cluster

type NestedClusterGroup ¶

type NestedClusterGroup struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

NestedClusterGroup Group swagger:model NestedClusterGroup

func (*NestedClusterGroup) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*NestedClusterGroup) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*NestedClusterGroup) Validate ¶

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

Validate validates this nested cluster group

type NestedClusterType ¶

type NestedClusterType struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

NestedClusterType Type swagger:model NestedClusterType

func (*NestedClusterType) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*NestedClusterType) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*NestedClusterType) Validate ¶

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

Validate validates this nested cluster type

type NestedDevice ¶

type NestedDevice struct {

	// Display name
	// Read Only: true
	DisplayName string `json:"display_name,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Max Length: 64
	Name string `json:"name,omitempty"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

NestedDevice Device swagger:model NestedDevice

func (*NestedDevice) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*NestedDevice) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*NestedDevice) Validate ¶

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

Validate validates this nested device

type NestedDeviceRole ¶

type NestedDeviceRole struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

NestedDeviceRole Device role swagger:model NestedDeviceRole

func (*NestedDeviceRole) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*NestedDeviceRole) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*NestedDeviceRole) Validate ¶

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

Validate validates this nested device role

type NestedDeviceType ¶

type NestedDeviceType struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// manufacturer
	// Required: true
	Manufacturer *NestedManufacturer `json:"manufacturer"`

	// Model
	// Required: true
	// Max Length: 50
	Model *string `json:"model"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

NestedDeviceType Device type swagger:model NestedDeviceType

func (*NestedDeviceType) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*NestedDeviceType) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*NestedDeviceType) Validate ¶

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

Validate validates this nested device type

type NestedIPAddress ¶

type NestedIPAddress struct {

	// Address
	//
	// IPv4 or IPv6 address (with mask)
	// Required: true
	Address *string `json:"address"`

	// Family
	// Read Only: true
	Family int64 `json:"family,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

NestedIPAddress Nat inside swagger:model NestedIPAddress

func (*NestedIPAddress) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*NestedIPAddress) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*NestedIPAddress) Validate ¶

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

Validate validates this nested IP address

type NestedInterface ¶

type NestedInterface struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 64
	Name *string `json:"name"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

NestedInterface Lag swagger:model NestedInterface

func (*NestedInterface) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*NestedInterface) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*NestedInterface) Validate ¶

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

Validate validates this nested interface

type NestedManufacturer ¶

type NestedManufacturer struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

NestedManufacturer Manufacturer swagger:model NestedManufacturer

func (*NestedManufacturer) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*NestedManufacturer) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*NestedManufacturer) Validate ¶

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

Validate validates this nested manufacturer

type NestedPlatform ¶

type NestedPlatform struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

NestedPlatform Platform swagger:model NestedPlatform

func (*NestedPlatform) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*NestedPlatform) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*NestedPlatform) Validate ¶

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

Validate validates this nested platform

type NestedProvider ¶

type NestedProvider struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

NestedProvider Provider swagger:model NestedProvider

func (*NestedProvider) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*NestedProvider) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*NestedProvider) Validate ¶

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

Validate validates this nested provider

type NestedRIR ¶

type NestedRIR struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

NestedRIR Rir swagger:model NestedRIR

func (*NestedRIR) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*NestedRIR) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*NestedRIR) Validate ¶

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

Validate validates this nested r i r

type NestedRack ¶

type NestedRack struct {

	// Display name
	// Read Only: true
	DisplayName string `json:"display_name,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

NestedRack Rack swagger:model NestedRack

func (*NestedRack) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*NestedRack) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*NestedRack) Validate ¶

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

Validate validates this nested rack

type NestedRackGroup ¶

type NestedRackGroup struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

NestedRackGroup Group swagger:model NestedRackGroup

func (*NestedRackGroup) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*NestedRackGroup) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*NestedRackGroup) Validate ¶

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

Validate validates this nested rack group

type NestedRackRole ¶

type NestedRackRole struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

NestedRackRole Role swagger:model NestedRackRole

func (*NestedRackRole) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*NestedRackRole) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*NestedRackRole) Validate ¶

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

Validate validates this nested rack role

type NestedRegion ¶

type NestedRegion struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

NestedRegion Parent swagger:model NestedRegion

func (*NestedRegion) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*NestedRegion) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*NestedRegion) Validate ¶

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

Validate validates this nested region

type NestedRole ¶

type NestedRole struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

NestedRole Role swagger:model NestedRole

func (*NestedRole) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*NestedRole) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*NestedRole) Validate ¶

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

Validate validates this nested role

type NestedSecretRole ¶

type NestedSecretRole struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

NestedSecretRole Role swagger:model NestedSecretRole

func (*NestedSecretRole) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*NestedSecretRole) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*NestedSecretRole) Validate ¶

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

Validate validates this nested secret role

type NestedSite ¶

type NestedSite struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

NestedSite Site swagger:model NestedSite

func (*NestedSite) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*NestedSite) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*NestedSite) Validate ¶

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

Validate validates this nested site

type NestedTenant ¶

type NestedTenant struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 30
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

NestedTenant Tenant swagger:model NestedTenant

func (*NestedTenant) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*NestedTenant) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*NestedTenant) Validate ¶

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

Validate validates this nested tenant

type NestedTenantGroup ¶

type NestedTenantGroup struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

NestedTenantGroup Group swagger:model NestedTenantGroup

func (*NestedTenantGroup) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*NestedTenantGroup) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*NestedTenantGroup) Validate ¶

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

Validate validates this nested tenant group

type NestedUser ¶

type NestedUser struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Username
	//
	// Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
	// Required: true
	// Max Length: 150
	// Pattern: ^[\w.@+-]+$
	Username *string `json:"username"`
}

NestedUser User swagger:model NestedUser

func (*NestedUser) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*NestedUser) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*NestedUser) Validate ¶

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

Validate validates this nested user

type NestedVLAN ¶

type NestedVLAN struct {

	// Display name
	// Read Only: true
	DisplayName string `json:"display_name,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 64
	Name *string `json:"name"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`

	// ID
	// Required: true
	// Maximum: 4094
	// Minimum: 1
	Vid *int64 `json:"vid"`
}

NestedVLAN Vlan swagger:model NestedVLAN

func (*NestedVLAN) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*NestedVLAN) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*NestedVLAN) Validate ¶

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

Validate validates this nested v l a n

type NestedVLANGroup ¶

type NestedVLANGroup struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

NestedVLANGroup Group swagger:model NestedVLANGroup

func (*NestedVLANGroup) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*NestedVLANGroup) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*NestedVLANGroup) Validate ¶

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

Validate validates this nested v l a n group

type NestedVRF ¶

type NestedVRF struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Route distinguisher
	// Required: true
	// Max Length: 21
	Rd *string `json:"rd"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

NestedVRF Vrf swagger:model NestedVRF

func (*NestedVRF) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*NestedVRF) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*NestedVRF) Validate ¶

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

Validate validates this nested v r f

type NestedVirtualMachine ¶

type NestedVirtualMachine struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 64
	Name *string `json:"name"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

NestedVirtualMachine Virtual machine swagger:model NestedVirtualMachine

func (*NestedVirtualMachine) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*NestedVirtualMachine) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*NestedVirtualMachine) Validate ¶

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

Validate validates this nested virtual machine

type PeerInterface ¶

type PeerInterface struct {

	// Description
	// Max Length: 100
	Description string `json:"description,omitempty"`

	// device
	// Required: true
	Device *NestedDevice `json:"device"`

	// Enabled
	Enabled bool `json:"enabled,omitempty"`

	// form factor
	// Required: true
	FormFactor *PeerInterfaceFormFactor `json:"form_factor"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// lag
	// Required: true
	Lag *NestedInterface `json:"lag"`

	// MAC Address
	MacAddress string `json:"mac_address,omitempty"`

	// OOB Management
	//
	// This interface is used only for out-of-band management
	MgmtOnly bool `json:"mgmt_only,omitempty"`

	// MTU
	// Maximum: 32767
	// Minimum: 0
	Mtu *int64 `json:"mtu,omitempty"`

	// Name
	// Required: true
	// Max Length: 64
	Name *string `json:"name"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

PeerInterface Interface a swagger:model PeerInterface

func (*PeerInterface) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*PeerInterface) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*PeerInterface) Validate ¶

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

Validate validates this peer interface

type PeerInterfaceFormFactor ¶

type PeerInterfaceFormFactor struct {

	// label
	// Required: true
	Label *string `json:"label"`

	// value
	// Required: true
	Value *int64 `json:"value"`
}

PeerInterfaceFormFactor Form factor swagger:model peerInterfaceFormFactor

func (*PeerInterfaceFormFactor) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*PeerInterfaceFormFactor) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*PeerInterfaceFormFactor) Validate ¶

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

Validate validates this peer interface form factor

type Platform ¶

type Platform struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// manufacturer
	// Required: true
	Manufacturer *NestedManufacturer `json:"manufacturer"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// NAPALM driver
	//
	// The name of the NAPALM driver to use when interacting with devices
	// Max Length: 50
	NapalmDriver string `json:"napalm_driver,omitempty"`

	// Legacy RPC client
	RPCClient string `json:"rpc_client,omitempty"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`
}

Platform platform swagger:model Platform

func (*Platform) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Platform) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Platform) Validate ¶

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

Validate validates this platform

type PowerOutlet ¶

type PowerOutlet struct {

	// Connected port
	// Read Only: true
	ConnectedPort string `json:"connected_port,omitempty"`

	// device
	// Required: true
	Device *NestedDevice `json:"device"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`
}

PowerOutlet Power outlet swagger:model PowerOutlet

func (*PowerOutlet) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*PowerOutlet) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*PowerOutlet) Validate ¶

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

Validate validates this power outlet

type PowerOutletTemplate ¶

type PowerOutletTemplate struct {

	// device type
	// Required: true
	DeviceType *NestedDeviceType `json:"device_type"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`
}

PowerOutletTemplate power outlet template swagger:model PowerOutletTemplate

func (*PowerOutletTemplate) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*PowerOutletTemplate) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*PowerOutletTemplate) Validate ¶

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

Validate validates this power outlet template

type PowerPort ¶

type PowerPort struct {

	// Connection status
	ConnectionStatus bool `json:"connection_status,omitempty"`

	// device
	// Required: true
	Device *NestedDevice `json:"device"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// power outlet
	// Required: true
	PowerOutlet *PowerOutlet `json:"power_outlet"`
}

PowerPort power port swagger:model PowerPort

func (*PowerPort) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*PowerPort) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*PowerPort) Validate ¶

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

Validate validates this power port

type PowerPortTemplate ¶

type PowerPortTemplate struct {

	// device type
	// Required: true
	DeviceType *NestedDeviceType `json:"device_type"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`
}

PowerPortTemplate power port template swagger:model PowerPortTemplate

func (*PowerPortTemplate) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*PowerPortTemplate) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*PowerPortTemplate) Validate ¶

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

Validate validates this power port template

type Prefix ¶

type Prefix struct {

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Custom fields
	CustomFields interface{} `json:"custom_fields,omitempty"`

	// Description
	// Max Length: 100
	Description string `json:"description,omitempty"`

	// Family
	// Read Only: true
	Family int64 `json:"family,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Is a pool
	//
	// All IP addresses within this prefix are considered usable
	IsPool bool `json:"is_pool,omitempty"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// Prefix
	//
	// IPv4 or IPv6 network with mask
	// Required: true
	Prefix *string `json:"prefix"`

	// role
	// Required: true
	Role *NestedRole `json:"role"`

	// site
	// Required: true
	Site *NestedSite `json:"site"`

	// status
	// Required: true
	Status *PrefixStatus `json:"status"`

	// tenant
	// Required: true
	Tenant *NestedTenant `json:"tenant"`

	// vlan
	// Required: true
	Vlan *NestedVLAN `json:"vlan"`

	// vrf
	// Required: true
	Vrf *NestedVRF `json:"vrf"`
}

Prefix prefix swagger:model Prefix

func (*Prefix) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Prefix) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Prefix) Validate ¶

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

Validate validates this prefix

type PrefixStatus ¶

type PrefixStatus struct {

	// label
	// Required: true
	Label *string `json:"label"`

	// value
	// Required: true
	Value *int64 `json:"value"`
}

PrefixStatus Status swagger:model prefixStatus

func (*PrefixStatus) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*PrefixStatus) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*PrefixStatus) Validate ¶

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

Validate validates this prefix status

type Provider ¶

type Provider struct {

	// Account number
	// Max Length: 30
	Account string `json:"account,omitempty"`

	// Admin contact
	AdminContact string `json:"admin_contact,omitempty"`

	// ASN
	// Maximum: 4.294967295e+09
	// Minimum: 1
	Asn int64 `json:"asn,omitempty"`

	// Comments
	Comments string `json:"comments,omitempty"`

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Custom fields
	CustomFields interface{} `json:"custom_fields,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// NOC contact
	NocContact string `json:"noc_contact,omitempty"`

	// Portal
	// Max Length: 200
	PortalURL strfmt.URI `json:"portal_url,omitempty"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`
}

Provider provider swagger:model Provider

func (*Provider) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Provider) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Provider) Validate ¶

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

Validate validates this provider

type RIR ¶

type RIR struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Private
	//
	// IP space managed by this RIR is considered private
	IsPrivate bool `json:"is_private,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`
}

RIR r i r swagger:model RIR

func (*RIR) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RIR) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RIR) Validate ¶

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

Validate validates this r i r

type Rack ¶

type Rack struct {

	// Comments
	Comments string `json:"comments,omitempty"`

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Custom fields
	CustomFields interface{} `json:"custom_fields,omitempty"`

	// Descending units
	//
	// Units are numbered top-to-bottom
	DescUnits bool `json:"desc_units,omitempty"`

	// Display name
	// Read Only: true
	DisplayName string `json:"display_name,omitempty"`

	// Facility ID
	// Required: true
	// Max Length: 50
	FacilityID *string `json:"facility_id"`

	// group
	// Required: true
	Group *NestedRackGroup `json:"group"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// role
	// Required: true
	Role *NestedRackRole `json:"role"`

	// Serial number
	// Max Length: 50
	Serial string `json:"serial,omitempty"`

	// site
	// Required: true
	Site *NestedSite `json:"site"`

	// tenant
	// Required: true
	Tenant *NestedTenant `json:"tenant"`

	// type
	// Required: true
	Type *RackType `json:"type"`

	// Height (U)
	// Maximum: 100
	// Minimum: 1
	UHeight int64 `json:"u_height,omitempty"`

	// width
	// Required: true
	Width *RackWidth `json:"width"`
}

Rack rack swagger:model Rack

func (*Rack) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Rack) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Rack) Validate ¶

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

Validate validates this rack

type RackGroup ¶

type RackGroup struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// site
	// Required: true
	Site *NestedSite `json:"site"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`
}

RackGroup rack group swagger:model RackGroup

func (*RackGroup) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RackGroup) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RackGroup) Validate ¶

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

Validate validates this rack group

type RackReservation ¶

type RackReservation struct {

	// Created
	// Read Only: true
	Created strfmt.DateTime `json:"created,omitempty"`

	// Description
	// Required: true
	// Max Length: 100
	Description *string `json:"description"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// rack
	// Required: true
	Rack *NestedRack `json:"rack"`

	// tenant
	// Required: true
	Tenant *NestedTenant `json:"tenant"`

	// units
	// Required: true
	Units []*int64 `json:"units"`

	// user
	// Required: true
	User *NestedUser `json:"user"`
}

RackReservation rack reservation swagger:model RackReservation

func (*RackReservation) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RackReservation) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RackReservation) Validate ¶

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

Validate validates this rack reservation

type RackRole ¶

type RackRole struct {

	// Color
	// Required: true
	// Max Length: 6
	// Pattern: ^[0-9a-f]{6}$
	Color *string `json:"color"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`
}

RackRole rack role swagger:model RackRole

func (*RackRole) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RackRole) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RackRole) Validate ¶

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

Validate validates this rack role

type RackType ¶

type RackType struct {

	// label
	// Required: true
	Label *string `json:"label"`

	// value
	// Required: true
	Value *int64 `json:"value"`
}

RackType Type swagger:model rackType

func (*RackType) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RackType) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RackType) Validate ¶

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

Validate validates this rack type

type RackWidth ¶

type RackWidth struct {

	// label
	// Required: true
	Label *string `json:"label"`

	// value
	// Required: true
	Value *int64 `json:"value"`
}

RackWidth Width swagger:model rackWidth

func (*RackWidth) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RackWidth) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RackWidth) Validate ¶

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

Validate validates this rack width

type Region ¶

type Region struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// parent
	// Required: true
	Parent *NestedRegion `json:"parent"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`
}

Region region swagger:model Region

func (*Region) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Region) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Region) Validate ¶

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

Validate validates this region

type Role ¶

type Role struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`

	// Weight
	// Maximum: 32767
	// Minimum: 0
	Weight *int64 `json:"weight,omitempty"`
}

Role role swagger:model Role

func (*Role) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Role) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Role) Validate ¶

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

Validate validates this role

type Secret ¶

type Secret struct {

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// device
	// Required: true
	Device *NestedDevice `json:"device"`

	// Hash
	// Read Only: true
	Hash string `json:"hash,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// Name
	// Required: true
	// Max Length: 100
	Name *string `json:"name"`

	// Plaintext
	// Read Only: true
	Plaintext string `json:"plaintext,omitempty"`

	// role
	// Required: true
	Role *NestedSecretRole `json:"role"`
}

Secret secret swagger:model Secret

func (*Secret) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Secret) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Secret) Validate ¶

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

Validate validates this secret

type SecretRole ¶

type SecretRole struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`
}

SecretRole secret role swagger:model SecretRole

func (*SecretRole) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*SecretRole) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*SecretRole) Validate ¶

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

Validate validates this secret role

type SecretsSecretRolesListOKBody ¶

type SecretsSecretRolesListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results SecretsSecretRolesListOKBodyResults `json:"results"`
}

SecretsSecretRolesListOKBody secrets secret roles list o k body swagger:model secretsSecretRolesListOKBody

func (*SecretsSecretRolesListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*SecretsSecretRolesListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*SecretsSecretRolesListOKBody) Validate ¶

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

Validate validates this secrets secret roles list o k body

type SecretsSecretRolesListOKBodyResults ¶

type SecretsSecretRolesListOKBodyResults []*SecretRole

SecretsSecretRolesListOKBodyResults secrets secret roles list o k body results swagger:model secretsSecretRolesListOKBodyResults

func (SecretsSecretRolesListOKBodyResults) Validate ¶

Validate validates this secrets secret roles list o k body results

type SecretsSecretsListOKBody ¶

type SecretsSecretsListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results SecretsSecretsListOKBodyResults `json:"results"`
}

SecretsSecretsListOKBody secrets secrets list o k body swagger:model secretsSecretsListOKBody

func (*SecretsSecretsListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*SecretsSecretsListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*SecretsSecretsListOKBody) Validate ¶

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

Validate validates this secrets secrets list o k body

type SecretsSecretsListOKBodyResults ¶

type SecretsSecretsListOKBodyResults []*Secret

SecretsSecretsListOKBodyResults secrets secrets list o k body results swagger:model secretsSecretsListOKBodyResults

func (SecretsSecretsListOKBodyResults) Validate ¶

Validate validates this secrets secrets list o k body results

type Service ¶

type Service struct {

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Description
	// Max Length: 100
	Description string `json:"description,omitempty"`

	// device
	// Required: true
	Device *NestedDevice `json:"device"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// ipaddresses
	// Required: true
	Ipaddresses ServiceIpaddresses `json:"ipaddresses"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// Name
	// Required: true
	// Max Length: 30
	Name *string `json:"name"`

	// Port number
	// Required: true
	// Maximum: 65535
	// Minimum: 1
	Port *int64 `json:"port"`

	// protocol
	// Required: true
	Protocol *ServiceProtocol `json:"protocol"`

	// virtual machine
	// Required: true
	VirtualMachine *NestedVirtualMachine `json:"virtual_machine"`
}

Service service swagger:model Service

func (*Service) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Service) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Service) Validate ¶

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

Validate validates this service

type ServiceIpaddresses ¶

type ServiceIpaddresses []*NestedIPAddress

ServiceIpaddresses service ipaddresses swagger:model serviceIpaddresses

func (ServiceIpaddresses) Validate ¶

func (m ServiceIpaddresses) Validate(formats strfmt.Registry) error

Validate validates this service ipaddresses

type ServiceProtocol ¶

type ServiceProtocol struct {

	// label
	// Required: true
	Label *string `json:"label"`

	// value
	// Required: true
	Value *int64 `json:"value"`
}

ServiceProtocol Protocol swagger:model serviceProtocol

func (*ServiceProtocol) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ServiceProtocol) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ServiceProtocol) Validate ¶

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

Validate validates this service protocol

type Site ¶

type Site struct {

	// ASN
	// Maximum: 4.294967295e+09
	// Minimum: 1
	Asn int64 `json:"asn,omitempty"`

	// Comments
	Comments string `json:"comments,omitempty"`

	// Contact E-mail
	// Max Length: 254
	ContactEmail strfmt.Email `json:"contact_email,omitempty"`

	// Contact name
	// Max Length: 50
	ContactName string `json:"contact_name,omitempty"`

	// Contact phone
	// Max Length: 20
	ContactPhone string `json:"contact_phone,omitempty"`

	// Count circuits
	// Read Only: true
	CountCircuits string `json:"count_circuits,omitempty"`

	// Count devices
	// Read Only: true
	CountDevices string `json:"count_devices,omitempty"`

	// Count prefixes
	// Read Only: true
	CountPrefixes string `json:"count_prefixes,omitempty"`

	// Count racks
	// Read Only: true
	CountRacks string `json:"count_racks,omitempty"`

	// Count vlans
	// Read Only: true
	CountVlans string `json:"count_vlans,omitempty"`

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Custom fields
	CustomFields interface{} `json:"custom_fields,omitempty"`

	// Description
	// Max Length: 100
	Description string `json:"description,omitempty"`

	// Facility
	// Max Length: 50
	Facility string `json:"facility,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Physical address
	// Max Length: 200
	PhysicalAddress string `json:"physical_address,omitempty"`

	// region
	// Required: true
	Region *NestedRegion `json:"region"`

	// Shipping address
	// Max Length: 200
	ShippingAddress string `json:"shipping_address,omitempty"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`

	// status
	// Required: true
	Status *SiteStatus `json:"status"`

	// tenant
	// Required: true
	Tenant *NestedTenant `json:"tenant"`

	// Time zone
	TimeZone string `json:"time_zone,omitempty"`
}

Site site swagger:model Site

func (*Site) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Site) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Site) Validate ¶

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

Validate validates this site

type SiteStatus ¶

type SiteStatus struct {

	// label
	// Required: true
	Label *string `json:"label"`

	// value
	// Required: true
	Value *int64 `json:"value"`
}

SiteStatus Status swagger:model siteStatus

func (*SiteStatus) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*SiteStatus) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*SiteStatus) Validate ¶

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

Validate validates this site status

type TenancyTenantGroupsListOKBody ¶

type TenancyTenantGroupsListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results TenancyTenantGroupsListOKBodyResults `json:"results"`
}

TenancyTenantGroupsListOKBody tenancy tenant groups list o k body swagger:model tenancyTenantGroupsListOKBody

func (*TenancyTenantGroupsListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*TenancyTenantGroupsListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*TenancyTenantGroupsListOKBody) Validate ¶

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

Validate validates this tenancy tenant groups list o k body

type TenancyTenantGroupsListOKBodyResults ¶

type TenancyTenantGroupsListOKBodyResults []*TenantGroup

TenancyTenantGroupsListOKBodyResults tenancy tenant groups list o k body results swagger:model tenancyTenantGroupsListOKBodyResults

func (TenancyTenantGroupsListOKBodyResults) Validate ¶

Validate validates this tenancy tenant groups list o k body results

type TenancyTenantsListOKBody ¶

type TenancyTenantsListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results TenancyTenantsListOKBodyResults `json:"results"`
}

TenancyTenantsListOKBody tenancy tenants list o k body swagger:model tenancyTenantsListOKBody

func (*TenancyTenantsListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*TenancyTenantsListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*TenancyTenantsListOKBody) Validate ¶

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

Validate validates this tenancy tenants list o k body

type TenancyTenantsListOKBodyResults ¶

type TenancyTenantsListOKBodyResults []*Tenant

TenancyTenantsListOKBodyResults tenancy tenants list o k body results swagger:model tenancyTenantsListOKBodyResults

func (TenancyTenantsListOKBodyResults) Validate ¶

Validate validates this tenancy tenants list o k body results

type Tenant ¶

type Tenant struct {

	// Comments
	Comments string `json:"comments,omitempty"`

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Custom fields
	CustomFields interface{} `json:"custom_fields,omitempty"`

	// Description
	//
	// Long-form name (optional)
	// Max Length: 100
	Description string `json:"description,omitempty"`

	// group
	// Required: true
	Group *NestedTenantGroup `json:"group"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// Name
	// Required: true
	// Max Length: 30
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`
}

Tenant tenant swagger:model Tenant

func (*Tenant) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Tenant) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Tenant) Validate ¶

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

Validate validates this tenant

type TenantGroup ¶

type TenantGroup struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`
}

TenantGroup tenant group swagger:model TenantGroup

func (*TenantGroup) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*TenantGroup) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*TenantGroup) Validate ¶

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

Validate validates this tenant group

type TopologyMap ¶

type TopologyMap struct {

	// Description
	// Max Length: 100
	Description string `json:"description,omitempty"`

	// Device patterns
	//
	// Identify devices to include in the diagram using regular expressions, one per line. Each line will result in a new tier of the drawing. Separate multiple regexes within a line using semicolons. Devices will be rendered in the order they are defined.
	// Required: true
	DevicePatterns *string `json:"device_patterns"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// site
	// Required: true
	Site *NestedSite `json:"site"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`
}

TopologyMap topology map swagger:model TopologyMap

func (*TopologyMap) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*TopologyMap) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*TopologyMap) Validate ¶

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

Validate validates this topology map

type UserAction ¶

type UserAction struct {

	// action
	// Required: true
	Action *UserActionAction `json:"action"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

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

	// Time
	// Read Only: true
	Time strfmt.DateTime `json:"time,omitempty"`

	// user
	// Required: true
	User *NestedUser `json:"user"`
}

UserAction user action swagger:model UserAction

func (*UserAction) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*UserAction) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*UserAction) Validate ¶

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

Validate validates this user action

type UserActionAction ¶

type UserActionAction struct {

	// label
	// Required: true
	Label *string `json:"label"`

	// value
	// Required: true
	Value *int64 `json:"value"`
}

UserActionAction Action swagger:model userActionAction

func (*UserActionAction) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*UserActionAction) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*UserActionAction) Validate ¶

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

Validate validates this user action action

type VLAN ¶

type VLAN struct {

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Custom fields
	CustomFields interface{} `json:"custom_fields,omitempty"`

	// Description
	// Max Length: 100
	Description string `json:"description,omitempty"`

	// Display name
	// Read Only: true
	DisplayName string `json:"display_name,omitempty"`

	// group
	// Required: true
	Group *NestedVLANGroup `json:"group"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// Name
	// Required: true
	// Max Length: 64
	Name *string `json:"name"`

	// role
	// Required: true
	Role *NestedRole `json:"role"`

	// site
	// Required: true
	Site *NestedSite `json:"site"`

	// status
	// Required: true
	Status *VLANStatus `json:"status"`

	// tenant
	// Required: true
	Tenant *NestedTenant `json:"tenant"`

	// ID
	// Required: true
	// Maximum: 4094
	// Minimum: 1
	Vid *int64 `json:"vid"`
}

VLAN v l a n swagger:model VLAN

func (*VLAN) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*VLAN) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*VLAN) Validate ¶

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

Validate validates this v l a n

type VLANGroup ¶

type VLANGroup struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// site
	// Required: true
	Site *NestedSite `json:"site"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`
}

VLANGroup v l a n group swagger:model VLANGroup

func (*VLANGroup) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*VLANGroup) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*VLANGroup) Validate ¶

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

Validate validates this v l a n group

type VLANStatus ¶

type VLANStatus struct {

	// label
	// Required: true
	Label *string `json:"label"`

	// value
	// Required: true
	Value *int64 `json:"value"`
}

VLANStatus Status swagger:model vLANStatus

func (*VLANStatus) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*VLANStatus) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*VLANStatus) Validate ¶

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

Validate validates this v l a n status

type VRF ¶

type VRF struct {

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Custom fields
	CustomFields interface{} `json:"custom_fields,omitempty"`

	// Description
	// Max Length: 100
	Description string `json:"description,omitempty"`

	// Display name
	// Read Only: true
	DisplayName string `json:"display_name,omitempty"`

	// Enforce unique space
	//
	// Prevent duplicate prefixes/IP addresses within this VRF
	EnforceUnique bool `json:"enforce_unique,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Route distinguisher
	// Required: true
	// Max Length: 21
	Rd *string `json:"rd"`

	// tenant
	// Required: true
	Tenant *NestedTenant `json:"tenant"`
}

VRF v r f swagger:model VRF

func (*VRF) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*VRF) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*VRF) Validate ¶

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

Validate validates this v r f

type VirtualChassis ¶

type VirtualChassis struct {

	// Domain
	// Max Length: 30
	Domain string `json:"domain,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// master
	// Required: true
	Master *NestedDevice `json:"master"`
}

VirtualChassis virtual chassis swagger:model VirtualChassis

func (*VirtualChassis) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*VirtualChassis) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*VirtualChassis) Validate ¶

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

Validate validates this virtual chassis

type VirtualMachine ¶

type VirtualMachine struct {

	// cluster
	// Required: true
	Cluster *NestedCluster `json:"cluster"`

	// Comments
	Comments string `json:"comments,omitempty"`

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Custom fields
	CustomFields interface{} `json:"custom_fields,omitempty"`

	// Disk (GB)
	// Maximum: 2.147483647e+09
	// Minimum: 0
	Disk *int64 `json:"disk,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// Memory (MB)
	// Maximum: 2.147483647e+09
	// Minimum: 0
	Memory *int64 `json:"memory,omitempty"`

	// Name
	// Required: true
	// Max Length: 64
	Name *string `json:"name"`

	// platform
	// Required: true
	Platform *NestedPlatform `json:"platform"`

	// primary ip
	// Required: true
	PrimaryIP *VirtualMachineIPAddress `json:"primary_ip"`

	// primary ip4
	// Required: true
	PrimaryIp4 *VirtualMachineIPAddress `json:"primary_ip4"`

	// primary ip6
	// Required: true
	PrimaryIp6 *VirtualMachineIPAddress `json:"primary_ip6"`

	// role
	// Required: true
	Role *NestedDeviceRole `json:"role"`

	// status
	// Required: true
	Status *VirtualMachineStatus `json:"status"`

	// tenant
	// Required: true
	Tenant *NestedTenant `json:"tenant"`

	// VCPUs
	// Maximum: 32767
	// Minimum: 0
	Vcpus *int64 `json:"vcpus,omitempty"`
}

VirtualMachine virtual machine swagger:model VirtualMachine

func (*VirtualMachine) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*VirtualMachine) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*VirtualMachine) Validate ¶

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

Validate validates this virtual machine

type VirtualMachineIPAddress ¶

type VirtualMachineIPAddress struct {

	// Address
	//
	// IPv4 or IPv6 address (with mask)
	// Required: true
	Address *string `json:"address"`

	// Family
	// Read Only: true
	Family int64 `json:"family,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Url
	// Read Only: true
	URL strfmt.URI `json:"url,omitempty"`
}

VirtualMachineIPAddress Primary ip swagger:model VirtualMachineIPAddress

func (*VirtualMachineIPAddress) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*VirtualMachineIPAddress) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*VirtualMachineIPAddress) Validate ¶

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

Validate validates this virtual machine IP address

type VirtualMachineStatus ¶

type VirtualMachineStatus struct {

	// label
	// Required: true
	Label *string `json:"label"`

	// value
	// Required: true
	Value *int64 `json:"value"`
}

VirtualMachineStatus Status swagger:model virtualMachineStatus

func (*VirtualMachineStatus) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*VirtualMachineStatus) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*VirtualMachineStatus) Validate ¶

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

Validate validates this virtual machine status

type VirtualizationClusterGroupsListOKBody ¶

type VirtualizationClusterGroupsListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results VirtualizationClusterGroupsListOKBodyResults `json:"results"`
}

VirtualizationClusterGroupsListOKBody virtualization cluster groups list o k body swagger:model virtualizationClusterGroupsListOKBody

func (*VirtualizationClusterGroupsListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*VirtualizationClusterGroupsListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*VirtualizationClusterGroupsListOKBody) Validate ¶

Validate validates this virtualization cluster groups list o k body

type VirtualizationClusterGroupsListOKBodyResults ¶

type VirtualizationClusterGroupsListOKBodyResults []*ClusterGroup

VirtualizationClusterGroupsListOKBodyResults virtualization cluster groups list o k body results swagger:model virtualizationClusterGroupsListOKBodyResults

func (VirtualizationClusterGroupsListOKBodyResults) Validate ¶

Validate validates this virtualization cluster groups list o k body results

type VirtualizationClusterTypesListOKBody ¶

type VirtualizationClusterTypesListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results VirtualizationClusterTypesListOKBodyResults `json:"results"`
}

VirtualizationClusterTypesListOKBody virtualization cluster types list o k body swagger:model virtualizationClusterTypesListOKBody

func (*VirtualizationClusterTypesListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*VirtualizationClusterTypesListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*VirtualizationClusterTypesListOKBody) Validate ¶

Validate validates this virtualization cluster types list o k body

type VirtualizationClusterTypesListOKBodyResults ¶

type VirtualizationClusterTypesListOKBodyResults []*ClusterType

VirtualizationClusterTypesListOKBodyResults virtualization cluster types list o k body results swagger:model virtualizationClusterTypesListOKBodyResults

func (VirtualizationClusterTypesListOKBodyResults) Validate ¶

Validate validates this virtualization cluster types list o k body results

type VirtualizationClustersListOKBody ¶

type VirtualizationClustersListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results VirtualizationClustersListOKBodyResults `json:"results"`
}

VirtualizationClustersListOKBody virtualization clusters list o k body swagger:model virtualizationClustersListOKBody

func (*VirtualizationClustersListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*VirtualizationClustersListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*VirtualizationClustersListOKBody) Validate ¶

Validate validates this virtualization clusters list o k body

type VirtualizationClustersListOKBodyResults ¶

type VirtualizationClustersListOKBodyResults []*Cluster

VirtualizationClustersListOKBodyResults virtualization clusters list o k body results swagger:model virtualizationClustersListOKBodyResults

func (VirtualizationClustersListOKBodyResults) Validate ¶

Validate validates this virtualization clusters list o k body results

type VirtualizationInterfacesListOKBody ¶

type VirtualizationInterfacesListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results VirtualizationInterfacesListOKBodyResults `json:"results"`
}

VirtualizationInterfacesListOKBody virtualization interfaces list o k body swagger:model virtualizationInterfacesListOKBody

func (*VirtualizationInterfacesListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*VirtualizationInterfacesListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*VirtualizationInterfacesListOKBody) Validate ¶

Validate validates this virtualization interfaces list o k body

type VirtualizationInterfacesListOKBodyResults ¶

type VirtualizationInterfacesListOKBodyResults []*Interface

VirtualizationInterfacesListOKBodyResults virtualization interfaces list o k body results swagger:model virtualizationInterfacesListOKBodyResults

func (VirtualizationInterfacesListOKBodyResults) Validate ¶

Validate validates this virtualization interfaces list o k body results

type VirtualizationVirtualMachinesListOKBody ¶

type VirtualizationVirtualMachinesListOKBody struct {

	// count
	// Required: true
	Count *int64 `json:"count"`

	// next
	Next *strfmt.URI `json:"next,omitempty"`

	// previous
	Previous *strfmt.URI `json:"previous,omitempty"`

	// results
	// Required: true
	Results VirtualizationVirtualMachinesListOKBodyResults `json:"results"`
}

VirtualizationVirtualMachinesListOKBody virtualization virtual machines list o k body swagger:model virtualizationVirtualMachinesListOKBody

func (*VirtualizationVirtualMachinesListOKBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*VirtualizationVirtualMachinesListOKBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*VirtualizationVirtualMachinesListOKBody) Validate ¶

Validate validates this virtualization virtual machines list o k body

type VirtualizationVirtualMachinesListOKBodyResults ¶

type VirtualizationVirtualMachinesListOKBodyResults []*VirtualMachine

VirtualizationVirtualMachinesListOKBodyResults virtualization virtual machines list o k body results swagger:model virtualizationVirtualMachinesListOKBodyResults

func (VirtualizationVirtualMachinesListOKBodyResults) Validate ¶

Validate validates this virtualization virtual machines list o k body results

type WritableAggregate ¶

type WritableAggregate struct {

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Custom fields
	CustomFields interface{} `json:"custom_fields,omitempty"`

	// Date added
	DateAdded strfmt.Date `json:"date_added,omitempty"`

	// Description
	// Max Length: 100
	Description string `json:"description,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// Prefix
	// Required: true
	Prefix *string `json:"prefix"`

	// RIR
	// Required: true
	Rir *int64 `json:"rir"`
}

WritableAggregate writable aggregate swagger:model WritableAggregate

func (*WritableAggregate) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableAggregate) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableAggregate) Validate ¶

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

Validate validates this writable aggregate

type WritableCircuit ¶

type WritableCircuit struct {

	// Circuit ID
	// Required: true
	// Max Length: 50
	Cid *string `json:"cid"`

	// Comments
	Comments string `json:"comments,omitempty"`

	// Commit rate (Kbps)
	// Maximum: 2.147483647e+09
	// Minimum: 0
	CommitRate *int64 `json:"commit_rate,omitempty"`

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Custom fields
	CustomFields interface{} `json:"custom_fields,omitempty"`

	// Description
	// Max Length: 100
	Description string `json:"description,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Date installed
	InstallDate strfmt.Date `json:"install_date,omitempty"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// Provider
	// Required: true
	Provider *int64 `json:"provider"`

	// Status
	Status int64 `json:"status,omitempty"`

	// Tenant
	Tenant int64 `json:"tenant,omitempty"`

	// Type
	// Required: true
	Type *int64 `json:"type"`
}

WritableCircuit writable circuit swagger:model WritableCircuit

func (*WritableCircuit) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableCircuit) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableCircuit) Validate ¶

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

Validate validates this writable circuit

type WritableCircuitTermination ¶

type WritableCircuitTermination struct {

	// Circuit
	// Required: true
	Circuit *int64 `json:"circuit"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Interface
	Interface int64 `json:"interface,omitempty"`

	// Port speed (Kbps)
	// Required: true
	// Maximum: 2.147483647e+09
	// Minimum: 0
	PortSpeed *int64 `json:"port_speed"`

	// Patch panel/port(s)
	// Max Length: 100
	PpInfo string `json:"pp_info,omitempty"`

	// Site
	// Required: true
	Site *int64 `json:"site"`

	// Termination
	// Required: true
	TermSide *string `json:"term_side"`

	// Upstream speed (Kbps)
	//
	// Upstream speed, if different from port speed
	// Maximum: 2.147483647e+09
	// Minimum: 0
	UpstreamSpeed *int64 `json:"upstream_speed,omitempty"`

	// Cross-connect ID
	// Max Length: 50
	XconnectID string `json:"xconnect_id,omitempty"`
}

WritableCircuitTermination writable circuit termination swagger:model WritableCircuitTermination

func (*WritableCircuitTermination) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableCircuitTermination) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableCircuitTermination) Validate ¶

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

Validate validates this writable circuit termination

type WritableCluster ¶

type WritableCluster struct {

	// Comments
	Comments string `json:"comments,omitempty"`

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Custom fields
	CustomFields interface{} `json:"custom_fields,omitempty"`

	// Group
	Group int64 `json:"group,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// Name
	// Required: true
	// Max Length: 100
	Name *string `json:"name"`

	// Site
	Site int64 `json:"site,omitempty"`

	// Type
	// Required: true
	Type *int64 `json:"type"`
}

WritableCluster writable cluster swagger:model WritableCluster

func (*WritableCluster) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableCluster) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableCluster) Validate ¶

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

Validate validates this writable cluster

type WritableConsolePort ¶

type WritableConsolePort struct {

	// Connection status
	ConnectionStatus bool `json:"connection_status,omitempty"`

	// Console server port
	CsPort int64 `json:"cs_port,omitempty"`

	// Device
	// Required: true
	Device *int64 `json:"device"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`
}

WritableConsolePort writable console port swagger:model WritableConsolePort

func (*WritableConsolePort) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableConsolePort) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableConsolePort) Validate ¶

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

Validate validates this writable console port

type WritableConsolePortTemplate ¶

type WritableConsolePortTemplate struct {

	// Device type
	// Required: true
	DeviceType *int64 `json:"device_type"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`
}

WritableConsolePortTemplate writable console port template swagger:model WritableConsolePortTemplate

func (*WritableConsolePortTemplate) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableConsolePortTemplate) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableConsolePortTemplate) Validate ¶

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

Validate validates this writable console port template

type WritableConsoleServerPort ¶

type WritableConsoleServerPort struct {

	// Device
	// Required: true
	Device *int64 `json:"device"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`
}

WritableConsoleServerPort writable console server port swagger:model WritableConsoleServerPort

func (*WritableConsoleServerPort) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableConsoleServerPort) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableConsoleServerPort) Validate ¶

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

Validate validates this writable console server port

type WritableConsoleServerPortTemplate ¶

type WritableConsoleServerPortTemplate struct {

	// Device type
	// Required: true
	DeviceType *int64 `json:"device_type"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`
}

WritableConsoleServerPortTemplate writable console server port template swagger:model WritableConsoleServerPortTemplate

func (*WritableConsoleServerPortTemplate) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableConsoleServerPortTemplate) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableConsoleServerPortTemplate) Validate ¶

Validate validates this writable console server port template

type WritableDevice ¶

type WritableDevice struct {

	// Asset tag
	//
	// A unique tag used to identify this device
	// Max Length: 50
	AssetTag string `json:"asset_tag,omitempty"`

	// Cluster
	Cluster int64 `json:"cluster,omitempty"`

	// Comments
	Comments string `json:"comments,omitempty"`

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Custom fields
	CustomFields interface{} `json:"custom_fields,omitempty"`

	// Device role
	// Required: true
	DeviceRole *int64 `json:"device_role"`

	// Device type
	// Required: true
	DeviceType *int64 `json:"device_type"`

	// Rack face
	Face int64 `json:"face,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// Name
	// Max Length: 64
	Name string `json:"name,omitempty"`

	// Platform
	Platform int64 `json:"platform,omitempty"`

	// Position (U)
	//
	// The lowest-numbered unit occupied by the device
	// Maximum: 32767
	// Minimum: 1
	Position int64 `json:"position,omitempty"`

	// Primary IPv4
	PrimaryIp4 int64 `json:"primary_ip4,omitempty"`

	// Primary IPv6
	PrimaryIp6 int64 `json:"primary_ip6,omitempty"`

	// Rack
	Rack int64 `json:"rack,omitempty"`

	// Serial number
	// Max Length: 50
	Serial string `json:"serial,omitempty"`

	// Site
	// Required: true
	Site *int64 `json:"site"`

	// Status
	Status int64 `json:"status,omitempty"`

	// Tenant
	Tenant int64 `json:"tenant,omitempty"`

	// Vc position
	// Maximum: 255
	// Minimum: 0
	VcPosition *int64 `json:"vc_position,omitempty"`

	// Vc priority
	// Maximum: 255
	// Minimum: 0
	VcPriority *int64 `json:"vc_priority,omitempty"`

	// Virtual chassis
	VirtualChassis int64 `json:"virtual_chassis,omitempty"`
}

WritableDevice writable device swagger:model WritableDevice

func (*WritableDevice) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableDevice) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableDevice) Validate ¶

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

Validate validates this writable device

type WritableDeviceBay ¶

type WritableDeviceBay struct {

	// Device
	// Required: true
	Device *int64 `json:"device"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Installed device
	InstalledDevice int64 `json:"installed_device,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`
}

WritableDeviceBay writable device bay swagger:model WritableDeviceBay

func (*WritableDeviceBay) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableDeviceBay) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableDeviceBay) Validate ¶

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

Validate validates this writable device bay

type WritableDeviceBayTemplate ¶

type WritableDeviceBayTemplate struct {

	// Device type
	// Required: true
	DeviceType *int64 `json:"device_type"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`
}

WritableDeviceBayTemplate writable device bay template swagger:model WritableDeviceBayTemplate

func (*WritableDeviceBayTemplate) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableDeviceBayTemplate) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableDeviceBayTemplate) Validate ¶

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

Validate validates this writable device bay template

type WritableDeviceType ¶

type WritableDeviceType struct {

	// Comments
	Comments string `json:"comments,omitempty"`

	// Custom fields
	CustomFields interface{} `json:"custom_fields,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Interface ordering
	InterfaceOrdering int64 `json:"interface_ordering,omitempty"`

	// Is a console server
	//
	// This type of device has console server ports
	IsConsoleServer bool `json:"is_console_server,omitempty"`

	// Is full depth
	//
	// Device consumes both front and rear rack faces
	IsFullDepth bool `json:"is_full_depth,omitempty"`

	// Is a network device
	//
	// This type of device has network interfaces
	IsNetworkDevice bool `json:"is_network_device,omitempty"`

	// Is a PDU
	//
	// This type of device has power outlets
	IsPdu bool `json:"is_pdu,omitempty"`

	// Manufacturer
	// Required: true
	Manufacturer *int64 `json:"manufacturer"`

	// Model
	// Required: true
	// Max Length: 50
	Model *string `json:"model"`

	// Part number
	//
	// Discrete part number (optional)
	// Max Length: 50
	PartNumber string `json:"part_number,omitempty"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`

	// Parent/child status
	//
	// Parent devices house child devices in device bays. Select "None" if this device type is neither a parent nor a child.
	SubdeviceRole *bool `json:"subdevice_role,omitempty"`

	// Height (U)
	// Maximum: 32767
	// Minimum: 0
	UHeight *int64 `json:"u_height,omitempty"`
}

WritableDeviceType writable device type swagger:model WritableDeviceType

func (*WritableDeviceType) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableDeviceType) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableDeviceType) Validate ¶

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

Validate validates this writable device type

type WritableGraph ¶

type WritableGraph struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Link URL
	// Max Length: 200
	Link strfmt.URI `json:"link,omitempty"`

	// Name
	// Required: true
	// Max Length: 100
	Name *string `json:"name"`

	// Source URL
	// Required: true
	// Max Length: 500
	Source *string `json:"source"`

	// Type
	// Required: true
	Type *int64 `json:"type"`

	// Weight
	// Maximum: 32767
	// Minimum: 0
	Weight *int64 `json:"weight,omitempty"`
}

WritableGraph writable graph swagger:model WritableGraph

func (*WritableGraph) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableGraph) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableGraph) Validate ¶

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

Validate validates this writable graph

type WritableIPAddress ¶

type WritableIPAddress struct {

	// Address
	//
	// IPv4 or IPv6 address (with mask)
	// Required: true
	Address *string `json:"address"`

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Custom fields
	CustomFields interface{} `json:"custom_fields,omitempty"`

	// Description
	// Max Length: 100
	Description string `json:"description,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Interface
	Interface int64 `json:"interface,omitempty"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// NAT (Inside)
	//
	// The IP for which this address is the "outside" IP
	NatInside int64 `json:"nat_inside,omitempty"`

	// Role
	//
	// The functional role of this IP
	Role int64 `json:"role,omitempty"`

	// Status
	//
	// The operational status of this IP
	Status int64 `json:"status,omitempty"`

	// Tenant
	Tenant int64 `json:"tenant,omitempty"`

	// VRF
	Vrf int64 `json:"vrf,omitempty"`
}

WritableIPAddress writable IP address swagger:model WritableIPAddress

func (*WritableIPAddress) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableIPAddress) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableIPAddress) Validate ¶

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

Validate validates this writable IP address

type WritableImageAttachment ¶

type WritableImageAttachment struct {

	// Content type
	// Required: true
	ContentType *string `json:"content_type"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Image
	// Required: true
	// Read Only: true
	Image strfmt.URI `json:"image"`

	// Name
	// Max Length: 50
	Name string `json:"name,omitempty"`

	// Object id
	// Required: true
	// Maximum: 2.147483647e+09
	// Minimum: 0
	ObjectID *int64 `json:"object_id"`
}

WritableImageAttachment writable image attachment swagger:model WritableImageAttachment

func (*WritableImageAttachment) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableImageAttachment) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableImageAttachment) Validate ¶

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

Validate validates this writable image attachment

type WritableInterface ¶

type WritableInterface struct {

	// Description
	// Max Length: 100
	Description string `json:"description,omitempty"`

	// Device
	// Required: true
	Device *int64 `json:"device"`

	// Enabled
	Enabled bool `json:"enabled,omitempty"`

	// Form factor
	FormFactor int64 `json:"form_factor,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Parent LAG
	Lag int64 `json:"lag,omitempty"`

	// MAC Address
	MacAddress string `json:"mac_address,omitempty"`

	// OOB Management
	//
	// This interface is used only for out-of-band management
	MgmtOnly bool `json:"mgmt_only,omitempty"`

	// Mode
	Mode int64 `json:"mode,omitempty"`

	// MTU
	// Maximum: 32767
	// Minimum: 0
	Mtu *int64 `json:"mtu,omitempty"`

	// Name
	// Required: true
	// Max Length: 64
	Name *string `json:"name"`

	// tagged vlans
	// Unique: true
	TaggedVlans []int64 `json:"tagged_vlans"`

	// Untagged VLAN
	UntaggedVlan int64 `json:"untagged_vlan,omitempty"`
}

WritableInterface writable interface swagger:model WritableInterface

func (*WritableInterface) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableInterface) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableInterface) Validate ¶

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

Validate validates this writable interface

type WritableInterfaceConnection ¶

type WritableInterfaceConnection struct {

	// Status
	ConnectionStatus bool `json:"connection_status,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Interface a
	// Required: true
	InterfaceA *int64 `json:"interface_a"`

	// Interface b
	// Required: true
	InterfaceB *int64 `json:"interface_b"`
}

WritableInterfaceConnection writable interface connection swagger:model WritableInterfaceConnection

func (*WritableInterfaceConnection) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableInterfaceConnection) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableInterfaceConnection) Validate ¶

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

Validate validates this writable interface connection

type WritableInterfaceTemplate ¶

type WritableInterfaceTemplate struct {

	// Device type
	// Required: true
	DeviceType *int64 `json:"device_type"`

	// Form factor
	FormFactor int64 `json:"form_factor,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Management only
	MgmtOnly bool `json:"mgmt_only,omitempty"`

	// Name
	// Required: true
	// Max Length: 64
	Name *string `json:"name"`
}

WritableInterfaceTemplate writable interface template swagger:model WritableInterfaceTemplate

func (*WritableInterfaceTemplate) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableInterfaceTemplate) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableInterfaceTemplate) Validate ¶

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

Validate validates this writable interface template

type WritableInventoryItem ¶

type WritableInventoryItem struct {

	// Asset tag
	//
	// A unique tag used to identify this item
	// Max Length: 50
	AssetTag string `json:"asset_tag,omitempty"`

	// Description
	// Max Length: 100
	Description string `json:"description,omitempty"`

	// Device
	// Required: true
	Device *int64 `json:"device"`

	// Discovered
	Discovered bool `json:"discovered,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Manufacturer
	Manufacturer int64 `json:"manufacturer,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Parent
	Parent int64 `json:"parent,omitempty"`

	// Part ID
	// Max Length: 50
	PartID string `json:"part_id,omitempty"`

	// Serial number
	// Max Length: 50
	Serial string `json:"serial,omitempty"`
}

WritableInventoryItem writable inventory item swagger:model WritableInventoryItem

func (*WritableInventoryItem) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableInventoryItem) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableInventoryItem) Validate ¶

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

Validate validates this writable inventory item

type WritablePlatform ¶

type WritablePlatform struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Manufacturer
	//
	// Optionally limit this platform to devices of a certain manufacturer
	Manufacturer int64 `json:"manufacturer,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// NAPALM driver
	//
	// The name of the NAPALM driver to use when interacting with devices
	// Max Length: 50
	NapalmDriver string `json:"napalm_driver,omitempty"`

	// Legacy RPC client
	RPCClient string `json:"rpc_client,omitempty"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`
}

WritablePlatform writable platform swagger:model WritablePlatform

func (*WritablePlatform) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritablePlatform) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritablePlatform) Validate ¶

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

Validate validates this writable platform

type WritablePowerOutlet ¶

type WritablePowerOutlet struct {

	// Device
	// Required: true
	Device *int64 `json:"device"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`
}

WritablePowerOutlet writable power outlet swagger:model WritablePowerOutlet

func (*WritablePowerOutlet) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritablePowerOutlet) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritablePowerOutlet) Validate ¶

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

Validate validates this writable power outlet

type WritablePowerOutletTemplate ¶

type WritablePowerOutletTemplate struct {

	// Device type
	// Required: true
	DeviceType *int64 `json:"device_type"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`
}

WritablePowerOutletTemplate writable power outlet template swagger:model WritablePowerOutletTemplate

func (*WritablePowerOutletTemplate) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritablePowerOutletTemplate) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritablePowerOutletTemplate) Validate ¶

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

Validate validates this writable power outlet template

type WritablePowerPort ¶

type WritablePowerPort struct {

	// Connection status
	ConnectionStatus bool `json:"connection_status,omitempty"`

	// Device
	// Required: true
	Device *int64 `json:"device"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Power outlet
	PowerOutlet int64 `json:"power_outlet,omitempty"`
}

WritablePowerPort writable power port swagger:model WritablePowerPort

func (*WritablePowerPort) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritablePowerPort) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritablePowerPort) Validate ¶

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

Validate validates this writable power port

type WritablePowerPortTemplate ¶

type WritablePowerPortTemplate struct {

	// Device type
	// Required: true
	DeviceType *int64 `json:"device_type"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`
}

WritablePowerPortTemplate writable power port template swagger:model WritablePowerPortTemplate

func (*WritablePowerPortTemplate) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritablePowerPortTemplate) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritablePowerPortTemplate) Validate ¶

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

Validate validates this writable power port template

type WritablePrefix ¶

type WritablePrefix struct {

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Custom fields
	CustomFields interface{} `json:"custom_fields,omitempty"`

	// Description
	// Max Length: 100
	Description string `json:"description,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Is a pool
	//
	// All IP addresses within this prefix are considered usable
	IsPool bool `json:"is_pool,omitempty"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// Prefix
	//
	// IPv4 or IPv6 network with mask
	// Required: true
	Prefix *string `json:"prefix"`

	// Role
	//
	// The primary function of this prefix
	Role int64 `json:"role,omitempty"`

	// Site
	Site int64 `json:"site,omitempty"`

	// Status
	//
	// Operational status of this prefix
	Status int64 `json:"status,omitempty"`

	// Tenant
	Tenant int64 `json:"tenant,omitempty"`

	// VLAN
	Vlan int64 `json:"vlan,omitempty"`

	// VRF
	Vrf int64 `json:"vrf,omitempty"`
}

WritablePrefix writable prefix swagger:model WritablePrefix

func (*WritablePrefix) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritablePrefix) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritablePrefix) Validate ¶

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

Validate validates this writable prefix

type WritableProvider ¶

type WritableProvider struct {

	// Account number
	// Max Length: 30
	Account string `json:"account,omitempty"`

	// Admin contact
	AdminContact string `json:"admin_contact,omitempty"`

	// ASN
	// Maximum: 4.294967295e+09
	// Minimum: 1
	Asn int64 `json:"asn,omitempty"`

	// Comments
	Comments string `json:"comments,omitempty"`

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Custom fields
	CustomFields interface{} `json:"custom_fields,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// NOC contact
	NocContact string `json:"noc_contact,omitempty"`

	// Portal
	// Max Length: 200
	PortalURL strfmt.URI `json:"portal_url,omitempty"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`
}

WritableProvider writable provider swagger:model WritableProvider

func (*WritableProvider) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableProvider) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableProvider) Validate ¶

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

Validate validates this writable provider

type WritableRack ¶

type WritableRack struct {

	// Comments
	Comments string `json:"comments,omitempty"`

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Custom fields
	CustomFields interface{} `json:"custom_fields,omitempty"`

	// Descending units
	//
	// Units are numbered top-to-bottom
	DescUnits bool `json:"desc_units,omitempty"`

	// Facility ID
	// Max Length: 50
	FacilityID string `json:"facility_id,omitempty"`

	// Group
	Group int64 `json:"group,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Role
	Role int64 `json:"role,omitempty"`

	// Serial number
	// Max Length: 50
	Serial string `json:"serial,omitempty"`

	// Site
	// Required: true
	Site *int64 `json:"site"`

	// Tenant
	Tenant int64 `json:"tenant,omitempty"`

	// Type
	Type int64 `json:"type,omitempty"`

	// Height (U)
	// Maximum: 100
	// Minimum: 1
	UHeight int64 `json:"u_height,omitempty"`

	// Width
	//
	// Rail-to-rail width
	Width int64 `json:"width,omitempty"`
}

WritableRack writable rack swagger:model WritableRack

func (*WritableRack) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableRack) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableRack) Validate ¶

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

Validate validates this writable rack

type WritableRackGroup ¶

type WritableRackGroup struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Site
	// Required: true
	Site *int64 `json:"site"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`
}

WritableRackGroup writable rack group swagger:model WritableRackGroup

func (*WritableRackGroup) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableRackGroup) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableRackGroup) Validate ¶

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

Validate validates this writable rack group

type WritableRackReservation ¶

type WritableRackReservation struct {

	// Description
	// Required: true
	// Max Length: 100
	Description *string `json:"description"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Rack
	// Required: true
	Rack *int64 `json:"rack"`

	// units
	// Required: true
	Units []*int64 `json:"units"`

	// User
	// Required: true
	User *int64 `json:"user"`
}

WritableRackReservation writable rack reservation swagger:model WritableRackReservation

func (*WritableRackReservation) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableRackReservation) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableRackReservation) Validate ¶

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

Validate validates this writable rack reservation

type WritableRegion ¶

type WritableRegion struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Parent
	Parent int64 `json:"parent,omitempty"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`
}

WritableRegion writable region swagger:model WritableRegion

func (*WritableRegion) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableRegion) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableRegion) Validate ¶

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

Validate validates this writable region

type WritableSecret ¶

type WritableSecret struct {

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Device
	// Required: true
	Device *int64 `json:"device"`

	// Hash
	// Read Only: true
	Hash string `json:"hash,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// Name
	// Max Length: 100
	Name string `json:"name,omitempty"`

	// Plaintext
	// Required: true
	Plaintext *string `json:"plaintext"`

	// Role
	// Required: true
	Role *int64 `json:"role"`
}

WritableSecret writable secret swagger:model WritableSecret

func (*WritableSecret) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableSecret) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableSecret) Validate ¶

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

Validate validates this writable secret

type WritableService ¶

type WritableService struct {

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Description
	// Max Length: 100
	Description string `json:"description,omitempty"`

	// Device
	Device int64 `json:"device,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// ipaddresses
	// Unique: true
	Ipaddresses []int64 `json:"ipaddresses"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// Name
	// Required: true
	// Max Length: 30
	Name *string `json:"name"`

	// Port number
	// Required: true
	// Maximum: 65535
	// Minimum: 1
	Port *int64 `json:"port"`

	// Protocol
	// Required: true
	Protocol *int64 `json:"protocol"`

	// Virtual machine
	VirtualMachine int64 `json:"virtual_machine,omitempty"`
}

WritableService writable service swagger:model WritableService

func (*WritableService) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableService) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableService) Validate ¶

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

Validate validates this writable service

type WritableSite ¶

type WritableSite struct {

	// ASN
	// Maximum: 4.294967295e+09
	// Minimum: 1
	Asn int64 `json:"asn,omitempty"`

	// Comments
	Comments string `json:"comments,omitempty"`

	// Contact E-mail
	// Max Length: 254
	ContactEmail strfmt.Email `json:"contact_email,omitempty"`

	// Contact name
	// Max Length: 50
	ContactName string `json:"contact_name,omitempty"`

	// Contact phone
	// Max Length: 20
	ContactPhone string `json:"contact_phone,omitempty"`

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Custom fields
	CustomFields interface{} `json:"custom_fields,omitempty"`

	// Description
	// Max Length: 100
	Description string `json:"description,omitempty"`

	// Facility
	// Max Length: 50
	Facility string `json:"facility,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Physical address
	// Max Length: 200
	PhysicalAddress string `json:"physical_address,omitempty"`

	// Region
	Region int64 `json:"region,omitempty"`

	// Shipping address
	// Max Length: 200
	ShippingAddress string `json:"shipping_address,omitempty"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`

	// Status
	Status int64 `json:"status,omitempty"`

	// Tenant
	Tenant int64 `json:"tenant,omitempty"`

	// Time zone
	TimeZone string `json:"time_zone,omitempty"`
}

WritableSite writable site swagger:model WritableSite

func (*WritableSite) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableSite) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableSite) Validate ¶

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

Validate validates this writable site

type WritableTenant ¶

type WritableTenant struct {

	// Comments
	Comments string `json:"comments,omitempty"`

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Custom fields
	CustomFields interface{} `json:"custom_fields,omitempty"`

	// Description
	//
	// Long-form name (optional)
	// Max Length: 100
	Description string `json:"description,omitempty"`

	// Group
	Group int64 `json:"group,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// Name
	// Required: true
	// Max Length: 30
	Name *string `json:"name"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`
}

WritableTenant writable tenant swagger:model WritableTenant

func (*WritableTenant) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableTenant) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableTenant) Validate ¶

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

Validate validates this writable tenant

type WritableTopologyMap ¶

type WritableTopologyMap struct {

	// Description
	// Max Length: 100
	Description string `json:"description,omitempty"`

	// Device patterns
	//
	// Identify devices to include in the diagram using regular expressions, one per line. Each line will result in a new tier of the drawing. Separate multiple regexes within a line using semicolons. Devices will be rendered in the order they are defined.
	// Required: true
	DevicePatterns *string `json:"device_patterns"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Site
	Site int64 `json:"site,omitempty"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`
}

WritableTopologyMap writable topology map swagger:model WritableTopologyMap

func (*WritableTopologyMap) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableTopologyMap) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableTopologyMap) Validate ¶

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

Validate validates this writable topology map

type WritableVLAN ¶

type WritableVLAN struct {

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Custom fields
	CustomFields interface{} `json:"custom_fields,omitempty"`

	// Description
	// Max Length: 100
	Description string `json:"description,omitempty"`

	// Group
	Group int64 `json:"group,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// Name
	// Required: true
	// Max Length: 64
	Name *string `json:"name"`

	// Role
	Role int64 `json:"role,omitempty"`

	// Site
	Site int64 `json:"site,omitempty"`

	// Status
	Status int64 `json:"status,omitempty"`

	// Tenant
	Tenant int64 `json:"tenant,omitempty"`

	// ID
	// Required: true
	// Maximum: 4094
	// Minimum: 1
	Vid *int64 `json:"vid"`
}

WritableVLAN writable v l a n swagger:model WritableVLAN

func (*WritableVLAN) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableVLAN) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableVLAN) Validate ¶

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

Validate validates this writable v l a n

type WritableVLANGroup ¶

type WritableVLANGroup struct {

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Site
	Site int64 `json:"site,omitempty"`

	// Slug
	// Required: true
	// Max Length: 50
	// Pattern: ^[-a-zA-Z0-9_]+$
	Slug *string `json:"slug"`
}

WritableVLANGroup writable v l a n group swagger:model WritableVLANGroup

func (*WritableVLANGroup) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableVLANGroup) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableVLANGroup) Validate ¶

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

Validate validates this writable v l a n group

type WritableVRF ¶

type WritableVRF struct {

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Custom fields
	CustomFields interface{} `json:"custom_fields,omitempty"`

	// Description
	// Max Length: 100
	Description string `json:"description,omitempty"`

	// Enforce unique space
	//
	// Prevent duplicate prefixes/IP addresses within this VRF
	EnforceUnique bool `json:"enforce_unique,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// Name
	// Required: true
	// Max Length: 50
	Name *string `json:"name"`

	// Route distinguisher
	// Required: true
	// Max Length: 21
	Rd *string `json:"rd"`

	// Tenant
	Tenant int64 `json:"tenant,omitempty"`
}

WritableVRF writable v r f swagger:model WritableVRF

func (*WritableVRF) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableVRF) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableVRF) Validate ¶

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

Validate validates this writable v r f

type WritableVirtualChassis ¶

type WritableVirtualChassis struct {

	// Domain
	// Max Length: 30
	Domain string `json:"domain,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Master
	// Required: true
	Master *int64 `json:"master"`
}

WritableVirtualChassis writable virtual chassis swagger:model WritableVirtualChassis

func (*WritableVirtualChassis) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableVirtualChassis) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableVirtualChassis) Validate ¶

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

Validate validates this writable virtual chassis

type WritableVirtualMachine ¶

type WritableVirtualMachine struct {

	// Cluster
	// Required: true
	Cluster *int64 `json:"cluster"`

	// Comments
	Comments string `json:"comments,omitempty"`

	// Created
	// Read Only: true
	Created strfmt.Date `json:"created,omitempty"`

	// Custom fields
	CustomFields interface{} `json:"custom_fields,omitempty"`

	// Disk (GB)
	// Maximum: 2.147483647e+09
	// Minimum: 0
	Disk *int64 `json:"disk,omitempty"`

	// ID
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Last updated
	// Read Only: true
	LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`

	// Memory (MB)
	// Maximum: 2.147483647e+09
	// Minimum: 0
	Memory *int64 `json:"memory,omitempty"`

	// Name
	// Required: true
	// Max Length: 64
	Name *string `json:"name"`

	// Platform
	Platform int64 `json:"platform,omitempty"`

	// Primary IPv4
	PrimaryIp4 int64 `json:"primary_ip4,omitempty"`

	// Primary IPv6
	PrimaryIp6 int64 `json:"primary_ip6,omitempty"`

	// Role
	Role int64 `json:"role,omitempty"`

	// Status
	Status int64 `json:"status,omitempty"`

	// Tenant
	Tenant int64 `json:"tenant,omitempty"`

	// VCPUs
	// Maximum: 32767
	// Minimum: 0
	Vcpus *int64 `json:"vcpus,omitempty"`
}

WritableVirtualMachine writable virtual machine swagger:model WritableVirtualMachine

func (*WritableVirtualMachine) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*WritableVirtualMachine) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*WritableVirtualMachine) Validate ¶

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

Validate validates this writable virtual machine

Source Files ¶

Jump to

Keyboard shortcuts

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