Documentation
¶
Index ¶
- Constants
- type Aggregate
- type AggregateCreateUpdate
- type Circuit
- type CircuitStatus
- type CircuitTermination
- type CircuitType
- type Cluster
- type ClusterGroup
- type ClusterType
- type ConfigContext
- type ConsolePort
- type ConsolePortTemplate
- type ConsoleServerPort
- type ConsoleServerPortTemplate
- type Device
- type DeviceBay
- type DeviceBayTemplate
- type DeviceFace
- type DeviceIPAddress
- type DeviceRole
- type DeviceStatus
- type DeviceType
- type DeviceTypeInterfaceOrdering
- type DeviceTypeSubdeviceRole
- type DeviceVirtualChassis
- type DeviceWithConfigContext
- type DeviceWithConfigContextFace
- type DeviceWithConfigContextStatus
- type ExportTemplate
- type Graph
- type GraphType
- type IPAddress
- type IPAddressCreateUpdate
- type IPAddressInterface
- type IPAddressRole
- type IPAddressStatus
- type ImageAttachment
- type Interface
- type InterfaceCircuitTermination
- type InterfaceConnection
- type InterfaceConnectionConnectionStatus
- type InterfaceFormFactor
- type InterfaceMode
- type InterfaceNestedCircuit
- type InterfaceTemplate
- type InterfaceTemplateFormFactor
- type InterfaceVLAN
- type InventoryItem
- type Manufacturer
- type NestedCircuit
- type NestedCircuitType
- type NestedCluster
- type NestedClusterGroup
- type NestedClusterType
- type NestedConsoleServerPort
- type NestedDevice
- type NestedDeviceRole
- type NestedDeviceType
- type NestedIPAddress
- type NestedInterface
- type NestedManufacturer
- type NestedPlatform
- type NestedPowerOutlet
- type NestedProvider
- type NestedRIR
- type NestedRack
- type NestedRackGroup
- type NestedRackRole
- type NestedRegion
- type NestedRole
- type NestedSecretRole
- type NestedSite
- type NestedTenant
- type NestedTenantGroup
- type NestedUser
- type NestedVLAN
- type NestedVLANGroup
- type NestedVRF
- type NestedVirtualMachine
- type ObjectChange
- type Platform
- type PowerOutlet
- type PowerOutletTemplate
- type PowerPort
- type PowerPortTemplate
- type Prefix
- type PrefixCreateUpdate
- type PrefixStatus
- type Provider
- type RIR
- type Rack
- type RackGroup
- type RackReservation
- type RackRole
- type RackType
- type RackWidth
- type Region
- type Role
- type Secret
- type SecretRole
- type Service
- type ServiceProtocol
- type Site
- type SiteStatus
- type Tag
- type Tenant
- type TenantCreateUpdate
- type TenantGroup
- type TopologyMap
- type UserAction
- type UserActionAction
- type VLAN
- type VLANGroup
- type VLANStatus
- type VRF
- type VRFCreateUpdate
- type VirtualChassis
- type VirtualMachine
- type VirtualMachineIPAddress
- type VirtualMachineStatus
- type VirtualMachineWithConfigContext
- type VirtualMachineWithConfigContextStatus
Constants ¶
const ( // CircuitTerminationTermSideA captures enum value "A" CircuitTerminationTermSideA string = "A" // CircuitTerminationTermSideZ captures enum value "Z" CircuitTerminationTermSideZ string = "Z" )
const ( // InterfaceCircuitTerminationTermSideA captures enum value "A" InterfaceCircuitTerminationTermSideA string = "A" // InterfaceCircuitTerminationTermSideZ captures enum value "Z" InterfaceCircuitTerminationTermSideZ string = "Z" )
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" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Aggregate ¶
type Aggregate struct {
// Created
// Read Only: true
// Format: date
Created strfmt.Date `json:"created,omitempty"`
// Custom fields
CustomFields interface{} `json:"custom_fields,omitempty"`
// Date added
// Format: date
DateAdded strfmt.Date `json:"date_added,omitempty"`
// Description
// Max Length: 100
Description string `json:"description,omitempty"`
// Family
// Read Only: true
// Enum: [4 6]
Family int64 `json:"family,omitempty"`
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Last updated
// Read Only: true
// Format: date-time
LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`
// Prefix
// Required: true
Prefix *string `json:"prefix"`
// rir
// Required: true
Rir *NestedRIR `json:"rir"`
// Tags
Tags []string `json:"tags"`
}
Aggregate aggregate swagger:model Aggregate
func (*Aggregate) MarshalBinary ¶
MarshalBinary interface implementation
func (*Aggregate) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AggregateCreateUpdate ¶
type AggregateCreateUpdate struct {
// Created
// Read Only: true
// Format: date
Created strfmt.Date `json:"created,omitempty"`
// Custom fields
CustomFields interface{} `json:"custom_fields,omitempty"`
// Date added
// Format: date
DateAdded strfmt.Date `json:"date_added,omitempty"`
// Description
// Max Length: 100
Description string `json:"description,omitempty"`
// Family
// Read Only: true
// Enum: [4 6]
Family int64 `json:"family,omitempty"`
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Last updated
// Read Only: true
// Format: date-time
LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`
// Prefix
// Required: true
Prefix *string `json:"prefix"`
// rir
// Required: true
Rir *int64 `json:"rir"`
// Tags
Tags []string `json:"tags"`
}
AggregateCreateUpdate aggregate create update swagger:model AggregateCreateUpdate
func (*AggregateCreateUpdate) MarshalBinary ¶
func (m *AggregateCreateUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AggregateCreateUpdate) UnmarshalBinary ¶
func (m *AggregateCreateUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Circuit ¶
type Circuit struct {
// Circuit ID
// Required: true
// Max Length: 50
// Min Length: 1
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
// Format: date
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
// Format: date
InstallDate strfmt.Date `json:"install_date,omitempty"`
// Last updated
// Read Only: true
// Format: date-time
LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`
// provider
// Required: true
Provider *NestedProvider `json:"provider"`
// status
Status *CircuitStatus `json:"status,omitempty"`
// Tags
Tags []string `json:"tags"`
// tenant
Tenant *NestedTenant `json:"tenant,omitempty"`
// type
// Required: true
Type *NestedCircuitType `json:"type"`
}
Circuit circuit swagger:model Circuit
func (*Circuit) MarshalBinary ¶
MarshalBinary interface implementation
func (*Circuit) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
type CircuitTermination ¶
type CircuitTermination struct {
// circuit
// Required: true
Circuit *NestedCircuit `json:"circuit"`
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// interface
Interface *Interface `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 *NestedSite `json:"site"`
// Termination
// Required: true
// Enum: [A Z]
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
type CircuitType ¶
type CircuitType struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// 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
type Cluster ¶
type Cluster struct {
// Comments
Comments string `json:"comments,omitempty"`
// Created
// Read Only: true
// Format: date
Created strfmt.Date `json:"created,omitempty"`
// Custom fields
CustomFields interface{} `json:"custom_fields,omitempty"`
// group
Group *NestedClusterGroup `json:"group,omitempty"`
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Last updated
// Read Only: true
// Format: date-time
LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`
// Name
// Required: true
// Max Length: 100
// Min Length: 1
Name *string `json:"name"`
// site
Site *NestedSite `json:"site,omitempty"`
// Tags
Tags []string `json:"tags"`
// type
// Required: true
Type *NestedClusterType `json:"type"`
}
Cluster cluster swagger:model Cluster
func (*Cluster) MarshalBinary ¶
MarshalBinary interface implementation
func (*Cluster) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ClusterGroup ¶
type ClusterGroup struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// 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
type ClusterType ¶
type ClusterType struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// 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
type ConfigContext ¶
type ConfigContext struct {
// Data
// Required: true
Data *string `json:"data"`
// Description
// Max Length: 100
Description string `json:"description,omitempty"`
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Is active
IsActive bool `json:"is_active,omitempty"`
// Name
// Required: true
// Max Length: 100
// Min Length: 1
Name *string `json:"name"`
// platforms
// Unique: true
Platforms []int64 `json:"platforms"`
// regions
// Unique: true
Regions []int64 `json:"regions"`
// roles
// Unique: true
Roles []int64 `json:"roles"`
// sites
// Unique: true
Sites []int64 `json:"sites"`
// tenant groups
// Unique: true
TenantGroups []int64 `json:"tenant_groups"`
// tenants
// Unique: true
Tenants []int64 `json:"tenants"`
// Weight
// Maximum: 32767
// Minimum: 0
Weight *int64 `json:"weight,omitempty"`
}
ConfigContext config context swagger:model ConfigContext
func (*ConfigContext) MarshalBinary ¶
func (m *ConfigContext) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigContext) UnmarshalBinary ¶
func (m *ConfigContext) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConsolePort ¶
type ConsolePort struct {
// Connection status
// Enum: [false true]
ConnectionStatus bool `json:"connection_status,omitempty"`
// cs port
CsPort *NestedConsoleServerPort `json:"cs_port,omitempty"`
// device
// Required: true
Device *NestedDevice `json:"device"`
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Tags
Tags []string `json:"tags"`
}
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
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
// Min Length: 1
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
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
// Min Length: 1
Name *string `json:"name"`
// Tags
Tags []string `json:"tags"`
}
ConsoleServerPort console server 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
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
// Min Length: 1
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
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
Cluster *NestedCluster `json:"cluster,omitempty"`
// Comments
Comments string `json:"comments,omitempty"`
// Created
// Read Only: true
// Format: date
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
Face *DeviceFace `json:"face,omitempty"`
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Last updated
// Read Only: true
// Format: date-time
LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`
// Local context data
LocalContextData string `json:"local_context_data,omitempty"`
// Name
// Max Length: 64
Name string `json:"name,omitempty"`
// Parent device
// Read Only: true
ParentDevice string `json:"parent_device,omitempty"`
// platform
Platform *NestedPlatform `json:"platform,omitempty"`
// Position (U)
//
// The lowest-numbered unit occupied by the device
// Maximum: 32767
// Minimum: 1
Position int64 `json:"position,omitempty"`
// primary ip
PrimaryIP *DeviceIPAddress `json:"primary_ip,omitempty"`
// primary ip4
PrimaryIp4 *DeviceIPAddress `json:"primary_ip4,omitempty"`
// primary ip6
PrimaryIp6 *DeviceIPAddress `json:"primary_ip6,omitempty"`
// rack
Rack *NestedRack `json:"rack,omitempty"`
// Serial number
// Max Length: 50
Serial string `json:"serial,omitempty"`
// site
// Required: true
Site *NestedSite `json:"site"`
// status
Status *DeviceStatus `json:"status,omitempty"`
// Tags
Tags []string `json:"tags"`
// tenant
Tenant *NestedTenant `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 *DeviceVirtualChassis `json:"virtual_chassis,omitempty"`
}
Device device swagger:model Device
func (*Device) MarshalBinary ¶
MarshalBinary interface implementation
func (*Device) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type DeviceBay ¶
type DeviceBay struct {
// device
// Required: true
Device *NestedDevice `json:"device"`
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// installed device
InstalledDevice *NestedDevice `json:"installed_device,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Tags
Tags []string `json:"tags"`
}
DeviceBay device bay swagger:model DeviceBay
func (*DeviceBay) MarshalBinary ¶
MarshalBinary interface implementation
func (*DeviceBay) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
// Min Length: 1
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
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
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
// Format: uri
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
type DeviceRole ¶
type DeviceRole struct {
// Color
// Required: true
// Max Length: 6
// Min Length: 1
// Pattern: ^[0-9a-f]{6}$
Color *string `json:"color"`
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// 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
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
type DeviceType ¶
type DeviceType struct {
// Comments
Comments string `json:"comments,omitempty"`
// Created
// Read Only: true
// Format: date
Created strfmt.Date `json:"created,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
InterfaceOrdering *DeviceTypeInterfaceOrdering `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"`
// Last updated
// Read Only: true
// Format: date-time
LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`
// manufacturer
// Required: true
Manufacturer *NestedManufacturer `json:"manufacturer"`
// Model
// Required: true
// Max Length: 50
// Min Length: 1
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
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
// subdevice role
SubdeviceRole *DeviceTypeSubdeviceRole `json:"subdevice_role,omitempty"`
// Tags
Tags []string `json:"tags"`
// 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
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
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
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
// Format: uri
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
type DeviceWithConfigContext ¶
type DeviceWithConfigContext struct {
// Asset tag
//
// A unique tag used to identify this device
// Max Length: 50
AssetTag string `json:"asset_tag,omitempty"`
// cluster
Cluster *NestedCluster `json:"cluster,omitempty"`
// Comments
Comments string `json:"comments,omitempty"`
// Config context
// Read Only: true
ConfigContext string `json:"config_context,omitempty"`
// Created
// Read Only: true
// Format: date
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
Face *DeviceWithConfigContextFace `json:"face,omitempty"`
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Last updated
// Read Only: true
// Format: date-time
LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`
// Local context data
LocalContextData string `json:"local_context_data,omitempty"`
// Name
// Max Length: 64
Name string `json:"name,omitempty"`
// Parent device
// Read Only: true
ParentDevice string `json:"parent_device,omitempty"`
// platform
Platform *NestedPlatform `json:"platform,omitempty"`
// Position (U)
//
// The lowest-numbered unit occupied by the device
// Maximum: 32767
// Minimum: 1
Position int64 `json:"position,omitempty"`
// primary ip
PrimaryIP *DeviceIPAddress `json:"primary_ip,omitempty"`
// primary ip4
PrimaryIp4 *DeviceIPAddress `json:"primary_ip4,omitempty"`
// primary ip6
PrimaryIp6 *DeviceIPAddress `json:"primary_ip6,omitempty"`
// rack
Rack *NestedRack `json:"rack,omitempty"`
// Serial number
// Max Length: 50
Serial string `json:"serial,omitempty"`
// site
// Required: true
Site *NestedSite `json:"site"`
// status
Status *DeviceWithConfigContextStatus `json:"status,omitempty"`
// Tags
Tags []string `json:"tags"`
// tenant
Tenant *NestedTenant `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 *DeviceVirtualChassis `json:"virtual_chassis,omitempty"`
}
DeviceWithConfigContext device with config context swagger:model DeviceWithConfigContext
func (*DeviceWithConfigContext) MarshalBinary ¶
func (m *DeviceWithConfigContext) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceWithConfigContext) UnmarshalBinary ¶
func (m *DeviceWithConfigContext) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeviceWithConfigContextFace ¶
type DeviceWithConfigContextFace struct {
// label
// Required: true
Label *string `json:"label"`
// value
// Required: true
Value *int64 `json:"value"`
}
DeviceWithConfigContextFace Face swagger:model DeviceWithConfigContextFace
func (*DeviceWithConfigContextFace) MarshalBinary ¶
func (m *DeviceWithConfigContextFace) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceWithConfigContextFace) UnmarshalBinary ¶
func (m *DeviceWithConfigContextFace) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeviceWithConfigContextStatus ¶
type DeviceWithConfigContextStatus struct {
// label
// Required: true
Label *string `json:"label"`
// value
// Required: true
Value *int64 `json:"value"`
}
DeviceWithConfigContextStatus Status swagger:model DeviceWithConfigContextStatus
func (*DeviceWithConfigContextStatus) MarshalBinary ¶
func (m *DeviceWithConfigContextStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceWithConfigContextStatus) UnmarshalBinary ¶
func (m *DeviceWithConfigContextStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
// Min Length: 1
Name *string `json:"name"`
// Template code
// Required: true
// Min Length: 1
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
type Graph ¶
type Graph struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Link URL
// Max Length: 200
// Format: uri
Link strfmt.URI `json:"link,omitempty"`
// Name
// Required: true
// Max Length: 100
// Min Length: 1
Name *string `json:"name"`
// Source URL
// Required: true
// Max Length: 500
// Min Length: 1
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 ¶
MarshalBinary interface implementation
func (*Graph) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
MarshalBinary interface implementation
func (*GraphType) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type IPAddress ¶
type IPAddress struct {
// Address
//
// IPv4 or IPv6 address (with mask)
// Required: true
Address *string `json:"address"`
// Created
// Read Only: true
// Format: date
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
Interface *IPAddressInterface `json:"interface,omitempty"`
// Last updated
// Read Only: true
// Format: date-time
LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`
// nat inside
NatInside *NestedIPAddress `json:"nat_inside,omitempty"`
// nat outside
NatOutside *NestedIPAddress `json:"nat_outside,omitempty"`
// role
Role *IPAddressRole `json:"role,omitempty"`
// status
Status *IPAddressStatus `json:"status,omitempty"`
// Tags
Tags []string `json:"tags"`
// tenant
Tenant *NestedTenant `json:"tenant,omitempty"`
// vrf
Vrf *NestedVRF `json:"vrf,omitempty"`
}
IPAddress IP address swagger:model IPAddress
func (*IPAddress) MarshalBinary ¶
MarshalBinary interface implementation
func (*IPAddress) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type IPAddressCreateUpdate ¶
type IPAddressCreateUpdate struct {
// Address
//
// IPv4 or IPv6 address (with mask)
// Required: true
Address *string `json:"address"`
// Created
// Read Only: true
// Format: date
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
Interface int64 `json:"interface,omitempty"`
// Last updated
// Read Only: true
// Format: date-time
LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`
// nat inside
NatInside int64 `json:"nat_inside,omitempty"`
// nat outside
NatOutside int64 `json:"nat_outside,omitempty"`
// Role
Role int64 `json:"role,omitempty"`
// Status
Status int64 `json:"status,omitempty"`
// Tags
Tags []string `json:"tags"`
// tenant
Tenant int64 `json:"tenant,omitempty"`
// vrf
Vrf int64 `json:"vrf,omitempty"`
}
IPAddressCreateUpdate IP address create update swagger:model IPAddressCreateUpdate
func (*IPAddressCreateUpdate) MarshalBinary ¶
func (m *IPAddressCreateUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IPAddressCreateUpdate) UnmarshalBinary ¶
func (m *IPAddressCreateUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IPAddressInterface ¶
type IPAddressInterface struct {
// device
Device *NestedDevice `json:"device,omitempty"`
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 64
// Min Length: 1
Name *string `json:"name"`
// Url
// Read Only: true
URL string `json:"url,omitempty"`
// virtual machine
VirtualMachine *NestedVirtualMachine `json:"virtual_machine,omitempty"`
}
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
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
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
type ImageAttachment ¶
type ImageAttachment struct {
// Content type
// Required: true
ContentType *string `json:"content_type"`
// Created
// Read Only: true
// Format: date-time
Created strfmt.DateTime `json:"created,omitempty"`
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Image
// Read Only: true
// Format: uri
Image strfmt.URI `json:"image,omitempty"`
// 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"`
// Object id
// Required: true
// Maximum: 2.147483647e+09
// Minimum: 0
ObjectID *int64 `json:"object_id"`
// 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
type Interface ¶
type Interface struct {
// circuit termination
CircuitTermination *InterfaceCircuitTermination `json:"circuit_termination,omitempty"`
// Description
// Max Length: 100
Description string `json:"description,omitempty"`
// device
// Required: true
Device *NestedDevice `json:"device"`
// Enabled
Enabled bool `json:"enabled,omitempty"`
// form factor
FormFactor *InterfaceFormFactor `json:"form_factor,omitempty"`
// 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
Lag *NestedInterface `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 *InterfaceMode `json:"mode,omitempty"`
// MTU
// Maximum: 65536
// Minimum: 1
Mtu int64 `json:"mtu,omitempty"`
// Name
// Required: true
// Max Length: 64
// Min Length: 1
Name *string `json:"name"`
// tagged vlans
// Unique: true
TaggedVlans []int64 `json:"tagged_vlans"`
// Tags
Tags []string `json:"tags"`
// untagged vlan
UntaggedVlan *InterfaceVLAN `json:"untagged_vlan,omitempty"`
}
Interface Interface swagger:model Interface
func (*Interface) MarshalBinary ¶
MarshalBinary interface implementation
func (*Interface) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type InterfaceCircuitTermination ¶
type InterfaceCircuitTermination struct {
// circuit
Circuit *InterfaceNestedCircuit `json:"circuit,omitempty"`
// 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
// Enum: [A Z]
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
type InterfaceConnection ¶
type InterfaceConnection struct {
// connection status
ConnectionStatus *InterfaceConnectionConnectionStatus `json:"connection_status,omitempty"`
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// interface a
// Required: true
InterfaceA *NestedInterface `json:"interface_a"`
// interface b
// Required: true
InterfaceB *NestedInterface `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
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
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
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
type InterfaceNestedCircuit ¶
type InterfaceNestedCircuit struct {
// Circuit ID
// Required: true
// Max Length: 50
// Min Length: 1
Cid *string `json:"cid"`
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Url
// Read Only: true
// Format: uri
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
type InterfaceTemplate ¶
type InterfaceTemplate struct {
// device type
// Required: true
DeviceType *NestedDeviceType `json:"device_type"`
// form factor
FormFactor *InterfaceTemplateFormFactor `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
// Min Length: 1
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
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
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
// Min Length: 1
Name *string `json:"name"`
// Url
// Read Only: true
// Format: uri
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
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
Manufacturer *NestedManufacturer `json:"manufacturer,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
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"`
// Tags
Tags []string `json:"tags"`
}
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
type Manufacturer ¶
type Manufacturer struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// 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
type NestedCircuit ¶
type NestedCircuit struct {
// Circuit ID
// Required: true
// Max Length: 50
// Min Length: 1
Cid *string `json:"cid"`
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Url
// Read Only: true
// Format: uri
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
type NestedCircuitType ¶
type NestedCircuitType struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
// Url
// Read Only: true
// Format: uri
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
type NestedCluster ¶
type NestedCluster struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 100
// Min Length: 1
Name *string `json:"name"`
// Url
// Read Only: true
// Format: uri
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
type NestedClusterGroup ¶
type NestedClusterGroup struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
// Url
// Read Only: true
// Format: uri
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
type NestedClusterType ¶
type NestedClusterType struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
// Url
// Read Only: true
// Format: uri
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
type NestedConsoleServerPort ¶
type NestedConsoleServerPort struct {
// device
Device *NestedDevice `json:"device,omitempty"`
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Is connected
// Read Only: true
IsConnected string `json:"is_connected,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Url
// Read Only: true
// Format: uri
URL strfmt.URI `json:"url,omitempty"`
}
NestedConsoleServerPort Cs port swagger:model NestedConsoleServerPort
func (*NestedConsoleServerPort) MarshalBinary ¶
func (m *NestedConsoleServerPort) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NestedConsoleServerPort) UnmarshalBinary ¶
func (m *NestedConsoleServerPort) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
// Format: uri
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
type NestedDeviceRole ¶
type NestedDeviceRole struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
// Url
// Read Only: true
// Format: uri
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
type NestedDeviceType ¶
type NestedDeviceType struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// manufacturer
Manufacturer *NestedManufacturer `json:"manufacturer,omitempty"`
// Model
// Required: true
// Max Length: 50
// Min Length: 1
Model *string `json:"model"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
// Url
// Read Only: true
// Format: uri
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
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
// Format: uri
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
type NestedInterface ¶
type NestedInterface struct {
// device
Device *NestedDevice `json:"device,omitempty"`
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Is connected
// Read Only: true
IsConnected string `json:"is_connected,omitempty"`
// Name
// Required: true
// Max Length: 64
// Min Length: 1
Name *string `json:"name"`
// Url
// Read Only: true
// Format: uri
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
type NestedManufacturer ¶
type NestedManufacturer struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
// Url
// Read Only: true
// Format: uri
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
type NestedPlatform ¶
type NestedPlatform struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
// Url
// Read Only: true
// Format: uri
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
type NestedPowerOutlet ¶
type NestedPowerOutlet struct {
// device
Device *NestedDevice `json:"device,omitempty"`
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Is connected
// Read Only: true
IsConnected string `json:"is_connected,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Url
// Read Only: true
// Format: uri
URL strfmt.URI `json:"url,omitempty"`
}
NestedPowerOutlet Power outlet swagger:model NestedPowerOutlet
func (*NestedPowerOutlet) MarshalBinary ¶
func (m *NestedPowerOutlet) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NestedPowerOutlet) UnmarshalBinary ¶
func (m *NestedPowerOutlet) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NestedProvider ¶
type NestedProvider struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
// Url
// Read Only: true
// Format: uri
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
type NestedRIR ¶
type NestedRIR struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
// Url
// Read Only: true
// Format: uri
URL strfmt.URI `json:"url,omitempty"`
}
NestedRIR Rir swagger:model NestedRIR
func (*NestedRIR) MarshalBinary ¶
MarshalBinary interface implementation
func (*NestedRIR) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
// Min Length: 1
Name *string `json:"name"`
// Url
// Read Only: true
// Format: uri
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
type NestedRackGroup ¶
type NestedRackGroup struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
// Url
// Read Only: true
// Format: uri
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
type NestedRackRole ¶
type NestedRackRole struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
// Url
// Read Only: true
// Format: uri
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
type NestedRegion ¶
type NestedRegion struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
// Url
// Read Only: true
// Format: uri
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
type NestedRole ¶
type NestedRole struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
// Url
// Read Only: true
// Format: uri
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
type NestedSecretRole ¶
type NestedSecretRole struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
// Url
// Read Only: true
// Format: uri
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
type NestedSite ¶
type NestedSite struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
// Url
// Read Only: true
// Format: uri
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
type NestedTenant ¶
type NestedTenant struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 30
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
// Url
// Read Only: true
// Format: uri
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
type NestedTenantGroup ¶
type NestedTenantGroup struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
// Url
// Read Only: true
// Format: uri
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
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
// Min Length: 1
// 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
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
// Min Length: 1
Name *string `json:"name"`
// Url
// Read Only: true
// Format: uri
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
type NestedVLANGroup ¶
type NestedVLANGroup struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
// Url
// Read Only: true
// Format: uri
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
type NestedVRF ¶
type NestedVRF struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Route distinguisher
// Required: true
// Max Length: 21
// Min Length: 1
Rd *string `json:"rd"`
// Url
// Read Only: true
// Format: uri
URL strfmt.URI `json:"url,omitempty"`
}
NestedVRF Vrf swagger:model NestedVRF
func (*NestedVRF) MarshalBinary ¶
MarshalBinary interface implementation
func (*NestedVRF) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NestedVirtualMachine ¶
type NestedVirtualMachine struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 64
// Min Length: 1
Name *string `json:"name"`
// Url
// Read Only: true
// Format: uri
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
type ObjectChange ¶
type ObjectChange struct {
// Action
// Required: true
// Enum: [1 2 3]
Action *int64 `json:"action"`
// Changed object
// Read Only: true
ChangedObject string `json:"changed_object,omitempty"`
// Content type
// Read Only: true
ContentType string `json:"content_type,omitempty"`
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Object data
// Read Only: true
ObjectData string `json:"object_data,omitempty"`
// Request id
// Read Only: true
// Format: uuid
RequestID strfmt.UUID `json:"request_id,omitempty"`
// Time
// Read Only: true
// Format: date-time
Time strfmt.DateTime `json:"time,omitempty"`
// user
User *NestedUser `json:"user,omitempty"`
// User name
// Read Only: true
// Min Length: 1
UserName string `json:"user_name,omitempty"`
}
ObjectChange object change swagger:model ObjectChange
func (*ObjectChange) MarshalBinary ¶
func (m *ObjectChange) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ObjectChange) UnmarshalBinary ¶
func (m *ObjectChange) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Platform ¶
type Platform struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// manufacturer
Manufacturer *NestedManufacturer `json:"manufacturer,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// NAPALM arguments
//
// Additional arguments to pass when initiating the NAPALM driver (JSON format)
NapalmArgs string `json:"napalm_args,omitempty"`
// 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
// Enum: [juniper-junos cisco-ios opengear]
RPCClient string `json:"rpc_client,omitempty"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
}
Platform platform swagger:model Platform
func (*Platform) MarshalBinary ¶
MarshalBinary interface implementation
func (*Platform) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
// Min Length: 1
Name *string `json:"name"`
// Tags
Tags []string `json:"tags"`
}
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
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
// Min Length: 1
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
type PowerPort ¶
type PowerPort struct {
// Connection status
// Enum: [false true]
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
// Min Length: 1
Name *string `json:"name"`
// power outlet
PowerOutlet *NestedPowerOutlet `json:"power_outlet,omitempty"`
// Tags
Tags []string `json:"tags"`
}
PowerPort power port swagger:model PowerPort
func (*PowerPort) MarshalBinary ¶
MarshalBinary interface implementation
func (*PowerPort) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
// Min Length: 1
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
type Prefix ¶
type Prefix struct {
// Created
// Read Only: true
// Format: date
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
// Format: date-time
LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`
// Prefix
//
// IPv4 or IPv6 network with mask
// Required: true
Prefix *string `json:"prefix"`
// role
Role *NestedRole `json:"role,omitempty"`
// site
Site *NestedSite `json:"site,omitempty"`
// status
Status *PrefixStatus `json:"status,omitempty"`
// Tags
Tags []string `json:"tags"`
// tenant
Tenant *NestedTenant `json:"tenant,omitempty"`
// vlan
Vlan *NestedVLAN `json:"vlan,omitempty"`
// vrf
Vrf *NestedVRF `json:"vrf,omitempty"`
}
Prefix prefix swagger:model Prefix
func (*Prefix) MarshalBinary ¶
MarshalBinary interface implementation
func (*Prefix) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PrefixCreateUpdate ¶
type PrefixCreateUpdate struct {
// Created
// Read Only: true
// Format: date
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
// Format: date-time
LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`
// Prefix
//
// IPv4 or IPv6 network with mask
// Required: true
Prefix *string `json:"prefix"`
// role
Role int64 `json:"role,omitempty"`
// site
Site int64 `json:"site,omitempty"`
// Status
Status int64 `json:"status,omitempty"`
// Tags
Tags []string `json:"tags"`
// tenant
Tenant int64 `json:"tenant,omitempty"`
// vlan
Vlan int64 `json:"vlan,omitempty"`
// vrf
Vrf int64 `json:"vrf,omitempty"`
}
PrefixCreateUpdate prefix create update swagger:model PrefixCreateUpdate
func (*PrefixCreateUpdate) MarshalBinary ¶
func (m *PrefixCreateUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PrefixCreateUpdate) UnmarshalBinary ¶
func (m *PrefixCreateUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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
// Format: date
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
// Format: date-time
LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// NOC contact
NocContact string `json:"noc_contact,omitempty"`
// Portal
// Max Length: 200
// Format: uri
PortalURL strfmt.URI `json:"portal_url,omitempty"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
// Tags
Tags []string `json:"tags"`
}
Provider provider swagger:model Provider
func (*Provider) MarshalBinary ¶
MarshalBinary interface implementation
func (*Provider) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
}
RIR r i r swagger:model RIR
func (*RIR) MarshalBinary ¶
MarshalBinary interface implementation
func (*RIR) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Rack ¶
type Rack struct {
// Comments
Comments string `json:"comments,omitempty"`
// Created
// Read Only: true
// Format: date
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
// Max Length: 50
FacilityID string `json:"facility_id,omitempty"`
// group
Group *NestedRackGroup `json:"group,omitempty"`
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Last updated
// Read Only: true
// Format: date-time
LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// role
Role *NestedRackRole `json:"role,omitempty"`
// Serial number
// Max Length: 50
Serial string `json:"serial,omitempty"`
// site
// Required: true
Site *NestedSite `json:"site"`
// Tags
Tags []string `json:"tags"`
// tenant
Tenant *NestedTenant `json:"tenant,omitempty"`
// type
Type *RackType `json:"type,omitempty"`
// Height (U)
// Maximum: 100
// Minimum: 1
UHeight int64 `json:"u_height,omitempty"`
// width
Width *RackWidth `json:"width,omitempty"`
}
Rack rack swagger:model Rack
func (*Rack) MarshalBinary ¶
MarshalBinary interface implementation
func (*Rack) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RackGroup ¶
type RackGroup struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// site
// Required: true
Site *NestedSite `json:"site"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
}
RackGroup rack group swagger:model RackGroup
func (*RackGroup) MarshalBinary ¶
MarshalBinary interface implementation
func (*RackGroup) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RackReservation ¶
type RackReservation struct {
// Created
// Read Only: true
// Format: date
Created strfmt.Date `json:"created,omitempty"`
// Description
// Required: true
// Max Length: 100
// Min Length: 1
Description *string `json:"description"`
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// rack
// Required: true
Rack *NestedRack `json:"rack"`
// tenant
Tenant *NestedTenant `json:"tenant,omitempty"`
// 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
type RackRole ¶
type RackRole struct {
// Color
// Required: true
// Max Length: 6
// Min Length: 1
// Pattern: ^[0-9a-f]{6}$
Color *string `json:"color"`
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
}
RackRole rack role swagger:model RackRole
func (*RackRole) MarshalBinary ¶
MarshalBinary interface implementation
func (*RackRole) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
MarshalBinary interface implementation
func (*RackType) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
MarshalBinary interface implementation
func (*RackWidth) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Region ¶
type Region struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// parent
Parent *NestedRegion `json:"parent,omitempty"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
}
Region region swagger:model Region
func (*Region) MarshalBinary ¶
MarshalBinary interface implementation
func (*Region) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Role ¶
type Role struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// 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 ¶
MarshalBinary interface implementation
func (*Role) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Secret ¶
type Secret struct {
// Created
// Read Only: true
// Format: date
Created strfmt.Date `json:"created,omitempty"`
// Custom fields
CustomFields interface{} `json:"custom_fields,omitempty"`
// device
// Required: true
Device *NestedDevice `json:"device"`
// Hash
// Read Only: true
// Min Length: 1
Hash string `json:"hash,omitempty"`
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Last updated
// Read Only: true
// Format: date-time
LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`
// Name
// Max Length: 100
Name string `json:"name,omitempty"`
// Plaintext
// Required: true
// Min Length: 1
Plaintext *string `json:"plaintext"`
// role
// Required: true
Role *NestedSecretRole `json:"role"`
// Tags
Tags []string `json:"tags"`
}
Secret secret swagger:model Secret
func (*Secret) MarshalBinary ¶
MarshalBinary interface implementation
func (*Secret) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SecretRole ¶
type SecretRole struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// 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
type Service ¶
type Service struct {
// Created
// Read Only: true
// Format: date
Created strfmt.Date `json:"created,omitempty"`
// Custom fields
CustomFields interface{} `json:"custom_fields,omitempty"`
// Description
// Max Length: 100
Description string `json:"description,omitempty"`
// device
Device *NestedDevice `json:"device,omitempty"`
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// ipaddresses
// Unique: true
Ipaddresses []int64 `json:"ipaddresses"`
// Last updated
// Read Only: true
// Format: date-time
LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`
// Name
// Required: true
// Max Length: 30
// Min Length: 1
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
VirtualMachine *NestedVirtualMachine `json:"virtual_machine,omitempty"`
}
Service service swagger:model Service
func (*Service) MarshalBinary ¶
MarshalBinary interface implementation
func (*Service) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
// Format: email
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
// Format: date
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
// Format: date-time
LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`
// Latitude
Latitude string `json:"latitude,omitempty"`
// Longitude
Longitude string `json:"longitude,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Physical address
// Max Length: 200
PhysicalAddress string `json:"physical_address,omitempty"`
// region
Region *NestedRegion `json:"region,omitempty"`
// Shipping address
// Max Length: 200
ShippingAddress string `json:"shipping_address,omitempty"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
// status
Status *SiteStatus `json:"status,omitempty"`
// Tags
Tags []string `json:"tags"`
// tenant
Tenant *NestedTenant `json:"tenant,omitempty"`
// Time zone
TimeZone string `json:"time_zone,omitempty"`
}
Site site swagger:model Site
func (*Site) MarshalBinary ¶
MarshalBinary interface implementation
func (*Site) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
type Tag ¶
type Tag struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 100
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 100
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
// Tagged items
// Read Only: true
TaggedItems int64 `json:"tagged_items,omitempty"`
}
Tag tag swagger:model Tag
func (*Tag) MarshalBinary ¶
MarshalBinary interface implementation
func (*Tag) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Tenant ¶
type Tenant struct {
// Comments
Comments string `json:"comments,omitempty"`
// Created
// Read Only: true
// Format: date
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 *NestedTenantGroup `json:"group,omitempty"`
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Last updated
// Read Only: true
// Format: date-time
LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`
// Name
// Required: true
// Max Length: 30
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
// Tags
Tags []string `json:"tags"`
}
Tenant tenant swagger:model Tenant
func (*Tenant) MarshalBinary ¶
MarshalBinary interface implementation
func (*Tenant) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TenantCreateUpdate ¶
type TenantCreateUpdate struct {
// Comments
Comments string `json:"comments,omitempty"`
// Created
// Read Only: true
// Format: date
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
// Format: date-time
LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`
// Name
// Required: true
// Max Length: 30
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
// Tags
Tags []string `json:"tags"`
}
TenantCreateUpdate tenant create update swagger:model TenantCreateUpdate
func (*TenantCreateUpdate) MarshalBinary ¶
func (m *TenantCreateUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TenantCreateUpdate) UnmarshalBinary ¶
func (m *TenantCreateUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TenantGroup ¶
type TenantGroup struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// 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
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
// Min Length: 1
DevicePatterns *string `json:"device_patterns"`
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// site
// Required: true
Site *NestedSite `json:"site"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// 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
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
// Format: date-time
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
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
type VLAN ¶
type VLAN struct {
// Created
// Read Only: true
// Format: date
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
Group *NestedVLANGroup `json:"group,omitempty"`
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Last updated
// Read Only: true
// Format: date-time
LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`
// Name
// Required: true
// Max Length: 64
// Min Length: 1
Name *string `json:"name"`
// role
Role *NestedRole `json:"role,omitempty"`
// site
Site *NestedSite `json:"site,omitempty"`
// status
Status *VLANStatus `json:"status,omitempty"`
// Tags
Tags []string `json:"tags"`
// tenant
Tenant *NestedTenant `json:"tenant,omitempty"`
// ID
// Required: true
// Maximum: 4094
// Minimum: 1
Vid *int64 `json:"vid"`
}
VLAN v l a n swagger:model VLAN
func (*VLAN) MarshalBinary ¶
MarshalBinary interface implementation
func (*VLAN) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type VLANGroup ¶
type VLANGroup struct {
// ID
// Read Only: true
ID int64 `json:"id,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// site
Site *NestedSite `json:"site,omitempty"`
// Slug
// Required: true
// Max Length: 50
// Min Length: 1
// Pattern: ^[-a-zA-Z0-9_]+$
Slug *string `json:"slug"`
}
VLANGroup v l a n group swagger:model VLANGroup
func (*VLANGroup) MarshalBinary ¶
MarshalBinary interface implementation
func (*VLANGroup) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
type VRF ¶
type VRF struct {
// Created
// Read Only: true
// Format: date
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
// Format: date-time
LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Route distinguisher
// Required: true
// Max Length: 21
// Min Length: 1
Rd *string `json:"rd"`
// Tags
Tags []string `json:"tags"`
// tenant
Tenant *NestedTenant `json:"tenant,omitempty"`
}
VRF v r f swagger:model VRF
func (*VRF) MarshalBinary ¶
MarshalBinary interface implementation
func (*VRF) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type VRFCreateUpdate ¶
type VRFCreateUpdate struct {
// Created
// Read Only: true
// Format: date
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
// Format: date-time
LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`
// Name
// Required: true
// Max Length: 50
// Min Length: 1
Name *string `json:"name"`
// Route distinguisher
// Required: true
// Max Length: 21
// Min Length: 1
Rd *string `json:"rd"`
// Tags
Tags []string `json:"tags"`
// tenant
Tenant int64 `json:"tenant,omitempty"`
}
VRFCreateUpdate v r f create update swagger:model VRFCreateUpdate
func (*VRFCreateUpdate) MarshalBinary ¶
func (m *VRFCreateUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VRFCreateUpdate) UnmarshalBinary ¶
func (m *VRFCreateUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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"`
// Tags
Tags []string `json:"tags"`
}
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
type VirtualMachine ¶
type VirtualMachine struct {
// cluster
Cluster *NestedCluster `json:"cluster,omitempty"`
// Comments
Comments string `json:"comments,omitempty"`
// Created
// Read Only: true
// Format: date
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
// Format: date-time
LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`
// Local context data
LocalContextData string `json:"local_context_data,omitempty"`
// Memory (MB)
// Maximum: 2.147483647e+09
// Minimum: 0
Memory *int64 `json:"memory,omitempty"`
// Name
// Required: true
// Max Length: 64
// Min Length: 1
Name *string `json:"name"`
// platform
Platform *NestedPlatform `json:"platform,omitempty"`
// primary ip
PrimaryIP *VirtualMachineIPAddress `json:"primary_ip,omitempty"`
// primary ip4
PrimaryIp4 *VirtualMachineIPAddress `json:"primary_ip4,omitempty"`
// primary ip6
PrimaryIp6 *VirtualMachineIPAddress `json:"primary_ip6,omitempty"`
// role
Role *NestedDeviceRole `json:"role,omitempty"`
// site
Site *NestedSite `json:"site,omitempty"`
// status
Status *VirtualMachineStatus `json:"status,omitempty"`
// Tags
Tags []string `json:"tags"`
// tenant
Tenant *NestedTenant `json:"tenant,omitempty"`
// 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
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
// Format: uri
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
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
type VirtualMachineWithConfigContext ¶
type VirtualMachineWithConfigContext struct {
// cluster
Cluster *NestedCluster `json:"cluster,omitempty"`
// Comments
Comments string `json:"comments,omitempty"`
// Config context
// Read Only: true
ConfigContext string `json:"config_context,omitempty"`
// Created
// Read Only: true
// Format: date
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
// Format: date-time
LastUpdated strfmt.DateTime `json:"last_updated,omitempty"`
// Local context data
LocalContextData string `json:"local_context_data,omitempty"`
// Memory (MB)
// Maximum: 2.147483647e+09
// Minimum: 0
Memory *int64 `json:"memory,omitempty"`
// Name
// Required: true
// Max Length: 64
// Min Length: 1
Name *string `json:"name"`
// platform
Platform *NestedPlatform `json:"platform,omitempty"`
// primary ip
PrimaryIP *VirtualMachineIPAddress `json:"primary_ip,omitempty"`
// primary ip4
PrimaryIp4 *VirtualMachineIPAddress `json:"primary_ip4,omitempty"`
// primary ip6
PrimaryIp6 *VirtualMachineIPAddress `json:"primary_ip6,omitempty"`
// role
Role *NestedDeviceRole `json:"role,omitempty"`
// status
Status *VirtualMachineWithConfigContextStatus `json:"status,omitempty"`
// Tags
Tags []string `json:"tags"`
// tenant
Tenant *NestedTenant `json:"tenant,omitempty"`
// VCPUs
// Maximum: 32767
// Minimum: 0
Vcpus *int64 `json:"vcpus,omitempty"`
}
VirtualMachineWithConfigContext virtual machine with config context swagger:model VirtualMachineWithConfigContext
func (*VirtualMachineWithConfigContext) MarshalBinary ¶
func (m *VirtualMachineWithConfigContext) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VirtualMachineWithConfigContext) UnmarshalBinary ¶
func (m *VirtualMachineWithConfigContext) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VirtualMachineWithConfigContextStatus ¶
type VirtualMachineWithConfigContextStatus struct {
// label
// Required: true
Label *string `json:"label"`
// value
// Required: true
Value *int64 `json:"value"`
}
VirtualMachineWithConfigContextStatus Status swagger:model VirtualMachineWithConfigContextStatus
func (*VirtualMachineWithConfigContextStatus) MarshalBinary ¶
func (m *VirtualMachineWithConfigContextStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VirtualMachineWithConfigContextStatus) UnmarshalBinary ¶
func (m *VirtualMachineWithConfigContextStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- aggregate.go
- aggregate_create_update.go
- circuit.go
- circuit_termination.go
- circuit_type.go
- cluster.go
- cluster_group.go
- cluster_type.go
- config_context.go
- console_port.go
- console_port_template.go
- console_server_port.go
- console_server_port_template.go
- device.go
- device_bay.go
- device_bay_template.go
- device_ip_address.go
- device_role.go
- device_type.go
- device_virtual_chassis.go
- device_with_config_context.go
- export_template.go
- graph.go
- image_attachment.go
- interface.go
- interface_circuit_termination.go
- interface_connection.go
- interface_nested_circuit.go
- interface_template.go
- interface_v_l_a_n.go
- inventory_item.go
- ip_address.go
- ip_address_create_update.go
- ip_address_interface.go
- manufacturer.go
- nested_circuit.go
- nested_circuit_type.go
- nested_cluster.go
- nested_cluster_group.go
- nested_cluster_type.go
- nested_console_server_port.go
- nested_device.go
- nested_device_role.go
- nested_device_type.go
- nested_interface.go
- nested_ip_address.go
- nested_manufacturer.go
- nested_platform.go
- nested_power_outlet.go
- nested_provider.go
- nested_r_i_r.go
- nested_rack.go
- nested_rack_group.go
- nested_rack_role.go
- nested_region.go
- nested_role.go
- nested_secret_role.go
- nested_site.go
- nested_tenant.go
- nested_tenant_group.go
- nested_user.go
- nested_v_l_a_n.go
- nested_v_l_a_n_group.go
- nested_v_r_f.go
- nested_virtual_machine.go
- object_change.go
- platform.go
- power_outlet.go
- power_outlet_template.go
- power_port.go
- power_port_template.go
- prefix.go
- prefix_create_update.go
- provider.go
- r_i_r.go
- rack.go
- rack_group.go
- rack_reservation.go
- rack_role.go
- region.go
- role.go
- secret.go
- secret_role.go
- service.go
- site.go
- tag.go
- tenant.go
- tenant_create_update.go
- tenant_group.go
- topology_map.go
- user_action.go
- v_l_a_n.go
- v_l_a_n_group.go
- v_r_f.go
- v_r_f_create_update.go
- virtual_chassis.go
- virtual_machine.go
- virtual_machine_ip_address.go
- virtual_machine_with_config_context.go