Documentation
¶
Overview ¶
* * MIT License * * (C) Copyright 2024 Hewlett Packard Enterprise Development LP * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR * OTHER DEALINGS IN THE SOFTWARE. *
* * MIT License * * (C) Copyright 2024 Hewlett Packard Enterprise Development LP * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR * OTHER DEALINGS IN THE SOFTWARE. *
* * MIT License * * (C) Copyright 2024 Hewlett Packard Enterprise Development LP * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR * OTHER DEALINGS IN THE SOFTWARE. *
* * MIT License * * (C) Copyright 2024 Hewlett Packard Enterprise Development LP * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR * OTHER DEALINGS IN THE SOFTWARE. *
Index ¶
- func NewClient() (*netbox.APIClient, context.Context, error)
- type DeviceType
- type DeviceTypeAirflow
- type DeviceTypeConsolePortsElem
- type DeviceTypeConsolePortsElemType
- type DeviceTypeConsoleServerPortsElem
- type DeviceTypeConsoleServerPortsElemType
- type DeviceTypeDeviceBaysElem
- type DeviceTypeFrontPortsElem
- type DeviceTypeFrontPortsElemType
- type DeviceTypeInterfacesElem
- type DeviceTypeInterfacesElemPoeMode
- type DeviceTypeInterfacesElemPoeType
- type DeviceTypeInterfacesElemType
- type DeviceTypeInventoryItemsElem
- type DeviceTypeModuleBaysElem
- type DeviceTypePowerOutletsElem
- type DeviceTypePowerOutletsElemFeedLeg
- type DeviceTypePowerOutletsElemType
- type DeviceTypePowerPortsElem
- type DeviceTypePowerPortsElemType
- type DeviceTypeRearPortsElem
- type DeviceTypeRearPortsElemType
- type DeviceTypeSubdeviceRole
- type DeviceTypeWeightUnit
- type ModuleType
- type ModuleTypeConsolePortsElem
- type ModuleTypeConsolePortsElemType
- type ModuleTypeConsoleServerPortsElem
- type ModuleTypeConsoleServerPortsElemType
- type ModuleTypeFrontPortsElem
- type ModuleTypeFrontPortsElemType
- type ModuleTypeInterfacesElem
- type ModuleTypeInterfacesElemPoeMode
- type ModuleTypeInterfacesElemPoeType
- type ModuleTypeInterfacesElemType
- type ModuleTypePowerOutletsElem
- type ModuleTypePowerOutletsElemFeedLeg
- type ModuleTypePowerOutletsElemType
- type ModuleTypePowerPortsElem
- type ModuleTypePowerPortsElemType
- type ModuleTypeRearPortsElem
- type ModuleTypeRearPortsElemType
- type ModuleTypeWeightUnit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DeviceType ¶
type DeviceType struct {
// Airflow corresponds to the JSON schema field "airflow".
Airflow *DeviceTypeAirflow `json:"airflow,omitempty" yaml:"airflow,omitempty" mapstructure:"airflow,omitempty"`
// Comments corresponds to the JSON schema field "comments".
Comments *string `json:"comments,omitempty" yaml:"comments,omitempty" mapstructure:"comments,omitempty"`
// ConsolePorts corresponds to the JSON schema field "console-ports".
ConsolePorts []DeviceTypeConsolePortsElem `json:"console-ports,omitempty" yaml:"console-ports,omitempty" mapstructure:"console-ports,omitempty"`
// ConsoleServerPorts corresponds to the JSON schema field "console-server-ports".
ConsoleServerPorts []DeviceTypeConsoleServerPortsElem `json:"console-server-ports,omitempty" yaml:"console-server-ports,omitempty" mapstructure:"console-server-ports,omitempty"`
// Description corresponds to the JSON schema field "description".
Description *string `json:"description,omitempty" yaml:"description,omitempty" mapstructure:"description,omitempty"`
// DeviceBays corresponds to the JSON schema field "device-bays".
DeviceBays []DeviceTypeDeviceBaysElem `json:"device-bays,omitempty" yaml:"device-bays,omitempty" mapstructure:"device-bays,omitempty"`
// FrontPorts corresponds to the JSON schema field "front-ports".
FrontPorts []DeviceTypeFrontPortsElem `json:"front-ports,omitempty" yaml:"front-ports,omitempty" mapstructure:"front-ports,omitempty"`
// FrontImage corresponds to the JSON schema field "front_image".
FrontImage *bool `json:"front_image,omitempty" yaml:"front_image,omitempty" mapstructure:"front_image,omitempty"`
// Interfaces corresponds to the JSON schema field "interfaces".
Interfaces []DeviceTypeInterfacesElem `json:"interfaces,omitempty" yaml:"interfaces,omitempty" mapstructure:"interfaces,omitempty"`
// InventoryItems corresponds to the JSON schema field "inventory-items".
InventoryItems []DeviceTypeInventoryItemsElem `json:"inventory-items,omitempty" yaml:"inventory-items,omitempty" mapstructure:"inventory-items,omitempty"`
// IsFullDepth corresponds to the JSON schema field "is_full_depth".
IsFullDepth *bool `json:"is_full_depth,omitempty" yaml:"is_full_depth,omitempty" mapstructure:"is_full_depth,omitempty"`
// IsPowered corresponds to the JSON schema field "is_powered".
IsPowered *bool `json:"is_powered,omitempty" yaml:"is_powered,omitempty" mapstructure:"is_powered,omitempty"`
// Manufacturer corresponds to the JSON schema field "manufacturer".
Manufacturer string `json:"manufacturer" yaml:"manufacturer" mapstructure:"manufacturer"`
// Model corresponds to the JSON schema field "model".
Model string `json:"model" yaml:"model" mapstructure:"model"`
// ModuleBays corresponds to the JSON schema field "module-bays".
ModuleBays []DeviceTypeModuleBaysElem `json:"module-bays,omitempty" yaml:"module-bays,omitempty" mapstructure:"module-bays,omitempty"`
// PartNumber corresponds to the JSON schema field "part_number".
PartNumber *string `json:"part_number,omitempty" yaml:"part_number,omitempty" mapstructure:"part_number,omitempty"`
// PowerOutlets corresponds to the JSON schema field "power-outlets".
PowerOutlets []DeviceTypePowerOutletsElem `json:"power-outlets,omitempty" yaml:"power-outlets,omitempty" mapstructure:"power-outlets,omitempty"`
// PowerPorts corresponds to the JSON schema field "power-ports".
PowerPorts []DeviceTypePowerPortsElem `json:"power-ports,omitempty" yaml:"power-ports,omitempty" mapstructure:"power-ports,omitempty"`
// RearPorts corresponds to the JSON schema field "rear-ports".
RearPorts []DeviceTypeRearPortsElem `json:"rear-ports,omitempty" yaml:"rear-ports,omitempty" mapstructure:"rear-ports,omitempty"`
// RearImage corresponds to the JSON schema field "rear_image".
RearImage *bool `json:"rear_image,omitempty" yaml:"rear_image,omitempty" mapstructure:"rear_image,omitempty"`
// Slug corresponds to the JSON schema field "slug".
Slug string `json:"slug" yaml:"slug" mapstructure:"slug"`
// SubdeviceRole corresponds to the JSON schema field "subdevice_role".
SubdeviceRole *DeviceTypeSubdeviceRole `json:"subdevice_role,omitempty" yaml:"subdevice_role,omitempty" mapstructure:"subdevice_role,omitempty"`
// UHeight corresponds to the JSON schema field "u_height".
UHeight *float64 `json:"u_height,omitempty" yaml:"u_height,omitempty" mapstructure:"u_height,omitempty"`
// Weight corresponds to the JSON schema field "weight".
Weight *float64 `json:"weight,omitempty" yaml:"weight,omitempty" mapstructure:"weight,omitempty"`
// WeightUnit corresponds to the JSON schema field "weight_unit".
WeightUnit *DeviceTypeWeightUnit `json:"weight_unit,omitempty" yaml:"weight_unit,omitempty" mapstructure:"weight_unit,omitempty"`
}
Code generated by github.com/atombender/go-jsonschema, DO NOT EDIT.
func UnmarshalDeviceType ¶
func UnmarshalDeviceType(path string) (DeviceType, error)
func (*DeviceType) UnmarshalJSON ¶
func (j *DeviceType) UnmarshalJSON(b []byte) error
UnmarshalYAML implements json.Unmarshaler.
func (*DeviceType) UnmarshalYAML ¶
func (j *DeviceType) UnmarshalYAML(b []byte) error
UnmarshalJSON implements yaml.Unmarshaler.
type DeviceTypeAirflow ¶
type DeviceTypeAirflow string
const DeviceTypeAirflowFrontToRear DeviceTypeAirflow = "front-to-rear"
const DeviceTypeAirflowLeftToRight DeviceTypeAirflow = "left-to-right"
const DeviceTypeAirflowMixed DeviceTypeAirflow = "mixed"
const DeviceTypeAirflowPassive DeviceTypeAirflow = "passive"
const DeviceTypeAirflowRearToFront DeviceTypeAirflow = "rear-to-front"
const DeviceTypeAirflowRightToLeft DeviceTypeAirflow = "right-to-left"
const DeviceTypeAirflowSideToRear DeviceTypeAirflow = "side-to-rear"
func (*DeviceTypeAirflow) UnmarshalJSON ¶
func (j *DeviceTypeAirflow) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type DeviceTypeConsolePortsElem ¶
type DeviceTypeConsolePortsElem struct {
// Label corresponds to the JSON schema field "label".
Label *string `json:"label,omitempty" yaml:"label,omitempty" mapstructure:"label,omitempty"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name" yaml:"name" mapstructure:"name"`
// Poe corresponds to the JSON schema field "poe".
Poe *bool `json:"poe,omitempty" yaml:"poe,omitempty" mapstructure:"poe,omitempty"`
// Type corresponds to the JSON schema field "type".
Type DeviceTypeConsolePortsElemType `json:"type" yaml:"type" mapstructure:"type"`
}
func (*DeviceTypeConsolePortsElem) UnmarshalJSON ¶
func (j *DeviceTypeConsolePortsElem) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type DeviceTypeConsolePortsElemType ¶
type DeviceTypeConsolePortsElemType string
const DeviceTypeConsolePortsElemTypeDb25 DeviceTypeConsolePortsElemType = "db-25"
const DeviceTypeConsolePortsElemTypeDe9 DeviceTypeConsolePortsElemType = "de-9"
const DeviceTypeConsolePortsElemTypeMiniDin8 DeviceTypeConsolePortsElemType = "mini-din-8"
const DeviceTypeConsolePortsElemTypeOther DeviceTypeConsolePortsElemType = "other"
const DeviceTypeConsolePortsElemTypeRj11 DeviceTypeConsolePortsElemType = "rj-11"
const DeviceTypeConsolePortsElemTypeRj12 DeviceTypeConsolePortsElemType = "rj-12"
const DeviceTypeConsolePortsElemTypeRj45 DeviceTypeConsolePortsElemType = "rj-45"
const DeviceTypeConsolePortsElemTypeUsbA DeviceTypeConsolePortsElemType = "usb-a"
const DeviceTypeConsolePortsElemTypeUsbB DeviceTypeConsolePortsElemType = "usb-b"
const DeviceTypeConsolePortsElemTypeUsbC DeviceTypeConsolePortsElemType = "usb-c"
const DeviceTypeConsolePortsElemTypeUsbMicroA DeviceTypeConsolePortsElemType = "usb-micro-a"
const DeviceTypeConsolePortsElemTypeUsbMicroAb DeviceTypeConsolePortsElemType = "usb-micro-ab"
const DeviceTypeConsolePortsElemTypeUsbMicroB DeviceTypeConsolePortsElemType = "usb-micro-b"
const DeviceTypeConsolePortsElemTypeUsbMiniA DeviceTypeConsolePortsElemType = "usb-mini-a"
const DeviceTypeConsolePortsElemTypeUsbMiniB DeviceTypeConsolePortsElemType = "usb-mini-b"
func (*DeviceTypeConsolePortsElemType) UnmarshalJSON ¶
func (j *DeviceTypeConsolePortsElemType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type DeviceTypeConsoleServerPortsElem ¶
type DeviceTypeConsoleServerPortsElem struct {
// Label corresponds to the JSON schema field "label".
Label *string `json:"label,omitempty" yaml:"label,omitempty" mapstructure:"label,omitempty"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name" yaml:"name" mapstructure:"name"`
// Type corresponds to the JSON schema field "type".
Type DeviceTypeConsoleServerPortsElemType `json:"type" yaml:"type" mapstructure:"type"`
}
func (*DeviceTypeConsoleServerPortsElem) UnmarshalJSON ¶
func (j *DeviceTypeConsoleServerPortsElem) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type DeviceTypeConsoleServerPortsElemType ¶
type DeviceTypeConsoleServerPortsElemType string
const DeviceTypeConsoleServerPortsElemTypeDb25 DeviceTypeConsoleServerPortsElemType = "db-25"
const DeviceTypeConsoleServerPortsElemTypeDe9 DeviceTypeConsoleServerPortsElemType = "de-9"
const DeviceTypeConsoleServerPortsElemTypeMiniDin8 DeviceTypeConsoleServerPortsElemType = "mini-din-8"
const DeviceTypeConsoleServerPortsElemTypeOther DeviceTypeConsoleServerPortsElemType = "other"
const DeviceTypeConsoleServerPortsElemTypeRj11 DeviceTypeConsoleServerPortsElemType = "rj-11"
const DeviceTypeConsoleServerPortsElemTypeRj12 DeviceTypeConsoleServerPortsElemType = "rj-12"
const DeviceTypeConsoleServerPortsElemTypeRj45 DeviceTypeConsoleServerPortsElemType = "rj-45"
const DeviceTypeConsoleServerPortsElemTypeUsbA DeviceTypeConsoleServerPortsElemType = "usb-a"
const DeviceTypeConsoleServerPortsElemTypeUsbB DeviceTypeConsoleServerPortsElemType = "usb-b"
const DeviceTypeConsoleServerPortsElemTypeUsbC DeviceTypeConsoleServerPortsElemType = "usb-c"
const DeviceTypeConsoleServerPortsElemTypeUsbMicroA DeviceTypeConsoleServerPortsElemType = "usb-micro-a"
const DeviceTypeConsoleServerPortsElemTypeUsbMicroAb DeviceTypeConsoleServerPortsElemType = "usb-micro-ab"
const DeviceTypeConsoleServerPortsElemTypeUsbMicroB DeviceTypeConsoleServerPortsElemType = "usb-micro-b"
const DeviceTypeConsoleServerPortsElemTypeUsbMiniA DeviceTypeConsoleServerPortsElemType = "usb-mini-a"
const DeviceTypeConsoleServerPortsElemTypeUsbMiniB DeviceTypeConsoleServerPortsElemType = "usb-mini-b"
func (*DeviceTypeConsoleServerPortsElemType) UnmarshalJSON ¶
func (j *DeviceTypeConsoleServerPortsElemType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type DeviceTypeDeviceBaysElem ¶
type DeviceTypeDeviceBaysElem struct {
// Label corresponds to the JSON schema field "label".
Label *string `json:"label,omitempty" yaml:"label,omitempty" mapstructure:"label,omitempty"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name" yaml:"name" mapstructure:"name"`
}
func (*DeviceTypeDeviceBaysElem) UnmarshalJSON ¶
func (j *DeviceTypeDeviceBaysElem) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type DeviceTypeFrontPortsElem ¶
type DeviceTypeFrontPortsElem struct {
// Color corresponds to the JSON schema field "color".
Color *string `json:"color,omitempty" yaml:"color,omitempty" mapstructure:"color,omitempty"`
// Label corresponds to the JSON schema field "label".
Label *string `json:"label,omitempty" yaml:"label,omitempty" mapstructure:"label,omitempty"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name" yaml:"name" mapstructure:"name"`
// RearPort corresponds to the JSON schema field "rear_port".
RearPort string `json:"rear_port" yaml:"rear_port" mapstructure:"rear_port"`
// RearPortPosition corresponds to the JSON schema field "rear_port_position".
RearPortPosition *int `json:"rear_port_position,omitempty" yaml:"rear_port_position,omitempty" mapstructure:"rear_port_position,omitempty"`
// Type corresponds to the JSON schema field "type".
Type DeviceTypeFrontPortsElemType `json:"type" yaml:"type" mapstructure:"type"`
}
func (*DeviceTypeFrontPortsElem) UnmarshalJSON ¶
func (j *DeviceTypeFrontPortsElem) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type DeviceTypeFrontPortsElemType ¶
type DeviceTypeFrontPortsElemType string
const DeviceTypeFrontPortsElemTypeA110Punch DeviceTypeFrontPortsElemType = "110-punch"
const DeviceTypeFrontPortsElemTypeA4P2C DeviceTypeFrontPortsElemType = "4p2c"
const DeviceTypeFrontPortsElemTypeA4P4C DeviceTypeFrontPortsElemType = "4p4c"
const DeviceTypeFrontPortsElemTypeA6P2C DeviceTypeFrontPortsElemType = "6p2c"
const DeviceTypeFrontPortsElemTypeA6P4C DeviceTypeFrontPortsElemType = "6p4c"
const DeviceTypeFrontPortsElemTypeA6P6C DeviceTypeFrontPortsElemType = "6p6c"
const DeviceTypeFrontPortsElemTypeA8P2C DeviceTypeFrontPortsElemType = "8p2c"
const DeviceTypeFrontPortsElemTypeA8P4C DeviceTypeFrontPortsElemType = "8p4c"
const DeviceTypeFrontPortsElemTypeA8P6C DeviceTypeFrontPortsElemType = "8p6c"
const DeviceTypeFrontPortsElemTypeA8P8C DeviceTypeFrontPortsElemType = "8p8c"
const DeviceTypeFrontPortsElemTypeBnc DeviceTypeFrontPortsElemType = "bnc"
const DeviceTypeFrontPortsElemTypeCs DeviceTypeFrontPortsElemType = "cs"
const DeviceTypeFrontPortsElemTypeF DeviceTypeFrontPortsElemType = "f"
const DeviceTypeFrontPortsElemTypeFc DeviceTypeFrontPortsElemType = "fc"
const DeviceTypeFrontPortsElemTypeGg45 DeviceTypeFrontPortsElemType = "gg45"
const DeviceTypeFrontPortsElemTypeLc DeviceTypeFrontPortsElemType = "lc"
const DeviceTypeFrontPortsElemTypeLcApc DeviceTypeFrontPortsElemType = "lc-apc"
const DeviceTypeFrontPortsElemTypeLcPc DeviceTypeFrontPortsElemType = "lc-pc"
const DeviceTypeFrontPortsElemTypeLcUpc DeviceTypeFrontPortsElemType = "lc-upc"
const DeviceTypeFrontPortsElemTypeLsh DeviceTypeFrontPortsElemType = "lsh"
const DeviceTypeFrontPortsElemTypeLshApc DeviceTypeFrontPortsElemType = "lsh-apc"
const DeviceTypeFrontPortsElemTypeLshPc DeviceTypeFrontPortsElemType = "lsh-pc"
const DeviceTypeFrontPortsElemTypeLshUpc DeviceTypeFrontPortsElemType = "lsh-upc"
const DeviceTypeFrontPortsElemTypeLx5 DeviceTypeFrontPortsElemType = "lx5"
const DeviceTypeFrontPortsElemTypeLx5Apc DeviceTypeFrontPortsElemType = "lx5-apc"
const DeviceTypeFrontPortsElemTypeLx5Pc DeviceTypeFrontPortsElemType = "lx5-pc"
const DeviceTypeFrontPortsElemTypeLx5Upc DeviceTypeFrontPortsElemType = "lx5-upc"
const DeviceTypeFrontPortsElemTypeMpo DeviceTypeFrontPortsElemType = "mpo"
const DeviceTypeFrontPortsElemTypeMrj21 DeviceTypeFrontPortsElemType = "mrj21"
const DeviceTypeFrontPortsElemTypeMtrj DeviceTypeFrontPortsElemType = "mtrj"
const DeviceTypeFrontPortsElemTypeN DeviceTypeFrontPortsElemType = "n"
const DeviceTypeFrontPortsElemTypeOther DeviceTypeFrontPortsElemType = "other"
const DeviceTypeFrontPortsElemTypeSc DeviceTypeFrontPortsElemType = "sc"
const DeviceTypeFrontPortsElemTypeScApc DeviceTypeFrontPortsElemType = "sc-apc"
const DeviceTypeFrontPortsElemTypeScPc DeviceTypeFrontPortsElemType = "sc-pc"
const DeviceTypeFrontPortsElemTypeScUpc DeviceTypeFrontPortsElemType = "sc-upc"
const DeviceTypeFrontPortsElemTypeSma905 DeviceTypeFrontPortsElemType = "sma-905"
const DeviceTypeFrontPortsElemTypeSma906 DeviceTypeFrontPortsElemType = "sma-906"
const DeviceTypeFrontPortsElemTypeSn DeviceTypeFrontPortsElemType = "sn"
const DeviceTypeFrontPortsElemTypeSplice DeviceTypeFrontPortsElemType = "splice"
const DeviceTypeFrontPortsElemTypeSt DeviceTypeFrontPortsElemType = "st"
const DeviceTypeFrontPortsElemTypeTera1P DeviceTypeFrontPortsElemType = "tera-1p"
const DeviceTypeFrontPortsElemTypeTera2P DeviceTypeFrontPortsElemType = "tera-2p"
const DeviceTypeFrontPortsElemTypeTera4P DeviceTypeFrontPortsElemType = "tera-4p"
const DeviceTypeFrontPortsElemTypeUrmP2 DeviceTypeFrontPortsElemType = "urm-p2"
const DeviceTypeFrontPortsElemTypeUrmP4 DeviceTypeFrontPortsElemType = "urm-p4"
const DeviceTypeFrontPortsElemTypeUrmP8 DeviceTypeFrontPortsElemType = "urm-p8"
func (*DeviceTypeFrontPortsElemType) UnmarshalJSON ¶
func (j *DeviceTypeFrontPortsElemType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type DeviceTypeInterfacesElem ¶
type DeviceTypeInterfacesElem struct {
// Label corresponds to the JSON schema field "label".
Label *string `json:"label,omitempty" yaml:"label,omitempty" mapstructure:"label,omitempty"`
// MgmtOnly corresponds to the JSON schema field "mgmt_only".
MgmtOnly *bool `json:"mgmt_only,omitempty" yaml:"mgmt_only,omitempty" mapstructure:"mgmt_only,omitempty"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name" yaml:"name" mapstructure:"name"`
// PoeMode corresponds to the JSON schema field "poe_mode".
PoeMode *DeviceTypeInterfacesElemPoeMode `json:"poe_mode,omitempty" yaml:"poe_mode,omitempty" mapstructure:"poe_mode,omitempty"`
// PoeType corresponds to the JSON schema field "poe_type".
PoeType *DeviceTypeInterfacesElemPoeType `json:"poe_type,omitempty" yaml:"poe_type,omitempty" mapstructure:"poe_type,omitempty"`
// Type corresponds to the JSON schema field "type".
Type DeviceTypeInterfacesElemType `json:"type" yaml:"type" mapstructure:"type"`
}
func (*DeviceTypeInterfacesElem) UnmarshalJSON ¶
func (j *DeviceTypeInterfacesElem) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type DeviceTypeInterfacesElemPoeMode ¶
type DeviceTypeInterfacesElemPoeMode string
const DeviceTypeInterfacesElemPoeModePd DeviceTypeInterfacesElemPoeMode = "pd"
const DeviceTypeInterfacesElemPoeModePse DeviceTypeInterfacesElemPoeMode = "pse"
func (*DeviceTypeInterfacesElemPoeMode) UnmarshalJSON ¶
func (j *DeviceTypeInterfacesElemPoeMode) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type DeviceTypeInterfacesElemPoeType ¶
type DeviceTypeInterfacesElemPoeType string
const DeviceTypeInterfacesElemPoeTypePassive24V2Pair DeviceTypeInterfacesElemPoeType = "passive-24v-2pair"
const DeviceTypeInterfacesElemPoeTypePassive24V4Pair DeviceTypeInterfacesElemPoeType = "passive-24v-4pair"
const DeviceTypeInterfacesElemPoeTypePassive48V2Pair DeviceTypeInterfacesElemPoeType = "passive-48v-2pair"
const DeviceTypeInterfacesElemPoeTypePassive48V4Pair DeviceTypeInterfacesElemPoeType = "passive-48v-4pair"
const DeviceTypeInterfacesElemPoeTypeType1Ieee8023Af DeviceTypeInterfacesElemPoeType = "type1-ieee802.3af"
const DeviceTypeInterfacesElemPoeTypeType2Ieee8023At DeviceTypeInterfacesElemPoeType = "type2-ieee802.3at"
const DeviceTypeInterfacesElemPoeTypeType3Ieee8023Bt DeviceTypeInterfacesElemPoeType = "type3-ieee802.3bt"
const DeviceTypeInterfacesElemPoeTypeType4Ieee8023Bt DeviceTypeInterfacesElemPoeType = "type4-ieee802.3bt"
func (*DeviceTypeInterfacesElemPoeType) UnmarshalJSON ¶
func (j *DeviceTypeInterfacesElemPoeType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type DeviceTypeInterfacesElemType ¶
type DeviceTypeInterfacesElemType string
const DeviceTypeInterfacesElemTypeA1000BaseKx DeviceTypeInterfacesElemType = "1000base-kx"
const DeviceTypeInterfacesElemTypeA1000BaseT DeviceTypeInterfacesElemType = "1000base-t"
const DeviceTypeInterfacesElemTypeA1000BaseXGbic DeviceTypeInterfacesElemType = "1000base-x-gbic"
const DeviceTypeInterfacesElemTypeA1000BaseXSfp DeviceTypeInterfacesElemType = "1000base-x-sfp"
const DeviceTypeInterfacesElemTypeA100BaseFx DeviceTypeInterfacesElemType = "100base-fx"
const DeviceTypeInterfacesElemTypeA100BaseLfx DeviceTypeInterfacesElemType = "100base-lfx"
const DeviceTypeInterfacesElemTypeA100BaseT1 DeviceTypeInterfacesElemType = "100base-t1"
const DeviceTypeInterfacesElemTypeA100BaseTx DeviceTypeInterfacesElemType = "100base-tx"
const DeviceTypeInterfacesElemTypeA100GbaseKp4 DeviceTypeInterfacesElemType = "100gbase-kp4"
const DeviceTypeInterfacesElemTypeA100GbaseKr2 DeviceTypeInterfacesElemType = "100gbase-kr2"
const DeviceTypeInterfacesElemTypeA100GbaseKr4 DeviceTypeInterfacesElemType = "100gbase-kr4"
const DeviceTypeInterfacesElemTypeA100GbaseXCfp DeviceTypeInterfacesElemType = "100gbase-x-cfp"
const DeviceTypeInterfacesElemTypeA100GbaseXCfp2 DeviceTypeInterfacesElemType = "100gbase-x-cfp2"
const DeviceTypeInterfacesElemTypeA100GbaseXCfp4 DeviceTypeInterfacesElemType = "100gbase-x-cfp4"
const DeviceTypeInterfacesElemTypeA100GbaseXCpak DeviceTypeInterfacesElemType = "100gbase-x-cpak"
const DeviceTypeInterfacesElemTypeA100GbaseXCxp DeviceTypeInterfacesElemType = "100gbase-x-cxp"
const DeviceTypeInterfacesElemTypeA100GbaseXDsfp DeviceTypeInterfacesElemType = "100gbase-x-dsfp"
const DeviceTypeInterfacesElemTypeA100GbaseXQsfp28 DeviceTypeInterfacesElemType = "100gbase-x-qsfp28"
const DeviceTypeInterfacesElemTypeA100GbaseXQsfpdd DeviceTypeInterfacesElemType = "100gbase-x-qsfpdd"
const DeviceTypeInterfacesElemTypeA100GbaseXSfpdd DeviceTypeInterfacesElemType = "100gbase-x-sfpdd"
const DeviceTypeInterfacesElemTypeA10GEpon DeviceTypeInterfacesElemType = "10g-epon"
const DeviceTypeInterfacesElemTypeA10GbaseCx4 DeviceTypeInterfacesElemType = "10gbase-cx4"
const DeviceTypeInterfacesElemTypeA10GbaseKr DeviceTypeInterfacesElemType = "10gbase-kr"
const DeviceTypeInterfacesElemTypeA10GbaseKx4 DeviceTypeInterfacesElemType = "10gbase-kx4"
const DeviceTypeInterfacesElemTypeA10GbaseT DeviceTypeInterfacesElemType = "10gbase-t"
const DeviceTypeInterfacesElemTypeA10GbaseXSfpp DeviceTypeInterfacesElemType = "10gbase-x-sfpp"
const DeviceTypeInterfacesElemTypeA10GbaseXX2 DeviceTypeInterfacesElemType = "10gbase-x-x2"
const DeviceTypeInterfacesElemTypeA10GbaseXXenpak DeviceTypeInterfacesElemType = "10gbase-x-xenpak"
const DeviceTypeInterfacesElemTypeA10GbaseXXfp DeviceTypeInterfacesElemType = "10gbase-x-xfp"
const DeviceTypeInterfacesElemTypeA128GfcQsfp28 DeviceTypeInterfacesElemType = "128gfc-qsfp28"
const DeviceTypeInterfacesElemTypeA16GfcSfpp DeviceTypeInterfacesElemType = "16gfc-sfpp"
const DeviceTypeInterfacesElemTypeA1GfcSfp DeviceTypeInterfacesElemType = "1gfc-sfp"
const DeviceTypeInterfacesElemTypeA200GbaseXCfp2 DeviceTypeInterfacesElemType = "200gbase-x-cfp2"
const DeviceTypeInterfacesElemTypeA200GbaseXQsfp56 DeviceTypeInterfacesElemType = "200gbase-x-qsfp56"
const DeviceTypeInterfacesElemTypeA200GbaseXQsfpdd DeviceTypeInterfacesElemType = "200gbase-x-qsfpdd"
const DeviceTypeInterfacesElemTypeA25GbaseKr DeviceTypeInterfacesElemType = "25gbase-kr"
const DeviceTypeInterfacesElemTypeA25GbaseT DeviceTypeInterfacesElemType = "2.5gbase-t"
const DeviceTypeInterfacesElemTypeA25GbaseXSfp28 DeviceTypeInterfacesElemType = "25gbase-x-sfp28"
const DeviceTypeInterfacesElemTypeA2GfcSfp DeviceTypeInterfacesElemType = "2gfc-sfp"
const DeviceTypeInterfacesElemTypeA32GfcSfp28 DeviceTypeInterfacesElemType = "32gfc-sfp28"
const DeviceTypeInterfacesElemTypeA400GbaseXCdfp DeviceTypeInterfacesElemType = "400gbase-x-cdfp"
const DeviceTypeInterfacesElemTypeA400GbaseXCfp2 DeviceTypeInterfacesElemType = "400gbase-x-cfp2"
const DeviceTypeInterfacesElemTypeA400GbaseXCfp8 DeviceTypeInterfacesElemType = "400gbase-x-cfp8"
const DeviceTypeInterfacesElemTypeA400GbaseXOsfp DeviceTypeInterfacesElemType = "400gbase-x-osfp"
const DeviceTypeInterfacesElemTypeA400GbaseXOsfpRhs DeviceTypeInterfacesElemType = "400gbase-x-osfp-rhs"
const DeviceTypeInterfacesElemTypeA400GbaseXQsfp112 DeviceTypeInterfacesElemType = "400gbase-x-qsfp112"
const DeviceTypeInterfacesElemTypeA400GbaseXQsfpdd DeviceTypeInterfacesElemType = "400gbase-x-qsfpdd"
const DeviceTypeInterfacesElemTypeA40GbaseKr4 DeviceTypeInterfacesElemType = "40gbase-kr4"
const DeviceTypeInterfacesElemTypeA40GbaseXQsfpp DeviceTypeInterfacesElemType = "40gbase-x-qsfpp"
const DeviceTypeInterfacesElemTypeA4GfcSfp DeviceTypeInterfacesElemType = "4gfc-sfp"
const DeviceTypeInterfacesElemTypeA50GbaseKr DeviceTypeInterfacesElemType = "50gbase-kr"
const DeviceTypeInterfacesElemTypeA50GbaseXSfp28 DeviceTypeInterfacesElemType = "50gbase-x-sfp28"
const DeviceTypeInterfacesElemTypeA50GbaseXSfp56 DeviceTypeInterfacesElemType = "50gbase-x-sfp56"
const DeviceTypeInterfacesElemTypeA5GbaseT DeviceTypeInterfacesElemType = "5gbase-t"
const DeviceTypeInterfacesElemTypeA64GfcQsfpp DeviceTypeInterfacesElemType = "64gfc-qsfpp"
const DeviceTypeInterfacesElemTypeA800GbaseXOsfp DeviceTypeInterfacesElemType = "800gbase-x-osfp"
const DeviceTypeInterfacesElemTypeA800GbaseXQsfpdd DeviceTypeInterfacesElemType = "800gbase-x-qsfpdd"
const DeviceTypeInterfacesElemTypeA8GfcSfpp DeviceTypeInterfacesElemType = "8gfc-sfpp"
const DeviceTypeInterfacesElemTypeBridge DeviceTypeInterfacesElemType = "bridge"
const DeviceTypeInterfacesElemTypeCdma DeviceTypeInterfacesElemType = "cdma"
const DeviceTypeInterfacesElemTypeCiscoFlexstack DeviceTypeInterfacesElemType = "cisco-flexstack"
const DeviceTypeInterfacesElemTypeCiscoFlexstackPlus DeviceTypeInterfacesElemType = "cisco-flexstack-plus"
const DeviceTypeInterfacesElemTypeCiscoStackwise DeviceTypeInterfacesElemType = "cisco-stackwise"
const DeviceTypeInterfacesElemTypeCiscoStackwise160 DeviceTypeInterfacesElemType = "cisco-stackwise-160"
const DeviceTypeInterfacesElemTypeCiscoStackwise1T DeviceTypeInterfacesElemType = "cisco-stackwise-1t"
const DeviceTypeInterfacesElemTypeCiscoStackwise320 DeviceTypeInterfacesElemType = "cisco-stackwise-320"
const DeviceTypeInterfacesElemTypeCiscoStackwise480 DeviceTypeInterfacesElemType = "cisco-stackwise-480"
const DeviceTypeInterfacesElemTypeCiscoStackwise80 DeviceTypeInterfacesElemType = "cisco-stackwise-80"
const DeviceTypeInterfacesElemTypeCiscoStackwisePlus DeviceTypeInterfacesElemType = "cisco-stackwise-plus"
const DeviceTypeInterfacesElemTypeDocsis DeviceTypeInterfacesElemType = "docsis"
const DeviceTypeInterfacesElemTypeE1 DeviceTypeInterfacesElemType = "e1"
const DeviceTypeInterfacesElemTypeE3 DeviceTypeInterfacesElemType = "e3"
const DeviceTypeInterfacesElemTypeEpon DeviceTypeInterfacesElemType = "epon"
const DeviceTypeInterfacesElemTypeExtremeSummitstack DeviceTypeInterfacesElemType = "extreme-summitstack"
const DeviceTypeInterfacesElemTypeExtremeSummitstack128 DeviceTypeInterfacesElemType = "extreme-summitstack-128"
const DeviceTypeInterfacesElemTypeExtremeSummitstack256 DeviceTypeInterfacesElemType = "extreme-summitstack-256"
const DeviceTypeInterfacesElemTypeExtremeSummitstack512 DeviceTypeInterfacesElemType = "extreme-summitstack-512"
const DeviceTypeInterfacesElemTypeGpon DeviceTypeInterfacesElemType = "gpon"
const DeviceTypeInterfacesElemTypeGsm DeviceTypeInterfacesElemType = "gsm"
const DeviceTypeInterfacesElemTypeIeee80211A DeviceTypeInterfacesElemType = "ieee802.11a"
const DeviceTypeInterfacesElemTypeIeee80211Ac DeviceTypeInterfacesElemType = "ieee802.11ac"
const DeviceTypeInterfacesElemTypeIeee80211Ad DeviceTypeInterfacesElemType = "ieee802.11ad"
const DeviceTypeInterfacesElemTypeIeee80211Ax DeviceTypeInterfacesElemType = "ieee802.11ax"
const DeviceTypeInterfacesElemTypeIeee80211Ay DeviceTypeInterfacesElemType = "ieee802.11ay"
const DeviceTypeInterfacesElemTypeIeee80211G DeviceTypeInterfacesElemType = "ieee802.11g"
const DeviceTypeInterfacesElemTypeIeee80211N DeviceTypeInterfacesElemType = "ieee802.11n"
const DeviceTypeInterfacesElemTypeIeee802151 DeviceTypeInterfacesElemType = "ieee802.15.1"
const DeviceTypeInterfacesElemTypeInfinibandDdr DeviceTypeInterfacesElemType = "infiniband-ddr"
const DeviceTypeInterfacesElemTypeInfinibandEdr DeviceTypeInterfacesElemType = "infiniband-edr"
const DeviceTypeInterfacesElemTypeInfinibandFdr DeviceTypeInterfacesElemType = "infiniband-fdr"
const DeviceTypeInterfacesElemTypeInfinibandFdr10 DeviceTypeInterfacesElemType = "infiniband-fdr10"
const DeviceTypeInterfacesElemTypeInfinibandHdr DeviceTypeInterfacesElemType = "infiniband-hdr"
const DeviceTypeInterfacesElemTypeInfinibandNdr DeviceTypeInterfacesElemType = "infiniband-ndr"
const DeviceTypeInterfacesElemTypeInfinibandQdr DeviceTypeInterfacesElemType = "infiniband-qdr"
const DeviceTypeInterfacesElemTypeInfinibandSdr DeviceTypeInterfacesElemType = "infiniband-sdr"
const DeviceTypeInterfacesElemTypeInfinibandXdr DeviceTypeInterfacesElemType = "infiniband-xdr"
const DeviceTypeInterfacesElemTypeJuniperVcp DeviceTypeInterfacesElemType = "juniper-vcp"
const DeviceTypeInterfacesElemTypeLag DeviceTypeInterfacesElemType = "lag"
const DeviceTypeInterfacesElemTypeLte DeviceTypeInterfacesElemType = "lte"
const DeviceTypeInterfacesElemTypeNgPon2 DeviceTypeInterfacesElemType = "ng-pon2"
const DeviceTypeInterfacesElemTypeOther DeviceTypeInterfacesElemType = "other"
const DeviceTypeInterfacesElemTypeOtherWireless DeviceTypeInterfacesElemType = "other-wireless"
const DeviceTypeInterfacesElemTypeSonetOc12 DeviceTypeInterfacesElemType = "sonet-oc12"
const DeviceTypeInterfacesElemTypeSonetOc192 DeviceTypeInterfacesElemType = "sonet-oc192"
const DeviceTypeInterfacesElemTypeSonetOc1920 DeviceTypeInterfacesElemType = "sonet-oc1920"
const DeviceTypeInterfacesElemTypeSonetOc3 DeviceTypeInterfacesElemType = "sonet-oc3"
const DeviceTypeInterfacesElemTypeSonetOc3840 DeviceTypeInterfacesElemType = "sonet-oc3840"
const DeviceTypeInterfacesElemTypeSonetOc48 DeviceTypeInterfacesElemType = "sonet-oc48"
const DeviceTypeInterfacesElemTypeSonetOc768 DeviceTypeInterfacesElemType = "sonet-oc768"
const DeviceTypeInterfacesElemTypeT1 DeviceTypeInterfacesElemType = "t1"
const DeviceTypeInterfacesElemTypeT3 DeviceTypeInterfacesElemType = "t3"
const DeviceTypeInterfacesElemTypeVirtual DeviceTypeInterfacesElemType = "virtual"
const DeviceTypeInterfacesElemTypeXdsl DeviceTypeInterfacesElemType = "xdsl"
const DeviceTypeInterfacesElemTypeXgPon DeviceTypeInterfacesElemType = "xg-pon"
const DeviceTypeInterfacesElemTypeXgsPon DeviceTypeInterfacesElemType = "xgs-pon"
func (*DeviceTypeInterfacesElemType) UnmarshalJSON ¶
func (j *DeviceTypeInterfacesElemType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type DeviceTypeInventoryItemsElem ¶
type DeviceTypeInventoryItemsElem struct {
// Label corresponds to the JSON schema field "label".
Label *string `json:"label,omitempty" yaml:"label,omitempty" mapstructure:"label,omitempty"`
// Manufacturer corresponds to the JSON schema field "manufacturer".
Manufacturer *string `json:"manufacturer,omitempty" yaml:"manufacturer,omitempty" mapstructure:"manufacturer,omitempty"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name" yaml:"name" mapstructure:"name"`
// PartId corresponds to the JSON schema field "part_id".
PartId *string `json:"part_id,omitempty" yaml:"part_id,omitempty" mapstructure:"part_id,omitempty"`
}
func (*DeviceTypeInventoryItemsElem) UnmarshalJSON ¶
func (j *DeviceTypeInventoryItemsElem) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type DeviceTypeModuleBaysElem ¶
type DeviceTypeModuleBaysElem struct {
// Label corresponds to the JSON schema field "label".
Label *string `json:"label,omitempty" yaml:"label,omitempty" mapstructure:"label,omitempty"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name" yaml:"name" mapstructure:"name"`
// Position corresponds to the JSON schema field "position".
Position *string `json:"position,omitempty" yaml:"position,omitempty" mapstructure:"position,omitempty"`
}
func (*DeviceTypeModuleBaysElem) UnmarshalJSON ¶
func (j *DeviceTypeModuleBaysElem) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type DeviceTypePowerOutletsElem ¶
type DeviceTypePowerOutletsElem struct {
// FeedLeg corresponds to the JSON schema field "feed_leg".
FeedLeg *DeviceTypePowerOutletsElemFeedLeg `json:"feed_leg,omitempty" yaml:"feed_leg,omitempty" mapstructure:"feed_leg,omitempty"`
// Label corresponds to the JSON schema field "label".
Label *string `json:"label,omitempty" yaml:"label,omitempty" mapstructure:"label,omitempty"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name" yaml:"name" mapstructure:"name"`
// PowerPort corresponds to the JSON schema field "power_port".
PowerPort *string `json:"power_port,omitempty" yaml:"power_port,omitempty" mapstructure:"power_port,omitempty"`
// Type corresponds to the JSON schema field "type".
Type DeviceTypePowerOutletsElemType `json:"type" yaml:"type" mapstructure:"type"`
}
func (*DeviceTypePowerOutletsElem) UnmarshalJSON ¶
func (j *DeviceTypePowerOutletsElem) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type DeviceTypePowerOutletsElemFeedLeg ¶
type DeviceTypePowerOutletsElemFeedLeg string
const DeviceTypePowerOutletsElemFeedLegA DeviceTypePowerOutletsElemFeedLeg = "A"
const DeviceTypePowerOutletsElemFeedLegB DeviceTypePowerOutletsElemFeedLeg = "B"
const DeviceTypePowerOutletsElemFeedLegC DeviceTypePowerOutletsElemFeedLeg = "C"
func (*DeviceTypePowerOutletsElemFeedLeg) UnmarshalJSON ¶
func (j *DeviceTypePowerOutletsElemFeedLeg) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type DeviceTypePowerOutletsElemType ¶
type DeviceTypePowerOutletsElemType string
const DeviceTypePowerOutletsElemTypeCS6360C DeviceTypePowerOutletsElemType = "CS6360C"
const DeviceTypePowerOutletsElemTypeCS6364C DeviceTypePowerOutletsElemType = "CS6364C"
const DeviceTypePowerOutletsElemTypeCS8164C DeviceTypePowerOutletsElemType = "CS8164C"
const DeviceTypePowerOutletsElemTypeCS8264C DeviceTypePowerOutletsElemType = "CS8264C"
const DeviceTypePowerOutletsElemTypeCS8364C DeviceTypePowerOutletsElemType = "CS8364C"
const DeviceTypePowerOutletsElemTypeCS8464C DeviceTypePowerOutletsElemType = "CS8464C"
const DeviceTypePowerOutletsElemTypeDcTerminal DeviceTypePowerOutletsElemType = "dc-terminal"
const DeviceTypePowerOutletsElemTypeHardwired DeviceTypePowerOutletsElemType = "hardwired"
const DeviceTypePowerOutletsElemTypeHdotCx DeviceTypePowerOutletsElemType = "hdot-cx"
const DeviceTypePowerOutletsElemTypeIec603092PE4H DeviceTypePowerOutletsElemType = "iec-60309-2p-e-4h"
const DeviceTypePowerOutletsElemTypeIec603092PE6H DeviceTypePowerOutletsElemType = "iec-60309-2p-e-6h"
const DeviceTypePowerOutletsElemTypeIec603092PE9H DeviceTypePowerOutletsElemType = "iec-60309-2p-e-9h"
const DeviceTypePowerOutletsElemTypeIec603093PE4H DeviceTypePowerOutletsElemType = "iec-60309-3p-e-4h"
const DeviceTypePowerOutletsElemTypeIec603093PE6H DeviceTypePowerOutletsElemType = "iec-60309-3p-e-6h"
const DeviceTypePowerOutletsElemTypeIec603093PE9H DeviceTypePowerOutletsElemType = "iec-60309-3p-e-9h"
const DeviceTypePowerOutletsElemTypeIec603093PNE4H DeviceTypePowerOutletsElemType = "iec-60309-3p-n-e-4h"
const DeviceTypePowerOutletsElemTypeIec603093PNE6H DeviceTypePowerOutletsElemType = "iec-60309-3p-n-e-6h"
const DeviceTypePowerOutletsElemTypeIec603093PNE9H DeviceTypePowerOutletsElemType = "iec-60309-3p-n-e-9h"
const DeviceTypePowerOutletsElemTypeIec60309PNE4H DeviceTypePowerOutletsElemType = "iec-60309-p-n-e-4h"
const DeviceTypePowerOutletsElemTypeIec60309PNE6H DeviceTypePowerOutletsElemType = "iec-60309-p-n-e-6h"
const DeviceTypePowerOutletsElemTypeIec60309PNE9H DeviceTypePowerOutletsElemType = "iec-60309-p-n-e-9h"
const DeviceTypePowerOutletsElemTypeIec60320C13 DeviceTypePowerOutletsElemType = "iec-60320-c13"
const DeviceTypePowerOutletsElemTypeIec60320C15 DeviceTypePowerOutletsElemType = "iec-60320-c15"
const DeviceTypePowerOutletsElemTypeIec60320C19 DeviceTypePowerOutletsElemType = "iec-60320-c19"
const DeviceTypePowerOutletsElemTypeIec60320C21 DeviceTypePowerOutletsElemType = "iec-60320-c21"
const DeviceTypePowerOutletsElemTypeIec60320C5 DeviceTypePowerOutletsElemType = "iec-60320-c5"
const DeviceTypePowerOutletsElemTypeIec60320C7 DeviceTypePowerOutletsElemType = "iec-60320-c7"
const DeviceTypePowerOutletsElemTypeIec609061 DeviceTypePowerOutletsElemType = "iec-60906-1"
const DeviceTypePowerOutletsElemTypeItaE DeviceTypePowerOutletsElemType = "ita-e"
const DeviceTypePowerOutletsElemTypeItaF DeviceTypePowerOutletsElemType = "ita-f"
const DeviceTypePowerOutletsElemTypeItaG DeviceTypePowerOutletsElemType = "ita-g"
const DeviceTypePowerOutletsElemTypeItaH DeviceTypePowerOutletsElemType = "ita-h"
const DeviceTypePowerOutletsElemTypeItaI DeviceTypePowerOutletsElemType = "ita-i"
const DeviceTypePowerOutletsElemTypeItaJ DeviceTypePowerOutletsElemType = "ita-j"
const DeviceTypePowerOutletsElemTypeItaK DeviceTypePowerOutletsElemType = "ita-k"
const DeviceTypePowerOutletsElemTypeItaL DeviceTypePowerOutletsElemType = "ita-l"
const DeviceTypePowerOutletsElemTypeItaM DeviceTypePowerOutletsElemType = "ita-m"
const DeviceTypePowerOutletsElemTypeItaMultistandard DeviceTypePowerOutletsElemType = "ita-multistandard"
const DeviceTypePowerOutletsElemTypeItaN DeviceTypePowerOutletsElemType = "ita-n"
const DeviceTypePowerOutletsElemTypeItaO DeviceTypePowerOutletsElemType = "ita-o"
const DeviceTypePowerOutletsElemTypeNbr1413610A DeviceTypePowerOutletsElemType = "nbr-14136-10a"
const DeviceTypePowerOutletsElemTypeNbr1413620A DeviceTypePowerOutletsElemType = "nbr-14136-20a"
const DeviceTypePowerOutletsElemTypeNema1030R DeviceTypePowerOutletsElemType = "nema-10-30r"
const DeviceTypePowerOutletsElemTypeNema1050R DeviceTypePowerOutletsElemType = "nema-10-50r"
const DeviceTypePowerOutletsElemTypeNema115R DeviceTypePowerOutletsElemType = "nema-1-15r"
const DeviceTypePowerOutletsElemTypeNema1420R DeviceTypePowerOutletsElemType = "nema-14-20r"
const DeviceTypePowerOutletsElemTypeNema1430R DeviceTypePowerOutletsElemType = "nema-14-30r"
const DeviceTypePowerOutletsElemTypeNema1450R DeviceTypePowerOutletsElemType = "nema-14-50r"
const DeviceTypePowerOutletsElemTypeNema1460R DeviceTypePowerOutletsElemType = "nema-14-60r"
const DeviceTypePowerOutletsElemTypeNema1515R DeviceTypePowerOutletsElemType = "nema-15-15r"
const DeviceTypePowerOutletsElemTypeNema1520R DeviceTypePowerOutletsElemType = "nema-15-20r"
const DeviceTypePowerOutletsElemTypeNema1530R DeviceTypePowerOutletsElemType = "nema-15-30r"
const DeviceTypePowerOutletsElemTypeNema1550R DeviceTypePowerOutletsElemType = "nema-15-50r"
const DeviceTypePowerOutletsElemTypeNema1560R DeviceTypePowerOutletsElemType = "nema-15-60r"
const DeviceTypePowerOutletsElemTypeNema515R DeviceTypePowerOutletsElemType = "nema-5-15r"
const DeviceTypePowerOutletsElemTypeNema520R DeviceTypePowerOutletsElemType = "nema-5-20r"
const DeviceTypePowerOutletsElemTypeNema530R DeviceTypePowerOutletsElemType = "nema-5-30r"
const DeviceTypePowerOutletsElemTypeNema550R DeviceTypePowerOutletsElemType = "nema-5-50r"
const DeviceTypePowerOutletsElemTypeNema615R DeviceTypePowerOutletsElemType = "nema-6-15r"
const DeviceTypePowerOutletsElemTypeNema620R DeviceTypePowerOutletsElemType = "nema-6-20r"
const DeviceTypePowerOutletsElemTypeNema630R DeviceTypePowerOutletsElemType = "nema-6-30r"
const DeviceTypePowerOutletsElemTypeNema650R DeviceTypePowerOutletsElemType = "nema-6-50r"
const DeviceTypePowerOutletsElemTypeNemaL1030R DeviceTypePowerOutletsElemType = "nema-l10-30r"
const DeviceTypePowerOutletsElemTypeNemaL115R DeviceTypePowerOutletsElemType = "nema-l1-15r"
const DeviceTypePowerOutletsElemTypeNemaL1420R DeviceTypePowerOutletsElemType = "nema-l14-20r"
const DeviceTypePowerOutletsElemTypeNemaL1430R DeviceTypePowerOutletsElemType = "nema-l14-30r"
const DeviceTypePowerOutletsElemTypeNemaL1450R DeviceTypePowerOutletsElemType = "nema-l14-50r"
const DeviceTypePowerOutletsElemTypeNemaL1460R DeviceTypePowerOutletsElemType = "nema-l14-60r"
const DeviceTypePowerOutletsElemTypeNemaL1520R DeviceTypePowerOutletsElemType = "nema-l15-20r"
const DeviceTypePowerOutletsElemTypeNemaL1530R DeviceTypePowerOutletsElemType = "nema-l15-30r"
const DeviceTypePowerOutletsElemTypeNemaL1550R DeviceTypePowerOutletsElemType = "nema-l15-50r"
const DeviceTypePowerOutletsElemTypeNemaL1560R DeviceTypePowerOutletsElemType = "nema-l15-60r"
const DeviceTypePowerOutletsElemTypeNemaL2120R DeviceTypePowerOutletsElemType = "nema-l21-20r"
const DeviceTypePowerOutletsElemTypeNemaL2130R DeviceTypePowerOutletsElemType = "nema-l21-30r"
const DeviceTypePowerOutletsElemTypeNemaL2230R DeviceTypePowerOutletsElemType = "nema-l22-30r"
const DeviceTypePowerOutletsElemTypeNemaL515R DeviceTypePowerOutletsElemType = "nema-l5-15r"
const DeviceTypePowerOutletsElemTypeNemaL520R DeviceTypePowerOutletsElemType = "nema-l5-20r"
const DeviceTypePowerOutletsElemTypeNemaL530R DeviceTypePowerOutletsElemType = "nema-l5-30r"
const DeviceTypePowerOutletsElemTypeNemaL550R DeviceTypePowerOutletsElemType = "nema-l5-50r"
const DeviceTypePowerOutletsElemTypeNemaL615R DeviceTypePowerOutletsElemType = "nema-l6-15r"
const DeviceTypePowerOutletsElemTypeNemaL620R DeviceTypePowerOutletsElemType = "nema-l6-20r"
const DeviceTypePowerOutletsElemTypeNemaL630R DeviceTypePowerOutletsElemType = "nema-l6-30r"
const DeviceTypePowerOutletsElemTypeNemaL650R DeviceTypePowerOutletsElemType = "nema-l6-50r"
const DeviceTypePowerOutletsElemTypeNeutrikPowercon20A DeviceTypePowerOutletsElemType = "neutrik-powercon-20a"
const DeviceTypePowerOutletsElemTypeNeutrikPowercon32A DeviceTypePowerOutletsElemType = "neutrik-powercon-32a"
const DeviceTypePowerOutletsElemTypeNeutrikPowerconTrue1 DeviceTypePowerOutletsElemType = "neutrik-powercon-true1"
const DeviceTypePowerOutletsElemTypeNeutrikPowerconTrue1Top DeviceTypePowerOutletsElemType = "neutrik-powercon-true1-top"
const DeviceTypePowerOutletsElemTypeOther DeviceTypePowerOutletsElemType = "other"
const DeviceTypePowerOutletsElemTypeSafDGrid DeviceTypePowerOutletsElemType = "saf-d-grid"
const DeviceTypePowerOutletsElemTypeUbiquitiSmartpower DeviceTypePowerOutletsElemType = "ubiquiti-smartpower"
const DeviceTypePowerOutletsElemTypeUsbA DeviceTypePowerOutletsElemType = "usb-a"
const DeviceTypePowerOutletsElemTypeUsbC DeviceTypePowerOutletsElemType = "usb-c"
const DeviceTypePowerOutletsElemTypeUsbMicroB DeviceTypePowerOutletsElemType = "usb-micro-b"
func (*DeviceTypePowerOutletsElemType) UnmarshalJSON ¶
func (j *DeviceTypePowerOutletsElemType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type DeviceTypePowerPortsElem ¶
type DeviceTypePowerPortsElem struct {
// AllocatedDraw corresponds to the JSON schema field "allocated_draw".
AllocatedDraw *int `json:"allocated_draw,omitempty" yaml:"allocated_draw,omitempty" mapstructure:"allocated_draw,omitempty"`
// Label corresponds to the JSON schema field "label".
Label *string `json:"label,omitempty" yaml:"label,omitempty" mapstructure:"label,omitempty"`
// MaximumDraw corresponds to the JSON schema field "maximum_draw".
MaximumDraw *int `json:"maximum_draw,omitempty" yaml:"maximum_draw,omitempty" mapstructure:"maximum_draw,omitempty"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name" yaml:"name" mapstructure:"name"`
// Type corresponds to the JSON schema field "type".
Type DeviceTypePowerPortsElemType `json:"type" yaml:"type" mapstructure:"type"`
}
func (*DeviceTypePowerPortsElem) UnmarshalJSON ¶
func (j *DeviceTypePowerPortsElem) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type DeviceTypePowerPortsElemType ¶
type DeviceTypePowerPortsElemType string
const DeviceTypePowerPortsElemTypeCs6361C DeviceTypePowerPortsElemType = "cs6361c"
const DeviceTypePowerPortsElemTypeCs6365C DeviceTypePowerPortsElemType = "cs6365c"
const DeviceTypePowerPortsElemTypeCs8165C DeviceTypePowerPortsElemType = "cs8165c"
const DeviceTypePowerPortsElemTypeCs8265C DeviceTypePowerPortsElemType = "cs8265c"
const DeviceTypePowerPortsElemTypeCs8365C DeviceTypePowerPortsElemType = "cs8365c"
const DeviceTypePowerPortsElemTypeCs8465C DeviceTypePowerPortsElemType = "cs8465c"
const DeviceTypePowerPortsElemTypeDcTerminal DeviceTypePowerPortsElemType = "dc-terminal"
const DeviceTypePowerPortsElemTypeHardwired DeviceTypePowerPortsElemType = "hardwired"
const DeviceTypePowerPortsElemTypeIec603092PE4H DeviceTypePowerPortsElemType = "iec-60309-2p-e-4h"
const DeviceTypePowerPortsElemTypeIec603092PE6H DeviceTypePowerPortsElemType = "iec-60309-2p-e-6h"
const DeviceTypePowerPortsElemTypeIec603092PE9H DeviceTypePowerPortsElemType = "iec-60309-2p-e-9h"
const DeviceTypePowerPortsElemTypeIec603093PE4H DeviceTypePowerPortsElemType = "iec-60309-3p-e-4h"
const DeviceTypePowerPortsElemTypeIec603093PE6H DeviceTypePowerPortsElemType = "iec-60309-3p-e-6h"
const DeviceTypePowerPortsElemTypeIec603093PE9H DeviceTypePowerPortsElemType = "iec-60309-3p-e-9h"
const DeviceTypePowerPortsElemTypeIec603093PNE4H DeviceTypePowerPortsElemType = "iec-60309-3p-n-e-4h"
const DeviceTypePowerPortsElemTypeIec603093PNE6H DeviceTypePowerPortsElemType = "iec-60309-3p-n-e-6h"
const DeviceTypePowerPortsElemTypeIec603093PNE9H DeviceTypePowerPortsElemType = "iec-60309-3p-n-e-9h"
const DeviceTypePowerPortsElemTypeIec60309PNE4H DeviceTypePowerPortsElemType = "iec-60309-p-n-e-4h"
const DeviceTypePowerPortsElemTypeIec60309PNE6H DeviceTypePowerPortsElemType = "iec-60309-p-n-e-6h"
const DeviceTypePowerPortsElemTypeIec60309PNE9H DeviceTypePowerPortsElemType = "iec-60309-p-n-e-9h"
const DeviceTypePowerPortsElemTypeIec60320C14 DeviceTypePowerPortsElemType = "iec-60320-c14"
const DeviceTypePowerPortsElemTypeIec60320C16 DeviceTypePowerPortsElemType = "iec-60320-c16"
const DeviceTypePowerPortsElemTypeIec60320C20 DeviceTypePowerPortsElemType = "iec-60320-c20"
const DeviceTypePowerPortsElemTypeIec60320C22 DeviceTypePowerPortsElemType = "iec-60320-c22"
const DeviceTypePowerPortsElemTypeIec60320C6 DeviceTypePowerPortsElemType = "iec-60320-c6"
const DeviceTypePowerPortsElemTypeIec60320C8 DeviceTypePowerPortsElemType = "iec-60320-c8"
const DeviceTypePowerPortsElemTypeIec609061 DeviceTypePowerPortsElemType = "iec-60906-1"
const DeviceTypePowerPortsElemTypeItaC DeviceTypePowerPortsElemType = "ita-c"
const DeviceTypePowerPortsElemTypeItaE DeviceTypePowerPortsElemType = "ita-e"
const DeviceTypePowerPortsElemTypeItaEf DeviceTypePowerPortsElemType = "ita-ef"
const DeviceTypePowerPortsElemTypeItaF DeviceTypePowerPortsElemType = "ita-f"
const DeviceTypePowerPortsElemTypeItaG DeviceTypePowerPortsElemType = "ita-g"
const DeviceTypePowerPortsElemTypeItaH DeviceTypePowerPortsElemType = "ita-h"
const DeviceTypePowerPortsElemTypeItaI DeviceTypePowerPortsElemType = "ita-i"
const DeviceTypePowerPortsElemTypeItaJ DeviceTypePowerPortsElemType = "ita-j"
const DeviceTypePowerPortsElemTypeItaK DeviceTypePowerPortsElemType = "ita-k"
const DeviceTypePowerPortsElemTypeItaL DeviceTypePowerPortsElemType = "ita-l"
const DeviceTypePowerPortsElemTypeItaM DeviceTypePowerPortsElemType = "ita-m"
const DeviceTypePowerPortsElemTypeItaN DeviceTypePowerPortsElemType = "ita-n"
const DeviceTypePowerPortsElemTypeItaO DeviceTypePowerPortsElemType = "ita-o"
const DeviceTypePowerPortsElemTypeNbr1413610A DeviceTypePowerPortsElemType = "nbr-14136-10a"
const DeviceTypePowerPortsElemTypeNbr1413620A DeviceTypePowerPortsElemType = "nbr-14136-20a"
const DeviceTypePowerPortsElemTypeNema1030P DeviceTypePowerPortsElemType = "nema-10-30p"
const DeviceTypePowerPortsElemTypeNema1050P DeviceTypePowerPortsElemType = "nema-10-50p"
const DeviceTypePowerPortsElemTypeNema115P DeviceTypePowerPortsElemType = "nema-1-15p"
const DeviceTypePowerPortsElemTypeNema1420P DeviceTypePowerPortsElemType = "nema-14-20p"
const DeviceTypePowerPortsElemTypeNema1430P DeviceTypePowerPortsElemType = "nema-14-30p"
const DeviceTypePowerPortsElemTypeNema1450P DeviceTypePowerPortsElemType = "nema-14-50p"
const DeviceTypePowerPortsElemTypeNema1460P DeviceTypePowerPortsElemType = "nema-14-60p"
const DeviceTypePowerPortsElemTypeNema1515P DeviceTypePowerPortsElemType = "nema-15-15p"
const DeviceTypePowerPortsElemTypeNema1520P DeviceTypePowerPortsElemType = "nema-15-20p"
const DeviceTypePowerPortsElemTypeNema1530P DeviceTypePowerPortsElemType = "nema-15-30p"
const DeviceTypePowerPortsElemTypeNema1550P DeviceTypePowerPortsElemType = "nema-15-50p"
const DeviceTypePowerPortsElemTypeNema1560P DeviceTypePowerPortsElemType = "nema-15-60p"
const DeviceTypePowerPortsElemTypeNema515P DeviceTypePowerPortsElemType = "nema-5-15p"
const DeviceTypePowerPortsElemTypeNema520P DeviceTypePowerPortsElemType = "nema-5-20p"
const DeviceTypePowerPortsElemTypeNema530P DeviceTypePowerPortsElemType = "nema-5-30p"
const DeviceTypePowerPortsElemTypeNema550P DeviceTypePowerPortsElemType = "nema-5-50p"
const DeviceTypePowerPortsElemTypeNema615P DeviceTypePowerPortsElemType = "nema-6-15p"
const DeviceTypePowerPortsElemTypeNema620P DeviceTypePowerPortsElemType = "nema-6-20p"
const DeviceTypePowerPortsElemTypeNema630P DeviceTypePowerPortsElemType = "nema-6-30p"
const DeviceTypePowerPortsElemTypeNema650P DeviceTypePowerPortsElemType = "nema-6-50p"
const DeviceTypePowerPortsElemTypeNemaL1030P DeviceTypePowerPortsElemType = "nema-l10-30p"
const DeviceTypePowerPortsElemTypeNemaL115P DeviceTypePowerPortsElemType = "nema-l1-15p"
const DeviceTypePowerPortsElemTypeNemaL1420P DeviceTypePowerPortsElemType = "nema-l14-20p"
const DeviceTypePowerPortsElemTypeNemaL1430P DeviceTypePowerPortsElemType = "nema-l14-30p"
const DeviceTypePowerPortsElemTypeNemaL1450P DeviceTypePowerPortsElemType = "nema-l14-50p"
const DeviceTypePowerPortsElemTypeNemaL1460P DeviceTypePowerPortsElemType = "nema-l14-60p"
const DeviceTypePowerPortsElemTypeNemaL1520P DeviceTypePowerPortsElemType = "nema-l15-20p"
const DeviceTypePowerPortsElemTypeNemaL1530P DeviceTypePowerPortsElemType = "nema-l15-30p"
const DeviceTypePowerPortsElemTypeNemaL1550P DeviceTypePowerPortsElemType = "nema-l15-50p"
const DeviceTypePowerPortsElemTypeNemaL1560P DeviceTypePowerPortsElemType = "nema-l15-60p"
const DeviceTypePowerPortsElemTypeNemaL2120P DeviceTypePowerPortsElemType = "nema-l21-20p"
const DeviceTypePowerPortsElemTypeNemaL2130P DeviceTypePowerPortsElemType = "nema-l21-30p"
const DeviceTypePowerPortsElemTypeNemaL2230P DeviceTypePowerPortsElemType = "nema-l22-30p"
const DeviceTypePowerPortsElemTypeNemaL515P DeviceTypePowerPortsElemType = "nema-l5-15p"
const DeviceTypePowerPortsElemTypeNemaL520P DeviceTypePowerPortsElemType = "nema-l5-20p"
const DeviceTypePowerPortsElemTypeNemaL530P DeviceTypePowerPortsElemType = "nema-l5-30p"
const DeviceTypePowerPortsElemTypeNemaL550P DeviceTypePowerPortsElemType = "nema-l5-50p"
const DeviceTypePowerPortsElemTypeNemaL615P DeviceTypePowerPortsElemType = "nema-l6-15p"
const DeviceTypePowerPortsElemTypeNemaL620P DeviceTypePowerPortsElemType = "nema-l6-20p"
const DeviceTypePowerPortsElemTypeNemaL630P DeviceTypePowerPortsElemType = "nema-l6-30p"
const DeviceTypePowerPortsElemTypeNemaL650P DeviceTypePowerPortsElemType = "nema-l6-50p"
const DeviceTypePowerPortsElemTypeNeutrikPowercon20 DeviceTypePowerPortsElemType = "neutrik-powercon-20"
const DeviceTypePowerPortsElemTypeNeutrikPowercon32 DeviceTypePowerPortsElemType = "neutrik-powercon-32"
const DeviceTypePowerPortsElemTypeNeutrikPowerconTrue1 DeviceTypePowerPortsElemType = "neutrik-powercon-true1"
const DeviceTypePowerPortsElemTypeNeutrikPowerconTrue1Top DeviceTypePowerPortsElemType = "neutrik-powercon-true1-top"
const DeviceTypePowerPortsElemTypeOther DeviceTypePowerPortsElemType = "other"
const DeviceTypePowerPortsElemTypeSafDGrid DeviceTypePowerPortsElemType = "saf-d-grid"
const DeviceTypePowerPortsElemTypeUbiquitiSmartpower DeviceTypePowerPortsElemType = "ubiquiti-smartpower"
const DeviceTypePowerPortsElemTypeUsb3B DeviceTypePowerPortsElemType = "usb-3-b"
const DeviceTypePowerPortsElemTypeUsb3MicroB DeviceTypePowerPortsElemType = "usb-3-micro-b"
const DeviceTypePowerPortsElemTypeUsbA DeviceTypePowerPortsElemType = "usb-a"
const DeviceTypePowerPortsElemTypeUsbB DeviceTypePowerPortsElemType = "usb-b"
const DeviceTypePowerPortsElemTypeUsbC DeviceTypePowerPortsElemType = "usb-c"
const DeviceTypePowerPortsElemTypeUsbMicroA DeviceTypePowerPortsElemType = "usb-micro-a"
const DeviceTypePowerPortsElemTypeUsbMicroAb DeviceTypePowerPortsElemType = "usb-micro-ab"
const DeviceTypePowerPortsElemTypeUsbMicroB DeviceTypePowerPortsElemType = "usb-micro-b"
const DeviceTypePowerPortsElemTypeUsbMiniA DeviceTypePowerPortsElemType = "usb-mini-a"
const DeviceTypePowerPortsElemTypeUsbMiniB DeviceTypePowerPortsElemType = "usb-mini-b"
func (*DeviceTypePowerPortsElemType) UnmarshalJSON ¶
func (j *DeviceTypePowerPortsElemType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type DeviceTypeRearPortsElem ¶
type DeviceTypeRearPortsElem struct {
// Color corresponds to the JSON schema field "color".
Color *string `json:"color,omitempty" yaml:"color,omitempty" mapstructure:"color,omitempty"`
// Label corresponds to the JSON schema field "label".
Label *string `json:"label,omitempty" yaml:"label,omitempty" mapstructure:"label,omitempty"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name" yaml:"name" mapstructure:"name"`
// Poe corresponds to the JSON schema field "poe".
Poe *bool `json:"poe,omitempty" yaml:"poe,omitempty" mapstructure:"poe,omitempty"`
// Positions corresponds to the JSON schema field "positions".
Positions *int `json:"positions,omitempty" yaml:"positions,omitempty" mapstructure:"positions,omitempty"`
// Type corresponds to the JSON schema field "type".
Type DeviceTypeRearPortsElemType `json:"type" yaml:"type" mapstructure:"type"`
}
func (*DeviceTypeRearPortsElem) UnmarshalJSON ¶
func (j *DeviceTypeRearPortsElem) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type DeviceTypeRearPortsElemType ¶
type DeviceTypeRearPortsElemType string
const DeviceTypeRearPortsElemTypeA110Punch DeviceTypeRearPortsElemType = "110-punch"
const DeviceTypeRearPortsElemTypeA4P2C DeviceTypeRearPortsElemType = "4p2c"
const DeviceTypeRearPortsElemTypeA4P4C DeviceTypeRearPortsElemType = "4p4c"
const DeviceTypeRearPortsElemTypeA6P2C DeviceTypeRearPortsElemType = "6p2c"
const DeviceTypeRearPortsElemTypeA6P4C DeviceTypeRearPortsElemType = "6p4c"
const DeviceTypeRearPortsElemTypeA6P6C DeviceTypeRearPortsElemType = "6p6c"
const DeviceTypeRearPortsElemTypeA8P2C DeviceTypeRearPortsElemType = "8p2c"
const DeviceTypeRearPortsElemTypeA8P4C DeviceTypeRearPortsElemType = "8p4c"
const DeviceTypeRearPortsElemTypeA8P6C DeviceTypeRearPortsElemType = "8p6c"
const DeviceTypeRearPortsElemTypeA8P8C DeviceTypeRearPortsElemType = "8p8c"
const DeviceTypeRearPortsElemTypeBnc DeviceTypeRearPortsElemType = "bnc"
const DeviceTypeRearPortsElemTypeCs DeviceTypeRearPortsElemType = "cs"
const DeviceTypeRearPortsElemTypeF DeviceTypeRearPortsElemType = "f"
const DeviceTypeRearPortsElemTypeFc DeviceTypeRearPortsElemType = "fc"
const DeviceTypeRearPortsElemTypeGg45 DeviceTypeRearPortsElemType = "gg45"
const DeviceTypeRearPortsElemTypeLc DeviceTypeRearPortsElemType = "lc"
const DeviceTypeRearPortsElemTypeLcApc DeviceTypeRearPortsElemType = "lc-apc"
const DeviceTypeRearPortsElemTypeLcPc DeviceTypeRearPortsElemType = "lc-pc"
const DeviceTypeRearPortsElemTypeLcUpc DeviceTypeRearPortsElemType = "lc-upc"
const DeviceTypeRearPortsElemTypeLsh DeviceTypeRearPortsElemType = "lsh"
const DeviceTypeRearPortsElemTypeLshApc DeviceTypeRearPortsElemType = "lsh-apc"
const DeviceTypeRearPortsElemTypeLshPc DeviceTypeRearPortsElemType = "lsh-pc"
const DeviceTypeRearPortsElemTypeLshUpc DeviceTypeRearPortsElemType = "lsh-upc"
const DeviceTypeRearPortsElemTypeLx5 DeviceTypeRearPortsElemType = "lx5"
const DeviceTypeRearPortsElemTypeLx5Apc DeviceTypeRearPortsElemType = "lx5-apc"
const DeviceTypeRearPortsElemTypeLx5Pc DeviceTypeRearPortsElemType = "lx5-pc"
const DeviceTypeRearPortsElemTypeLx5Upc DeviceTypeRearPortsElemType = "lx5-upc"
const DeviceTypeRearPortsElemTypeMpo DeviceTypeRearPortsElemType = "mpo"
const DeviceTypeRearPortsElemTypeMrj21 DeviceTypeRearPortsElemType = "mrj21"
const DeviceTypeRearPortsElemTypeMtrj DeviceTypeRearPortsElemType = "mtrj"
const DeviceTypeRearPortsElemTypeN DeviceTypeRearPortsElemType = "n"
const DeviceTypeRearPortsElemTypeOther DeviceTypeRearPortsElemType = "other"
const DeviceTypeRearPortsElemTypeSc DeviceTypeRearPortsElemType = "sc"
const DeviceTypeRearPortsElemTypeScApc DeviceTypeRearPortsElemType = "sc-apc"
const DeviceTypeRearPortsElemTypeScPc DeviceTypeRearPortsElemType = "sc-pc"
const DeviceTypeRearPortsElemTypeScUpc DeviceTypeRearPortsElemType = "sc-upc"
const DeviceTypeRearPortsElemTypeSma905 DeviceTypeRearPortsElemType = "sma-905"
const DeviceTypeRearPortsElemTypeSma906 DeviceTypeRearPortsElemType = "sma-906"
const DeviceTypeRearPortsElemTypeSn DeviceTypeRearPortsElemType = "sn"
const DeviceTypeRearPortsElemTypeSplice DeviceTypeRearPortsElemType = "splice"
const DeviceTypeRearPortsElemTypeSt DeviceTypeRearPortsElemType = "st"
const DeviceTypeRearPortsElemTypeTera1P DeviceTypeRearPortsElemType = "tera-1p"
const DeviceTypeRearPortsElemTypeTera2P DeviceTypeRearPortsElemType = "tera-2p"
const DeviceTypeRearPortsElemTypeTera4P DeviceTypeRearPortsElemType = "tera-4p"
const DeviceTypeRearPortsElemTypeUrmP2 DeviceTypeRearPortsElemType = "urm-p2"
const DeviceTypeRearPortsElemTypeUrmP4 DeviceTypeRearPortsElemType = "urm-p4"
const DeviceTypeRearPortsElemTypeUrmP8 DeviceTypeRearPortsElemType = "urm-p8"
func (*DeviceTypeRearPortsElemType) UnmarshalJSON ¶
func (j *DeviceTypeRearPortsElemType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type DeviceTypeSubdeviceRole ¶
type DeviceTypeSubdeviceRole string
const DeviceTypeSubdeviceRoleChild DeviceTypeSubdeviceRole = "child"
const DeviceTypeSubdeviceRoleParent DeviceTypeSubdeviceRole = "parent"
func (*DeviceTypeSubdeviceRole) UnmarshalJSON ¶
func (j *DeviceTypeSubdeviceRole) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type DeviceTypeWeightUnit ¶
type DeviceTypeWeightUnit string
const DeviceTypeWeightUnitG DeviceTypeWeightUnit = "g"
const DeviceTypeWeightUnitKg DeviceTypeWeightUnit = "kg"
const DeviceTypeWeightUnitLb DeviceTypeWeightUnit = "lb"
const DeviceTypeWeightUnitOz DeviceTypeWeightUnit = "oz"
func (*DeviceTypeWeightUnit) UnmarshalJSON ¶
func (j *DeviceTypeWeightUnit) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ModuleType ¶
type ModuleType struct {
// Comments corresponds to the JSON schema field "comments".
Comments *string `json:"comments,omitempty" yaml:"comments,omitempty" mapstructure:"comments,omitempty"`
// ConsolePorts corresponds to the JSON schema field "console-ports".
ConsolePorts []ModuleTypeConsolePortsElem `json:"console-ports,omitempty" yaml:"console-ports,omitempty" mapstructure:"console-ports,omitempty"`
// ConsoleServerPorts corresponds to the JSON schema field "console-server-ports".
ConsoleServerPorts []ModuleTypeConsoleServerPortsElem `json:"console-server-ports,omitempty" yaml:"console-server-ports,omitempty" mapstructure:"console-server-ports,omitempty"`
// Description corresponds to the JSON schema field "description".
Description *string `json:"description,omitempty" yaml:"description,omitempty" mapstructure:"description,omitempty"`
// FrontPorts corresponds to the JSON schema field "front-ports".
FrontPorts []ModuleTypeFrontPortsElem `json:"front-ports,omitempty" yaml:"front-ports,omitempty" mapstructure:"front-ports,omitempty"`
// Interfaces corresponds to the JSON schema field "interfaces".
Interfaces []ModuleTypeInterfacesElem `json:"interfaces,omitempty" yaml:"interfaces,omitempty" mapstructure:"interfaces,omitempty"`
// Manufacturer corresponds to the JSON schema field "manufacturer".
Manufacturer string `json:"manufacturer" yaml:"manufacturer" mapstructure:"manufacturer"`
// Model corresponds to the JSON schema field "model".
Model string `json:"model" yaml:"model" mapstructure:"model"`
// PartNumber corresponds to the JSON schema field "part_number".
PartNumber *string `json:"part_number,omitempty" yaml:"part_number,omitempty" mapstructure:"part_number,omitempty"`
// PowerOutlets corresponds to the JSON schema field "power-outlets".
PowerOutlets []ModuleTypePowerOutletsElem `json:"power-outlets,omitempty" yaml:"power-outlets,omitempty" mapstructure:"power-outlets,omitempty"`
// PowerPorts corresponds to the JSON schema field "power-ports".
PowerPorts []ModuleTypePowerPortsElem `json:"power-ports,omitempty" yaml:"power-ports,omitempty" mapstructure:"power-ports,omitempty"`
// RearPorts corresponds to the JSON schema field "rear-ports".
RearPorts []ModuleTypeRearPortsElem `json:"rear-ports,omitempty" yaml:"rear-ports,omitempty" mapstructure:"rear-ports,omitempty"`
// Weight corresponds to the JSON schema field "weight".
Weight *float64 `json:"weight,omitempty" yaml:"weight,omitempty" mapstructure:"weight,omitempty"`
// WeightUnit corresponds to the JSON schema field "weight_unit".
WeightUnit *ModuleTypeWeightUnit `json:"weight_unit,omitempty" yaml:"weight_unit,omitempty" mapstructure:"weight_unit,omitempty"`
}
func UnmarshalModuleType ¶
func UnmarshalModuleType(path string) (ModuleType, error)
func (*ModuleType) UnmarshalJSON ¶
func (j *ModuleType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ModuleTypeConsolePortsElem ¶
type ModuleTypeConsolePortsElem struct {
// Label corresponds to the JSON schema field "label".
Label *string `json:"label,omitempty" yaml:"label,omitempty" mapstructure:"label,omitempty"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name" yaml:"name" mapstructure:"name"`
// Poe corresponds to the JSON schema field "poe".
Poe *bool `json:"poe,omitempty" yaml:"poe,omitempty" mapstructure:"poe,omitempty"`
// Type corresponds to the JSON schema field "type".
Type ModuleTypeConsolePortsElemType `json:"type" yaml:"type" mapstructure:"type"`
}
func (*ModuleTypeConsolePortsElem) UnmarshalJSON ¶
func (j *ModuleTypeConsolePortsElem) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ModuleTypeConsolePortsElemType ¶
type ModuleTypeConsolePortsElemType string
const ModuleTypeConsolePortsElemTypeDb25 ModuleTypeConsolePortsElemType = "db-25"
const ModuleTypeConsolePortsElemTypeDe9 ModuleTypeConsolePortsElemType = "de-9"
const ModuleTypeConsolePortsElemTypeMiniDin8 ModuleTypeConsolePortsElemType = "mini-din-8"
const ModuleTypeConsolePortsElemTypeOther ModuleTypeConsolePortsElemType = "other"
const ModuleTypeConsolePortsElemTypeRj11 ModuleTypeConsolePortsElemType = "rj-11"
const ModuleTypeConsolePortsElemTypeRj12 ModuleTypeConsolePortsElemType = "rj-12"
const ModuleTypeConsolePortsElemTypeRj45 ModuleTypeConsolePortsElemType = "rj-45"
const ModuleTypeConsolePortsElemTypeUsbA ModuleTypeConsolePortsElemType = "usb-a"
const ModuleTypeConsolePortsElemTypeUsbB ModuleTypeConsolePortsElemType = "usb-b"
const ModuleTypeConsolePortsElemTypeUsbC ModuleTypeConsolePortsElemType = "usb-c"
const ModuleTypeConsolePortsElemTypeUsbMicroA ModuleTypeConsolePortsElemType = "usb-micro-a"
const ModuleTypeConsolePortsElemTypeUsbMicroAb ModuleTypeConsolePortsElemType = "usb-micro-ab"
const ModuleTypeConsolePortsElemTypeUsbMicroB ModuleTypeConsolePortsElemType = "usb-micro-b"
const ModuleTypeConsolePortsElemTypeUsbMiniA ModuleTypeConsolePortsElemType = "usb-mini-a"
const ModuleTypeConsolePortsElemTypeUsbMiniB ModuleTypeConsolePortsElemType = "usb-mini-b"
func (*ModuleTypeConsolePortsElemType) UnmarshalJSON ¶
func (j *ModuleTypeConsolePortsElemType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ModuleTypeConsoleServerPortsElem ¶
type ModuleTypeConsoleServerPortsElem struct {
// Label corresponds to the JSON schema field "label".
Label *string `json:"label,omitempty" yaml:"label,omitempty" mapstructure:"label,omitempty"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name" yaml:"name" mapstructure:"name"`
// Type corresponds to the JSON schema field "type".
Type ModuleTypeConsoleServerPortsElemType `json:"type" yaml:"type" mapstructure:"type"`
}
func (*ModuleTypeConsoleServerPortsElem) UnmarshalJSON ¶
func (j *ModuleTypeConsoleServerPortsElem) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ModuleTypeConsoleServerPortsElemType ¶
type ModuleTypeConsoleServerPortsElemType string
const ModuleTypeConsoleServerPortsElemTypeDb25 ModuleTypeConsoleServerPortsElemType = "db-25"
const ModuleTypeConsoleServerPortsElemTypeDe9 ModuleTypeConsoleServerPortsElemType = "de-9"
const ModuleTypeConsoleServerPortsElemTypeMiniDin8 ModuleTypeConsoleServerPortsElemType = "mini-din-8"
const ModuleTypeConsoleServerPortsElemTypeOther ModuleTypeConsoleServerPortsElemType = "other"
const ModuleTypeConsoleServerPortsElemTypeRj11 ModuleTypeConsoleServerPortsElemType = "rj-11"
const ModuleTypeConsoleServerPortsElemTypeRj12 ModuleTypeConsoleServerPortsElemType = "rj-12"
const ModuleTypeConsoleServerPortsElemTypeRj45 ModuleTypeConsoleServerPortsElemType = "rj-45"
const ModuleTypeConsoleServerPortsElemTypeUsbA ModuleTypeConsoleServerPortsElemType = "usb-a"
const ModuleTypeConsoleServerPortsElemTypeUsbB ModuleTypeConsoleServerPortsElemType = "usb-b"
const ModuleTypeConsoleServerPortsElemTypeUsbC ModuleTypeConsoleServerPortsElemType = "usb-c"
const ModuleTypeConsoleServerPortsElemTypeUsbMicroA ModuleTypeConsoleServerPortsElemType = "usb-micro-a"
const ModuleTypeConsoleServerPortsElemTypeUsbMicroAb ModuleTypeConsoleServerPortsElemType = "usb-micro-ab"
const ModuleTypeConsoleServerPortsElemTypeUsbMicroB ModuleTypeConsoleServerPortsElemType = "usb-micro-b"
const ModuleTypeConsoleServerPortsElemTypeUsbMiniA ModuleTypeConsoleServerPortsElemType = "usb-mini-a"
const ModuleTypeConsoleServerPortsElemTypeUsbMiniB ModuleTypeConsoleServerPortsElemType = "usb-mini-b"
func (*ModuleTypeConsoleServerPortsElemType) UnmarshalJSON ¶
func (j *ModuleTypeConsoleServerPortsElemType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ModuleTypeFrontPortsElem ¶
type ModuleTypeFrontPortsElem struct {
// Color corresponds to the JSON schema field "color".
Color *string `json:"color,omitempty" yaml:"color,omitempty" mapstructure:"color,omitempty"`
// Label corresponds to the JSON schema field "label".
Label *string `json:"label,omitempty" yaml:"label,omitempty" mapstructure:"label,omitempty"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name" yaml:"name" mapstructure:"name"`
// RearPort corresponds to the JSON schema field "rear_port".
RearPort string `json:"rear_port" yaml:"rear_port" mapstructure:"rear_port"`
// RearPortPosition corresponds to the JSON schema field "rear_port_position".
RearPortPosition *int `json:"rear_port_position,omitempty" yaml:"rear_port_position,omitempty" mapstructure:"rear_port_position,omitempty"`
// Type corresponds to the JSON schema field "type".
Type ModuleTypeFrontPortsElemType `json:"type" yaml:"type" mapstructure:"type"`
}
func (*ModuleTypeFrontPortsElem) UnmarshalJSON ¶
func (j *ModuleTypeFrontPortsElem) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ModuleTypeFrontPortsElemType ¶
type ModuleTypeFrontPortsElemType string
const ModuleTypeFrontPortsElemTypeA110Punch ModuleTypeFrontPortsElemType = "110-punch"
const ModuleTypeFrontPortsElemTypeA4P2C ModuleTypeFrontPortsElemType = "4p2c"
const ModuleTypeFrontPortsElemTypeA4P4C ModuleTypeFrontPortsElemType = "4p4c"
const ModuleTypeFrontPortsElemTypeA6P2C ModuleTypeFrontPortsElemType = "6p2c"
const ModuleTypeFrontPortsElemTypeA6P4C ModuleTypeFrontPortsElemType = "6p4c"
const ModuleTypeFrontPortsElemTypeA6P6C ModuleTypeFrontPortsElemType = "6p6c"
const ModuleTypeFrontPortsElemTypeA8P2C ModuleTypeFrontPortsElemType = "8p2c"
const ModuleTypeFrontPortsElemTypeA8P4C ModuleTypeFrontPortsElemType = "8p4c"
const ModuleTypeFrontPortsElemTypeA8P6C ModuleTypeFrontPortsElemType = "8p6c"
const ModuleTypeFrontPortsElemTypeA8P8C ModuleTypeFrontPortsElemType = "8p8c"
const ModuleTypeFrontPortsElemTypeBnc ModuleTypeFrontPortsElemType = "bnc"
const ModuleTypeFrontPortsElemTypeCs ModuleTypeFrontPortsElemType = "cs"
const ModuleTypeFrontPortsElemTypeF ModuleTypeFrontPortsElemType = "f"
const ModuleTypeFrontPortsElemTypeFc ModuleTypeFrontPortsElemType = "fc"
const ModuleTypeFrontPortsElemTypeGg45 ModuleTypeFrontPortsElemType = "gg45"
const ModuleTypeFrontPortsElemTypeLc ModuleTypeFrontPortsElemType = "lc"
const ModuleTypeFrontPortsElemTypeLcApc ModuleTypeFrontPortsElemType = "lc-apc"
const ModuleTypeFrontPortsElemTypeLcPc ModuleTypeFrontPortsElemType = "lc-pc"
const ModuleTypeFrontPortsElemTypeLcUpc ModuleTypeFrontPortsElemType = "lc-upc"
const ModuleTypeFrontPortsElemTypeLsh ModuleTypeFrontPortsElemType = "lsh"
const ModuleTypeFrontPortsElemTypeLshApc ModuleTypeFrontPortsElemType = "lsh-apc"
const ModuleTypeFrontPortsElemTypeLshPc ModuleTypeFrontPortsElemType = "lsh-pc"
const ModuleTypeFrontPortsElemTypeLshUpc ModuleTypeFrontPortsElemType = "lsh-upc"
const ModuleTypeFrontPortsElemTypeLx5 ModuleTypeFrontPortsElemType = "lx5"
const ModuleTypeFrontPortsElemTypeLx5Apc ModuleTypeFrontPortsElemType = "lx5-apc"
const ModuleTypeFrontPortsElemTypeLx5Pc ModuleTypeFrontPortsElemType = "lx5-pc"
const ModuleTypeFrontPortsElemTypeLx5Upc ModuleTypeFrontPortsElemType = "lx5-upc"
const ModuleTypeFrontPortsElemTypeMpo ModuleTypeFrontPortsElemType = "mpo"
const ModuleTypeFrontPortsElemTypeMrj21 ModuleTypeFrontPortsElemType = "mrj21"
const ModuleTypeFrontPortsElemTypeMtrj ModuleTypeFrontPortsElemType = "mtrj"
const ModuleTypeFrontPortsElemTypeN ModuleTypeFrontPortsElemType = "n"
const ModuleTypeFrontPortsElemTypeOther ModuleTypeFrontPortsElemType = "other"
const ModuleTypeFrontPortsElemTypeSc ModuleTypeFrontPortsElemType = "sc"
const ModuleTypeFrontPortsElemTypeScApc ModuleTypeFrontPortsElemType = "sc-apc"
const ModuleTypeFrontPortsElemTypeScPc ModuleTypeFrontPortsElemType = "sc-pc"
const ModuleTypeFrontPortsElemTypeScUpc ModuleTypeFrontPortsElemType = "sc-upc"
const ModuleTypeFrontPortsElemTypeSma905 ModuleTypeFrontPortsElemType = "sma-905"
const ModuleTypeFrontPortsElemTypeSma906 ModuleTypeFrontPortsElemType = "sma-906"
const ModuleTypeFrontPortsElemTypeSn ModuleTypeFrontPortsElemType = "sn"
const ModuleTypeFrontPortsElemTypeSplice ModuleTypeFrontPortsElemType = "splice"
const ModuleTypeFrontPortsElemTypeSt ModuleTypeFrontPortsElemType = "st"
const ModuleTypeFrontPortsElemTypeTera1P ModuleTypeFrontPortsElemType = "tera-1p"
const ModuleTypeFrontPortsElemTypeTera2P ModuleTypeFrontPortsElemType = "tera-2p"
const ModuleTypeFrontPortsElemTypeTera4P ModuleTypeFrontPortsElemType = "tera-4p"
const ModuleTypeFrontPortsElemTypeUrmP2 ModuleTypeFrontPortsElemType = "urm-p2"
const ModuleTypeFrontPortsElemTypeUrmP4 ModuleTypeFrontPortsElemType = "urm-p4"
const ModuleTypeFrontPortsElemTypeUrmP8 ModuleTypeFrontPortsElemType = "urm-p8"
func (*ModuleTypeFrontPortsElemType) UnmarshalJSON ¶
func (j *ModuleTypeFrontPortsElemType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ModuleTypeInterfacesElem ¶
type ModuleTypeInterfacesElem struct {
// Label corresponds to the JSON schema field "label".
Label *string `json:"label,omitempty" yaml:"label,omitempty" mapstructure:"label,omitempty"`
// MgmtOnly corresponds to the JSON schema field "mgmt_only".
MgmtOnly *bool `json:"mgmt_only,omitempty" yaml:"mgmt_only,omitempty" mapstructure:"mgmt_only,omitempty"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name" yaml:"name" mapstructure:"name"`
// PoeMode corresponds to the JSON schema field "poe_mode".
PoeMode *ModuleTypeInterfacesElemPoeMode `json:"poe_mode,omitempty" yaml:"poe_mode,omitempty" mapstructure:"poe_mode,omitempty"`
// PoeType corresponds to the JSON schema field "poe_type".
PoeType *ModuleTypeInterfacesElemPoeType `json:"poe_type,omitempty" yaml:"poe_type,omitempty" mapstructure:"poe_type,omitempty"`
// Type corresponds to the JSON schema field "type".
Type ModuleTypeInterfacesElemType `json:"type" yaml:"type" mapstructure:"type"`
}
func (*ModuleTypeInterfacesElem) UnmarshalJSON ¶
func (j *ModuleTypeInterfacesElem) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ModuleTypeInterfacesElemPoeMode ¶
type ModuleTypeInterfacesElemPoeMode string
const ModuleTypeInterfacesElemPoeModePd ModuleTypeInterfacesElemPoeMode = "pd"
const ModuleTypeInterfacesElemPoeModePse ModuleTypeInterfacesElemPoeMode = "pse"
func (*ModuleTypeInterfacesElemPoeMode) UnmarshalJSON ¶
func (j *ModuleTypeInterfacesElemPoeMode) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ModuleTypeInterfacesElemPoeType ¶
type ModuleTypeInterfacesElemPoeType string
const ModuleTypeInterfacesElemPoeTypePassive24V2Pair ModuleTypeInterfacesElemPoeType = "passive-24v-2pair"
const ModuleTypeInterfacesElemPoeTypePassive24V4Pair ModuleTypeInterfacesElemPoeType = "passive-24v-4pair"
const ModuleTypeInterfacesElemPoeTypePassive48V2Pair ModuleTypeInterfacesElemPoeType = "passive-48v-2pair"
const ModuleTypeInterfacesElemPoeTypePassive48V4Pair ModuleTypeInterfacesElemPoeType = "passive-48v-4pair"
const ModuleTypeInterfacesElemPoeTypeType1Ieee8023Af ModuleTypeInterfacesElemPoeType = "type1-ieee802.3af"
const ModuleTypeInterfacesElemPoeTypeType2Ieee8023At ModuleTypeInterfacesElemPoeType = "type2-ieee802.3at"
const ModuleTypeInterfacesElemPoeTypeType3Ieee8023Bt ModuleTypeInterfacesElemPoeType = "type3-ieee802.3bt"
const ModuleTypeInterfacesElemPoeTypeType4Ieee8023Bt ModuleTypeInterfacesElemPoeType = "type4-ieee802.3bt"
func (*ModuleTypeInterfacesElemPoeType) UnmarshalJSON ¶
func (j *ModuleTypeInterfacesElemPoeType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ModuleTypeInterfacesElemType ¶
type ModuleTypeInterfacesElemType string
const ModuleTypeInterfacesElemTypeA1000BaseKx ModuleTypeInterfacesElemType = "1000base-kx"
const ModuleTypeInterfacesElemTypeA1000BaseT ModuleTypeInterfacesElemType = "1000base-t"
const ModuleTypeInterfacesElemTypeA1000BaseXGbic ModuleTypeInterfacesElemType = "1000base-x-gbic"
const ModuleTypeInterfacesElemTypeA1000BaseXSfp ModuleTypeInterfacesElemType = "1000base-x-sfp"
const ModuleTypeInterfacesElemTypeA100BaseFx ModuleTypeInterfacesElemType = "100base-fx"
const ModuleTypeInterfacesElemTypeA100BaseLfx ModuleTypeInterfacesElemType = "100base-lfx"
const ModuleTypeInterfacesElemTypeA100BaseT1 ModuleTypeInterfacesElemType = "100base-t1"
const ModuleTypeInterfacesElemTypeA100BaseTx ModuleTypeInterfacesElemType = "100base-tx"
const ModuleTypeInterfacesElemTypeA100GbaseKp4 ModuleTypeInterfacesElemType = "100gbase-kp4"
const ModuleTypeInterfacesElemTypeA100GbaseKr2 ModuleTypeInterfacesElemType = "100gbase-kr2"
const ModuleTypeInterfacesElemTypeA100GbaseKr4 ModuleTypeInterfacesElemType = "100gbase-kr4"
const ModuleTypeInterfacesElemTypeA100GbaseXCfp ModuleTypeInterfacesElemType = "100gbase-x-cfp"
const ModuleTypeInterfacesElemTypeA100GbaseXCfp2 ModuleTypeInterfacesElemType = "100gbase-x-cfp2"
const ModuleTypeInterfacesElemTypeA100GbaseXCfp4 ModuleTypeInterfacesElemType = "100gbase-x-cfp4"
const ModuleTypeInterfacesElemTypeA100GbaseXCpak ModuleTypeInterfacesElemType = "100gbase-x-cpak"
const ModuleTypeInterfacesElemTypeA100GbaseXCxp ModuleTypeInterfacesElemType = "100gbase-x-cxp"
const ModuleTypeInterfacesElemTypeA100GbaseXDsfp ModuleTypeInterfacesElemType = "100gbase-x-dsfp"
const ModuleTypeInterfacesElemTypeA100GbaseXQsfp28 ModuleTypeInterfacesElemType = "100gbase-x-qsfp28"
const ModuleTypeInterfacesElemTypeA100GbaseXQsfpdd ModuleTypeInterfacesElemType = "100gbase-x-qsfpdd"
const ModuleTypeInterfacesElemTypeA100GbaseXSfpdd ModuleTypeInterfacesElemType = "100gbase-x-sfpdd"
const ModuleTypeInterfacesElemTypeA10GEpon ModuleTypeInterfacesElemType = "10g-epon"
const ModuleTypeInterfacesElemTypeA10GbaseCx4 ModuleTypeInterfacesElemType = "10gbase-cx4"
const ModuleTypeInterfacesElemTypeA10GbaseKr ModuleTypeInterfacesElemType = "10gbase-kr"
const ModuleTypeInterfacesElemTypeA10GbaseKx4 ModuleTypeInterfacesElemType = "10gbase-kx4"
const ModuleTypeInterfacesElemTypeA10GbaseT ModuleTypeInterfacesElemType = "10gbase-t"
const ModuleTypeInterfacesElemTypeA10GbaseXSfpp ModuleTypeInterfacesElemType = "10gbase-x-sfpp"
const ModuleTypeInterfacesElemTypeA10GbaseXX2 ModuleTypeInterfacesElemType = "10gbase-x-x2"
const ModuleTypeInterfacesElemTypeA10GbaseXXenpak ModuleTypeInterfacesElemType = "10gbase-x-xenpak"
const ModuleTypeInterfacesElemTypeA10GbaseXXfp ModuleTypeInterfacesElemType = "10gbase-x-xfp"
const ModuleTypeInterfacesElemTypeA128GfcQsfp28 ModuleTypeInterfacesElemType = "128gfc-qsfp28"
const ModuleTypeInterfacesElemTypeA16GfcSfpp ModuleTypeInterfacesElemType = "16gfc-sfpp"
const ModuleTypeInterfacesElemTypeA1GfcSfp ModuleTypeInterfacesElemType = "1gfc-sfp"
const ModuleTypeInterfacesElemTypeA200GbaseXCfp2 ModuleTypeInterfacesElemType = "200gbase-x-cfp2"
const ModuleTypeInterfacesElemTypeA200GbaseXQsfp56 ModuleTypeInterfacesElemType = "200gbase-x-qsfp56"
const ModuleTypeInterfacesElemTypeA200GbaseXQsfpdd ModuleTypeInterfacesElemType = "200gbase-x-qsfpdd"
const ModuleTypeInterfacesElemTypeA25GbaseKr ModuleTypeInterfacesElemType = "25gbase-kr"
const ModuleTypeInterfacesElemTypeA25GbaseT ModuleTypeInterfacesElemType = "2.5gbase-t"
const ModuleTypeInterfacesElemTypeA25GbaseXSfp28 ModuleTypeInterfacesElemType = "25gbase-x-sfp28"
const ModuleTypeInterfacesElemTypeA2GfcSfp ModuleTypeInterfacesElemType = "2gfc-sfp"
const ModuleTypeInterfacesElemTypeA32GfcSfp28 ModuleTypeInterfacesElemType = "32gfc-sfp28"
const ModuleTypeInterfacesElemTypeA400GbaseXCdfp ModuleTypeInterfacesElemType = "400gbase-x-cdfp"
const ModuleTypeInterfacesElemTypeA400GbaseXCfp2 ModuleTypeInterfacesElemType = "400gbase-x-cfp2"
const ModuleTypeInterfacesElemTypeA400GbaseXCfp8 ModuleTypeInterfacesElemType = "400gbase-x-cfp8"
const ModuleTypeInterfacesElemTypeA400GbaseXOsfp ModuleTypeInterfacesElemType = "400gbase-x-osfp"
const ModuleTypeInterfacesElemTypeA400GbaseXOsfpRhs ModuleTypeInterfacesElemType = "400gbase-x-osfp-rhs"
const ModuleTypeInterfacesElemTypeA400GbaseXQsfp112 ModuleTypeInterfacesElemType = "400gbase-x-qsfp112"
const ModuleTypeInterfacesElemTypeA400GbaseXQsfpdd ModuleTypeInterfacesElemType = "400gbase-x-qsfpdd"
const ModuleTypeInterfacesElemTypeA40GbaseKr4 ModuleTypeInterfacesElemType = "40gbase-kr4"
const ModuleTypeInterfacesElemTypeA40GbaseXQsfpp ModuleTypeInterfacesElemType = "40gbase-x-qsfpp"
const ModuleTypeInterfacesElemTypeA4GfcSfp ModuleTypeInterfacesElemType = "4gfc-sfp"
const ModuleTypeInterfacesElemTypeA50GbaseKr ModuleTypeInterfacesElemType = "50gbase-kr"
const ModuleTypeInterfacesElemTypeA50GbaseXSfp28 ModuleTypeInterfacesElemType = "50gbase-x-sfp28"
const ModuleTypeInterfacesElemTypeA50GbaseXSfp56 ModuleTypeInterfacesElemType = "50gbase-x-sfp56"
const ModuleTypeInterfacesElemTypeA5GbaseT ModuleTypeInterfacesElemType = "5gbase-t"
const ModuleTypeInterfacesElemTypeA64GfcQsfpp ModuleTypeInterfacesElemType = "64gfc-qsfpp"
const ModuleTypeInterfacesElemTypeA800GbaseXOsfp ModuleTypeInterfacesElemType = "800gbase-x-osfp"
const ModuleTypeInterfacesElemTypeA800GbaseXQsfpdd ModuleTypeInterfacesElemType = "800gbase-x-qsfpdd"
const ModuleTypeInterfacesElemTypeA8GfcSfpp ModuleTypeInterfacesElemType = "8gfc-sfpp"
const ModuleTypeInterfacesElemTypeBridge ModuleTypeInterfacesElemType = "bridge"
const ModuleTypeInterfacesElemTypeCdma ModuleTypeInterfacesElemType = "cdma"
const ModuleTypeInterfacesElemTypeCiscoFlexstack ModuleTypeInterfacesElemType = "cisco-flexstack"
const ModuleTypeInterfacesElemTypeCiscoFlexstackPlus ModuleTypeInterfacesElemType = "cisco-flexstack-plus"
const ModuleTypeInterfacesElemTypeCiscoStackwise ModuleTypeInterfacesElemType = "cisco-stackwise"
const ModuleTypeInterfacesElemTypeCiscoStackwise160 ModuleTypeInterfacesElemType = "cisco-stackwise-160"
const ModuleTypeInterfacesElemTypeCiscoStackwise1T ModuleTypeInterfacesElemType = "cisco-stackwise-1t"
const ModuleTypeInterfacesElemTypeCiscoStackwise320 ModuleTypeInterfacesElemType = "cisco-stackwise-320"
const ModuleTypeInterfacesElemTypeCiscoStackwise480 ModuleTypeInterfacesElemType = "cisco-stackwise-480"
const ModuleTypeInterfacesElemTypeCiscoStackwise80 ModuleTypeInterfacesElemType = "cisco-stackwise-80"
const ModuleTypeInterfacesElemTypeCiscoStackwisePlus ModuleTypeInterfacesElemType = "cisco-stackwise-plus"
const ModuleTypeInterfacesElemTypeDocsis ModuleTypeInterfacesElemType = "docsis"
const ModuleTypeInterfacesElemTypeE1 ModuleTypeInterfacesElemType = "e1"
const ModuleTypeInterfacesElemTypeE3 ModuleTypeInterfacesElemType = "e3"
const ModuleTypeInterfacesElemTypeEpon ModuleTypeInterfacesElemType = "epon"
const ModuleTypeInterfacesElemTypeExtremeSummitstack ModuleTypeInterfacesElemType = "extreme-summitstack"
const ModuleTypeInterfacesElemTypeExtremeSummitstack128 ModuleTypeInterfacesElemType = "extreme-summitstack-128"
const ModuleTypeInterfacesElemTypeExtremeSummitstack256 ModuleTypeInterfacesElemType = "extreme-summitstack-256"
const ModuleTypeInterfacesElemTypeExtremeSummitstack512 ModuleTypeInterfacesElemType = "extreme-summitstack-512"
const ModuleTypeInterfacesElemTypeGpon ModuleTypeInterfacesElemType = "gpon"
const ModuleTypeInterfacesElemTypeGsm ModuleTypeInterfacesElemType = "gsm"
const ModuleTypeInterfacesElemTypeIeee80211A ModuleTypeInterfacesElemType = "ieee802.11a"
const ModuleTypeInterfacesElemTypeIeee80211Ac ModuleTypeInterfacesElemType = "ieee802.11ac"
const ModuleTypeInterfacesElemTypeIeee80211Ad ModuleTypeInterfacesElemType = "ieee802.11ad"
const ModuleTypeInterfacesElemTypeIeee80211Ax ModuleTypeInterfacesElemType = "ieee802.11ax"
const ModuleTypeInterfacesElemTypeIeee80211Ay ModuleTypeInterfacesElemType = "ieee802.11ay"
const ModuleTypeInterfacesElemTypeIeee80211G ModuleTypeInterfacesElemType = "ieee802.11g"
const ModuleTypeInterfacesElemTypeIeee80211N ModuleTypeInterfacesElemType = "ieee802.11n"
const ModuleTypeInterfacesElemTypeIeee802151 ModuleTypeInterfacesElemType = "ieee802.15.1"
const ModuleTypeInterfacesElemTypeInfinibandDdr ModuleTypeInterfacesElemType = "infiniband-ddr"
const ModuleTypeInterfacesElemTypeInfinibandEdr ModuleTypeInterfacesElemType = "infiniband-edr"
const ModuleTypeInterfacesElemTypeInfinibandFdr ModuleTypeInterfacesElemType = "infiniband-fdr"
const ModuleTypeInterfacesElemTypeInfinibandFdr10 ModuleTypeInterfacesElemType = "infiniband-fdr10"
const ModuleTypeInterfacesElemTypeInfinibandHdr ModuleTypeInterfacesElemType = "infiniband-hdr"
const ModuleTypeInterfacesElemTypeInfinibandNdr ModuleTypeInterfacesElemType = "infiniband-ndr"
const ModuleTypeInterfacesElemTypeInfinibandQdr ModuleTypeInterfacesElemType = "infiniband-qdr"
const ModuleTypeInterfacesElemTypeInfinibandSdr ModuleTypeInterfacesElemType = "infiniband-sdr"
const ModuleTypeInterfacesElemTypeInfinibandXdr ModuleTypeInterfacesElemType = "infiniband-xdr"
const ModuleTypeInterfacesElemTypeJuniperVcp ModuleTypeInterfacesElemType = "juniper-vcp"
const ModuleTypeInterfacesElemTypeLag ModuleTypeInterfacesElemType = "lag"
const ModuleTypeInterfacesElemTypeLte ModuleTypeInterfacesElemType = "lte"
const ModuleTypeInterfacesElemTypeNgPon2 ModuleTypeInterfacesElemType = "ng-pon2"
const ModuleTypeInterfacesElemTypeOther ModuleTypeInterfacesElemType = "other"
const ModuleTypeInterfacesElemTypeOtherWireless ModuleTypeInterfacesElemType = "other-wireless"
const ModuleTypeInterfacesElemTypeSonetOc12 ModuleTypeInterfacesElemType = "sonet-oc12"
const ModuleTypeInterfacesElemTypeSonetOc192 ModuleTypeInterfacesElemType = "sonet-oc192"
const ModuleTypeInterfacesElemTypeSonetOc1920 ModuleTypeInterfacesElemType = "sonet-oc1920"
const ModuleTypeInterfacesElemTypeSonetOc3 ModuleTypeInterfacesElemType = "sonet-oc3"
const ModuleTypeInterfacesElemTypeSonetOc3840 ModuleTypeInterfacesElemType = "sonet-oc3840"
const ModuleTypeInterfacesElemTypeSonetOc48 ModuleTypeInterfacesElemType = "sonet-oc48"
const ModuleTypeInterfacesElemTypeSonetOc768 ModuleTypeInterfacesElemType = "sonet-oc768"
const ModuleTypeInterfacesElemTypeT1 ModuleTypeInterfacesElemType = "t1"
const ModuleTypeInterfacesElemTypeT3 ModuleTypeInterfacesElemType = "t3"
const ModuleTypeInterfacesElemTypeVirtual ModuleTypeInterfacesElemType = "virtual"
const ModuleTypeInterfacesElemTypeXdsl ModuleTypeInterfacesElemType = "xdsl"
const ModuleTypeInterfacesElemTypeXgPon ModuleTypeInterfacesElemType = "xg-pon"
const ModuleTypeInterfacesElemTypeXgsPon ModuleTypeInterfacesElemType = "xgs-pon"
func (*ModuleTypeInterfacesElemType) UnmarshalJSON ¶
func (j *ModuleTypeInterfacesElemType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ModuleTypePowerOutletsElem ¶
type ModuleTypePowerOutletsElem struct {
// FeedLeg corresponds to the JSON schema field "feed_leg".
FeedLeg *ModuleTypePowerOutletsElemFeedLeg `json:"feed_leg,omitempty" yaml:"feed_leg,omitempty" mapstructure:"feed_leg,omitempty"`
// Label corresponds to the JSON schema field "label".
Label *string `json:"label,omitempty" yaml:"label,omitempty" mapstructure:"label,omitempty"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name" yaml:"name" mapstructure:"name"`
// PowerPort corresponds to the JSON schema field "power_port".
PowerPort *string `json:"power_port,omitempty" yaml:"power_port,omitempty" mapstructure:"power_port,omitempty"`
// Type corresponds to the JSON schema field "type".
Type ModuleTypePowerOutletsElemType `json:"type" yaml:"type" mapstructure:"type"`
}
func (*ModuleTypePowerOutletsElem) UnmarshalJSON ¶
func (j *ModuleTypePowerOutletsElem) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ModuleTypePowerOutletsElemFeedLeg ¶
type ModuleTypePowerOutletsElemFeedLeg string
const ModuleTypePowerOutletsElemFeedLegA ModuleTypePowerOutletsElemFeedLeg = "A"
const ModuleTypePowerOutletsElemFeedLegB ModuleTypePowerOutletsElemFeedLeg = "B"
const ModuleTypePowerOutletsElemFeedLegC ModuleTypePowerOutletsElemFeedLeg = "C"
func (*ModuleTypePowerOutletsElemFeedLeg) UnmarshalJSON ¶
func (j *ModuleTypePowerOutletsElemFeedLeg) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ModuleTypePowerOutletsElemType ¶
type ModuleTypePowerOutletsElemType string
const ModuleTypePowerOutletsElemTypeCS6360C ModuleTypePowerOutletsElemType = "CS6360C"
const ModuleTypePowerOutletsElemTypeCS6364C ModuleTypePowerOutletsElemType = "CS6364C"
const ModuleTypePowerOutletsElemTypeCS8164C ModuleTypePowerOutletsElemType = "CS8164C"
const ModuleTypePowerOutletsElemTypeCS8264C ModuleTypePowerOutletsElemType = "CS8264C"
const ModuleTypePowerOutletsElemTypeCS8364C ModuleTypePowerOutletsElemType = "CS8364C"
const ModuleTypePowerOutletsElemTypeCS8464C ModuleTypePowerOutletsElemType = "CS8464C"
const ModuleTypePowerOutletsElemTypeDcTerminal ModuleTypePowerOutletsElemType = "dc-terminal"
const ModuleTypePowerOutletsElemTypeHardwired ModuleTypePowerOutletsElemType = "hardwired"
const ModuleTypePowerOutletsElemTypeHdotCx ModuleTypePowerOutletsElemType = "hdot-cx"
const ModuleTypePowerOutletsElemTypeIec603092PE4H ModuleTypePowerOutletsElemType = "iec-60309-2p-e-4h"
const ModuleTypePowerOutletsElemTypeIec603092PE6H ModuleTypePowerOutletsElemType = "iec-60309-2p-e-6h"
const ModuleTypePowerOutletsElemTypeIec603092PE9H ModuleTypePowerOutletsElemType = "iec-60309-2p-e-9h"
const ModuleTypePowerOutletsElemTypeIec603093PE4H ModuleTypePowerOutletsElemType = "iec-60309-3p-e-4h"
const ModuleTypePowerOutletsElemTypeIec603093PE6H ModuleTypePowerOutletsElemType = "iec-60309-3p-e-6h"
const ModuleTypePowerOutletsElemTypeIec603093PE9H ModuleTypePowerOutletsElemType = "iec-60309-3p-e-9h"
const ModuleTypePowerOutletsElemTypeIec603093PNE4H ModuleTypePowerOutletsElemType = "iec-60309-3p-n-e-4h"
const ModuleTypePowerOutletsElemTypeIec603093PNE6H ModuleTypePowerOutletsElemType = "iec-60309-3p-n-e-6h"
const ModuleTypePowerOutletsElemTypeIec603093PNE9H ModuleTypePowerOutletsElemType = "iec-60309-3p-n-e-9h"
const ModuleTypePowerOutletsElemTypeIec60309PNE4H ModuleTypePowerOutletsElemType = "iec-60309-p-n-e-4h"
const ModuleTypePowerOutletsElemTypeIec60309PNE6H ModuleTypePowerOutletsElemType = "iec-60309-p-n-e-6h"
const ModuleTypePowerOutletsElemTypeIec60309PNE9H ModuleTypePowerOutletsElemType = "iec-60309-p-n-e-9h"
const ModuleTypePowerOutletsElemTypeIec60320C13 ModuleTypePowerOutletsElemType = "iec-60320-c13"
const ModuleTypePowerOutletsElemTypeIec60320C15 ModuleTypePowerOutletsElemType = "iec-60320-c15"
const ModuleTypePowerOutletsElemTypeIec60320C19 ModuleTypePowerOutletsElemType = "iec-60320-c19"
const ModuleTypePowerOutletsElemTypeIec60320C21 ModuleTypePowerOutletsElemType = "iec-60320-c21"
const ModuleTypePowerOutletsElemTypeIec60320C5 ModuleTypePowerOutletsElemType = "iec-60320-c5"
const ModuleTypePowerOutletsElemTypeIec60320C7 ModuleTypePowerOutletsElemType = "iec-60320-c7"
const ModuleTypePowerOutletsElemTypeIec609061 ModuleTypePowerOutletsElemType = "iec-60906-1"
const ModuleTypePowerOutletsElemTypeItaE ModuleTypePowerOutletsElemType = "ita-e"
const ModuleTypePowerOutletsElemTypeItaF ModuleTypePowerOutletsElemType = "ita-f"
const ModuleTypePowerOutletsElemTypeItaG ModuleTypePowerOutletsElemType = "ita-g"
const ModuleTypePowerOutletsElemTypeItaH ModuleTypePowerOutletsElemType = "ita-h"
const ModuleTypePowerOutletsElemTypeItaI ModuleTypePowerOutletsElemType = "ita-i"
const ModuleTypePowerOutletsElemTypeItaJ ModuleTypePowerOutletsElemType = "ita-j"
const ModuleTypePowerOutletsElemTypeItaK ModuleTypePowerOutletsElemType = "ita-k"
const ModuleTypePowerOutletsElemTypeItaL ModuleTypePowerOutletsElemType = "ita-l"
const ModuleTypePowerOutletsElemTypeItaM ModuleTypePowerOutletsElemType = "ita-m"
const ModuleTypePowerOutletsElemTypeItaMultistandard ModuleTypePowerOutletsElemType = "ita-multistandard"
const ModuleTypePowerOutletsElemTypeItaN ModuleTypePowerOutletsElemType = "ita-n"
const ModuleTypePowerOutletsElemTypeItaO ModuleTypePowerOutletsElemType = "ita-o"
const ModuleTypePowerOutletsElemTypeNbr1413610A ModuleTypePowerOutletsElemType = "nbr-14136-10a"
const ModuleTypePowerOutletsElemTypeNbr1413620A ModuleTypePowerOutletsElemType = "nbr-14136-20a"
const ModuleTypePowerOutletsElemTypeNema1030R ModuleTypePowerOutletsElemType = "nema-10-30r"
const ModuleTypePowerOutletsElemTypeNema1050R ModuleTypePowerOutletsElemType = "nema-10-50r"
const ModuleTypePowerOutletsElemTypeNema115R ModuleTypePowerOutletsElemType = "nema-1-15r"
const ModuleTypePowerOutletsElemTypeNema1420R ModuleTypePowerOutletsElemType = "nema-14-20r"
const ModuleTypePowerOutletsElemTypeNema1430R ModuleTypePowerOutletsElemType = "nema-14-30r"
const ModuleTypePowerOutletsElemTypeNema1450R ModuleTypePowerOutletsElemType = "nema-14-50r"
const ModuleTypePowerOutletsElemTypeNema1460R ModuleTypePowerOutletsElemType = "nema-14-60r"
const ModuleTypePowerOutletsElemTypeNema1515R ModuleTypePowerOutletsElemType = "nema-15-15r"
const ModuleTypePowerOutletsElemTypeNema1520R ModuleTypePowerOutletsElemType = "nema-15-20r"
const ModuleTypePowerOutletsElemTypeNema1530R ModuleTypePowerOutletsElemType = "nema-15-30r"
const ModuleTypePowerOutletsElemTypeNema1550R ModuleTypePowerOutletsElemType = "nema-15-50r"
const ModuleTypePowerOutletsElemTypeNema1560R ModuleTypePowerOutletsElemType = "nema-15-60r"
const ModuleTypePowerOutletsElemTypeNema515R ModuleTypePowerOutletsElemType = "nema-5-15r"
const ModuleTypePowerOutletsElemTypeNema520R ModuleTypePowerOutletsElemType = "nema-5-20r"
const ModuleTypePowerOutletsElemTypeNema530R ModuleTypePowerOutletsElemType = "nema-5-30r"
const ModuleTypePowerOutletsElemTypeNema550R ModuleTypePowerOutletsElemType = "nema-5-50r"
const ModuleTypePowerOutletsElemTypeNema615R ModuleTypePowerOutletsElemType = "nema-6-15r"
const ModuleTypePowerOutletsElemTypeNema620R ModuleTypePowerOutletsElemType = "nema-6-20r"
const ModuleTypePowerOutletsElemTypeNema630R ModuleTypePowerOutletsElemType = "nema-6-30r"
const ModuleTypePowerOutletsElemTypeNema650R ModuleTypePowerOutletsElemType = "nema-6-50r"
const ModuleTypePowerOutletsElemTypeNemaL1030R ModuleTypePowerOutletsElemType = "nema-l10-30r"
const ModuleTypePowerOutletsElemTypeNemaL115R ModuleTypePowerOutletsElemType = "nema-l1-15r"
const ModuleTypePowerOutletsElemTypeNemaL1420R ModuleTypePowerOutletsElemType = "nema-l14-20r"
const ModuleTypePowerOutletsElemTypeNemaL1430R ModuleTypePowerOutletsElemType = "nema-l14-30r"
const ModuleTypePowerOutletsElemTypeNemaL1450R ModuleTypePowerOutletsElemType = "nema-l14-50r"
const ModuleTypePowerOutletsElemTypeNemaL1460R ModuleTypePowerOutletsElemType = "nema-l14-60r"
const ModuleTypePowerOutletsElemTypeNemaL1520R ModuleTypePowerOutletsElemType = "nema-l15-20r"
const ModuleTypePowerOutletsElemTypeNemaL1530R ModuleTypePowerOutletsElemType = "nema-l15-30r"
const ModuleTypePowerOutletsElemTypeNemaL1550R ModuleTypePowerOutletsElemType = "nema-l15-50r"
const ModuleTypePowerOutletsElemTypeNemaL1560R ModuleTypePowerOutletsElemType = "nema-l15-60r"
const ModuleTypePowerOutletsElemTypeNemaL2120R ModuleTypePowerOutletsElemType = "nema-l21-20r"
const ModuleTypePowerOutletsElemTypeNemaL2130R ModuleTypePowerOutletsElemType = "nema-l21-30r"
const ModuleTypePowerOutletsElemTypeNemaL2230R ModuleTypePowerOutletsElemType = "nema-l22-30r"
const ModuleTypePowerOutletsElemTypeNemaL515R ModuleTypePowerOutletsElemType = "nema-l5-15r"
const ModuleTypePowerOutletsElemTypeNemaL520R ModuleTypePowerOutletsElemType = "nema-l5-20r"
const ModuleTypePowerOutletsElemTypeNemaL530R ModuleTypePowerOutletsElemType = "nema-l5-30r"
const ModuleTypePowerOutletsElemTypeNemaL550R ModuleTypePowerOutletsElemType = "nema-l5-50r"
const ModuleTypePowerOutletsElemTypeNemaL615R ModuleTypePowerOutletsElemType = "nema-l6-15r"
const ModuleTypePowerOutletsElemTypeNemaL620R ModuleTypePowerOutletsElemType = "nema-l6-20r"
const ModuleTypePowerOutletsElemTypeNemaL630R ModuleTypePowerOutletsElemType = "nema-l6-30r"
const ModuleTypePowerOutletsElemTypeNemaL650R ModuleTypePowerOutletsElemType = "nema-l6-50r"
const ModuleTypePowerOutletsElemTypeNeutrikPowercon20A ModuleTypePowerOutletsElemType = "neutrik-powercon-20a"
const ModuleTypePowerOutletsElemTypeNeutrikPowercon32A ModuleTypePowerOutletsElemType = "neutrik-powercon-32a"
const ModuleTypePowerOutletsElemTypeNeutrikPowerconTrue1 ModuleTypePowerOutletsElemType = "neutrik-powercon-true1"
const ModuleTypePowerOutletsElemTypeNeutrikPowerconTrue1Top ModuleTypePowerOutletsElemType = "neutrik-powercon-true1-top"
const ModuleTypePowerOutletsElemTypeOther ModuleTypePowerOutletsElemType = "other"
const ModuleTypePowerOutletsElemTypeSafDGrid ModuleTypePowerOutletsElemType = "saf-d-grid"
const ModuleTypePowerOutletsElemTypeUbiquitiSmartpower ModuleTypePowerOutletsElemType = "ubiquiti-smartpower"
const ModuleTypePowerOutletsElemTypeUsbA ModuleTypePowerOutletsElemType = "usb-a"
const ModuleTypePowerOutletsElemTypeUsbC ModuleTypePowerOutletsElemType = "usb-c"
const ModuleTypePowerOutletsElemTypeUsbMicroB ModuleTypePowerOutletsElemType = "usb-micro-b"
func (*ModuleTypePowerOutletsElemType) UnmarshalJSON ¶
func (j *ModuleTypePowerOutletsElemType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ModuleTypePowerPortsElem ¶
type ModuleTypePowerPortsElem struct {
// AllocatedDraw corresponds to the JSON schema field "allocated_draw".
AllocatedDraw *int `json:"allocated_draw,omitempty" yaml:"allocated_draw,omitempty" mapstructure:"allocated_draw,omitempty"`
// Label corresponds to the JSON schema field "label".
Label *string `json:"label,omitempty" yaml:"label,omitempty" mapstructure:"label,omitempty"`
// MaximumDraw corresponds to the JSON schema field "maximum_draw".
MaximumDraw *int `json:"maximum_draw,omitempty" yaml:"maximum_draw,omitempty" mapstructure:"maximum_draw,omitempty"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name" yaml:"name" mapstructure:"name"`
// Type corresponds to the JSON schema field "type".
Type ModuleTypePowerPortsElemType `json:"type" yaml:"type" mapstructure:"type"`
}
func (*ModuleTypePowerPortsElem) UnmarshalJSON ¶
func (j *ModuleTypePowerPortsElem) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ModuleTypePowerPortsElemType ¶
type ModuleTypePowerPortsElemType string
const ModuleTypePowerPortsElemTypeCs6361C ModuleTypePowerPortsElemType = "cs6361c"
const ModuleTypePowerPortsElemTypeCs6365C ModuleTypePowerPortsElemType = "cs6365c"
const ModuleTypePowerPortsElemTypeCs8165C ModuleTypePowerPortsElemType = "cs8165c"
const ModuleTypePowerPortsElemTypeCs8265C ModuleTypePowerPortsElemType = "cs8265c"
const ModuleTypePowerPortsElemTypeCs8365C ModuleTypePowerPortsElemType = "cs8365c"
const ModuleTypePowerPortsElemTypeCs8465C ModuleTypePowerPortsElemType = "cs8465c"
const ModuleTypePowerPortsElemTypeDcTerminal ModuleTypePowerPortsElemType = "dc-terminal"
const ModuleTypePowerPortsElemTypeHardwired ModuleTypePowerPortsElemType = "hardwired"
const ModuleTypePowerPortsElemTypeIec603092PE4H ModuleTypePowerPortsElemType = "iec-60309-2p-e-4h"
const ModuleTypePowerPortsElemTypeIec603092PE6H ModuleTypePowerPortsElemType = "iec-60309-2p-e-6h"
const ModuleTypePowerPortsElemTypeIec603092PE9H ModuleTypePowerPortsElemType = "iec-60309-2p-e-9h"
const ModuleTypePowerPortsElemTypeIec603093PE4H ModuleTypePowerPortsElemType = "iec-60309-3p-e-4h"
const ModuleTypePowerPortsElemTypeIec603093PE6H ModuleTypePowerPortsElemType = "iec-60309-3p-e-6h"
const ModuleTypePowerPortsElemTypeIec603093PE9H ModuleTypePowerPortsElemType = "iec-60309-3p-e-9h"
const ModuleTypePowerPortsElemTypeIec603093PNE4H ModuleTypePowerPortsElemType = "iec-60309-3p-n-e-4h"
const ModuleTypePowerPortsElemTypeIec603093PNE6H ModuleTypePowerPortsElemType = "iec-60309-3p-n-e-6h"
const ModuleTypePowerPortsElemTypeIec603093PNE9H ModuleTypePowerPortsElemType = "iec-60309-3p-n-e-9h"
const ModuleTypePowerPortsElemTypeIec60309PNE4H ModuleTypePowerPortsElemType = "iec-60309-p-n-e-4h"
const ModuleTypePowerPortsElemTypeIec60309PNE6H ModuleTypePowerPortsElemType = "iec-60309-p-n-e-6h"
const ModuleTypePowerPortsElemTypeIec60309PNE9H ModuleTypePowerPortsElemType = "iec-60309-p-n-e-9h"
const ModuleTypePowerPortsElemTypeIec60320C14 ModuleTypePowerPortsElemType = "iec-60320-c14"
const ModuleTypePowerPortsElemTypeIec60320C16 ModuleTypePowerPortsElemType = "iec-60320-c16"
const ModuleTypePowerPortsElemTypeIec60320C20 ModuleTypePowerPortsElemType = "iec-60320-c20"
const ModuleTypePowerPortsElemTypeIec60320C22 ModuleTypePowerPortsElemType = "iec-60320-c22"
const ModuleTypePowerPortsElemTypeIec60320C6 ModuleTypePowerPortsElemType = "iec-60320-c6"
const ModuleTypePowerPortsElemTypeIec60320C8 ModuleTypePowerPortsElemType = "iec-60320-c8"
const ModuleTypePowerPortsElemTypeIec609061 ModuleTypePowerPortsElemType = "iec-60906-1"
const ModuleTypePowerPortsElemTypeItaC ModuleTypePowerPortsElemType = "ita-c"
const ModuleTypePowerPortsElemTypeItaE ModuleTypePowerPortsElemType = "ita-e"
const ModuleTypePowerPortsElemTypeItaEf ModuleTypePowerPortsElemType = "ita-ef"
const ModuleTypePowerPortsElemTypeItaF ModuleTypePowerPortsElemType = "ita-f"
const ModuleTypePowerPortsElemTypeItaG ModuleTypePowerPortsElemType = "ita-g"
const ModuleTypePowerPortsElemTypeItaH ModuleTypePowerPortsElemType = "ita-h"
const ModuleTypePowerPortsElemTypeItaI ModuleTypePowerPortsElemType = "ita-i"
const ModuleTypePowerPortsElemTypeItaJ ModuleTypePowerPortsElemType = "ita-j"
const ModuleTypePowerPortsElemTypeItaK ModuleTypePowerPortsElemType = "ita-k"
const ModuleTypePowerPortsElemTypeItaL ModuleTypePowerPortsElemType = "ita-l"
const ModuleTypePowerPortsElemTypeItaM ModuleTypePowerPortsElemType = "ita-m"
const ModuleTypePowerPortsElemTypeItaN ModuleTypePowerPortsElemType = "ita-n"
const ModuleTypePowerPortsElemTypeItaO ModuleTypePowerPortsElemType = "ita-o"
const ModuleTypePowerPortsElemTypeNbr1413610A ModuleTypePowerPortsElemType = "nbr-14136-10a"
const ModuleTypePowerPortsElemTypeNbr1413620A ModuleTypePowerPortsElemType = "nbr-14136-20a"
const ModuleTypePowerPortsElemTypeNema1030P ModuleTypePowerPortsElemType = "nema-10-30p"
const ModuleTypePowerPortsElemTypeNema1050P ModuleTypePowerPortsElemType = "nema-10-50p"
const ModuleTypePowerPortsElemTypeNema115P ModuleTypePowerPortsElemType = "nema-1-15p"
const ModuleTypePowerPortsElemTypeNema1420P ModuleTypePowerPortsElemType = "nema-14-20p"
const ModuleTypePowerPortsElemTypeNema1430P ModuleTypePowerPortsElemType = "nema-14-30p"
const ModuleTypePowerPortsElemTypeNema1450P ModuleTypePowerPortsElemType = "nema-14-50p"
const ModuleTypePowerPortsElemTypeNema1460P ModuleTypePowerPortsElemType = "nema-14-60p"
const ModuleTypePowerPortsElemTypeNema1515P ModuleTypePowerPortsElemType = "nema-15-15p"
const ModuleTypePowerPortsElemTypeNema1520P ModuleTypePowerPortsElemType = "nema-15-20p"
const ModuleTypePowerPortsElemTypeNema1530P ModuleTypePowerPortsElemType = "nema-15-30p"
const ModuleTypePowerPortsElemTypeNema1550P ModuleTypePowerPortsElemType = "nema-15-50p"
const ModuleTypePowerPortsElemTypeNema1560P ModuleTypePowerPortsElemType = "nema-15-60p"
const ModuleTypePowerPortsElemTypeNema515P ModuleTypePowerPortsElemType = "nema-5-15p"
const ModuleTypePowerPortsElemTypeNema520P ModuleTypePowerPortsElemType = "nema-5-20p"
const ModuleTypePowerPortsElemTypeNema530P ModuleTypePowerPortsElemType = "nema-5-30p"
const ModuleTypePowerPortsElemTypeNema550P ModuleTypePowerPortsElemType = "nema-5-50p"
const ModuleTypePowerPortsElemTypeNema615P ModuleTypePowerPortsElemType = "nema-6-15p"
const ModuleTypePowerPortsElemTypeNema620P ModuleTypePowerPortsElemType = "nema-6-20p"
const ModuleTypePowerPortsElemTypeNema630P ModuleTypePowerPortsElemType = "nema-6-30p"
const ModuleTypePowerPortsElemTypeNema650P ModuleTypePowerPortsElemType = "nema-6-50p"
const ModuleTypePowerPortsElemTypeNemaL1030P ModuleTypePowerPortsElemType = "nema-l10-30p"
const ModuleTypePowerPortsElemTypeNemaL115P ModuleTypePowerPortsElemType = "nema-l1-15p"
const ModuleTypePowerPortsElemTypeNemaL1420P ModuleTypePowerPortsElemType = "nema-l14-20p"
const ModuleTypePowerPortsElemTypeNemaL1430P ModuleTypePowerPortsElemType = "nema-l14-30p"
const ModuleTypePowerPortsElemTypeNemaL1450P ModuleTypePowerPortsElemType = "nema-l14-50p"
const ModuleTypePowerPortsElemTypeNemaL1460P ModuleTypePowerPortsElemType = "nema-l14-60p"
const ModuleTypePowerPortsElemTypeNemaL1520P ModuleTypePowerPortsElemType = "nema-l15-20p"
const ModuleTypePowerPortsElemTypeNemaL1530P ModuleTypePowerPortsElemType = "nema-l15-30p"
const ModuleTypePowerPortsElemTypeNemaL1550P ModuleTypePowerPortsElemType = "nema-l15-50p"
const ModuleTypePowerPortsElemTypeNemaL1560P ModuleTypePowerPortsElemType = "nema-l15-60p"
const ModuleTypePowerPortsElemTypeNemaL2120P ModuleTypePowerPortsElemType = "nema-l21-20p"
const ModuleTypePowerPortsElemTypeNemaL2130P ModuleTypePowerPortsElemType = "nema-l21-30p"
const ModuleTypePowerPortsElemTypeNemaL2230P ModuleTypePowerPortsElemType = "nema-l22-30p"
const ModuleTypePowerPortsElemTypeNemaL515P ModuleTypePowerPortsElemType = "nema-l5-15p"
const ModuleTypePowerPortsElemTypeNemaL520P ModuleTypePowerPortsElemType = "nema-l5-20p"
const ModuleTypePowerPortsElemTypeNemaL530P ModuleTypePowerPortsElemType = "nema-l5-30p"
const ModuleTypePowerPortsElemTypeNemaL550P ModuleTypePowerPortsElemType = "nema-l5-50p"
const ModuleTypePowerPortsElemTypeNemaL615P ModuleTypePowerPortsElemType = "nema-l6-15p"
const ModuleTypePowerPortsElemTypeNemaL620P ModuleTypePowerPortsElemType = "nema-l6-20p"
const ModuleTypePowerPortsElemTypeNemaL630P ModuleTypePowerPortsElemType = "nema-l6-30p"
const ModuleTypePowerPortsElemTypeNemaL650P ModuleTypePowerPortsElemType = "nema-l6-50p"
const ModuleTypePowerPortsElemTypeNeutrikPowercon20 ModuleTypePowerPortsElemType = "neutrik-powercon-20"
const ModuleTypePowerPortsElemTypeNeutrikPowercon32 ModuleTypePowerPortsElemType = "neutrik-powercon-32"
const ModuleTypePowerPortsElemTypeNeutrikPowerconTrue1 ModuleTypePowerPortsElemType = "neutrik-powercon-true1"
const ModuleTypePowerPortsElemTypeNeutrikPowerconTrue1Top ModuleTypePowerPortsElemType = "neutrik-powercon-true1-top"
const ModuleTypePowerPortsElemTypeOther ModuleTypePowerPortsElemType = "other"
const ModuleTypePowerPortsElemTypeSafDGrid ModuleTypePowerPortsElemType = "saf-d-grid"
const ModuleTypePowerPortsElemTypeUbiquitiSmartpower ModuleTypePowerPortsElemType = "ubiquiti-smartpower"
const ModuleTypePowerPortsElemTypeUsb3B ModuleTypePowerPortsElemType = "usb-3-b"
const ModuleTypePowerPortsElemTypeUsb3MicroB ModuleTypePowerPortsElemType = "usb-3-micro-b"
const ModuleTypePowerPortsElemTypeUsbA ModuleTypePowerPortsElemType = "usb-a"
const ModuleTypePowerPortsElemTypeUsbB ModuleTypePowerPortsElemType = "usb-b"
const ModuleTypePowerPortsElemTypeUsbC ModuleTypePowerPortsElemType = "usb-c"
const ModuleTypePowerPortsElemTypeUsbMicroA ModuleTypePowerPortsElemType = "usb-micro-a"
const ModuleTypePowerPortsElemTypeUsbMicroAb ModuleTypePowerPortsElemType = "usb-micro-ab"
const ModuleTypePowerPortsElemTypeUsbMicroB ModuleTypePowerPortsElemType = "usb-micro-b"
const ModuleTypePowerPortsElemTypeUsbMiniA ModuleTypePowerPortsElemType = "usb-mini-a"
const ModuleTypePowerPortsElemTypeUsbMiniB ModuleTypePowerPortsElemType = "usb-mini-b"
func (*ModuleTypePowerPortsElemType) UnmarshalJSON ¶
func (j *ModuleTypePowerPortsElemType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ModuleTypeRearPortsElem ¶
type ModuleTypeRearPortsElem struct {
// Color corresponds to the JSON schema field "color".
Color *string `json:"color,omitempty" yaml:"color,omitempty" mapstructure:"color,omitempty"`
// Label corresponds to the JSON schema field "label".
Label *string `json:"label,omitempty" yaml:"label,omitempty" mapstructure:"label,omitempty"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name" yaml:"name" mapstructure:"name"`
// Poe corresponds to the JSON schema field "poe".
Poe *bool `json:"poe,omitempty" yaml:"poe,omitempty" mapstructure:"poe,omitempty"`
// Positions corresponds to the JSON schema field "positions".
Positions *int `json:"positions,omitempty" yaml:"positions,omitempty" mapstructure:"positions,omitempty"`
// Type corresponds to the JSON schema field "type".
Type ModuleTypeRearPortsElemType `json:"type" yaml:"type" mapstructure:"type"`
}
func (*ModuleTypeRearPortsElem) UnmarshalJSON ¶
func (j *ModuleTypeRearPortsElem) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ModuleTypeRearPortsElemType ¶
type ModuleTypeRearPortsElemType string
const ModuleTypeRearPortsElemTypeA110Punch ModuleTypeRearPortsElemType = "110-punch"
const ModuleTypeRearPortsElemTypeA4P2C ModuleTypeRearPortsElemType = "4p2c"
const ModuleTypeRearPortsElemTypeA4P4C ModuleTypeRearPortsElemType = "4p4c"
const ModuleTypeRearPortsElemTypeA6P2C ModuleTypeRearPortsElemType = "6p2c"
const ModuleTypeRearPortsElemTypeA6P4C ModuleTypeRearPortsElemType = "6p4c"
const ModuleTypeRearPortsElemTypeA6P6C ModuleTypeRearPortsElemType = "6p6c"
const ModuleTypeRearPortsElemTypeA8P2C ModuleTypeRearPortsElemType = "8p2c"
const ModuleTypeRearPortsElemTypeA8P4C ModuleTypeRearPortsElemType = "8p4c"
const ModuleTypeRearPortsElemTypeA8P6C ModuleTypeRearPortsElemType = "8p6c"
const ModuleTypeRearPortsElemTypeA8P8C ModuleTypeRearPortsElemType = "8p8c"
const ModuleTypeRearPortsElemTypeBnc ModuleTypeRearPortsElemType = "bnc"
const ModuleTypeRearPortsElemTypeCs ModuleTypeRearPortsElemType = "cs"
const ModuleTypeRearPortsElemTypeF ModuleTypeRearPortsElemType = "f"
const ModuleTypeRearPortsElemTypeFc ModuleTypeRearPortsElemType = "fc"
const ModuleTypeRearPortsElemTypeGg45 ModuleTypeRearPortsElemType = "gg45"
const ModuleTypeRearPortsElemTypeLc ModuleTypeRearPortsElemType = "lc"
const ModuleTypeRearPortsElemTypeLcApc ModuleTypeRearPortsElemType = "lc-apc"
const ModuleTypeRearPortsElemTypeLcPc ModuleTypeRearPortsElemType = "lc-pc"
const ModuleTypeRearPortsElemTypeLcUpc ModuleTypeRearPortsElemType = "lc-upc"
const ModuleTypeRearPortsElemTypeLsh ModuleTypeRearPortsElemType = "lsh"
const ModuleTypeRearPortsElemTypeLshApc ModuleTypeRearPortsElemType = "lsh-apc"
const ModuleTypeRearPortsElemTypeLshPc ModuleTypeRearPortsElemType = "lsh-pc"
const ModuleTypeRearPortsElemTypeLshUpc ModuleTypeRearPortsElemType = "lsh-upc"
const ModuleTypeRearPortsElemTypeLx5 ModuleTypeRearPortsElemType = "lx5"
const ModuleTypeRearPortsElemTypeLx5Apc ModuleTypeRearPortsElemType = "lx5-apc"
const ModuleTypeRearPortsElemTypeLx5Pc ModuleTypeRearPortsElemType = "lx5-pc"
const ModuleTypeRearPortsElemTypeLx5Upc ModuleTypeRearPortsElemType = "lx5-upc"
const ModuleTypeRearPortsElemTypeMpo ModuleTypeRearPortsElemType = "mpo"
const ModuleTypeRearPortsElemTypeMrj21 ModuleTypeRearPortsElemType = "mrj21"
const ModuleTypeRearPortsElemTypeMtrj ModuleTypeRearPortsElemType = "mtrj"
const ModuleTypeRearPortsElemTypeN ModuleTypeRearPortsElemType = "n"
const ModuleTypeRearPortsElemTypeOther ModuleTypeRearPortsElemType = "other"
const ModuleTypeRearPortsElemTypeSc ModuleTypeRearPortsElemType = "sc"
const ModuleTypeRearPortsElemTypeScApc ModuleTypeRearPortsElemType = "sc-apc"
const ModuleTypeRearPortsElemTypeScPc ModuleTypeRearPortsElemType = "sc-pc"
const ModuleTypeRearPortsElemTypeScUpc ModuleTypeRearPortsElemType = "sc-upc"
const ModuleTypeRearPortsElemTypeSma905 ModuleTypeRearPortsElemType = "sma-905"
const ModuleTypeRearPortsElemTypeSma906 ModuleTypeRearPortsElemType = "sma-906"
const ModuleTypeRearPortsElemTypeSn ModuleTypeRearPortsElemType = "sn"
const ModuleTypeRearPortsElemTypeSplice ModuleTypeRearPortsElemType = "splice"
const ModuleTypeRearPortsElemTypeSt ModuleTypeRearPortsElemType = "st"
const ModuleTypeRearPortsElemTypeTera1P ModuleTypeRearPortsElemType = "tera-1p"
const ModuleTypeRearPortsElemTypeTera2P ModuleTypeRearPortsElemType = "tera-2p"
const ModuleTypeRearPortsElemTypeTera4P ModuleTypeRearPortsElemType = "tera-4p"
const ModuleTypeRearPortsElemTypeUrmP2 ModuleTypeRearPortsElemType = "urm-p2"
const ModuleTypeRearPortsElemTypeUrmP4 ModuleTypeRearPortsElemType = "urm-p4"
const ModuleTypeRearPortsElemTypeUrmP8 ModuleTypeRearPortsElemType = "urm-p8"
func (*ModuleTypeRearPortsElemType) UnmarshalJSON ¶
func (j *ModuleTypeRearPortsElemType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ModuleTypeWeightUnit ¶
type ModuleTypeWeightUnit string
const ModuleTypeWeightUnitG ModuleTypeWeightUnit = "g"
const ModuleTypeWeightUnitKg ModuleTypeWeightUnit = "kg"
const ModuleTypeWeightUnitLb ModuleTypeWeightUnit = "lb"
const ModuleTypeWeightUnitOz ModuleTypeWeightUnit = "oz"
func (*ModuleTypeWeightUnit) UnmarshalJSON ¶
func (j *ModuleTypeWeightUnit) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.