netbox_client

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2020 License: MIT Imports: 21 Imported by: 0

README

Go API client for netbox_client

API to access NetBox

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: 2.8
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.GoClientCodegen

Installation

Put the package under your project folder and add the following in import:

import "./netbox_client"

Documentation for API Endpoints

All URIs are relative to https://netbox/api

Class Method HTTP request Description
CircuitsApi CircuitsCircuitTerminationsCreate Post /circuits/circuit-terminations/
CircuitsApi CircuitsCircuitTerminationsDelete Delete /circuits/circuit-terminations/{id}/
CircuitsApi CircuitsCircuitTerminationsList Get /circuits/circuit-terminations/
CircuitsApi CircuitsCircuitTerminationsPartialUpdate Patch /circuits/circuit-terminations/{id}/
CircuitsApi CircuitsCircuitTerminationsRead Get /circuits/circuit-terminations/{id}/
CircuitsApi CircuitsCircuitTerminationsUpdate Put /circuits/circuit-terminations/{id}/
CircuitsApi CircuitsCircuitTypesCreate Post /circuits/circuit-types/
CircuitsApi CircuitsCircuitTypesDelete Delete /circuits/circuit-types/{id}/
CircuitsApi CircuitsCircuitTypesList Get /circuits/circuit-types/
CircuitsApi CircuitsCircuitTypesPartialUpdate Patch /circuits/circuit-types/{id}/
CircuitsApi CircuitsCircuitTypesRead Get /circuits/circuit-types/{id}/
CircuitsApi CircuitsCircuitTypesUpdate Put /circuits/circuit-types/{id}/
CircuitsApi CircuitsCircuitsCreate Post /circuits/circuits/
CircuitsApi CircuitsCircuitsDelete Delete /circuits/circuits/{id}/
CircuitsApi CircuitsCircuitsList Get /circuits/circuits/
CircuitsApi CircuitsCircuitsPartialUpdate Patch /circuits/circuits/{id}/
CircuitsApi CircuitsCircuitsRead Get /circuits/circuits/{id}/
CircuitsApi CircuitsCircuitsUpdate Put /circuits/circuits/{id}/
CircuitsApi CircuitsProvidersCreate Post /circuits/providers/
CircuitsApi CircuitsProvidersDelete Delete /circuits/providers/{id}/
CircuitsApi CircuitsProvidersGraphs Get /circuits/providers/{id}/graphs/
CircuitsApi CircuitsProvidersList Get /circuits/providers/
CircuitsApi CircuitsProvidersPartialUpdate Patch /circuits/providers/{id}/
CircuitsApi CircuitsProvidersRead Get /circuits/providers/{id}/
CircuitsApi CircuitsProvidersUpdate Put /circuits/providers/{id}/
DcimApi DcimCablesCreate Post /dcim/cables/
DcimApi DcimCablesDelete Delete /dcim/cables/{id}/
DcimApi DcimCablesList Get /dcim/cables/
DcimApi DcimCablesPartialUpdate Patch /dcim/cables/{id}/
DcimApi DcimCablesRead Get /dcim/cables/{id}/
DcimApi DcimCablesUpdate Put /dcim/cables/{id}/
DcimApi DcimConnectedDeviceList Get /dcim/connected-device/
DcimApi DcimConsoleConnectionsList Get /dcim/console-connections/
DcimApi DcimConsolePortTemplatesCreate Post /dcim/console-port-templates/
DcimApi DcimConsolePortTemplatesDelete Delete /dcim/console-port-templates/{id}/
DcimApi DcimConsolePortTemplatesList Get /dcim/console-port-templates/
DcimApi DcimConsolePortTemplatesPartialUpdate Patch /dcim/console-port-templates/{id}/
DcimApi DcimConsolePortTemplatesRead Get /dcim/console-port-templates/{id}/
DcimApi DcimConsolePortTemplatesUpdate Put /dcim/console-port-templates/{id}/
DcimApi DcimConsolePortsCreate Post /dcim/console-ports/
DcimApi DcimConsolePortsDelete Delete /dcim/console-ports/{id}/
DcimApi DcimConsolePortsList Get /dcim/console-ports/
DcimApi DcimConsolePortsPartialUpdate Patch /dcim/console-ports/{id}/
DcimApi DcimConsolePortsRead Get /dcim/console-ports/{id}/
DcimApi DcimConsolePortsTrace Get /dcim/console-ports/{id}/trace/
DcimApi DcimConsolePortsUpdate Put /dcim/console-ports/{id}/
DcimApi DcimConsoleServerPortTemplatesCreate Post /dcim/console-server-port-templates/
DcimApi DcimConsoleServerPortTemplatesDelete Delete /dcim/console-server-port-templates/{id}/
DcimApi DcimConsoleServerPortTemplatesList Get /dcim/console-server-port-templates/
DcimApi DcimConsoleServerPortTemplatesPartialUpdate Patch /dcim/console-server-port-templates/{id}/
DcimApi DcimConsoleServerPortTemplatesRead Get /dcim/console-server-port-templates/{id}/
DcimApi DcimConsoleServerPortTemplatesUpdate Put /dcim/console-server-port-templates/{id}/
DcimApi DcimConsoleServerPortsCreate Post /dcim/console-server-ports/
DcimApi DcimConsoleServerPortsDelete Delete /dcim/console-server-ports/{id}/
DcimApi DcimConsoleServerPortsList Get /dcim/console-server-ports/
DcimApi DcimConsoleServerPortsPartialUpdate Patch /dcim/console-server-ports/{id}/
DcimApi DcimConsoleServerPortsRead Get /dcim/console-server-ports/{id}/
DcimApi DcimConsoleServerPortsTrace Get /dcim/console-server-ports/{id}/trace/
DcimApi DcimConsoleServerPortsUpdate Put /dcim/console-server-ports/{id}/
DcimApi DcimDeviceBayTemplatesCreate Post /dcim/device-bay-templates/
DcimApi DcimDeviceBayTemplatesDelete Delete /dcim/device-bay-templates/{id}/
DcimApi DcimDeviceBayTemplatesList Get /dcim/device-bay-templates/
DcimApi DcimDeviceBayTemplatesPartialUpdate Patch /dcim/device-bay-templates/{id}/
DcimApi DcimDeviceBayTemplatesRead Get /dcim/device-bay-templates/{id}/
DcimApi DcimDeviceBayTemplatesUpdate Put /dcim/device-bay-templates/{id}/
DcimApi DcimDeviceBaysCreate Post /dcim/device-bays/
DcimApi DcimDeviceBaysDelete Delete /dcim/device-bays/{id}/
DcimApi DcimDeviceBaysList Get /dcim/device-bays/
DcimApi DcimDeviceBaysPartialUpdate Patch /dcim/device-bays/{id}/
DcimApi DcimDeviceBaysRead Get /dcim/device-bays/{id}/
DcimApi DcimDeviceBaysUpdate Put /dcim/device-bays/{id}/
DcimApi DcimDeviceRolesCreate Post /dcim/device-roles/
DcimApi DcimDeviceRolesDelete Delete /dcim/device-roles/{id}/
DcimApi DcimDeviceRolesList Get /dcim/device-roles/
DcimApi DcimDeviceRolesPartialUpdate Patch /dcim/device-roles/{id}/
DcimApi DcimDeviceRolesRead Get /dcim/device-roles/{id}/
DcimApi DcimDeviceRolesUpdate Put /dcim/device-roles/{id}/
DcimApi DcimDeviceTypesCreate Post /dcim/device-types/
DcimApi DcimDeviceTypesDelete Delete /dcim/device-types/{id}/
DcimApi DcimDeviceTypesList Get /dcim/device-types/
DcimApi DcimDeviceTypesPartialUpdate Patch /dcim/device-types/{id}/
DcimApi DcimDeviceTypesRead Get /dcim/device-types/{id}/
DcimApi DcimDeviceTypesUpdate Put /dcim/device-types/{id}/
DcimApi DcimDevicesCreate Post /dcim/devices/
DcimApi DcimDevicesDelete Delete /dcim/devices/{id}/
DcimApi DcimDevicesGraphs Get /dcim/devices/{id}/graphs/
DcimApi DcimDevicesList Get /dcim/devices/
DcimApi DcimDevicesNapalm Get /dcim/devices/{id}/napalm/
DcimApi DcimDevicesPartialUpdate Patch /dcim/devices/{id}/
DcimApi DcimDevicesRead Get /dcim/devices/{id}/
DcimApi DcimDevicesUpdate Put /dcim/devices/{id}/
DcimApi DcimFrontPortTemplatesCreate Post /dcim/front-port-templates/
DcimApi DcimFrontPortTemplatesDelete Delete /dcim/front-port-templates/{id}/
DcimApi DcimFrontPortTemplatesList Get /dcim/front-port-templates/
DcimApi DcimFrontPortTemplatesPartialUpdate Patch /dcim/front-port-templates/{id}/
DcimApi DcimFrontPortTemplatesRead Get /dcim/front-port-templates/{id}/
DcimApi DcimFrontPortTemplatesUpdate Put /dcim/front-port-templates/{id}/
DcimApi DcimFrontPortsCreate Post /dcim/front-ports/
DcimApi DcimFrontPortsDelete Delete /dcim/front-ports/{id}/
DcimApi DcimFrontPortsList Get /dcim/front-ports/
DcimApi DcimFrontPortsPartialUpdate Patch /dcim/front-ports/{id}/
DcimApi DcimFrontPortsRead Get /dcim/front-ports/{id}/
DcimApi DcimFrontPortsUpdate Put /dcim/front-ports/{id}/
DcimApi DcimInterfaceConnectionsList Get /dcim/interface-connections/
DcimApi DcimInterfaceTemplatesCreate Post /dcim/interface-templates/
DcimApi DcimInterfaceTemplatesDelete Delete /dcim/interface-templates/{id}/
DcimApi DcimInterfaceTemplatesList Get /dcim/interface-templates/
DcimApi DcimInterfaceTemplatesPartialUpdate Patch /dcim/interface-templates/{id}/
DcimApi DcimInterfaceTemplatesRead Get /dcim/interface-templates/{id}/
DcimApi DcimInterfaceTemplatesUpdate Put /dcim/interface-templates/{id}/
DcimApi DcimInterfacesCreate Post /dcim/interfaces/
DcimApi DcimInterfacesDelete Delete /dcim/interfaces/{id}/
DcimApi DcimInterfacesGraphs Get /dcim/interfaces/{id}/graphs/
DcimApi DcimInterfacesList Get /dcim/interfaces/
DcimApi DcimInterfacesPartialUpdate Patch /dcim/interfaces/{id}/
DcimApi DcimInterfacesRead Get /dcim/interfaces/{id}/
DcimApi DcimInterfacesTrace Get /dcim/interfaces/{id}/trace/
DcimApi DcimInterfacesUpdate Put /dcim/interfaces/{id}/
DcimApi DcimInventoryItemsCreate Post /dcim/inventory-items/
DcimApi DcimInventoryItemsDelete Delete /dcim/inventory-items/{id}/
DcimApi DcimInventoryItemsList Get /dcim/inventory-items/
DcimApi DcimInventoryItemsPartialUpdate Patch /dcim/inventory-items/{id}/
DcimApi DcimInventoryItemsRead Get /dcim/inventory-items/{id}/
DcimApi DcimInventoryItemsUpdate Put /dcim/inventory-items/{id}/
DcimApi DcimManufacturersCreate Post /dcim/manufacturers/
DcimApi DcimManufacturersDelete Delete /dcim/manufacturers/{id}/
DcimApi DcimManufacturersList Get /dcim/manufacturers/
DcimApi DcimManufacturersPartialUpdate Patch /dcim/manufacturers/{id}/
DcimApi DcimManufacturersRead Get /dcim/manufacturers/{id}/
DcimApi DcimManufacturersUpdate Put /dcim/manufacturers/{id}/
DcimApi DcimPlatformsCreate Post /dcim/platforms/
DcimApi DcimPlatformsDelete Delete /dcim/platforms/{id}/
DcimApi DcimPlatformsList Get /dcim/platforms/
DcimApi DcimPlatformsPartialUpdate Patch /dcim/platforms/{id}/
DcimApi DcimPlatformsRead Get /dcim/platforms/{id}/
DcimApi DcimPlatformsUpdate Put /dcim/platforms/{id}/
DcimApi DcimPowerConnectionsList Get /dcim/power-connections/
DcimApi DcimPowerFeedsCreate Post /dcim/power-feeds/
DcimApi DcimPowerFeedsDelete Delete /dcim/power-feeds/{id}/
DcimApi DcimPowerFeedsList Get /dcim/power-feeds/
DcimApi DcimPowerFeedsPartialUpdate Patch /dcim/power-feeds/{id}/
DcimApi DcimPowerFeedsRead Get /dcim/power-feeds/{id}/
DcimApi DcimPowerFeedsUpdate Put /dcim/power-feeds/{id}/
DcimApi DcimPowerOutletTemplatesCreate Post /dcim/power-outlet-templates/
DcimApi DcimPowerOutletTemplatesDelete Delete /dcim/power-outlet-templates/{id}/
DcimApi DcimPowerOutletTemplatesList Get /dcim/power-outlet-templates/
DcimApi DcimPowerOutletTemplatesPartialUpdate Patch /dcim/power-outlet-templates/{id}/
DcimApi DcimPowerOutletTemplatesRead Get /dcim/power-outlet-templates/{id}/
DcimApi DcimPowerOutletTemplatesUpdate Put /dcim/power-outlet-templates/{id}/
DcimApi DcimPowerOutletsCreate Post /dcim/power-outlets/
DcimApi DcimPowerOutletsDelete Delete /dcim/power-outlets/{id}/
DcimApi DcimPowerOutletsList Get /dcim/power-outlets/
DcimApi DcimPowerOutletsPartialUpdate Patch /dcim/power-outlets/{id}/
DcimApi DcimPowerOutletsRead Get /dcim/power-outlets/{id}/
DcimApi DcimPowerOutletsTrace Get /dcim/power-outlets/{id}/trace/
DcimApi DcimPowerOutletsUpdate Put /dcim/power-outlets/{id}/
DcimApi DcimPowerPanelsCreate Post /dcim/power-panels/
DcimApi DcimPowerPanelsDelete Delete /dcim/power-panels/{id}/
DcimApi DcimPowerPanelsList Get /dcim/power-panels/
DcimApi DcimPowerPanelsPartialUpdate Patch /dcim/power-panels/{id}/
DcimApi DcimPowerPanelsRead Get /dcim/power-panels/{id}/
DcimApi DcimPowerPanelsUpdate Put /dcim/power-panels/{id}/
DcimApi DcimPowerPortTemplatesCreate Post /dcim/power-port-templates/
DcimApi DcimPowerPortTemplatesDelete Delete /dcim/power-port-templates/{id}/
DcimApi DcimPowerPortTemplatesList Get /dcim/power-port-templates/
DcimApi DcimPowerPortTemplatesPartialUpdate Patch /dcim/power-port-templates/{id}/
DcimApi DcimPowerPortTemplatesRead Get /dcim/power-port-templates/{id}/
DcimApi DcimPowerPortTemplatesUpdate Put /dcim/power-port-templates/{id}/
DcimApi DcimPowerPortsCreate Post /dcim/power-ports/
DcimApi DcimPowerPortsDelete Delete /dcim/power-ports/{id}/
DcimApi DcimPowerPortsList Get /dcim/power-ports/
DcimApi DcimPowerPortsPartialUpdate Patch /dcim/power-ports/{id}/
DcimApi DcimPowerPortsRead Get /dcim/power-ports/{id}/
DcimApi DcimPowerPortsTrace Get /dcim/power-ports/{id}/trace/
DcimApi DcimPowerPortsUpdate Put /dcim/power-ports/{id}/
DcimApi DcimRackGroupsCreate Post /dcim/rack-groups/
DcimApi DcimRackGroupsDelete Delete /dcim/rack-groups/{id}/
DcimApi DcimRackGroupsList Get /dcim/rack-groups/
DcimApi DcimRackGroupsPartialUpdate Patch /dcim/rack-groups/{id}/
DcimApi DcimRackGroupsRead Get /dcim/rack-groups/{id}/
DcimApi DcimRackGroupsUpdate Put /dcim/rack-groups/{id}/
DcimApi DcimRackReservationsCreate Post /dcim/rack-reservations/
DcimApi DcimRackReservationsDelete Delete /dcim/rack-reservations/{id}/
DcimApi DcimRackReservationsList Get /dcim/rack-reservations/
DcimApi DcimRackReservationsPartialUpdate Patch /dcim/rack-reservations/{id}/
DcimApi DcimRackReservationsRead Get /dcim/rack-reservations/{id}/
DcimApi DcimRackReservationsUpdate Put /dcim/rack-reservations/{id}/
DcimApi DcimRackRolesCreate Post /dcim/rack-roles/
DcimApi DcimRackRolesDelete Delete /dcim/rack-roles/{id}/
DcimApi DcimRackRolesList Get /dcim/rack-roles/
DcimApi DcimRackRolesPartialUpdate Patch /dcim/rack-roles/{id}/
DcimApi DcimRackRolesRead Get /dcim/rack-roles/{id}/
DcimApi DcimRackRolesUpdate Put /dcim/rack-roles/{id}/
DcimApi DcimRacksCreate Post /dcim/racks/
DcimApi DcimRacksDelete Delete /dcim/racks/{id}/
DcimApi DcimRacksElevation Get /dcim/racks/{id}/elevation/
DcimApi DcimRacksList Get /dcim/racks/
DcimApi DcimRacksPartialUpdate Patch /dcim/racks/{id}/
DcimApi DcimRacksRead Get /dcim/racks/{id}/
DcimApi DcimRacksUpdate Put /dcim/racks/{id}/
DcimApi DcimRearPortTemplatesCreate Post /dcim/rear-port-templates/
DcimApi DcimRearPortTemplatesDelete Delete /dcim/rear-port-templates/{id}/
DcimApi DcimRearPortTemplatesList Get /dcim/rear-port-templates/
DcimApi DcimRearPortTemplatesPartialUpdate Patch /dcim/rear-port-templates/{id}/
DcimApi DcimRearPortTemplatesRead Get /dcim/rear-port-templates/{id}/
DcimApi DcimRearPortTemplatesUpdate Put /dcim/rear-port-templates/{id}/
DcimApi DcimRearPortsCreate Post /dcim/rear-ports/
DcimApi DcimRearPortsDelete Delete /dcim/rear-ports/{id}/
DcimApi DcimRearPortsList Get /dcim/rear-ports/
DcimApi DcimRearPortsPartialUpdate Patch /dcim/rear-ports/{id}/
DcimApi DcimRearPortsRead Get /dcim/rear-ports/{id}/
DcimApi DcimRearPortsUpdate Put /dcim/rear-ports/{id}/
DcimApi DcimRegionsCreate Post /dcim/regions/
DcimApi DcimRegionsDelete Delete /dcim/regions/{id}/
DcimApi DcimRegionsList Get /dcim/regions/
DcimApi DcimRegionsPartialUpdate Patch /dcim/regions/{id}/
DcimApi DcimRegionsRead Get /dcim/regions/{id}/
DcimApi DcimRegionsUpdate Put /dcim/regions/{id}/
DcimApi DcimSitesCreate Post /dcim/sites/
DcimApi DcimSitesDelete Delete /dcim/sites/{id}/
DcimApi DcimSitesGraphs Get /dcim/sites/{id}/graphs/
DcimApi DcimSitesList Get /dcim/sites/
DcimApi DcimSitesPartialUpdate Patch /dcim/sites/{id}/
DcimApi DcimSitesRead Get /dcim/sites/{id}/
DcimApi DcimSitesUpdate Put /dcim/sites/{id}/
DcimApi DcimVirtualChassisCreate Post /dcim/virtual-chassis/
DcimApi DcimVirtualChassisDelete Delete /dcim/virtual-chassis/{id}/
DcimApi DcimVirtualChassisList Get /dcim/virtual-chassis/
DcimApi DcimVirtualChassisPartialUpdate Patch /dcim/virtual-chassis/{id}/
DcimApi DcimVirtualChassisRead Get /dcim/virtual-chassis/{id}/
DcimApi DcimVirtualChassisUpdate Put /dcim/virtual-chassis/{id}/
ExtrasApi ExtrasConfigContextsCreate Post /extras/config-contexts/
ExtrasApi ExtrasConfigContextsDelete Delete /extras/config-contexts/{id}/
ExtrasApi ExtrasConfigContextsList Get /extras/config-contexts/
ExtrasApi ExtrasConfigContextsPartialUpdate Patch /extras/config-contexts/{id}/
ExtrasApi ExtrasConfigContextsRead Get /extras/config-contexts/{id}/
ExtrasApi ExtrasConfigContextsUpdate Put /extras/config-contexts/{id}/
ExtrasApi ExtrasCustomFieldChoicesList Get /extras/_custom_field_choices/
ExtrasApi ExtrasCustomFieldChoicesRead Get /extras/_custom_field_choices/{id}/
ExtrasApi ExtrasExportTemplatesCreate Post /extras/export-templates/
ExtrasApi ExtrasExportTemplatesDelete Delete /extras/export-templates/{id}/
ExtrasApi ExtrasExportTemplatesList Get /extras/export-templates/
ExtrasApi ExtrasExportTemplatesPartialUpdate Patch /extras/export-templates/{id}/
ExtrasApi ExtrasExportTemplatesRead Get /extras/export-templates/{id}/
ExtrasApi ExtrasExportTemplatesUpdate Put /extras/export-templates/{id}/
ExtrasApi ExtrasGraphsCreate Post /extras/graphs/
ExtrasApi ExtrasGraphsDelete Delete /extras/graphs/{id}/
ExtrasApi ExtrasGraphsList Get /extras/graphs/
ExtrasApi ExtrasGraphsPartialUpdate Patch /extras/graphs/{id}/
ExtrasApi ExtrasGraphsRead Get /extras/graphs/{id}/
ExtrasApi ExtrasGraphsUpdate Put /extras/graphs/{id}/
ExtrasApi ExtrasImageAttachmentsCreate Post /extras/image-attachments/
ExtrasApi ExtrasImageAttachmentsDelete Delete /extras/image-attachments/{id}/
ExtrasApi ExtrasImageAttachmentsList Get /extras/image-attachments/
ExtrasApi ExtrasImageAttachmentsPartialUpdate Patch /extras/image-attachments/{id}/
ExtrasApi ExtrasImageAttachmentsRead Get /extras/image-attachments/{id}/
ExtrasApi ExtrasImageAttachmentsUpdate Put /extras/image-attachments/{id}/
ExtrasApi ExtrasObjectChangesList Get /extras/object-changes/
ExtrasApi ExtrasObjectChangesRead Get /extras/object-changes/{id}/
ExtrasApi ExtrasReportsList Get /extras/reports/
ExtrasApi ExtrasReportsRead Get /extras/reports/{id}/
ExtrasApi ExtrasReportsRun Post /extras/reports/{id}/run/
ExtrasApi ExtrasScriptsList Get /extras/scripts/
ExtrasApi ExtrasScriptsRead Get /extras/scripts/{id}/
ExtrasApi ExtrasTagsCreate Post /extras/tags/
ExtrasApi ExtrasTagsDelete Delete /extras/tags/{id}/
ExtrasApi ExtrasTagsList Get /extras/tags/
ExtrasApi ExtrasTagsPartialUpdate Patch /extras/tags/{id}/
ExtrasApi ExtrasTagsRead Get /extras/tags/{id}/
ExtrasApi ExtrasTagsUpdate Put /extras/tags/{id}/
IpamApi IpamAggregatesCreate Post /ipam/aggregates/
IpamApi IpamAggregatesDelete Delete /ipam/aggregates/{id}/
IpamApi IpamAggregatesList Get /ipam/aggregates/
IpamApi IpamAggregatesPartialUpdate Patch /ipam/aggregates/{id}/
IpamApi IpamAggregatesRead Get /ipam/aggregates/{id}/
IpamApi IpamAggregatesUpdate Put /ipam/aggregates/{id}/
IpamApi IpamIpAddressesCreate Post /ipam/ip-addresses/
IpamApi IpamIpAddressesDelete Delete /ipam/ip-addresses/{id}/
IpamApi IpamIpAddressesList Get /ipam/ip-addresses/
IpamApi IpamIpAddressesPartialUpdate Patch /ipam/ip-addresses/{id}/
IpamApi IpamIpAddressesRead Get /ipam/ip-addresses/{id}/
IpamApi IpamIpAddressesUpdate Put /ipam/ip-addresses/{id}/
IpamApi IpamPrefixesAvailableIpsCreate Post /ipam/prefixes/{id}/available-ips/
IpamApi IpamPrefixesAvailableIpsRead Get /ipam/prefixes/{id}/available-ips/
IpamApi IpamPrefixesAvailablePrefixesCreate Post /ipam/prefixes/{id}/available-prefixes/ A convenience method for returning available child prefixes within a parent.
IpamApi IpamPrefixesAvailablePrefixesRead Get /ipam/prefixes/{id}/available-prefixes/ A convenience method for returning available child prefixes within a parent.
IpamApi IpamPrefixesCreate Post /ipam/prefixes/
IpamApi IpamPrefixesDelete Delete /ipam/prefixes/{id}/
IpamApi IpamPrefixesList Get /ipam/prefixes/
IpamApi IpamPrefixesPartialUpdate Patch /ipam/prefixes/{id}/
IpamApi IpamPrefixesRead Get /ipam/prefixes/{id}/
IpamApi IpamPrefixesUpdate Put /ipam/prefixes/{id}/
IpamApi IpamRirsCreate Post /ipam/rirs/
IpamApi IpamRirsDelete Delete /ipam/rirs/{id}/
IpamApi IpamRirsList Get /ipam/rirs/
IpamApi IpamRirsPartialUpdate Patch /ipam/rirs/{id}/
IpamApi IpamRirsRead Get /ipam/rirs/{id}/
IpamApi IpamRirsUpdate Put /ipam/rirs/{id}/
IpamApi IpamRolesCreate Post /ipam/roles/
IpamApi IpamRolesDelete Delete /ipam/roles/{id}/
IpamApi IpamRolesList Get /ipam/roles/
IpamApi IpamRolesPartialUpdate Patch /ipam/roles/{id}/
IpamApi IpamRolesRead Get /ipam/roles/{id}/
IpamApi IpamRolesUpdate Put /ipam/roles/{id}/
IpamApi IpamServicesCreate Post /ipam/services/
IpamApi IpamServicesDelete Delete /ipam/services/{id}/
IpamApi IpamServicesList Get /ipam/services/
IpamApi IpamServicesPartialUpdate Patch /ipam/services/{id}/
IpamApi IpamServicesRead Get /ipam/services/{id}/
IpamApi IpamServicesUpdate Put /ipam/services/{id}/
IpamApi IpamVlanGroupsCreate Post /ipam/vlan-groups/
IpamApi IpamVlanGroupsDelete Delete /ipam/vlan-groups/{id}/
IpamApi IpamVlanGroupsList Get /ipam/vlan-groups/
IpamApi IpamVlanGroupsPartialUpdate Patch /ipam/vlan-groups/{id}/
IpamApi IpamVlanGroupsRead Get /ipam/vlan-groups/{id}/
IpamApi IpamVlanGroupsUpdate Put /ipam/vlan-groups/{id}/
IpamApi IpamVlansCreate Post /ipam/vlans/
IpamApi IpamVlansDelete Delete /ipam/vlans/{id}/
IpamApi IpamVlansList Get /ipam/vlans/
IpamApi IpamVlansPartialUpdate Patch /ipam/vlans/{id}/
IpamApi IpamVlansRead Get /ipam/vlans/{id}/
IpamApi IpamVlansUpdate Put /ipam/vlans/{id}/
IpamApi IpamVrfsCreate Post /ipam/vrfs/
IpamApi IpamVrfsDelete Delete /ipam/vrfs/{id}/
IpamApi IpamVrfsList Get /ipam/vrfs/
IpamApi IpamVrfsPartialUpdate Patch /ipam/vrfs/{id}/
IpamApi IpamVrfsRead Get /ipam/vrfs/{id}/
IpamApi IpamVrfsUpdate Put /ipam/vrfs/{id}/
SecretsApi SecretsGenerateRsaKeyPairList Get /secrets/generate-rsa-key-pair/ This endpoint can be used to generate a new RSA key pair. The keys are returned in PEM format.
SecretsApi SecretsGetSessionKeyCreate Post /secrets/get-session-key/
SecretsApi SecretsSecretRolesCreate Post /secrets/secret-roles/
SecretsApi SecretsSecretRolesDelete Delete /secrets/secret-roles/{id}/
SecretsApi SecretsSecretRolesList Get /secrets/secret-roles/
SecretsApi SecretsSecretRolesPartialUpdate Patch /secrets/secret-roles/{id}/
SecretsApi SecretsSecretRolesRead Get /secrets/secret-roles/{id}/
SecretsApi SecretsSecretRolesUpdate Put /secrets/secret-roles/{id}/
SecretsApi SecretsSecretsCreate Post /secrets/secrets/
SecretsApi SecretsSecretsDelete Delete /secrets/secrets/{id}/
SecretsApi SecretsSecretsList Get /secrets/secrets/
SecretsApi SecretsSecretsPartialUpdate Patch /secrets/secrets/{id}/
SecretsApi SecretsSecretsRead Get /secrets/secrets/{id}/
SecretsApi SecretsSecretsUpdate Put /secrets/secrets/{id}/
TenancyApi TenancyTenantGroupsCreate Post /tenancy/tenant-groups/
TenancyApi TenancyTenantGroupsDelete Delete /tenancy/tenant-groups/{id}/
TenancyApi TenancyTenantGroupsList Get /tenancy/tenant-groups/
TenancyApi TenancyTenantGroupsPartialUpdate Patch /tenancy/tenant-groups/{id}/
TenancyApi TenancyTenantGroupsRead Get /tenancy/tenant-groups/{id}/
TenancyApi TenancyTenantGroupsUpdate Put /tenancy/tenant-groups/{id}/
TenancyApi TenancyTenantsCreate Post /tenancy/tenants/
TenancyApi TenancyTenantsDelete Delete /tenancy/tenants/{id}/
TenancyApi TenancyTenantsList Get /tenancy/tenants/
TenancyApi TenancyTenantsPartialUpdate Patch /tenancy/tenants/{id}/
TenancyApi TenancyTenantsRead Get /tenancy/tenants/{id}/
TenancyApi TenancyTenantsUpdate Put /tenancy/tenants/{id}/
VirtualizationApi VirtualizationClusterGroupsCreate Post /virtualization/cluster-groups/
VirtualizationApi VirtualizationClusterGroupsDelete Delete /virtualization/cluster-groups/{id}/
VirtualizationApi VirtualizationClusterGroupsList Get /virtualization/cluster-groups/
VirtualizationApi VirtualizationClusterGroupsPartialUpdate Patch /virtualization/cluster-groups/{id}/
VirtualizationApi VirtualizationClusterGroupsRead Get /virtualization/cluster-groups/{id}/
VirtualizationApi VirtualizationClusterGroupsUpdate Put /virtualization/cluster-groups/{id}/
VirtualizationApi VirtualizationClusterTypesCreate Post /virtualization/cluster-types/
VirtualizationApi VirtualizationClusterTypesDelete Delete /virtualization/cluster-types/{id}/
VirtualizationApi VirtualizationClusterTypesList Get /virtualization/cluster-types/
VirtualizationApi VirtualizationClusterTypesPartialUpdate Patch /virtualization/cluster-types/{id}/
VirtualizationApi VirtualizationClusterTypesRead Get /virtualization/cluster-types/{id}/
VirtualizationApi VirtualizationClusterTypesUpdate Put /virtualization/cluster-types/{id}/
VirtualizationApi VirtualizationClustersCreate Post /virtualization/clusters/
VirtualizationApi VirtualizationClustersDelete Delete /virtualization/clusters/{id}/
VirtualizationApi VirtualizationClustersList Get /virtualization/clusters/
VirtualizationApi VirtualizationClustersPartialUpdate Patch /virtualization/clusters/{id}/
VirtualizationApi VirtualizationClustersRead Get /virtualization/clusters/{id}/
VirtualizationApi VirtualizationClustersUpdate Put /virtualization/clusters/{id}/
VirtualizationApi VirtualizationInterfacesCreate Post /virtualization/interfaces/
VirtualizationApi VirtualizationInterfacesDelete Delete /virtualization/interfaces/{id}/
VirtualizationApi VirtualizationInterfacesList Get /virtualization/interfaces/
VirtualizationApi VirtualizationInterfacesPartialUpdate Patch /virtualization/interfaces/{id}/
VirtualizationApi VirtualizationInterfacesRead Get /virtualization/interfaces/{id}/
VirtualizationApi VirtualizationInterfacesUpdate Put /virtualization/interfaces/{id}/
VirtualizationApi VirtualizationVirtualMachinesCreate Post /virtualization/virtual-machines/
VirtualizationApi VirtualizationVirtualMachinesDelete Delete /virtualization/virtual-machines/{id}/
VirtualizationApi VirtualizationVirtualMachinesList Get /virtualization/virtual-machines/
VirtualizationApi VirtualizationVirtualMachinesPartialUpdate Patch /virtualization/virtual-machines/{id}/
VirtualizationApi VirtualizationVirtualMachinesRead Get /virtualization/virtual-machines/{id}/
VirtualizationApi VirtualizationVirtualMachinesUpdate Put /virtualization/virtual-machines/{id}/

Documentation For Models

Documentation For Authorization

Bearer

  • Type: API key

Example

auth := context.WithValue(context.Background(), sw.ContextAPIKey, sw.APIKey{
	Key: "APIKEY",
	Prefix: "Bearer", // Omit if not necessary.
})
r, err := client.Service.Operation(auth, args)

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes a oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKey takes an APIKey as authentication for the request
	ContextAPIKey = contextKey("apikey")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

Types

type APIClient

type APIClient struct {
	CircuitsApi *CircuitsApiService

	DcimApi *DcimApiService

	ExtrasApi *ExtrasApiService

	IpamApi *IpamApiService

	SecretsApi *SecretsApiService

	TenancyApi *TenancyApiService

	VirtualizationApi *VirtualizationApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the NetBox API API v2.8 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) ChangeBasePath

func (c *APIClient) ChangeBasePath(path string)

Change base path to allow switching to mocks

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the swagger operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

type Action

type Action struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type Aggregate

type Aggregate struct {
	Id           int32        `json:"id,omitempty"`
	Family       *Family      `json:"family,omitempty"`
	Prefix       string       `json:"prefix"`
	Rir          *NestedRir   `json:"rir"`
	DateAdded    string       `json:"date_added,omitempty"`
	Description  string       `json:"description,omitempty"`
	Tags         []string     `json:"tags,omitempty"`
	CustomFields *interface{} `json:"custom_fields,omitempty"`
	Created      string       `json:"created,omitempty"`
	LastUpdated  time.Time    `json:"last_updated,omitempty"`
}

type AvailableIp

type AvailableIp struct {
	Family  int32      `json:"family,omitempty"`
	Address string     `json:"address,omitempty"`
	Vrf     *NestedVrf `json:"vrf,omitempty"`
}

type AvailablePrefix

type AvailablePrefix struct {
	Family int32      `json:"family,omitempty"`
	Prefix string     `json:"prefix,omitempty"`
	Vrf    *NestedVrf `json:"vrf,omitempty"`
}

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type Cable

type Cable struct {
	Id               int32             `json:"id,omitempty"`
	TerminationAType string            `json:"termination_a_type"`
	TerminationAId   int32             `json:"termination_a_id"`
	TerminationA     map[string]string `json:"termination_a,omitempty"`
	TerminationBType string            `json:"termination_b_type"`
	TerminationBId   int32             `json:"termination_b_id"`
	TerminationB     map[string]string `json:"termination_b,omitempty"`
	Type_            string            `json:"type,omitempty"`
	Status           *Status1          `json:"status,omitempty"`
	Label            string            `json:"label,omitempty"`
	Color            string            `json:"color,omitempty"`
	Length           int32             `json:"length,omitempty"`
	LengthUnit       *LengthUnit       `json:"length_unit,omitempty"`
}

type Circuit

type Circuit struct {
	Id           int32                      `json:"id,omitempty"`
	Cid          string                     `json:"cid"`
	Provider     *NestedProvider            `json:"provider"`
	Type_        *NestedCircuitType         `json:"type"`
	Status       *Status                    `json:"status,omitempty"`
	Tenant       *NestedTenant              `json:"tenant,omitempty"`
	InstallDate  string                     `json:"install_date,omitempty"`
	CommitRate   int32                      `json:"commit_rate,omitempty"`
	Description  string                     `json:"description,omitempty"`
	TerminationA *CircuitCircuitTermination `json:"termination_a,omitempty"`
	TerminationZ *CircuitCircuitTermination `json:"termination_z,omitempty"`
	Comments     string                     `json:"comments,omitempty"`
	Tags         []string                   `json:"tags,omitempty"`
	CustomFields *interface{}               `json:"custom_fields,omitempty"`
	Created      string                     `json:"created,omitempty"`
	LastUpdated  time.Time                  `json:"last_updated,omitempty"`
}

type CircuitCircuitTermination

type CircuitCircuitTermination struct {
	Id                int32            `json:"id,omitempty"`
	Url               string           `json:"url,omitempty"`
	Site              *NestedSite      `json:"site"`
	ConnectedEndpoint *NestedInterface `json:"connected_endpoint,omitempty"`
	PortSpeed         int32            `json:"port_speed"`
	// Upstream speed, if different from port speed
	UpstreamSpeed int32  `json:"upstream_speed,omitempty"`
	XconnectId    string `json:"xconnect_id,omitempty"`
}

type CircuitTermination

type CircuitTermination struct {
	Id        int32          `json:"id,omitempty"`
	Circuit   *NestedCircuit `json:"circuit"`
	TermSide  string         `json:"term_side"`
	Site      *NestedSite    `json:"site"`
	PortSpeed int32          `json:"port_speed"`
	// Upstream speed, if different from port speed
	UpstreamSpeed         int32  `json:"upstream_speed,omitempty"`
	XconnectId            string `json:"xconnect_id,omitempty"`
	PpInfo                string `json:"pp_info,omitempty"`
	Description           string `json:"description,omitempty"`
	ConnectedEndpointType string `json:"connected_endpoint_type,omitempty"`
	//  Return the appropriate serializer for the type of connected object.
	ConnectedEndpoint map[string]string `json:"connected_endpoint,omitempty"`
	ConnectionStatus  *ConnectionStatus `json:"connection_status,omitempty"`
	Cable             *NestedCable      `json:"cable,omitempty"`
}

type CircuitType

type CircuitType struct {
	Id           int32  `json:"id,omitempty"`
	Name         string `json:"name"`
	Slug         string `json:"slug"`
	Description  string `json:"description,omitempty"`
	CircuitCount int32  `json:"circuit_count,omitempty"`
}

type CircuitsApiCircuitsCircuitTerminationsListOpts

type CircuitsApiCircuitsCircuitTerminationsListOpts struct {
	TermSide         optional.String
	PortSpeed        optional.String
	UpstreamSpeed    optional.String
	XconnectId       optional.String
	Q                optional.String
	CircuitId        optional.String
	SiteId           optional.String
	Site             optional.String
	TermSideN        optional.String
	PortSpeedN       optional.String
	PortSpeedLte     optional.String
	PortSpeedLt      optional.String
	PortSpeedGte     optional.String
	PortSpeedGt      optional.String
	UpstreamSpeedN   optional.String
	UpstreamSpeedLte optional.String
	UpstreamSpeedLt  optional.String
	UpstreamSpeedGte optional.String
	UpstreamSpeedGt  optional.String
	XconnectIdN      optional.String
	XconnectIdIc     optional.String
	XconnectIdNic    optional.String
	XconnectIdIew    optional.String
	XconnectIdNiew   optional.String
	XconnectIdIsw    optional.String
	XconnectIdNisw   optional.String
	XconnectIdIe     optional.String
	XconnectIdNie    optional.String
	CircuitIdN       optional.String
	SiteIdN          optional.String
	SiteN            optional.String
	Limit            optional.Int32
	Offset           optional.Int32
}

type CircuitsApiCircuitsCircuitTypesListOpts

type CircuitsApiCircuitsCircuitTypesListOpts struct {
	Id       optional.String
	Name     optional.String
	Slug     optional.String
	Q        optional.String
	IdN      optional.String
	IdLte    optional.String
	IdLt     optional.String
	IdGte    optional.String
	IdGt     optional.String
	NameN    optional.String
	NameIc   optional.String
	NameNic  optional.String
	NameIew  optional.String
	NameNiew optional.String
	NameIsw  optional.String
	NameNisw optional.String
	NameIe   optional.String
	NameNie  optional.String
	SlugN    optional.String
	SlugIc   optional.String
	SlugNic  optional.String
	SlugIew  optional.String
	SlugNiew optional.String
	SlugIsw  optional.String
	SlugNisw optional.String
	SlugIe   optional.String
	SlugNie  optional.String
	Limit    optional.Int32
	Offset   optional.Int32
}

type CircuitsApiCircuitsCircuitsListOpts

type CircuitsApiCircuitsCircuitsListOpts struct {
	Id             optional.String
	Cid            optional.String
	InstallDate    optional.String
	CommitRate     optional.String
	TenantGroupId  optional.String
	TenantGroup    optional.String
	TenantId       optional.String
	Tenant         optional.String
	Created        optional.String
	CreatedGte     optional.String
	CreatedLte     optional.String
	LastUpdated    optional.String
	LastUpdatedGte optional.String
	LastUpdatedLte optional.String
	Q              optional.String
	ProviderId     optional.String
	Provider       optional.String
	TypeId         optional.String
	Type_          optional.String
	Status         optional.String
	SiteId         optional.String
	Site           optional.String
	RegionId       optional.String
	Region         optional.String
	Tag            optional.String
	IdN            optional.String
	IdLte          optional.String
	IdLt           optional.String
	IdGte          optional.String
	IdGt           optional.String
	CidN           optional.String
	CidIc          optional.String
	CidNic         optional.String
	CidIew         optional.String
	CidNiew        optional.String
	CidIsw         optional.String
	CidNisw        optional.String
	CidIe          optional.String
	CidNie         optional.String
	InstallDateN   optional.String
	InstallDateLte optional.String
	InstallDateLt  optional.String
	InstallDateGte optional.String
	InstallDateGt  optional.String
	CommitRateN    optional.String
	CommitRateLte  optional.String
	CommitRateLt   optional.String
	CommitRateGte  optional.String
	CommitRateGt   optional.String
	TenantGroupIdN optional.String
	TenantGroupN   optional.String
	TenantIdN      optional.String
	TenantN        optional.String
	ProviderIdN    optional.String
	ProviderN      optional.String
	TypeIdN        optional.String
	TypeN          optional.String
	StatusN        optional.String
	SiteIdN        optional.String
	SiteN          optional.String
	RegionIdN      optional.String
	RegionN        optional.String
	TagN           optional.String
	Limit          optional.Int32
	Offset         optional.Int32
}

type CircuitsApiCircuitsProvidersListOpts

type CircuitsApiCircuitsProvidersListOpts struct {
	Id             optional.String
	Name           optional.String
	Slug           optional.String
	Asn            optional.String
	Account        optional.String
	Created        optional.String
	CreatedGte     optional.String
	CreatedLte     optional.String
	LastUpdated    optional.String
	LastUpdatedGte optional.String
	LastUpdatedLte optional.String
	Q              optional.String
	RegionId       optional.String
	Region         optional.String
	SiteId         optional.String
	Site           optional.String
	Tag            optional.String
	IdN            optional.String
	IdLte          optional.String
	IdLt           optional.String
	IdGte          optional.String
	IdGt           optional.String
	NameN          optional.String
	NameIc         optional.String
	NameNic        optional.String
	NameIew        optional.String
	NameNiew       optional.String
	NameIsw        optional.String
	NameNisw       optional.String
	NameIe         optional.String
	NameNie        optional.String
	SlugN          optional.String
	SlugIc         optional.String
	SlugNic        optional.String
	SlugIew        optional.String
	SlugNiew       optional.String
	SlugIsw        optional.String
	SlugNisw       optional.String
	SlugIe         optional.String
	SlugNie        optional.String
	AsnN           optional.String
	AsnLte         optional.String
	AsnLt          optional.String
	AsnGte         optional.String
	AsnGt          optional.String
	AccountN       optional.String
	AccountIc      optional.String
	AccountNic     optional.String
	AccountIew     optional.String
	AccountNiew    optional.String
	AccountIsw     optional.String
	AccountNisw    optional.String
	AccountIe      optional.String
	AccountNie     optional.String
	RegionIdN      optional.String
	RegionN        optional.String
	SiteIdN        optional.String
	SiteN          optional.String
	TagN           optional.String
	Limit          optional.Int32
	Offset         optional.Int32
}

type CircuitsApiService

type CircuitsApiService service

func (*CircuitsApiService) CircuitsCircuitTerminationsCreate

func (a *CircuitsApiService) CircuitsCircuitTerminationsCreate(ctx context.Context, data WritableCircuitTermination) (CircuitTermination, *http.Response, error)

CircuitsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return CircuitTermination

func (*CircuitsApiService) CircuitsCircuitTerminationsDelete

func (a *CircuitsApiService) CircuitsCircuitTerminationsDelete(ctx context.Context, id int32) (*http.Response, error)

CircuitsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this circuit termination.

func (*CircuitsApiService) CircuitsCircuitTerminationsList

func (a *CircuitsApiService) CircuitsCircuitTerminationsList(ctx context.Context, localVarOptionals *CircuitsApiCircuitsCircuitTerminationsListOpts) (InlineResponse200, *http.Response, error)

func (*CircuitsApiService) CircuitsCircuitTerminationsPartialUpdate

func (a *CircuitsApiService) CircuitsCircuitTerminationsPartialUpdate(ctx context.Context, id int32, data WritableCircuitTermination) (CircuitTermination, *http.Response, error)

CircuitsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this circuit termination.
  • @param data

@return CircuitTermination

func (*CircuitsApiService) CircuitsCircuitTerminationsRead

func (a *CircuitsApiService) CircuitsCircuitTerminationsRead(ctx context.Context, id int32) (CircuitTermination, *http.Response, error)

CircuitsApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this circuit termination.

@return CircuitTermination

func (*CircuitsApiService) CircuitsCircuitTerminationsUpdate

func (a *CircuitsApiService) CircuitsCircuitTerminationsUpdate(ctx context.Context, id int32, data WritableCircuitTermination) (CircuitTermination, *http.Response, error)

CircuitsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this circuit termination.
  • @param data

@return CircuitTermination

func (*CircuitsApiService) CircuitsCircuitTypesCreate

func (a *CircuitsApiService) CircuitsCircuitTypesCreate(ctx context.Context, data CircuitType) (CircuitType, *http.Response, error)

CircuitsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return CircuitType

func (*CircuitsApiService) CircuitsCircuitTypesDelete

func (a *CircuitsApiService) CircuitsCircuitTypesDelete(ctx context.Context, id int32) (*http.Response, error)

CircuitsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this circuit type.

func (*CircuitsApiService) CircuitsCircuitTypesList

func (a *CircuitsApiService) CircuitsCircuitTypesList(ctx context.Context, localVarOptionals *CircuitsApiCircuitsCircuitTypesListOpts) (InlineResponse2001, *http.Response, error)

func (*CircuitsApiService) CircuitsCircuitTypesPartialUpdate

func (a *CircuitsApiService) CircuitsCircuitTypesPartialUpdate(ctx context.Context, id int32, data CircuitType) (CircuitType, *http.Response, error)

CircuitsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this circuit type.
  • @param data

@return CircuitType

func (*CircuitsApiService) CircuitsCircuitTypesRead

func (a *CircuitsApiService) CircuitsCircuitTypesRead(ctx context.Context, id int32) (CircuitType, *http.Response, error)

CircuitsApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this circuit type.

@return CircuitType

func (*CircuitsApiService) CircuitsCircuitTypesUpdate

func (a *CircuitsApiService) CircuitsCircuitTypesUpdate(ctx context.Context, id int32, data CircuitType) (CircuitType, *http.Response, error)

CircuitsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this circuit type.
  • @param data

@return CircuitType

func (*CircuitsApiService) CircuitsCircuitsCreate

func (a *CircuitsApiService) CircuitsCircuitsCreate(ctx context.Context, data WritableCircuit) (Circuit, *http.Response, error)

CircuitsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return Circuit

func (*CircuitsApiService) CircuitsCircuitsDelete

func (a *CircuitsApiService) CircuitsCircuitsDelete(ctx context.Context, id int32) (*http.Response, error)

CircuitsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this circuit.

func (*CircuitsApiService) CircuitsCircuitsList

func (a *CircuitsApiService) CircuitsCircuitsList(ctx context.Context, localVarOptionals *CircuitsApiCircuitsCircuitsListOpts) (InlineResponse2002, *http.Response, error)

func (*CircuitsApiService) CircuitsCircuitsPartialUpdate

func (a *CircuitsApiService) CircuitsCircuitsPartialUpdate(ctx context.Context, id int32, data WritableCircuit) (Circuit, *http.Response, error)

CircuitsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this circuit.
  • @param data

@return Circuit

func (*CircuitsApiService) CircuitsCircuitsRead

func (a *CircuitsApiService) CircuitsCircuitsRead(ctx context.Context, id int32) (Circuit, *http.Response, error)

CircuitsApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this circuit.

@return Circuit

func (*CircuitsApiService) CircuitsCircuitsUpdate

func (a *CircuitsApiService) CircuitsCircuitsUpdate(ctx context.Context, id int32, data WritableCircuit) (Circuit, *http.Response, error)

CircuitsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this circuit.
  • @param data

@return Circuit

func (*CircuitsApiService) CircuitsProvidersCreate

func (a *CircuitsApiService) CircuitsProvidersCreate(ctx context.Context, data Provider) (Provider, *http.Response, error)

CircuitsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return Provider

func (*CircuitsApiService) CircuitsProvidersDelete

func (a *CircuitsApiService) CircuitsProvidersDelete(ctx context.Context, id int32) (*http.Response, error)

CircuitsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this provider.

func (*CircuitsApiService) CircuitsProvidersGraphs

func (a *CircuitsApiService) CircuitsProvidersGraphs(ctx context.Context, id int32) (Provider, *http.Response, error)

CircuitsApiService A convenience method for rendering graphs for a particular provider.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this provider.

@return Provider

func (*CircuitsApiService) CircuitsProvidersList

func (a *CircuitsApiService) CircuitsProvidersList(ctx context.Context, localVarOptionals *CircuitsApiCircuitsProvidersListOpts) (InlineResponse2003, *http.Response, error)

func (*CircuitsApiService) CircuitsProvidersPartialUpdate

func (a *CircuitsApiService) CircuitsProvidersPartialUpdate(ctx context.Context, id int32, data Provider) (Provider, *http.Response, error)

CircuitsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this provider.
  • @param data

@return Provider

func (*CircuitsApiService) CircuitsProvidersRead

func (a *CircuitsApiService) CircuitsProvidersRead(ctx context.Context, id int32) (Provider, *http.Response, error)

CircuitsApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this provider.

@return Provider

func (*CircuitsApiService) CircuitsProvidersUpdate

func (a *CircuitsApiService) CircuitsProvidersUpdate(ctx context.Context, id int32, data Provider) (Provider, *http.Response, error)

CircuitsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this provider.
  • @param data

@return Provider

type Cluster

type Cluster struct {
	Id                  int32               `json:"id,omitempty"`
	Name                string              `json:"name"`
	Type_               *NestedClusterType  `json:"type"`
	Group               *NestedClusterGroup `json:"group,omitempty"`
	Tenant              *NestedTenant       `json:"tenant,omitempty"`
	Site                *NestedSite         `json:"site,omitempty"`
	Comments            string              `json:"comments,omitempty"`
	Tags                []string            `json:"tags,omitempty"`
	CustomFields        *interface{}        `json:"custom_fields,omitempty"`
	Created             string              `json:"created,omitempty"`
	LastUpdated         time.Time           `json:"last_updated,omitempty"`
	DeviceCount         int32               `json:"device_count,omitempty"`
	VirtualmachineCount int32               `json:"virtualmachine_count,omitempty"`
}

type ClusterGroup

type ClusterGroup struct {
	Id           int32  `json:"id,omitempty"`
	Name         string `json:"name"`
	Slug         string `json:"slug"`
	Description  string `json:"description,omitempty"`
	ClusterCount int32  `json:"cluster_count,omitempty"`
}

type ClusterType

type ClusterType struct {
	Id           int32  `json:"id,omitempty"`
	Name         string `json:"name"`
	Slug         string `json:"slug"`
	Description  string `json:"description,omitempty"`
	ClusterCount int32  `json:"cluster_count,omitempty"`
}

type ConfigContext

type ConfigContext struct {
	Id            int32                `json:"id,omitempty"`
	Name          string               `json:"name"`
	Weight        int32                `json:"weight,omitempty"`
	Description   string               `json:"description,omitempty"`
	IsActive      bool                 `json:"is_active,omitempty"`
	Regions       []NestedRegion       `json:"regions,omitempty"`
	Sites         []NestedSite         `json:"sites,omitempty"`
	Roles         []NestedDeviceRole   `json:"roles,omitempty"`
	Platforms     []NestedPlatform     `json:"platforms,omitempty"`
	ClusterGroups []NestedClusterGroup `json:"cluster_groups,omitempty"`
	Clusters      []NestedCluster      `json:"clusters,omitempty"`
	TenantGroups  []NestedTenantGroup  `json:"tenant_groups,omitempty"`
	Tenants       []NestedTenant       `json:"tenants,omitempty"`
	Tags          []string             `json:"tags,omitempty"`
	Data          string               `json:"data"`
}

type Configuration

type Configuration struct {
	BasePath      string            `json:"basePath,omitempty"`
	Host          string            `json:"host,omitempty"`
	Scheme        string            `json:"scheme,omitempty"`
	DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
	UserAgent     string            `json:"userAgent,omitempty"`
	HTTPClient    *http.Client
}

func NewConfiguration

func NewConfiguration() *Configuration

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

type ConnectionStatus

type ConnectionStatus struct {
	Label string `json:"label"`
	Value bool   `json:"value"`
}

type ConsolePort

type ConsolePort struct {
	Id                    int32         `json:"id,omitempty"`
	Device                *NestedDevice `json:"device"`
	Name                  string        `json:"name"`
	Type_                 *ModelType    `json:"type,omitempty"`
	Description           string        `json:"description,omitempty"`
	ConnectedEndpointType string        `json:"connected_endpoint_type,omitempty"`
	//  Return the appropriate serializer for the type of connected object.
	ConnectedEndpoint map[string]string `json:"connected_endpoint,omitempty"`
	ConnectionStatus  *ConnectionStatus `json:"connection_status,omitempty"`
	Cable             *NestedCable      `json:"cable,omitempty"`
	Tags              []string          `json:"tags,omitempty"`
}

type ConsolePortTemplate

type ConsolePortTemplate struct {
	Id         int32             `json:"id,omitempty"`
	DeviceType *NestedDeviceType `json:"device_type"`
	Name       string            `json:"name"`
	Type_      *ModelType        `json:"type,omitempty"`
}

type ConsoleServerPort

type ConsoleServerPort struct {
	Id                    int32         `json:"id,omitempty"`
	Device                *NestedDevice `json:"device"`
	Name                  string        `json:"name"`
	Type_                 *ModelType    `json:"type,omitempty"`
	Description           string        `json:"description,omitempty"`
	ConnectedEndpointType string        `json:"connected_endpoint_type,omitempty"`
	//  Return the appropriate serializer for the type of connected object.
	ConnectedEndpoint map[string]string `json:"connected_endpoint,omitempty"`
	ConnectionStatus  *ConnectionStatus `json:"connection_status,omitempty"`
	Cable             *NestedCable      `json:"cable,omitempty"`
	Tags              []string          `json:"tags,omitempty"`
}

type ConsoleServerPortTemplate

type ConsoleServerPortTemplate struct {
	Id         int32             `json:"id,omitempty"`
	DeviceType *NestedDeviceType `json:"device_type"`
	Name       string            `json:"name"`
	Type_      *ModelType        `json:"type,omitempty"`
}

type DcimApiDcimCablesListOpts

type DcimApiDcimCablesListOpts struct {
	Id          optional.String
	Label       optional.String
	Length      optional.String
	LengthUnit  optional.String
	Q           optional.String
	Type_       optional.String
	Status      optional.String
	Color       optional.String
	DeviceId    optional.String
	Device      optional.String
	RackId      optional.String
	Rack        optional.String
	SiteId      optional.String
	Site        optional.String
	TenantId    optional.String
	Tenant      optional.String
	IdN         optional.String
	IdLte       optional.String
	IdLt        optional.String
	IdGte       optional.String
	IdGt        optional.String
	LabelN      optional.String
	LabelIc     optional.String
	LabelNic    optional.String
	LabelIew    optional.String
	LabelNiew   optional.String
	LabelIsw    optional.String
	LabelNisw   optional.String
	LabelIe     optional.String
	LabelNie    optional.String
	LengthN     optional.String
	LengthLte   optional.String
	LengthLt    optional.String
	LengthGte   optional.String
	LengthGt    optional.String
	LengthUnitN optional.String
	TypeN       optional.String
	StatusN     optional.String
	ColorN      optional.String
	Limit       optional.Int32
	Offset      optional.Int32
}

type DcimApiDcimConsoleConnectionsListOpts

type DcimApiDcimConsoleConnectionsListOpts struct {
	Name              optional.String
	ConnectionStatus  optional.String
	Site              optional.String
	DeviceId          optional.String
	Device            optional.String
	NameN             optional.String
	NameIc            optional.String
	NameNic           optional.String
	NameIew           optional.String
	NameNiew          optional.String
	NameIsw           optional.String
	NameNisw          optional.String
	NameIe            optional.String
	NameNie           optional.String
	ConnectionStatusN optional.String
	Limit             optional.Int32
	Offset            optional.Int32
}

type DcimApiDcimConsolePortTemplatesListOpts

type DcimApiDcimConsolePortTemplatesListOpts struct {
	Id            optional.String
	Name          optional.String
	Type_         optional.String
	Q             optional.String
	DevicetypeId  optional.String
	IdN           optional.String
	IdLte         optional.String
	IdLt          optional.String
	IdGte         optional.String
	IdGt          optional.String
	NameN         optional.String
	NameIc        optional.String
	NameNic       optional.String
	NameIew       optional.String
	NameNiew      optional.String
	NameIsw       optional.String
	NameNisw      optional.String
	NameIe        optional.String
	NameNie       optional.String
	TypeN         optional.String
	DevicetypeIdN optional.String
	Limit         optional.Int32
	Offset        optional.Int32
}

type DcimApiDcimConsolePortsListOpts

type DcimApiDcimConsolePortsListOpts struct {
	Id                optional.String
	Name              optional.String
	Description       optional.String
	ConnectionStatus  optional.String
	Q                 optional.String
	RegionId          optional.String
	Region            optional.String
	SiteId            optional.String
	Site              optional.String
	DeviceId          optional.String
	Device            optional.String
	Tag               optional.String
	Type_             optional.String
	Cabled            optional.String
	IdN               optional.String
	IdLte             optional.String
	IdLt              optional.String
	IdGte             optional.String
	IdGt              optional.String
	NameN             optional.String
	NameIc            optional.String
	NameNic           optional.String
	NameIew           optional.String
	NameNiew          optional.String
	NameIsw           optional.String
	NameNisw          optional.String
	NameIe            optional.String
	NameNie           optional.String
	DescriptionN      optional.String
	DescriptionIc     optional.String
	DescriptionNic    optional.String
	DescriptionIew    optional.String
	DescriptionNiew   optional.String
	DescriptionIsw    optional.String
	DescriptionNisw   optional.String
	DescriptionIe     optional.String
	DescriptionNie    optional.String
	ConnectionStatusN optional.String
	RegionIdN         optional.String
	RegionN           optional.String
	SiteIdN           optional.String
	SiteN             optional.String
	DeviceIdN         optional.String
	DeviceN           optional.String
	TagN              optional.String
	TypeN             optional.String
	Limit             optional.Int32
	Offset            optional.Int32
}

type DcimApiDcimConsoleServerPortTemplatesListOpts

type DcimApiDcimConsoleServerPortTemplatesListOpts struct {
	Id            optional.String
	Name          optional.String
	Type_         optional.String
	Q             optional.String
	DevicetypeId  optional.String
	IdN           optional.String
	IdLte         optional.String
	IdLt          optional.String
	IdGte         optional.String
	IdGt          optional.String
	NameN         optional.String
	NameIc        optional.String
	NameNic       optional.String
	NameIew       optional.String
	NameNiew      optional.String
	NameIsw       optional.String
	NameNisw      optional.String
	NameIe        optional.String
	NameNie       optional.String
	TypeN         optional.String
	DevicetypeIdN optional.String
	Limit         optional.Int32
	Offset        optional.Int32
}

type DcimApiDcimConsoleServerPortsListOpts

type DcimApiDcimConsoleServerPortsListOpts struct {
	Id                optional.String
	Name              optional.String
	Description       optional.String
	ConnectionStatus  optional.String
	Q                 optional.String
	RegionId          optional.String
	Region            optional.String
	SiteId            optional.String
	Site              optional.String
	DeviceId          optional.String
	Device            optional.String
	Tag               optional.String
	Type_             optional.String
	Cabled            optional.String
	IdN               optional.String
	IdLte             optional.String
	IdLt              optional.String
	IdGte             optional.String
	IdGt              optional.String
	NameN             optional.String
	NameIc            optional.String
	NameNic           optional.String
	NameIew           optional.String
	NameNiew          optional.String
	NameIsw           optional.String
	NameNisw          optional.String
	NameIe            optional.String
	NameNie           optional.String
	DescriptionN      optional.String
	DescriptionIc     optional.String
	DescriptionNic    optional.String
	DescriptionIew    optional.String
	DescriptionNiew   optional.String
	DescriptionIsw    optional.String
	DescriptionNisw   optional.String
	DescriptionIe     optional.String
	DescriptionNie    optional.String
	ConnectionStatusN optional.String
	RegionIdN         optional.String
	RegionN           optional.String
	SiteIdN           optional.String
	SiteN             optional.String
	DeviceIdN         optional.String
	DeviceN           optional.String
	TagN              optional.String
	TypeN             optional.String
	Limit             optional.Int32
	Offset            optional.Int32
}

type DcimApiDcimDeviceBayTemplatesListOpts

type DcimApiDcimDeviceBayTemplatesListOpts struct {
	Id            optional.String
	Name          optional.String
	Q             optional.String
	DevicetypeId  optional.String
	IdN           optional.String
	IdLte         optional.String
	IdLt          optional.String
	IdGte         optional.String
	IdGt          optional.String
	NameN         optional.String
	NameIc        optional.String
	NameNic       optional.String
	NameIew       optional.String
	NameNiew      optional.String
	NameIsw       optional.String
	NameNisw      optional.String
	NameIe        optional.String
	NameNie       optional.String
	DevicetypeIdN optional.String
	Limit         optional.Int32
	Offset        optional.Int32
}

type DcimApiDcimDeviceBaysListOpts

type DcimApiDcimDeviceBaysListOpts struct {
	Id              optional.String
	Name            optional.String
	Description     optional.String
	Q               optional.String
	RegionId        optional.String
	Region          optional.String
	SiteId          optional.String
	Site            optional.String
	DeviceId        optional.String
	Device          optional.String
	Tag             optional.String
	IdN             optional.String
	IdLte           optional.String
	IdLt            optional.String
	IdGte           optional.String
	IdGt            optional.String
	NameN           optional.String
	NameIc          optional.String
	NameNic         optional.String
	NameIew         optional.String
	NameNiew        optional.String
	NameIsw         optional.String
	NameNisw        optional.String
	NameIe          optional.String
	NameNie         optional.String
	DescriptionN    optional.String
	DescriptionIc   optional.String
	DescriptionNic  optional.String
	DescriptionIew  optional.String
	DescriptionNiew optional.String
	DescriptionIsw  optional.String
	DescriptionNisw optional.String
	DescriptionIe   optional.String
	DescriptionNie  optional.String
	RegionIdN       optional.String
	RegionN         optional.String
	SiteIdN         optional.String
	SiteN           optional.String
	DeviceIdN       optional.String
	DeviceN         optional.String
	TagN            optional.String
	Limit           optional.Int32
	Offset          optional.Int32
}

type DcimApiDcimDeviceRolesListOpts

type DcimApiDcimDeviceRolesListOpts struct {
	Id        optional.String
	Name      optional.String
	Slug      optional.String
	Color     optional.String
	VmRole    optional.String
	Q         optional.String
	IdN       optional.String
	IdLte     optional.String
	IdLt      optional.String
	IdGte     optional.String
	IdGt      optional.String
	NameN     optional.String
	NameIc    optional.String
	NameNic   optional.String
	NameIew   optional.String
	NameNiew  optional.String
	NameIsw   optional.String
	NameNisw  optional.String
	NameIe    optional.String
	NameNie   optional.String
	SlugN     optional.String
	SlugIc    optional.String
	SlugNic   optional.String
	SlugIew   optional.String
	SlugNiew  optional.String
	SlugIsw   optional.String
	SlugNisw  optional.String
	SlugIe    optional.String
	SlugNie   optional.String
	ColorN    optional.String
	ColorIc   optional.String
	ColorNic  optional.String
	ColorIew  optional.String
	ColorNiew optional.String
	ColorIsw  optional.String
	ColorNisw optional.String
	ColorIe   optional.String
	ColorNie  optional.String
	Limit     optional.Int32
	Offset    optional.Int32
}

type DcimApiDcimDeviceTypesListOpts

type DcimApiDcimDeviceTypesListOpts struct {
	Id                 optional.String
	Model              optional.String
	Slug               optional.String
	PartNumber         optional.String
	UHeight            optional.String
	IsFullDepth        optional.String
	SubdeviceRole      optional.String
	Created            optional.String
	CreatedGte         optional.String
	CreatedLte         optional.String
	LastUpdated        optional.String
	LastUpdatedGte     optional.String
	LastUpdatedLte     optional.String
	Q                  optional.String
	ManufacturerId     optional.String
	Manufacturer       optional.String
	ConsolePorts       optional.String
	ConsoleServerPorts optional.String
	PowerPorts         optional.String
	PowerOutlets       optional.String
	Interfaces         optional.String
	PassThroughPorts   optional.String
	DeviceBays         optional.String
	Tag                optional.String
	IdN                optional.String
	IdLte              optional.String
	IdLt               optional.String
	IdGte              optional.String
	IdGt               optional.String
	ModelN             optional.String
	ModelIc            optional.String
	ModelNic           optional.String
	ModelIew           optional.String
	ModelNiew          optional.String
	ModelIsw           optional.String
	ModelNisw          optional.String
	ModelIe            optional.String
	ModelNie           optional.String
	SlugN              optional.String
	SlugIc             optional.String
	SlugNic            optional.String
	SlugIew            optional.String
	SlugNiew           optional.String
	SlugIsw            optional.String
	SlugNisw           optional.String
	SlugIe             optional.String
	SlugNie            optional.String
	PartNumberN        optional.String
	PartNumberIc       optional.String
	PartNumberNic      optional.String
	PartNumberIew      optional.String
	PartNumberNiew     optional.String
	PartNumberIsw      optional.String
	PartNumberNisw     optional.String
	PartNumberIe       optional.String
	PartNumberNie      optional.String
	UHeightN           optional.String
	UHeightLte         optional.String
	UHeightLt          optional.String
	UHeightGte         optional.String
	UHeightGt          optional.String
	SubdeviceRoleN     optional.String
	ManufacturerIdN    optional.String
	ManufacturerN      optional.String
	TagN               optional.String
	Limit              optional.Int32
	Offset             optional.Int32
}

type DcimApiDcimDevicesListOpts

type DcimApiDcimDevicesListOpts struct {
	Id                   optional.String
	Name                 optional.String
	AssetTag             optional.String
	Face                 optional.String
	Position             optional.String
	VcPosition           optional.String
	VcPriority           optional.String
	TenantGroupId        optional.String
	TenantGroup          optional.String
	TenantId             optional.String
	Tenant               optional.String
	LocalContextData     optional.String
	Created              optional.String
	CreatedGte           optional.String
	CreatedLte           optional.String
	LastUpdated          optional.String
	LastUpdatedGte       optional.String
	LastUpdatedLte       optional.String
	Q                    optional.String
	ManufacturerId       optional.String
	Manufacturer         optional.String
	DeviceTypeId         optional.String
	RoleId               optional.String
	Role                 optional.String
	PlatformId           optional.String
	Platform             optional.String
	RegionId             optional.String
	Region               optional.String
	SiteId               optional.String
	Site                 optional.String
	RackGroupId          optional.String
	RackId               optional.String
	ClusterId            optional.String
	Model                optional.String
	Status               optional.String
	IsFullDepth          optional.String
	MacAddress           optional.String
	Serial               optional.String
	HasPrimaryIp         optional.String
	VirtualChassisId     optional.String
	VirtualChassisMember optional.String
	ConsolePorts         optional.String
	ConsoleServerPorts   optional.String
	PowerPorts           optional.String
	PowerOutlets         optional.String
	Interfaces           optional.String
	PassThroughPorts     optional.String
	DeviceBays           optional.String
	Tag                  optional.String
	IdN                  optional.String
	IdLte                optional.String
	IdLt                 optional.String
	IdGte                optional.String
	IdGt                 optional.String
	NameN                optional.String
	NameIc               optional.String
	NameNic              optional.String
	NameIew              optional.String
	NameNiew             optional.String
	NameIsw              optional.String
	NameNisw             optional.String
	NameIe               optional.String
	NameNie              optional.String
	AssetTagN            optional.String
	AssetTagIc           optional.String
	AssetTagNic          optional.String
	AssetTagIew          optional.String
	AssetTagNiew         optional.String
	AssetTagIsw          optional.String
	AssetTagNisw         optional.String
	AssetTagIe           optional.String
	AssetTagNie          optional.String
	FaceN                optional.String
	PositionN            optional.String
	PositionLte          optional.String
	PositionLt           optional.String
	PositionGte          optional.String
	PositionGt           optional.String
	VcPositionN          optional.String
	VcPositionLte        optional.String
	VcPositionLt         optional.String
	VcPositionGte        optional.String
	VcPositionGt         optional.String
	VcPriorityN          optional.String
	VcPriorityLte        optional.String
	VcPriorityLt         optional.String
	VcPriorityGte        optional.String
	VcPriorityGt         optional.String
	TenantGroupIdN       optional.String
	TenantGroupN         optional.String
	TenantIdN            optional.String
	TenantN              optional.String
	ManufacturerIdN      optional.String
	ManufacturerN        optional.String
	DeviceTypeIdN        optional.String
	RoleIdN              optional.String
	RoleN                optional.String
	PlatformIdN          optional.String
	PlatformN            optional.String
	RegionIdN            optional.String
	RegionN              optional.String
	SiteIdN              optional.String
	SiteN                optional.String
	RackGroupIdN         optional.String
	RackIdN              optional.String
	ClusterIdN           optional.String
	ModelN               optional.String
	StatusN              optional.String
	MacAddressN          optional.String
	MacAddressIc         optional.String
	MacAddressNic        optional.String
	MacAddressIew        optional.String
	MacAddressNiew       optional.String
	MacAddressIsw        optional.String
	MacAddressNisw       optional.String
	MacAddressIe         optional.String
	MacAddressNie        optional.String
	VirtualChassisIdN    optional.String
	TagN                 optional.String
	Limit                optional.Int32
	Offset               optional.Int32
}

type DcimApiDcimFrontPortTemplatesListOpts

type DcimApiDcimFrontPortTemplatesListOpts struct {
	Id            optional.String
	Name          optional.String
	Type_         optional.String
	Q             optional.String
	DevicetypeId  optional.String
	IdN           optional.String
	IdLte         optional.String
	IdLt          optional.String
	IdGte         optional.String
	IdGt          optional.String
	NameN         optional.String
	NameIc        optional.String
	NameNic       optional.String
	NameIew       optional.String
	NameNiew      optional.String
	NameIsw       optional.String
	NameNisw      optional.String
	NameIe        optional.String
	NameNie       optional.String
	TypeN         optional.String
	DevicetypeIdN optional.String
	Limit         optional.Int32
	Offset        optional.Int32
}

type DcimApiDcimFrontPortsListOpts

type DcimApiDcimFrontPortsListOpts struct {
	Id              optional.String
	Name            optional.String
	Type_           optional.String
	Description     optional.String
	Q               optional.String
	RegionId        optional.String
	Region          optional.String
	SiteId          optional.String
	Site            optional.String
	DeviceId        optional.String
	Device          optional.String
	Tag             optional.String
	Cabled          optional.String
	IdN             optional.String
	IdLte           optional.String
	IdLt            optional.String
	IdGte           optional.String
	IdGt            optional.String
	NameN           optional.String
	NameIc          optional.String
	NameNic         optional.String
	NameIew         optional.String
	NameNiew        optional.String
	NameIsw         optional.String
	NameNisw        optional.String
	NameIe          optional.String
	NameNie         optional.String
	TypeN           optional.String
	DescriptionN    optional.String
	DescriptionIc   optional.String
	DescriptionNic  optional.String
	DescriptionIew  optional.String
	DescriptionNiew optional.String
	DescriptionIsw  optional.String
	DescriptionNisw optional.String
	DescriptionIe   optional.String
	DescriptionNie  optional.String
	RegionIdN       optional.String
	RegionN         optional.String
	SiteIdN         optional.String
	SiteN           optional.String
	DeviceIdN       optional.String
	DeviceN         optional.String
	TagN            optional.String
	Limit           optional.Int32
	Offset          optional.Int32
}

type DcimApiDcimInterfaceConnectionsListOpts

type DcimApiDcimInterfaceConnectionsListOpts struct {
	ConnectionStatus  optional.String
	Site              optional.String
	DeviceId          optional.String
	Device            optional.String
	ConnectionStatusN optional.String
	Limit             optional.Int32
	Offset            optional.Int32
}

type DcimApiDcimInterfaceTemplatesListOpts

type DcimApiDcimInterfaceTemplatesListOpts struct {
	Id            optional.String
	Name          optional.String
	Type_         optional.String
	MgmtOnly      optional.String
	Q             optional.String
	DevicetypeId  optional.String
	IdN           optional.String
	IdLte         optional.String
	IdLt          optional.String
	IdGte         optional.String
	IdGt          optional.String
	NameN         optional.String
	NameIc        optional.String
	NameNic       optional.String
	NameIew       optional.String
	NameNiew      optional.String
	NameIsw       optional.String
	NameNisw      optional.String
	NameIe        optional.String
	NameNie       optional.String
	TypeN         optional.String
	DevicetypeIdN optional.String
	Limit         optional.Int32
	Offset        optional.Int32
}

type DcimApiDcimInterfacesListOpts

type DcimApiDcimInterfacesListOpts struct {
	Id                optional.String
	Name              optional.String
	ConnectionStatus  optional.String
	Type_             optional.String
	Enabled           optional.String
	Mtu               optional.String
	MgmtOnly          optional.String
	Mode              optional.String
	Description       optional.String
	Q                 optional.String
	RegionId          optional.String
	Region            optional.String
	SiteId            optional.String
	Site              optional.String
	DeviceId          optional.String
	Device            optional.String
	Tag               optional.String
	Cabled            optional.String
	Kind              optional.String
	LagId             optional.String
	MacAddress        optional.String
	VlanId            optional.String
	Vlan              optional.String
	IdN               optional.String
	IdLte             optional.String
	IdLt              optional.String
	IdGte             optional.String
	IdGt              optional.String
	NameN             optional.String
	NameIc            optional.String
	NameNic           optional.String
	NameIew           optional.String
	NameNiew          optional.String
	NameIsw           optional.String
	NameNisw          optional.String
	NameIe            optional.String
	NameNie           optional.String
	ConnectionStatusN optional.String
	TypeN             optional.String
	MtuN              optional.String
	MtuLte            optional.String
	MtuLt             optional.String
	MtuGte            optional.String
	MtuGt             optional.String
	ModeN             optional.String
	DescriptionN      optional.String
	DescriptionIc     optional.String
	DescriptionNic    optional.String
	DescriptionIew    optional.String
	DescriptionNiew   optional.String
	DescriptionIsw    optional.String
	DescriptionNisw   optional.String
	DescriptionIe     optional.String
	DescriptionNie    optional.String
	RegionIdN         optional.String
	RegionN           optional.String
	SiteIdN           optional.String
	SiteN             optional.String
	TagN              optional.String
	LagIdN            optional.String
	MacAddressN       optional.String
	MacAddressIc      optional.String
	MacAddressNic     optional.String
	MacAddressIew     optional.String
	MacAddressNiew    optional.String
	MacAddressIsw     optional.String
	MacAddressNisw    optional.String
	MacAddressIe      optional.String
	MacAddressNie     optional.String
	Limit             optional.Int32
	Offset            optional.Int32
}

type DcimApiDcimInventoryItemsListOpts

type DcimApiDcimInventoryItemsListOpts struct {
	Id              optional.String
	Name            optional.String
	PartId          optional.String
	AssetTag        optional.String
	Discovered      optional.String
	Q               optional.String
	RegionId        optional.String
	Region          optional.String
	SiteId          optional.String
	Site            optional.String
	DeviceId        optional.String
	Device          optional.String
	Tag             optional.String
	ParentId        optional.String
	ManufacturerId  optional.String
	Manufacturer    optional.String
	Serial          optional.String
	IdN             optional.String
	IdLte           optional.String
	IdLt            optional.String
	IdGte           optional.String
	IdGt            optional.String
	NameN           optional.String
	NameIc          optional.String
	NameNic         optional.String
	NameIew         optional.String
	NameNiew        optional.String
	NameIsw         optional.String
	NameNisw        optional.String
	NameIe          optional.String
	NameNie         optional.String
	PartIdN         optional.String
	PartIdIc        optional.String
	PartIdNic       optional.String
	PartIdIew       optional.String
	PartIdNiew      optional.String
	PartIdIsw       optional.String
	PartIdNisw      optional.String
	PartIdIe        optional.String
	PartIdNie       optional.String
	AssetTagN       optional.String
	AssetTagIc      optional.String
	AssetTagNic     optional.String
	AssetTagIew     optional.String
	AssetTagNiew    optional.String
	AssetTagIsw     optional.String
	AssetTagNisw    optional.String
	AssetTagIe      optional.String
	AssetTagNie     optional.String
	RegionIdN       optional.String
	RegionN         optional.String
	SiteIdN         optional.String
	SiteN           optional.String
	DeviceIdN       optional.String
	DeviceN         optional.String
	TagN            optional.String
	ParentIdN       optional.String
	ManufacturerIdN optional.String
	ManufacturerN   optional.String
	Limit           optional.Int32
	Offset          optional.Int32
}

type DcimApiDcimManufacturersListOpts

type DcimApiDcimManufacturersListOpts struct {
	Id              optional.String
	Name            optional.String
	Slug            optional.String
	Description     optional.String
	Q               optional.String
	IdN             optional.String
	IdLte           optional.String
	IdLt            optional.String
	IdGte           optional.String
	IdGt            optional.String
	NameN           optional.String
	NameIc          optional.String
	NameNic         optional.String
	NameIew         optional.String
	NameNiew        optional.String
	NameIsw         optional.String
	NameNisw        optional.String
	NameIe          optional.String
	NameNie         optional.String
	SlugN           optional.String
	SlugIc          optional.String
	SlugNic         optional.String
	SlugIew         optional.String
	SlugNiew        optional.String
	SlugIsw         optional.String
	SlugNisw        optional.String
	SlugIe          optional.String
	SlugNie         optional.String
	DescriptionN    optional.String
	DescriptionIc   optional.String
	DescriptionNic  optional.String
	DescriptionIew  optional.String
	DescriptionNiew optional.String
	DescriptionIsw  optional.String
	DescriptionNisw optional.String
	DescriptionIe   optional.String
	DescriptionNie  optional.String
	Limit           optional.Int32
	Offset          optional.Int32
}

type DcimApiDcimPlatformsListOpts

type DcimApiDcimPlatformsListOpts struct {
	Id               optional.String
	Name             optional.String
	Slug             optional.String
	NapalmDriver     optional.String
	Description      optional.String
	Q                optional.String
	ManufacturerId   optional.String
	Manufacturer     optional.String
	IdN              optional.String
	IdLte            optional.String
	IdLt             optional.String
	IdGte            optional.String
	IdGt             optional.String
	NameN            optional.String
	NameIc           optional.String
	NameNic          optional.String
	NameIew          optional.String
	NameNiew         optional.String
	NameIsw          optional.String
	NameNisw         optional.String
	NameIe           optional.String
	NameNie          optional.String
	SlugN            optional.String
	SlugIc           optional.String
	SlugNic          optional.String
	SlugIew          optional.String
	SlugNiew         optional.String
	SlugIsw          optional.String
	SlugNisw         optional.String
	SlugIe           optional.String
	SlugNie          optional.String
	NapalmDriverN    optional.String
	NapalmDriverIc   optional.String
	NapalmDriverNic  optional.String
	NapalmDriverIew  optional.String
	NapalmDriverNiew optional.String
	NapalmDriverIsw  optional.String
	NapalmDriverNisw optional.String
	NapalmDriverIe   optional.String
	NapalmDriverNie  optional.String
	DescriptionN     optional.String
	DescriptionIc    optional.String
	DescriptionNic   optional.String
	DescriptionIew   optional.String
	DescriptionNiew  optional.String
	DescriptionIsw   optional.String
	DescriptionNisw  optional.String
	DescriptionIe    optional.String
	DescriptionNie   optional.String
	ManufacturerIdN  optional.String
	ManufacturerN    optional.String
	Limit            optional.Int32
	Offset           optional.Int32
}

type DcimApiDcimPowerConnectionsListOpts

type DcimApiDcimPowerConnectionsListOpts struct {
	Name              optional.String
	ConnectionStatus  optional.String
	Site              optional.String
	DeviceId          optional.String
	Device            optional.String
	NameN             optional.String
	NameIc            optional.String
	NameNic           optional.String
	NameIew           optional.String
	NameNiew          optional.String
	NameIsw           optional.String
	NameNisw          optional.String
	NameIe            optional.String
	NameNie           optional.String
	ConnectionStatusN optional.String
	Limit             optional.Int32
	Offset            optional.Int32
}

type DcimApiDcimPowerFeedsListOpts

type DcimApiDcimPowerFeedsListOpts struct {
	Id                optional.String
	Name              optional.String
	Status            optional.String
	Type_             optional.String
	Supply            optional.String
	Phase             optional.String
	Voltage           optional.String
	Amperage          optional.String
	MaxUtilization    optional.String
	Created           optional.String
	CreatedGte        optional.String
	CreatedLte        optional.String
	LastUpdated       optional.String
	LastUpdatedGte    optional.String
	LastUpdatedLte    optional.String
	Q                 optional.String
	RegionId          optional.String
	Region            optional.String
	SiteId            optional.String
	Site              optional.String
	PowerPanelId      optional.String
	RackId            optional.String
	Tag               optional.String
	IdN               optional.String
	IdLte             optional.String
	IdLt              optional.String
	IdGte             optional.String
	IdGt              optional.String
	NameN             optional.String
	NameIc            optional.String
	NameNic           optional.String
	NameIew           optional.String
	NameNiew          optional.String
	NameIsw           optional.String
	NameNisw          optional.String
	NameIe            optional.String
	NameNie           optional.String
	StatusN           optional.String
	TypeN             optional.String
	SupplyN           optional.String
	PhaseN            optional.String
	VoltageN          optional.String
	VoltageLte        optional.String
	VoltageLt         optional.String
	VoltageGte        optional.String
	VoltageGt         optional.String
	AmperageN         optional.String
	AmperageLte       optional.String
	AmperageLt        optional.String
	AmperageGte       optional.String
	AmperageGt        optional.String
	MaxUtilizationN   optional.String
	MaxUtilizationLte optional.String
	MaxUtilizationLt  optional.String
	MaxUtilizationGte optional.String
	MaxUtilizationGt  optional.String
	RegionIdN         optional.String
	RegionN           optional.String
	SiteIdN           optional.String
	SiteN             optional.String
	PowerPanelIdN     optional.String
	RackIdN           optional.String
	TagN              optional.String
	Limit             optional.Int32
	Offset            optional.Int32
}

type DcimApiDcimPowerOutletTemplatesListOpts

type DcimApiDcimPowerOutletTemplatesListOpts struct {
	Id            optional.String
	Name          optional.String
	Type_         optional.String
	FeedLeg       optional.String
	Q             optional.String
	DevicetypeId  optional.String
	IdN           optional.String
	IdLte         optional.String
	IdLt          optional.String
	IdGte         optional.String
	IdGt          optional.String
	NameN         optional.String
	NameIc        optional.String
	NameNic       optional.String
	NameIew       optional.String
	NameNiew      optional.String
	NameIsw       optional.String
	NameNisw      optional.String
	NameIe        optional.String
	NameNie       optional.String
	TypeN         optional.String
	FeedLegN      optional.String
	DevicetypeIdN optional.String
	Limit         optional.Int32
	Offset        optional.Int32
}

type DcimApiDcimPowerOutletsListOpts

type DcimApiDcimPowerOutletsListOpts struct {
	Id                optional.String
	Name              optional.String
	FeedLeg           optional.String
	Description       optional.String
	ConnectionStatus  optional.String
	Q                 optional.String
	RegionId          optional.String
	Region            optional.String
	SiteId            optional.String
	Site              optional.String
	DeviceId          optional.String
	Device            optional.String
	Tag               optional.String
	Type_             optional.String
	Cabled            optional.String
	IdN               optional.String
	IdLte             optional.String
	IdLt              optional.String
	IdGte             optional.String
	IdGt              optional.String
	NameN             optional.String
	NameIc            optional.String
	NameNic           optional.String
	NameIew           optional.String
	NameNiew          optional.String
	NameIsw           optional.String
	NameNisw          optional.String
	NameIe            optional.String
	NameNie           optional.String
	FeedLegN          optional.String
	DescriptionN      optional.String
	DescriptionIc     optional.String
	DescriptionNic    optional.String
	DescriptionIew    optional.String
	DescriptionNiew   optional.String
	DescriptionIsw    optional.String
	DescriptionNisw   optional.String
	DescriptionIe     optional.String
	DescriptionNie    optional.String
	ConnectionStatusN optional.String
	RegionIdN         optional.String
	RegionN           optional.String
	SiteIdN           optional.String
	SiteN             optional.String
	DeviceIdN         optional.String
	DeviceN           optional.String
	TagN              optional.String
	TypeN             optional.String
	Limit             optional.Int32
	Offset            optional.Int32
}

type DcimApiDcimPowerPanelsListOpts

type DcimApiDcimPowerPanelsListOpts struct {
	Id           optional.String
	Name         optional.String
	Q            optional.String
	RegionId     optional.String
	Region       optional.String
	SiteId       optional.String
	Site         optional.String
	RackGroupId  optional.String
	IdN          optional.String
	IdLte        optional.String
	IdLt         optional.String
	IdGte        optional.String
	IdGt         optional.String
	NameN        optional.String
	NameIc       optional.String
	NameNic      optional.String
	NameIew      optional.String
	NameNiew     optional.String
	NameIsw      optional.String
	NameNisw     optional.String
	NameIe       optional.String
	NameNie      optional.String
	RegionIdN    optional.String
	RegionN      optional.String
	SiteIdN      optional.String
	SiteN        optional.String
	RackGroupIdN optional.String
	Limit        optional.Int32
	Offset       optional.Int32
}

type DcimApiDcimPowerPortTemplatesListOpts

type DcimApiDcimPowerPortTemplatesListOpts struct {
	Id               optional.String
	Name             optional.String
	Type_            optional.String
	MaximumDraw      optional.String
	AllocatedDraw    optional.String
	Q                optional.String
	DevicetypeId     optional.String
	IdN              optional.String
	IdLte            optional.String
	IdLt             optional.String
	IdGte            optional.String
	IdGt             optional.String
	NameN            optional.String
	NameIc           optional.String
	NameNic          optional.String
	NameIew          optional.String
	NameNiew         optional.String
	NameIsw          optional.String
	NameNisw         optional.String
	NameIe           optional.String
	NameNie          optional.String
	TypeN            optional.String
	MaximumDrawN     optional.String
	MaximumDrawLte   optional.String
	MaximumDrawLt    optional.String
	MaximumDrawGte   optional.String
	MaximumDrawGt    optional.String
	AllocatedDrawN   optional.String
	AllocatedDrawLte optional.String
	AllocatedDrawLt  optional.String
	AllocatedDrawGte optional.String
	AllocatedDrawGt  optional.String
	DevicetypeIdN    optional.String
	Limit            optional.Int32
	Offset           optional.Int32
}

type DcimApiDcimPowerPortsListOpts

type DcimApiDcimPowerPortsListOpts struct {
	Id                optional.String
	Name              optional.String
	MaximumDraw       optional.String
	AllocatedDraw     optional.String
	Description       optional.String
	ConnectionStatus  optional.String
	Q                 optional.String
	RegionId          optional.String
	Region            optional.String
	SiteId            optional.String
	Site              optional.String
	DeviceId          optional.String
	Device            optional.String
	Tag               optional.String
	Type_             optional.String
	Cabled            optional.String
	IdN               optional.String
	IdLte             optional.String
	IdLt              optional.String
	IdGte             optional.String
	IdGt              optional.String
	NameN             optional.String
	NameIc            optional.String
	NameNic           optional.String
	NameIew           optional.String
	NameNiew          optional.String
	NameIsw           optional.String
	NameNisw          optional.String
	NameIe            optional.String
	NameNie           optional.String
	MaximumDrawN      optional.String
	MaximumDrawLte    optional.String
	MaximumDrawLt     optional.String
	MaximumDrawGte    optional.String
	MaximumDrawGt     optional.String
	AllocatedDrawN    optional.String
	AllocatedDrawLte  optional.String
	AllocatedDrawLt   optional.String
	AllocatedDrawGte  optional.String
	AllocatedDrawGt   optional.String
	DescriptionN      optional.String
	DescriptionIc     optional.String
	DescriptionNic    optional.String
	DescriptionIew    optional.String
	DescriptionNiew   optional.String
	DescriptionIsw    optional.String
	DescriptionNisw   optional.String
	DescriptionIe     optional.String
	DescriptionNie    optional.String
	ConnectionStatusN optional.String
	RegionIdN         optional.String
	RegionN           optional.String
	SiteIdN           optional.String
	SiteN             optional.String
	DeviceIdN         optional.String
	DeviceN           optional.String
	TagN              optional.String
	TypeN             optional.String
	Limit             optional.Int32
	Offset            optional.Int32
}

type DcimApiDcimRackGroupsListOpts

type DcimApiDcimRackGroupsListOpts struct {
	Id              optional.String
	Name            optional.String
	Slug            optional.String
	Description     optional.String
	Q               optional.String
	RegionId        optional.String
	Region          optional.String
	SiteId          optional.String
	Site            optional.String
	ParentId        optional.String
	Parent          optional.String
	IdN             optional.String
	IdLte           optional.String
	IdLt            optional.String
	IdGte           optional.String
	IdGt            optional.String
	NameN           optional.String
	NameIc          optional.String
	NameNic         optional.String
	NameIew         optional.String
	NameNiew        optional.String
	NameIsw         optional.String
	NameNisw        optional.String
	NameIe          optional.String
	NameNie         optional.String
	SlugN           optional.String
	SlugIc          optional.String
	SlugNic         optional.String
	SlugIew         optional.String
	SlugNiew        optional.String
	SlugIsw         optional.String
	SlugNisw        optional.String
	SlugIe          optional.String
	SlugNie         optional.String
	DescriptionN    optional.String
	DescriptionIc   optional.String
	DescriptionNic  optional.String
	DescriptionIew  optional.String
	DescriptionNiew optional.String
	DescriptionIsw  optional.String
	DescriptionNisw optional.String
	DescriptionIe   optional.String
	DescriptionNie  optional.String
	RegionIdN       optional.String
	RegionN         optional.String
	SiteIdN         optional.String
	SiteN           optional.String
	ParentIdN       optional.String
	ParentN         optional.String
	Limit           optional.Int32
	Offset          optional.Int32
}

type DcimApiDcimRackReservationsListOpts

type DcimApiDcimRackReservationsListOpts struct {
	Id             optional.String
	Created        optional.String
	TenantGroupId  optional.String
	TenantGroup    optional.String
	TenantId       optional.String
	Tenant         optional.String
	Q              optional.String
	RackId         optional.String
	SiteId         optional.String
	Site           optional.String
	GroupId        optional.String
	Group          optional.String
	UserId         optional.String
	User           optional.String
	IdN            optional.String
	IdLte          optional.String
	IdLt           optional.String
	IdGte          optional.String
	IdGt           optional.String
	CreatedN       optional.String
	CreatedLte     optional.String
	CreatedLt      optional.String
	CreatedGte     optional.String
	CreatedGt      optional.String
	TenantGroupIdN optional.String
	TenantGroupN   optional.String
	TenantIdN      optional.String
	TenantN        optional.String
	RackIdN        optional.String
	SiteIdN        optional.String
	SiteN          optional.String
	GroupIdN       optional.String
	GroupN         optional.String
	UserIdN        optional.String
	UserN          optional.String
	Limit          optional.Int32
	Offset         optional.Int32
}

type DcimApiDcimRackRolesListOpts

type DcimApiDcimRackRolesListOpts struct {
	Id        optional.String
	Name      optional.String
	Slug      optional.String
	Color     optional.String
	Q         optional.String
	IdN       optional.String
	IdLte     optional.String
	IdLt      optional.String
	IdGte     optional.String
	IdGt      optional.String
	NameN     optional.String
	NameIc    optional.String
	NameNic   optional.String
	NameIew   optional.String
	NameNiew  optional.String
	NameIsw   optional.String
	NameNisw  optional.String
	NameIe    optional.String
	NameNie   optional.String
	SlugN     optional.String
	SlugIc    optional.String
	SlugNic   optional.String
	SlugIew   optional.String
	SlugNiew  optional.String
	SlugIsw   optional.String
	SlugNisw  optional.String
	SlugIe    optional.String
	SlugNie   optional.String
	ColorN    optional.String
	ColorIc   optional.String
	ColorNic  optional.String
	ColorIew  optional.String
	ColorNiew optional.String
	ColorIsw  optional.String
	ColorNisw optional.String
	ColorIe   optional.String
	ColorNie  optional.String
	Limit     optional.Int32
	Offset    optional.Int32
}

type DcimApiDcimRacksElevationOpts

type DcimApiDcimRacksElevationOpts struct {
	Q             optional.String
	Face          optional.String
	Render        optional.String
	UnitWidth     optional.Int32
	UnitHeight    optional.Int32
	LegendWidth   optional.Int32
	Exclude       optional.Int32
	ExpandDevices optional.Bool
	IncludeImages optional.Bool
}

type DcimApiDcimRacksListOpts

type DcimApiDcimRacksListOpts struct {
	Id             optional.String
	Name           optional.String
	FacilityId     optional.String
	AssetTag       optional.String
	Type_          optional.String
	Width          optional.String
	UHeight        optional.String
	DescUnits      optional.String
	OuterWidth     optional.String
	OuterDepth     optional.String
	OuterUnit      optional.String
	TenantGroupId  optional.String
	TenantGroup    optional.String
	TenantId       optional.String
	Tenant         optional.String
	Created        optional.String
	CreatedGte     optional.String
	CreatedLte     optional.String
	LastUpdated    optional.String
	LastUpdatedGte optional.String
	LastUpdatedLte optional.String
	Q              optional.String
	RegionId       optional.String
	Region         optional.String
	SiteId         optional.String
	Site           optional.String
	GroupId        optional.String
	Group          optional.String
	Status         optional.String
	RoleId         optional.String
	Role           optional.String
	Serial         optional.String
	Tag            optional.String
	IdN            optional.String
	IdLte          optional.String
	IdLt           optional.String
	IdGte          optional.String
	IdGt           optional.String
	NameN          optional.String
	NameIc         optional.String
	NameNic        optional.String
	NameIew        optional.String
	NameNiew       optional.String
	NameIsw        optional.String
	NameNisw       optional.String
	NameIe         optional.String
	NameNie        optional.String
	FacilityIdN    optional.String
	FacilityIdIc   optional.String
	FacilityIdNic  optional.String
	FacilityIdIew  optional.String
	FacilityIdNiew optional.String
	FacilityIdIsw  optional.String
	FacilityIdNisw optional.String
	FacilityIdIe   optional.String
	FacilityIdNie  optional.String
	AssetTagN      optional.String
	AssetTagIc     optional.String
	AssetTagNic    optional.String
	AssetTagIew    optional.String
	AssetTagNiew   optional.String
	AssetTagIsw    optional.String
	AssetTagNisw   optional.String
	AssetTagIe     optional.String
	AssetTagNie    optional.String
	TypeN          optional.String
	WidthN         optional.String
	UHeightN       optional.String
	UHeightLte     optional.String
	UHeightLt      optional.String
	UHeightGte     optional.String
	UHeightGt      optional.String
	OuterWidthN    optional.String
	OuterWidthLte  optional.String
	OuterWidthLt   optional.String
	OuterWidthGte  optional.String
	OuterWidthGt   optional.String
	OuterDepthN    optional.String
	OuterDepthLte  optional.String
	OuterDepthLt   optional.String
	OuterDepthGte  optional.String
	OuterDepthGt   optional.String
	OuterUnitN     optional.String
	TenantGroupIdN optional.String
	TenantGroupN   optional.String
	TenantIdN      optional.String
	TenantN        optional.String
	RegionIdN      optional.String
	RegionN        optional.String
	SiteIdN        optional.String
	SiteN          optional.String
	GroupIdN       optional.String
	GroupN         optional.String
	StatusN        optional.String
	RoleIdN        optional.String
	RoleN          optional.String
	TagN           optional.String
	Limit          optional.Int32
	Offset         optional.Int32
}

type DcimApiDcimRearPortTemplatesListOpts

type DcimApiDcimRearPortTemplatesListOpts struct {
	Id            optional.String
	Name          optional.String
	Type_         optional.String
	Positions     optional.String
	Q             optional.String
	DevicetypeId  optional.String
	IdN           optional.String
	IdLte         optional.String
	IdLt          optional.String
	IdGte         optional.String
	IdGt          optional.String
	NameN         optional.String
	NameIc        optional.String
	NameNic       optional.String
	NameIew       optional.String
	NameNiew      optional.String
	NameIsw       optional.String
	NameNisw      optional.String
	NameIe        optional.String
	NameNie       optional.String
	TypeN         optional.String
	PositionsN    optional.String
	PositionsLte  optional.String
	PositionsLt   optional.String
	PositionsGte  optional.String
	PositionsGt   optional.String
	DevicetypeIdN optional.String
	Limit         optional.Int32
	Offset        optional.Int32
}

type DcimApiDcimRearPortsListOpts

type DcimApiDcimRearPortsListOpts struct {
	Id              optional.String
	Name            optional.String
	Type_           optional.String
	Positions       optional.String
	Description     optional.String
	Q               optional.String
	RegionId        optional.String
	Region          optional.String
	SiteId          optional.String
	Site            optional.String
	DeviceId        optional.String
	Device          optional.String
	Tag             optional.String
	Cabled          optional.String
	IdN             optional.String
	IdLte           optional.String
	IdLt            optional.String
	IdGte           optional.String
	IdGt            optional.String
	NameN           optional.String
	NameIc          optional.String
	NameNic         optional.String
	NameIew         optional.String
	NameNiew        optional.String
	NameIsw         optional.String
	NameNisw        optional.String
	NameIe          optional.String
	NameNie         optional.String
	TypeN           optional.String
	PositionsN      optional.String
	PositionsLte    optional.String
	PositionsLt     optional.String
	PositionsGte    optional.String
	PositionsGt     optional.String
	DescriptionN    optional.String
	DescriptionIc   optional.String
	DescriptionNic  optional.String
	DescriptionIew  optional.String
	DescriptionNiew optional.String
	DescriptionIsw  optional.String
	DescriptionNisw optional.String
	DescriptionIe   optional.String
	DescriptionNie  optional.String
	RegionIdN       optional.String
	RegionN         optional.String
	SiteIdN         optional.String
	SiteN           optional.String
	DeviceIdN       optional.String
	DeviceN         optional.String
	TagN            optional.String
	Limit           optional.Int32
	Offset          optional.Int32
}

type DcimApiDcimRegionsListOpts

type DcimApiDcimRegionsListOpts struct {
	Id              optional.String
	Name            optional.String
	Slug            optional.String
	Description     optional.String
	Q               optional.String
	ParentId        optional.String
	Parent          optional.String
	IdN             optional.String
	IdLte           optional.String
	IdLt            optional.String
	IdGte           optional.String
	IdGt            optional.String
	NameN           optional.String
	NameIc          optional.String
	NameNic         optional.String
	NameIew         optional.String
	NameNiew        optional.String
	NameIsw         optional.String
	NameNisw        optional.String
	NameIe          optional.String
	NameNie         optional.String
	SlugN           optional.String
	SlugIc          optional.String
	SlugNic         optional.String
	SlugIew         optional.String
	SlugNiew        optional.String
	SlugIsw         optional.String
	SlugNisw        optional.String
	SlugIe          optional.String
	SlugNie         optional.String
	DescriptionN    optional.String
	DescriptionIc   optional.String
	DescriptionNic  optional.String
	DescriptionIew  optional.String
	DescriptionNiew optional.String
	DescriptionIsw  optional.String
	DescriptionNisw optional.String
	DescriptionIe   optional.String
	DescriptionNie  optional.String
	ParentIdN       optional.String
	ParentN         optional.String
	Limit           optional.Int32
	Offset          optional.Int32
}

type DcimApiDcimSitesListOpts

type DcimApiDcimSitesListOpts struct {
	Id               optional.String
	Name             optional.String
	Slug             optional.String
	Facility         optional.String
	Asn              optional.String
	Latitude         optional.String
	Longitude        optional.String
	ContactName      optional.String
	ContactPhone     optional.String
	ContactEmail     optional.String
	TenantGroupId    optional.String
	TenantGroup      optional.String
	TenantId         optional.String
	Tenant           optional.String
	Created          optional.String
	CreatedGte       optional.String
	CreatedLte       optional.String
	LastUpdated      optional.String
	LastUpdatedGte   optional.String
	LastUpdatedLte   optional.String
	Q                optional.String
	Status           optional.String
	RegionId         optional.String
	Region           optional.String
	Tag              optional.String
	IdN              optional.String
	IdLte            optional.String
	IdLt             optional.String
	IdGte            optional.String
	IdGt             optional.String
	NameN            optional.String
	NameIc           optional.String
	NameNic          optional.String
	NameIew          optional.String
	NameNiew         optional.String
	NameIsw          optional.String
	NameNisw         optional.String
	NameIe           optional.String
	NameNie          optional.String
	SlugN            optional.String
	SlugIc           optional.String
	SlugNic          optional.String
	SlugIew          optional.String
	SlugNiew         optional.String
	SlugIsw          optional.String
	SlugNisw         optional.String
	SlugIe           optional.String
	SlugNie          optional.String
	FacilityN        optional.String
	FacilityIc       optional.String
	FacilityNic      optional.String
	FacilityIew      optional.String
	FacilityNiew     optional.String
	FacilityIsw      optional.String
	FacilityNisw     optional.String
	FacilityIe       optional.String
	FacilityNie      optional.String
	AsnN             optional.String
	AsnLte           optional.String
	AsnLt            optional.String
	AsnGte           optional.String
	AsnGt            optional.String
	LatitudeN        optional.String
	LatitudeLte      optional.String
	LatitudeLt       optional.String
	LatitudeGte      optional.String
	LatitudeGt       optional.String
	LongitudeN       optional.String
	LongitudeLte     optional.String
	LongitudeLt      optional.String
	LongitudeGte     optional.String
	LongitudeGt      optional.String
	ContactNameN     optional.String
	ContactNameIc    optional.String
	ContactNameNic   optional.String
	ContactNameIew   optional.String
	ContactNameNiew  optional.String
	ContactNameIsw   optional.String
	ContactNameNisw  optional.String
	ContactNameIe    optional.String
	ContactNameNie   optional.String
	ContactPhoneN    optional.String
	ContactPhoneIc   optional.String
	ContactPhoneNic  optional.String
	ContactPhoneIew  optional.String
	ContactPhoneNiew optional.String
	ContactPhoneIsw  optional.String
	ContactPhoneNisw optional.String
	ContactPhoneIe   optional.String
	ContactPhoneNie  optional.String
	ContactEmailN    optional.String
	ContactEmailIc   optional.String
	ContactEmailNic  optional.String
	ContactEmailIew  optional.String
	ContactEmailNiew optional.String
	ContactEmailIsw  optional.String
	ContactEmailNisw optional.String
	ContactEmailIe   optional.String
	ContactEmailNie  optional.String
	TenantGroupIdN   optional.String
	TenantGroupN     optional.String
	TenantIdN        optional.String
	TenantN          optional.String
	StatusN          optional.String
	RegionIdN        optional.String
	RegionN          optional.String
	TagN             optional.String
	Limit            optional.Int32
	Offset           optional.Int32
}

type DcimApiDcimVirtualChassisListOpts

type DcimApiDcimVirtualChassisListOpts struct {
	Id         optional.String
	Domain     optional.String
	Q          optional.String
	RegionId   optional.String
	Region     optional.String
	SiteId     optional.String
	Site       optional.String
	TenantId   optional.String
	Tenant     optional.String
	Tag        optional.String
	IdN        optional.String
	IdLte      optional.String
	IdLt       optional.String
	IdGte      optional.String
	IdGt       optional.String
	DomainN    optional.String
	DomainIc   optional.String
	DomainNic  optional.String
	DomainIew  optional.String
	DomainNiew optional.String
	DomainIsw  optional.String
	DomainNisw optional.String
	DomainIe   optional.String
	DomainNie  optional.String
	RegionIdN  optional.String
	RegionN    optional.String
	SiteIdN    optional.String
	SiteN      optional.String
	TenantIdN  optional.String
	TenantN    optional.String
	TagN       optional.String
	Limit      optional.Int32
	Offset     optional.Int32
}

type DcimApiService

type DcimApiService service

func (*DcimApiService) DcimCablesCreate

func (a *DcimApiService) DcimCablesCreate(ctx context.Context, data WritableCable) (Cable, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return Cable

func (*DcimApiService) DcimCablesDelete

func (a *DcimApiService) DcimCablesDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this cable.

func (*DcimApiService) DcimCablesList

func (a *DcimApiService) DcimCablesList(ctx context.Context, localVarOptionals *DcimApiDcimCablesListOpts) (InlineResponse2004, *http.Response, error)

func (*DcimApiService) DcimCablesPartialUpdate

func (a *DcimApiService) DcimCablesPartialUpdate(ctx context.Context, id int32, data WritableCable) (Cable, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this cable.
  • @param data

@return Cable

func (*DcimApiService) DcimCablesRead

func (a *DcimApiService) DcimCablesRead(ctx context.Context, id int32) (Cable, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this cable.

@return Cable

func (*DcimApiService) DcimCablesUpdate

func (a *DcimApiService) DcimCablesUpdate(ctx context.Context, id int32, data WritableCable) (Cable, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this cable.
  • @param data

@return Cable

func (*DcimApiService) DcimConnectedDeviceList

func (a *DcimApiService) DcimConnectedDeviceList(ctx context.Context, peerDevice string, peerInterface string) (Device, *http.Response, error)

DcimApiService This endpoint allows a user to determine what device (if any) is connected to a given peer device and peer interface. This is useful in a situation where a device boots with no configuration, but can detect its neighbors via a protocol such as LLDP. Two query parameters must be included in the request: * `peer_device`: The name of the peer device * `peer_interface`: The name of the peer interface

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param peerDevice The name of the peer device
  • @param peerInterface The name of the peer interface

@return Device

func (*DcimApiService) DcimConsoleConnectionsList

func (a *DcimApiService) DcimConsoleConnectionsList(ctx context.Context, localVarOptionals *DcimApiDcimConsoleConnectionsListOpts) (InlineResponse2005, *http.Response, error)

func (*DcimApiService) DcimConsolePortTemplatesCreate

func (a *DcimApiService) DcimConsolePortTemplatesCreate(ctx context.Context, data WritableConsolePortTemplate) (ConsolePortTemplate, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return ConsolePortTemplate

func (*DcimApiService) DcimConsolePortTemplatesDelete

func (a *DcimApiService) DcimConsolePortTemplatesDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this console port template.

func (*DcimApiService) DcimConsolePortTemplatesList

func (a *DcimApiService) DcimConsolePortTemplatesList(ctx context.Context, localVarOptionals *DcimApiDcimConsolePortTemplatesListOpts) (InlineResponse2006, *http.Response, error)

func (*DcimApiService) DcimConsolePortTemplatesPartialUpdate

func (a *DcimApiService) DcimConsolePortTemplatesPartialUpdate(ctx context.Context, id int32, data WritableConsolePortTemplate) (ConsolePortTemplate, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this console port template.
  • @param data

@return ConsolePortTemplate

func (*DcimApiService) DcimConsolePortTemplatesRead

func (a *DcimApiService) DcimConsolePortTemplatesRead(ctx context.Context, id int32) (ConsolePortTemplate, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this console port template.

@return ConsolePortTemplate

func (*DcimApiService) DcimConsolePortTemplatesUpdate

func (a *DcimApiService) DcimConsolePortTemplatesUpdate(ctx context.Context, id int32, data WritableConsolePortTemplate) (ConsolePortTemplate, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this console port template.
  • @param data

@return ConsolePortTemplate

func (*DcimApiService) DcimConsolePortsCreate

func (a *DcimApiService) DcimConsolePortsCreate(ctx context.Context, data WritableConsolePort) (ConsolePort, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return ConsolePort

func (*DcimApiService) DcimConsolePortsDelete

func (a *DcimApiService) DcimConsolePortsDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this console port.

func (*DcimApiService) DcimConsolePortsList

func (a *DcimApiService) DcimConsolePortsList(ctx context.Context, localVarOptionals *DcimApiDcimConsolePortsListOpts) (InlineResponse2005, *http.Response, error)

func (*DcimApiService) DcimConsolePortsPartialUpdate

func (a *DcimApiService) DcimConsolePortsPartialUpdate(ctx context.Context, id int32, data WritableConsolePort) (ConsolePort, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this console port.
  • @param data

@return ConsolePort

func (*DcimApiService) DcimConsolePortsRead

func (a *DcimApiService) DcimConsolePortsRead(ctx context.Context, id int32) (ConsolePort, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this console port.

@return ConsolePort

func (*DcimApiService) DcimConsolePortsTrace

func (a *DcimApiService) DcimConsolePortsTrace(ctx context.Context, id int32) (ConsolePort, *http.Response, error)

DcimApiService Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination).

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this console port.

@return ConsolePort

func (*DcimApiService) DcimConsolePortsUpdate

func (a *DcimApiService) DcimConsolePortsUpdate(ctx context.Context, id int32, data WritableConsolePort) (ConsolePort, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this console port.
  • @param data

@return ConsolePort

func (*DcimApiService) DcimConsoleServerPortTemplatesCreate

func (a *DcimApiService) DcimConsoleServerPortTemplatesCreate(ctx context.Context, data WritableConsoleServerPortTemplate) (ConsoleServerPortTemplate, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return ConsoleServerPortTemplate

func (*DcimApiService) DcimConsoleServerPortTemplatesDelete

func (a *DcimApiService) DcimConsoleServerPortTemplatesDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this console server port template.

func (*DcimApiService) DcimConsoleServerPortTemplatesList

func (a *DcimApiService) DcimConsoleServerPortTemplatesList(ctx context.Context, localVarOptionals *DcimApiDcimConsoleServerPortTemplatesListOpts) (InlineResponse2007, *http.Response, error)

func (*DcimApiService) DcimConsoleServerPortTemplatesPartialUpdate

func (a *DcimApiService) DcimConsoleServerPortTemplatesPartialUpdate(ctx context.Context, id int32, data WritableConsoleServerPortTemplate) (ConsoleServerPortTemplate, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this console server port template.
  • @param data

@return ConsoleServerPortTemplate

func (*DcimApiService) DcimConsoleServerPortTemplatesRead

func (a *DcimApiService) DcimConsoleServerPortTemplatesRead(ctx context.Context, id int32) (ConsoleServerPortTemplate, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this console server port template.

@return ConsoleServerPortTemplate

func (*DcimApiService) DcimConsoleServerPortTemplatesUpdate

func (a *DcimApiService) DcimConsoleServerPortTemplatesUpdate(ctx context.Context, id int32, data WritableConsoleServerPortTemplate) (ConsoleServerPortTemplate, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this console server port template.
  • @param data

@return ConsoleServerPortTemplate

func (*DcimApiService) DcimConsoleServerPortsCreate

func (a *DcimApiService) DcimConsoleServerPortsCreate(ctx context.Context, data WritableConsoleServerPort) (ConsoleServerPort, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return ConsoleServerPort

func (*DcimApiService) DcimConsoleServerPortsDelete

func (a *DcimApiService) DcimConsoleServerPortsDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this console server port.

func (*DcimApiService) DcimConsoleServerPortsList

func (a *DcimApiService) DcimConsoleServerPortsList(ctx context.Context, localVarOptionals *DcimApiDcimConsoleServerPortsListOpts) (InlineResponse2008, *http.Response, error)

func (*DcimApiService) DcimConsoleServerPortsPartialUpdate

func (a *DcimApiService) DcimConsoleServerPortsPartialUpdate(ctx context.Context, id int32, data WritableConsoleServerPort) (ConsoleServerPort, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this console server port.
  • @param data

@return ConsoleServerPort

func (*DcimApiService) DcimConsoleServerPortsRead

func (a *DcimApiService) DcimConsoleServerPortsRead(ctx context.Context, id int32) (ConsoleServerPort, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this console server port.

@return ConsoleServerPort

func (*DcimApiService) DcimConsoleServerPortsTrace

func (a *DcimApiService) DcimConsoleServerPortsTrace(ctx context.Context, id int32) (ConsoleServerPort, *http.Response, error)

DcimApiService Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination).

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this console server port.

@return ConsoleServerPort

func (*DcimApiService) DcimConsoleServerPortsUpdate

func (a *DcimApiService) DcimConsoleServerPortsUpdate(ctx context.Context, id int32, data WritableConsoleServerPort) (ConsoleServerPort, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this console server port.
  • @param data

@return ConsoleServerPort

func (*DcimApiService) DcimDeviceBayTemplatesCreate

func (a *DcimApiService) DcimDeviceBayTemplatesCreate(ctx context.Context, data WritableDeviceBayTemplate) (DeviceBayTemplate, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return DeviceBayTemplate

func (*DcimApiService) DcimDeviceBayTemplatesDelete

func (a *DcimApiService) DcimDeviceBayTemplatesDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this device bay template.

func (*DcimApiService) DcimDeviceBayTemplatesList

func (a *DcimApiService) DcimDeviceBayTemplatesList(ctx context.Context, localVarOptionals *DcimApiDcimDeviceBayTemplatesListOpts) (InlineResponse2009, *http.Response, error)

func (*DcimApiService) DcimDeviceBayTemplatesPartialUpdate

func (a *DcimApiService) DcimDeviceBayTemplatesPartialUpdate(ctx context.Context, id int32, data WritableDeviceBayTemplate) (DeviceBayTemplate, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this device bay template.
  • @param data

@return DeviceBayTemplate

func (*DcimApiService) DcimDeviceBayTemplatesRead

func (a *DcimApiService) DcimDeviceBayTemplatesRead(ctx context.Context, id int32) (DeviceBayTemplate, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this device bay template.

@return DeviceBayTemplate

func (*DcimApiService) DcimDeviceBayTemplatesUpdate

func (a *DcimApiService) DcimDeviceBayTemplatesUpdate(ctx context.Context, id int32, data WritableDeviceBayTemplate) (DeviceBayTemplate, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this device bay template.
  • @param data

@return DeviceBayTemplate

func (*DcimApiService) DcimDeviceBaysCreate

func (a *DcimApiService) DcimDeviceBaysCreate(ctx context.Context, data WritableDeviceBay) (DeviceBay, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return DeviceBay

func (*DcimApiService) DcimDeviceBaysDelete

func (a *DcimApiService) DcimDeviceBaysDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this device bay.

func (*DcimApiService) DcimDeviceBaysList

func (a *DcimApiService) DcimDeviceBaysList(ctx context.Context, localVarOptionals *DcimApiDcimDeviceBaysListOpts) (InlineResponse20010, *http.Response, error)

func (*DcimApiService) DcimDeviceBaysPartialUpdate

func (a *DcimApiService) DcimDeviceBaysPartialUpdate(ctx context.Context, id int32, data WritableDeviceBay) (DeviceBay, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this device bay.
  • @param data

@return DeviceBay

func (*DcimApiService) DcimDeviceBaysRead

func (a *DcimApiService) DcimDeviceBaysRead(ctx context.Context, id int32) (DeviceBay, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this device bay.

@return DeviceBay

func (*DcimApiService) DcimDeviceBaysUpdate

func (a *DcimApiService) DcimDeviceBaysUpdate(ctx context.Context, id int32, data WritableDeviceBay) (DeviceBay, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this device bay.
  • @param data

@return DeviceBay

func (*DcimApiService) DcimDeviceRolesCreate

func (a *DcimApiService) DcimDeviceRolesCreate(ctx context.Context, data DeviceRole) (DeviceRole, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return DeviceRole

func (*DcimApiService) DcimDeviceRolesDelete

func (a *DcimApiService) DcimDeviceRolesDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this device role.

func (*DcimApiService) DcimDeviceRolesList

func (a *DcimApiService) DcimDeviceRolesList(ctx context.Context, localVarOptionals *DcimApiDcimDeviceRolesListOpts) (InlineResponse20011, *http.Response, error)

func (*DcimApiService) DcimDeviceRolesPartialUpdate

func (a *DcimApiService) DcimDeviceRolesPartialUpdate(ctx context.Context, id int32, data DeviceRole) (DeviceRole, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this device role.
  • @param data

@return DeviceRole

func (*DcimApiService) DcimDeviceRolesRead

func (a *DcimApiService) DcimDeviceRolesRead(ctx context.Context, id int32) (DeviceRole, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this device role.

@return DeviceRole

func (*DcimApiService) DcimDeviceRolesUpdate

func (a *DcimApiService) DcimDeviceRolesUpdate(ctx context.Context, id int32, data DeviceRole) (DeviceRole, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this device role.
  • @param data

@return DeviceRole

func (*DcimApiService) DcimDeviceTypesCreate

func (a *DcimApiService) DcimDeviceTypesCreate(ctx context.Context, data WritableDeviceType) (DeviceType, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return DeviceType

func (*DcimApiService) DcimDeviceTypesDelete

func (a *DcimApiService) DcimDeviceTypesDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this device type.

func (*DcimApiService) DcimDeviceTypesList

func (a *DcimApiService) DcimDeviceTypesList(ctx context.Context, localVarOptionals *DcimApiDcimDeviceTypesListOpts) (InlineResponse20012, *http.Response, error)

func (*DcimApiService) DcimDeviceTypesPartialUpdate

func (a *DcimApiService) DcimDeviceTypesPartialUpdate(ctx context.Context, id int32, data WritableDeviceType) (DeviceType, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this device type.
  • @param data

@return DeviceType

func (*DcimApiService) DcimDeviceTypesRead

func (a *DcimApiService) DcimDeviceTypesRead(ctx context.Context, id int32) (DeviceType, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this device type.

@return DeviceType

func (*DcimApiService) DcimDeviceTypesUpdate

func (a *DcimApiService) DcimDeviceTypesUpdate(ctx context.Context, id int32, data WritableDeviceType) (DeviceType, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this device type.
  • @param data

@return DeviceType

func (*DcimApiService) DcimDevicesCreate

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return DeviceWithConfigContext

func (*DcimApiService) DcimDevicesDelete

func (a *DcimApiService) DcimDevicesDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this device.

func (*DcimApiService) DcimDevicesGraphs

func (a *DcimApiService) DcimDevicesGraphs(ctx context.Context, id int32) (DeviceWithConfigContext, *http.Response, error)

DcimApiService A convenience method for rendering graphs for a particular Device.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this device.

@return DeviceWithConfigContext

func (*DcimApiService) DcimDevicesList

func (a *DcimApiService) DcimDevicesList(ctx context.Context, localVarOptionals *DcimApiDcimDevicesListOpts) (InlineResponse20013, *http.Response, error)

func (*DcimApiService) DcimDevicesNapalm

func (a *DcimApiService) DcimDevicesNapalm(ctx context.Context, id int32, method string) (DeviceNapalm, *http.Response, error)

DcimApiService Execute a NAPALM method on a Device

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this device.
  • @param method

@return DeviceNapalm

func (*DcimApiService) DcimDevicesPartialUpdate

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this device.
  • @param data

@return DeviceWithConfigContext

func (*DcimApiService) DcimDevicesRead

func (a *DcimApiService) DcimDevicesRead(ctx context.Context, id int32) (DeviceWithConfigContext, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this device.

@return DeviceWithConfigContext

func (*DcimApiService) DcimDevicesUpdate

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this device.
  • @param data

@return DeviceWithConfigContext

func (*DcimApiService) DcimFrontPortTemplatesCreate

func (a *DcimApiService) DcimFrontPortTemplatesCreate(ctx context.Context, data WritableFrontPortTemplate) (FrontPortTemplate, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return FrontPortTemplate

func (*DcimApiService) DcimFrontPortTemplatesDelete

func (a *DcimApiService) DcimFrontPortTemplatesDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this front port template.

func (*DcimApiService) DcimFrontPortTemplatesList

func (a *DcimApiService) DcimFrontPortTemplatesList(ctx context.Context, localVarOptionals *DcimApiDcimFrontPortTemplatesListOpts) (InlineResponse20014, *http.Response, error)

func (*DcimApiService) DcimFrontPortTemplatesPartialUpdate

func (a *DcimApiService) DcimFrontPortTemplatesPartialUpdate(ctx context.Context, id int32, data WritableFrontPortTemplate) (FrontPortTemplate, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this front port template.
  • @param data

@return FrontPortTemplate

func (*DcimApiService) DcimFrontPortTemplatesRead

func (a *DcimApiService) DcimFrontPortTemplatesRead(ctx context.Context, id int32) (FrontPortTemplate, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this front port template.

@return FrontPortTemplate

func (*DcimApiService) DcimFrontPortTemplatesUpdate

func (a *DcimApiService) DcimFrontPortTemplatesUpdate(ctx context.Context, id int32, data WritableFrontPortTemplate) (FrontPortTemplate, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this front port template.
  • @param data

@return FrontPortTemplate

func (*DcimApiService) DcimFrontPortsCreate

func (a *DcimApiService) DcimFrontPortsCreate(ctx context.Context, data WritableFrontPort) (FrontPort, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return FrontPort

func (*DcimApiService) DcimFrontPortsDelete

func (a *DcimApiService) DcimFrontPortsDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this front port.

func (*DcimApiService) DcimFrontPortsList

func (a *DcimApiService) DcimFrontPortsList(ctx context.Context, localVarOptionals *DcimApiDcimFrontPortsListOpts) (InlineResponse20015, *http.Response, error)

func (*DcimApiService) DcimFrontPortsPartialUpdate

func (a *DcimApiService) DcimFrontPortsPartialUpdate(ctx context.Context, id int32, data WritableFrontPort) (FrontPort, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this front port.
  • @param data

@return FrontPort

func (*DcimApiService) DcimFrontPortsRead

func (a *DcimApiService) DcimFrontPortsRead(ctx context.Context, id int32) (FrontPort, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this front port.

@return FrontPort

func (*DcimApiService) DcimFrontPortsUpdate

func (a *DcimApiService) DcimFrontPortsUpdate(ctx context.Context, id int32, data WritableFrontPort) (FrontPort, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this front port.
  • @param data

@return FrontPort

func (*DcimApiService) DcimInterfaceConnectionsList

func (a *DcimApiService) DcimInterfaceConnectionsList(ctx context.Context, localVarOptionals *DcimApiDcimInterfaceConnectionsListOpts) (InlineResponse20016, *http.Response, error)

func (*DcimApiService) DcimInterfaceTemplatesCreate

func (a *DcimApiService) DcimInterfaceTemplatesCreate(ctx context.Context, data WritableInterfaceTemplate) (InterfaceTemplate, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return InterfaceTemplate

func (*DcimApiService) DcimInterfaceTemplatesDelete

func (a *DcimApiService) DcimInterfaceTemplatesDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this interface template.

func (*DcimApiService) DcimInterfaceTemplatesList

func (a *DcimApiService) DcimInterfaceTemplatesList(ctx context.Context, localVarOptionals *DcimApiDcimInterfaceTemplatesListOpts) (InlineResponse20017, *http.Response, error)

func (*DcimApiService) DcimInterfaceTemplatesPartialUpdate

func (a *DcimApiService) DcimInterfaceTemplatesPartialUpdate(ctx context.Context, id int32, data WritableInterfaceTemplate) (InterfaceTemplate, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this interface template.
  • @param data

@return InterfaceTemplate

func (*DcimApiService) DcimInterfaceTemplatesRead

func (a *DcimApiService) DcimInterfaceTemplatesRead(ctx context.Context, id int32) (InterfaceTemplate, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this interface template.

@return InterfaceTemplate

func (*DcimApiService) DcimInterfaceTemplatesUpdate

func (a *DcimApiService) DcimInterfaceTemplatesUpdate(ctx context.Context, id int32, data WritableInterfaceTemplate) (InterfaceTemplate, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this interface template.
  • @param data

@return InterfaceTemplate

func (*DcimApiService) DcimInterfacesCreate

func (a *DcimApiService) DcimInterfacesCreate(ctx context.Context, data WritableDeviceInterface) (DeviceInterface, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return DeviceInterface

func (*DcimApiService) DcimInterfacesDelete

func (a *DcimApiService) DcimInterfacesDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this interface.

func (*DcimApiService) DcimInterfacesGraphs

func (a *DcimApiService) DcimInterfacesGraphs(ctx context.Context, id int32) (DeviceInterface, *http.Response, error)

DcimApiService A convenience method for rendering graphs for a particular interface.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this interface.

@return DeviceInterface

func (*DcimApiService) DcimInterfacesList

func (a *DcimApiService) DcimInterfacesList(ctx context.Context, localVarOptionals *DcimApiDcimInterfacesListOpts) (InlineResponse20018, *http.Response, error)

func (*DcimApiService) DcimInterfacesPartialUpdate

func (a *DcimApiService) DcimInterfacesPartialUpdate(ctx context.Context, id int32, data WritableDeviceInterface) (DeviceInterface, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this interface.
  • @param data

@return DeviceInterface

func (*DcimApiService) DcimInterfacesRead

func (a *DcimApiService) DcimInterfacesRead(ctx context.Context, id int32) (DeviceInterface, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this interface.

@return DeviceInterface

func (*DcimApiService) DcimInterfacesTrace

func (a *DcimApiService) DcimInterfacesTrace(ctx context.Context, id int32) (DeviceInterface, *http.Response, error)

DcimApiService Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination).

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this interface.

@return DeviceInterface

func (*DcimApiService) DcimInterfacesUpdate

func (a *DcimApiService) DcimInterfacesUpdate(ctx context.Context, id int32, data WritableDeviceInterface) (DeviceInterface, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this interface.
  • @param data

@return DeviceInterface

func (*DcimApiService) DcimInventoryItemsCreate

func (a *DcimApiService) DcimInventoryItemsCreate(ctx context.Context, data WritableInventoryItem) (InventoryItem, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return InventoryItem

func (*DcimApiService) DcimInventoryItemsDelete

func (a *DcimApiService) DcimInventoryItemsDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this inventory item.

func (*DcimApiService) DcimInventoryItemsList

func (a *DcimApiService) DcimInventoryItemsList(ctx context.Context, localVarOptionals *DcimApiDcimInventoryItemsListOpts) (InlineResponse20019, *http.Response, error)

func (*DcimApiService) DcimInventoryItemsPartialUpdate

func (a *DcimApiService) DcimInventoryItemsPartialUpdate(ctx context.Context, id int32, data WritableInventoryItem) (InventoryItem, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this inventory item.
  • @param data

@return InventoryItem

func (*DcimApiService) DcimInventoryItemsRead

func (a *DcimApiService) DcimInventoryItemsRead(ctx context.Context, id int32) (InventoryItem, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this inventory item.

@return InventoryItem

func (*DcimApiService) DcimInventoryItemsUpdate

func (a *DcimApiService) DcimInventoryItemsUpdate(ctx context.Context, id int32, data WritableInventoryItem) (InventoryItem, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this inventory item.
  • @param data

@return InventoryItem

func (*DcimApiService) DcimManufacturersCreate

func (a *DcimApiService) DcimManufacturersCreate(ctx context.Context, data Manufacturer) (Manufacturer, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return Manufacturer

func (*DcimApiService) DcimManufacturersDelete

func (a *DcimApiService) DcimManufacturersDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this manufacturer.

func (*DcimApiService) DcimManufacturersList

func (a *DcimApiService) DcimManufacturersList(ctx context.Context, localVarOptionals *DcimApiDcimManufacturersListOpts) (InlineResponse20020, *http.Response, error)

func (*DcimApiService) DcimManufacturersPartialUpdate

func (a *DcimApiService) DcimManufacturersPartialUpdate(ctx context.Context, id int32, data Manufacturer) (Manufacturer, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this manufacturer.
  • @param data

@return Manufacturer

func (*DcimApiService) DcimManufacturersRead

func (a *DcimApiService) DcimManufacturersRead(ctx context.Context, id int32) (Manufacturer, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this manufacturer.

@return Manufacturer

func (*DcimApiService) DcimManufacturersUpdate

func (a *DcimApiService) DcimManufacturersUpdate(ctx context.Context, id int32, data Manufacturer) (Manufacturer, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this manufacturer.
  • @param data

@return Manufacturer

func (*DcimApiService) DcimPlatformsCreate

func (a *DcimApiService) DcimPlatformsCreate(ctx context.Context, data WritablePlatform) (Platform, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return Platform

func (*DcimApiService) DcimPlatformsDelete

func (a *DcimApiService) DcimPlatformsDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this platform.

func (*DcimApiService) DcimPlatformsList

func (a *DcimApiService) DcimPlatformsList(ctx context.Context, localVarOptionals *DcimApiDcimPlatformsListOpts) (InlineResponse20021, *http.Response, error)

func (*DcimApiService) DcimPlatformsPartialUpdate

func (a *DcimApiService) DcimPlatformsPartialUpdate(ctx context.Context, id int32, data WritablePlatform) (Platform, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this platform.
  • @param data

@return Platform

func (*DcimApiService) DcimPlatformsRead

func (a *DcimApiService) DcimPlatformsRead(ctx context.Context, id int32) (Platform, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this platform.

@return Platform

func (*DcimApiService) DcimPlatformsUpdate

func (a *DcimApiService) DcimPlatformsUpdate(ctx context.Context, id int32, data WritablePlatform) (Platform, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this platform.
  • @param data

@return Platform

func (*DcimApiService) DcimPowerConnectionsList

func (a *DcimApiService) DcimPowerConnectionsList(ctx context.Context, localVarOptionals *DcimApiDcimPowerConnectionsListOpts) (InlineResponse20022, *http.Response, error)

func (*DcimApiService) DcimPowerFeedsCreate

func (a *DcimApiService) DcimPowerFeedsCreate(ctx context.Context, data WritablePowerFeed) (PowerFeed, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return PowerFeed

func (*DcimApiService) DcimPowerFeedsDelete

func (a *DcimApiService) DcimPowerFeedsDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this power feed.

func (*DcimApiService) DcimPowerFeedsList

func (a *DcimApiService) DcimPowerFeedsList(ctx context.Context, localVarOptionals *DcimApiDcimPowerFeedsListOpts) (InlineResponse20023, *http.Response, error)

func (*DcimApiService) DcimPowerFeedsPartialUpdate

func (a *DcimApiService) DcimPowerFeedsPartialUpdate(ctx context.Context, id int32, data WritablePowerFeed) (PowerFeed, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this power feed.
  • @param data

@return PowerFeed

func (*DcimApiService) DcimPowerFeedsRead

func (a *DcimApiService) DcimPowerFeedsRead(ctx context.Context, id int32) (PowerFeed, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this power feed.

@return PowerFeed

func (*DcimApiService) DcimPowerFeedsUpdate

func (a *DcimApiService) DcimPowerFeedsUpdate(ctx context.Context, id int32, data WritablePowerFeed) (PowerFeed, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this power feed.
  • @param data

@return PowerFeed

func (*DcimApiService) DcimPowerOutletTemplatesCreate

func (a *DcimApiService) DcimPowerOutletTemplatesCreate(ctx context.Context, data WritablePowerOutletTemplate) (PowerOutletTemplate, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return PowerOutletTemplate

func (*DcimApiService) DcimPowerOutletTemplatesDelete

func (a *DcimApiService) DcimPowerOutletTemplatesDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this power outlet template.

func (*DcimApiService) DcimPowerOutletTemplatesList

func (a *DcimApiService) DcimPowerOutletTemplatesList(ctx context.Context, localVarOptionals *DcimApiDcimPowerOutletTemplatesListOpts) (InlineResponse20024, *http.Response, error)

func (*DcimApiService) DcimPowerOutletTemplatesPartialUpdate

func (a *DcimApiService) DcimPowerOutletTemplatesPartialUpdate(ctx context.Context, id int32, data WritablePowerOutletTemplate) (PowerOutletTemplate, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this power outlet template.
  • @param data

@return PowerOutletTemplate

func (*DcimApiService) DcimPowerOutletTemplatesRead

func (a *DcimApiService) DcimPowerOutletTemplatesRead(ctx context.Context, id int32) (PowerOutletTemplate, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this power outlet template.

@return PowerOutletTemplate

func (*DcimApiService) DcimPowerOutletTemplatesUpdate

func (a *DcimApiService) DcimPowerOutletTemplatesUpdate(ctx context.Context, id int32, data WritablePowerOutletTemplate) (PowerOutletTemplate, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this power outlet template.
  • @param data

@return PowerOutletTemplate

func (*DcimApiService) DcimPowerOutletsCreate

func (a *DcimApiService) DcimPowerOutletsCreate(ctx context.Context, data WritablePowerOutlet) (PowerOutlet, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return PowerOutlet

func (*DcimApiService) DcimPowerOutletsDelete

func (a *DcimApiService) DcimPowerOutletsDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this power outlet.

func (*DcimApiService) DcimPowerOutletsList

func (a *DcimApiService) DcimPowerOutletsList(ctx context.Context, localVarOptionals *DcimApiDcimPowerOutletsListOpts) (InlineResponse20025, *http.Response, error)

func (*DcimApiService) DcimPowerOutletsPartialUpdate

func (a *DcimApiService) DcimPowerOutletsPartialUpdate(ctx context.Context, id int32, data WritablePowerOutlet) (PowerOutlet, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this power outlet.
  • @param data

@return PowerOutlet

func (*DcimApiService) DcimPowerOutletsRead

func (a *DcimApiService) DcimPowerOutletsRead(ctx context.Context, id int32) (PowerOutlet, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this power outlet.

@return PowerOutlet

func (*DcimApiService) DcimPowerOutletsTrace

func (a *DcimApiService) DcimPowerOutletsTrace(ctx context.Context, id int32) (PowerOutlet, *http.Response, error)

DcimApiService Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination).

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this power outlet.

@return PowerOutlet

func (*DcimApiService) DcimPowerOutletsUpdate

func (a *DcimApiService) DcimPowerOutletsUpdate(ctx context.Context, id int32, data WritablePowerOutlet) (PowerOutlet, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this power outlet.
  • @param data

@return PowerOutlet

func (*DcimApiService) DcimPowerPanelsCreate

func (a *DcimApiService) DcimPowerPanelsCreate(ctx context.Context, data WritablePowerPanel) (PowerPanel, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return PowerPanel

func (*DcimApiService) DcimPowerPanelsDelete

func (a *DcimApiService) DcimPowerPanelsDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this power panel.

func (*DcimApiService) DcimPowerPanelsList

func (a *DcimApiService) DcimPowerPanelsList(ctx context.Context, localVarOptionals *DcimApiDcimPowerPanelsListOpts) (InlineResponse20026, *http.Response, error)

func (*DcimApiService) DcimPowerPanelsPartialUpdate

func (a *DcimApiService) DcimPowerPanelsPartialUpdate(ctx context.Context, id int32, data WritablePowerPanel) (PowerPanel, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this power panel.
  • @param data

@return PowerPanel

func (*DcimApiService) DcimPowerPanelsRead

func (a *DcimApiService) DcimPowerPanelsRead(ctx context.Context, id int32) (PowerPanel, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this power panel.

@return PowerPanel

func (*DcimApiService) DcimPowerPanelsUpdate

func (a *DcimApiService) DcimPowerPanelsUpdate(ctx context.Context, id int32, data WritablePowerPanel) (PowerPanel, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this power panel.
  • @param data

@return PowerPanel

func (*DcimApiService) DcimPowerPortTemplatesCreate

func (a *DcimApiService) DcimPowerPortTemplatesCreate(ctx context.Context, data WritablePowerPortTemplate) (PowerPortTemplate, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return PowerPortTemplate

func (*DcimApiService) DcimPowerPortTemplatesDelete

func (a *DcimApiService) DcimPowerPortTemplatesDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this power port template.

func (*DcimApiService) DcimPowerPortTemplatesList

func (a *DcimApiService) DcimPowerPortTemplatesList(ctx context.Context, localVarOptionals *DcimApiDcimPowerPortTemplatesListOpts) (InlineResponse20027, *http.Response, error)

func (*DcimApiService) DcimPowerPortTemplatesPartialUpdate

func (a *DcimApiService) DcimPowerPortTemplatesPartialUpdate(ctx context.Context, id int32, data WritablePowerPortTemplate) (PowerPortTemplate, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this power port template.
  • @param data

@return PowerPortTemplate

func (*DcimApiService) DcimPowerPortTemplatesRead

func (a *DcimApiService) DcimPowerPortTemplatesRead(ctx context.Context, id int32) (PowerPortTemplate, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this power port template.

@return PowerPortTemplate

func (*DcimApiService) DcimPowerPortTemplatesUpdate

func (a *DcimApiService) DcimPowerPortTemplatesUpdate(ctx context.Context, id int32, data WritablePowerPortTemplate) (PowerPortTemplate, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this power port template.
  • @param data

@return PowerPortTemplate

func (*DcimApiService) DcimPowerPortsCreate

func (a *DcimApiService) DcimPowerPortsCreate(ctx context.Context, data WritablePowerPort) (PowerPort, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return PowerPort

func (*DcimApiService) DcimPowerPortsDelete

func (a *DcimApiService) DcimPowerPortsDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this power port.

func (*DcimApiService) DcimPowerPortsList

func (a *DcimApiService) DcimPowerPortsList(ctx context.Context, localVarOptionals *DcimApiDcimPowerPortsListOpts) (InlineResponse20022, *http.Response, error)

func (*DcimApiService) DcimPowerPortsPartialUpdate

func (a *DcimApiService) DcimPowerPortsPartialUpdate(ctx context.Context, id int32, data WritablePowerPort) (PowerPort, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this power port.
  • @param data

@return PowerPort

func (*DcimApiService) DcimPowerPortsRead

func (a *DcimApiService) DcimPowerPortsRead(ctx context.Context, id int32) (PowerPort, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this power port.

@return PowerPort

func (*DcimApiService) DcimPowerPortsTrace

func (a *DcimApiService) DcimPowerPortsTrace(ctx context.Context, id int32) (PowerPort, *http.Response, error)

DcimApiService Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination).

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this power port.

@return PowerPort

func (*DcimApiService) DcimPowerPortsUpdate

func (a *DcimApiService) DcimPowerPortsUpdate(ctx context.Context, id int32, data WritablePowerPort) (PowerPort, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this power port.
  • @param data

@return PowerPort

func (*DcimApiService) DcimRackGroupsCreate

func (a *DcimApiService) DcimRackGroupsCreate(ctx context.Context, data WritableRackGroup) (RackGroup, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return RackGroup

func (*DcimApiService) DcimRackGroupsDelete

func (a *DcimApiService) DcimRackGroupsDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this rack group.

func (*DcimApiService) DcimRackGroupsList

func (a *DcimApiService) DcimRackGroupsList(ctx context.Context, localVarOptionals *DcimApiDcimRackGroupsListOpts) (InlineResponse20028, *http.Response, error)

func (*DcimApiService) DcimRackGroupsPartialUpdate

func (a *DcimApiService) DcimRackGroupsPartialUpdate(ctx context.Context, id int32, data WritableRackGroup) (RackGroup, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this rack group.
  • @param data

@return RackGroup

func (*DcimApiService) DcimRackGroupsRead

func (a *DcimApiService) DcimRackGroupsRead(ctx context.Context, id int32) (RackGroup, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this rack group.

@return RackGroup

func (*DcimApiService) DcimRackGroupsUpdate

func (a *DcimApiService) DcimRackGroupsUpdate(ctx context.Context, id int32, data WritableRackGroup) (RackGroup, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this rack group.
  • @param data

@return RackGroup

func (*DcimApiService) DcimRackReservationsCreate

func (a *DcimApiService) DcimRackReservationsCreate(ctx context.Context, data WritableRackReservation) (RackReservation, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return RackReservation

func (*DcimApiService) DcimRackReservationsDelete

func (a *DcimApiService) DcimRackReservationsDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this rack reservation.

func (*DcimApiService) DcimRackReservationsList

func (a *DcimApiService) DcimRackReservationsList(ctx context.Context, localVarOptionals *DcimApiDcimRackReservationsListOpts) (InlineResponse20029, *http.Response, error)

func (*DcimApiService) DcimRackReservationsPartialUpdate

func (a *DcimApiService) DcimRackReservationsPartialUpdate(ctx context.Context, id int32, data WritableRackReservation) (RackReservation, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this rack reservation.
  • @param data

@return RackReservation

func (*DcimApiService) DcimRackReservationsRead

func (a *DcimApiService) DcimRackReservationsRead(ctx context.Context, id int32) (RackReservation, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this rack reservation.

@return RackReservation

func (*DcimApiService) DcimRackReservationsUpdate

func (a *DcimApiService) DcimRackReservationsUpdate(ctx context.Context, id int32, data WritableRackReservation) (RackReservation, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this rack reservation.
  • @param data

@return RackReservation

func (*DcimApiService) DcimRackRolesCreate

func (a *DcimApiService) DcimRackRolesCreate(ctx context.Context, data RackRole) (RackRole, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return RackRole

func (*DcimApiService) DcimRackRolesDelete

func (a *DcimApiService) DcimRackRolesDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this rack role.

func (*DcimApiService) DcimRackRolesList

func (a *DcimApiService) DcimRackRolesList(ctx context.Context, localVarOptionals *DcimApiDcimRackRolesListOpts) (InlineResponse20030, *http.Response, error)

func (*DcimApiService) DcimRackRolesPartialUpdate

func (a *DcimApiService) DcimRackRolesPartialUpdate(ctx context.Context, id int32, data RackRole) (RackRole, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this rack role.
  • @param data

@return RackRole

func (*DcimApiService) DcimRackRolesRead

func (a *DcimApiService) DcimRackRolesRead(ctx context.Context, id int32) (RackRole, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this rack role.

@return RackRole

func (*DcimApiService) DcimRackRolesUpdate

func (a *DcimApiService) DcimRackRolesUpdate(ctx context.Context, id int32, data RackRole) (RackRole, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this rack role.
  • @param data

@return RackRole

func (*DcimApiService) DcimRacksCreate

func (a *DcimApiService) DcimRacksCreate(ctx context.Context, data WritableRack) (Rack, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return Rack

func (*DcimApiService) DcimRacksDelete

func (a *DcimApiService) DcimRacksDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this rack.

func (*DcimApiService) DcimRacksElevation

func (a *DcimApiService) DcimRacksElevation(ctx context.Context, id int32, localVarOptionals *DcimApiDcimRacksElevationOpts) ([]RackUnit, *http.Response, error)

func (*DcimApiService) DcimRacksList

func (a *DcimApiService) DcimRacksList(ctx context.Context, localVarOptionals *DcimApiDcimRacksListOpts) (InlineResponse20031, *http.Response, error)

func (*DcimApiService) DcimRacksPartialUpdate

func (a *DcimApiService) DcimRacksPartialUpdate(ctx context.Context, id int32, data WritableRack) (Rack, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this rack.
  • @param data

@return Rack

func (*DcimApiService) DcimRacksRead

func (a *DcimApiService) DcimRacksRead(ctx context.Context, id int32) (Rack, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this rack.

@return Rack

func (*DcimApiService) DcimRacksUpdate

func (a *DcimApiService) DcimRacksUpdate(ctx context.Context, id int32, data WritableRack) (Rack, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this rack.
  • @param data

@return Rack

func (*DcimApiService) DcimRearPortTemplatesCreate

func (a *DcimApiService) DcimRearPortTemplatesCreate(ctx context.Context, data WritableRearPortTemplate) (RearPortTemplate, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return RearPortTemplate

func (*DcimApiService) DcimRearPortTemplatesDelete

func (a *DcimApiService) DcimRearPortTemplatesDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this rear port template.

func (*DcimApiService) DcimRearPortTemplatesList

func (a *DcimApiService) DcimRearPortTemplatesList(ctx context.Context, localVarOptionals *DcimApiDcimRearPortTemplatesListOpts) (InlineResponse20032, *http.Response, error)

func (*DcimApiService) DcimRearPortTemplatesPartialUpdate

func (a *DcimApiService) DcimRearPortTemplatesPartialUpdate(ctx context.Context, id int32, data WritableRearPortTemplate) (RearPortTemplate, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this rear port template.
  • @param data

@return RearPortTemplate

func (*DcimApiService) DcimRearPortTemplatesRead

func (a *DcimApiService) DcimRearPortTemplatesRead(ctx context.Context, id int32) (RearPortTemplate, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this rear port template.

@return RearPortTemplate

func (*DcimApiService) DcimRearPortTemplatesUpdate

func (a *DcimApiService) DcimRearPortTemplatesUpdate(ctx context.Context, id int32, data WritableRearPortTemplate) (RearPortTemplate, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this rear port template.
  • @param data

@return RearPortTemplate

func (*DcimApiService) DcimRearPortsCreate

func (a *DcimApiService) DcimRearPortsCreate(ctx context.Context, data WritableRearPort) (RearPort, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return RearPort

func (*DcimApiService) DcimRearPortsDelete

func (a *DcimApiService) DcimRearPortsDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this rear port.

func (*DcimApiService) DcimRearPortsList

func (a *DcimApiService) DcimRearPortsList(ctx context.Context, localVarOptionals *DcimApiDcimRearPortsListOpts) (InlineResponse20033, *http.Response, error)

func (*DcimApiService) DcimRearPortsPartialUpdate

func (a *DcimApiService) DcimRearPortsPartialUpdate(ctx context.Context, id int32, data WritableRearPort) (RearPort, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this rear port.
  • @param data

@return RearPort

func (*DcimApiService) DcimRearPortsRead

func (a *DcimApiService) DcimRearPortsRead(ctx context.Context, id int32) (RearPort, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this rear port.

@return RearPort

func (*DcimApiService) DcimRearPortsUpdate

func (a *DcimApiService) DcimRearPortsUpdate(ctx context.Context, id int32, data WritableRearPort) (RearPort, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this rear port.
  • @param data

@return RearPort

func (*DcimApiService) DcimRegionsCreate

func (a *DcimApiService) DcimRegionsCreate(ctx context.Context, data WritableRegion) (Region, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return Region

func (*DcimApiService) DcimRegionsDelete

func (a *DcimApiService) DcimRegionsDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this region.

func (*DcimApiService) DcimRegionsList

func (a *DcimApiService) DcimRegionsList(ctx context.Context, localVarOptionals *DcimApiDcimRegionsListOpts) (InlineResponse20034, *http.Response, error)

func (*DcimApiService) DcimRegionsPartialUpdate

func (a *DcimApiService) DcimRegionsPartialUpdate(ctx context.Context, id int32, data WritableRegion) (Region, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this region.
  • @param data

@return Region

func (*DcimApiService) DcimRegionsRead

func (a *DcimApiService) DcimRegionsRead(ctx context.Context, id int32) (Region, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this region.

@return Region

func (*DcimApiService) DcimRegionsUpdate

func (a *DcimApiService) DcimRegionsUpdate(ctx context.Context, id int32, data WritableRegion) (Region, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this region.
  • @param data

@return Region

func (*DcimApiService) DcimSitesCreate

func (a *DcimApiService) DcimSitesCreate(ctx context.Context, data WritableSite) (Site, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return Site

func (*DcimApiService) DcimSitesDelete

func (a *DcimApiService) DcimSitesDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this site.

func (*DcimApiService) DcimSitesGraphs

func (a *DcimApiService) DcimSitesGraphs(ctx context.Context, id int32) (Site, *http.Response, error)

DcimApiService A convenience method for rendering graphs for a particular site.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this site.

@return Site

func (*DcimApiService) DcimSitesList

func (a *DcimApiService) DcimSitesList(ctx context.Context, localVarOptionals *DcimApiDcimSitesListOpts) (InlineResponse20035, *http.Response, error)

func (*DcimApiService) DcimSitesPartialUpdate

func (a *DcimApiService) DcimSitesPartialUpdate(ctx context.Context, id int32, data WritableSite) (Site, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this site.
  • @param data

@return Site

func (*DcimApiService) DcimSitesRead

func (a *DcimApiService) DcimSitesRead(ctx context.Context, id int32) (Site, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this site.

@return Site

func (*DcimApiService) DcimSitesUpdate

func (a *DcimApiService) DcimSitesUpdate(ctx context.Context, id int32, data WritableSite) (Site, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this site.
  • @param data

@return Site

func (*DcimApiService) DcimVirtualChassisCreate

func (a *DcimApiService) DcimVirtualChassisCreate(ctx context.Context, data WritableVirtualChassis) (VirtualChassis, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return VirtualChassis

func (*DcimApiService) DcimVirtualChassisDelete

func (a *DcimApiService) DcimVirtualChassisDelete(ctx context.Context, id int32) (*http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this virtual chassis.

func (*DcimApiService) DcimVirtualChassisList

func (a *DcimApiService) DcimVirtualChassisList(ctx context.Context, localVarOptionals *DcimApiDcimVirtualChassisListOpts) (InlineResponse20036, *http.Response, error)

func (*DcimApiService) DcimVirtualChassisPartialUpdate

func (a *DcimApiService) DcimVirtualChassisPartialUpdate(ctx context.Context, id int32, data WritableVirtualChassis) (VirtualChassis, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this virtual chassis.
  • @param data

@return VirtualChassis

func (*DcimApiService) DcimVirtualChassisRead

func (a *DcimApiService) DcimVirtualChassisRead(ctx context.Context, id int32) (VirtualChassis, *http.Response, error)

DcimApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this virtual chassis.

@return VirtualChassis

func (*DcimApiService) DcimVirtualChassisUpdate

func (a *DcimApiService) DcimVirtualChassisUpdate(ctx context.Context, id int32, data WritableVirtualChassis) (VirtualChassis, *http.Response, error)

DcimApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this virtual chassis.
  • @param data

@return VirtualChassis

type Device

type Device struct {
	Id          int32             `json:"id,omitempty"`
	Name        string            `json:"name,omitempty"`
	DisplayName string            `json:"display_name,omitempty"`
	DeviceType  *NestedDeviceType `json:"device_type"`
	DeviceRole  *NestedDeviceRole `json:"device_role"`
	Tenant      *NestedTenant     `json:"tenant,omitempty"`
	Platform    *NestedPlatform   `json:"platform,omitempty"`
	Serial      string            `json:"serial,omitempty"`
	// A unique tag used to identify this device
	AssetTag string      `json:"asset_tag,omitempty"`
	Site     *NestedSite `json:"site"`
	Rack     *NestedRack `json:"rack,omitempty"`
	// The lowest-numbered unit occupied by the device
	Position         int32                 `json:"position,omitempty"`
	Face             *Face                 `json:"face,omitempty"`
	ParentDevice     *NestedDevice         `json:"parent_device,omitempty"`
	Status           *Status2              `json:"status,omitempty"`
	PrimaryIp        *NestedIpAddress      `json:"primary_ip,omitempty"`
	PrimaryIp4       *NestedIpAddress      `json:"primary_ip4,omitempty"`
	PrimaryIp6       *NestedIpAddress      `json:"primary_ip6,omitempty"`
	Cluster          *NestedCluster        `json:"cluster,omitempty"`
	VirtualChassis   *NestedVirtualChassis `json:"virtual_chassis,omitempty"`
	VcPosition       int32                 `json:"vc_position,omitempty"`
	VcPriority       int32                 `json:"vc_priority,omitempty"`
	Comments         string                `json:"comments,omitempty"`
	LocalContextData string                `json:"local_context_data,omitempty"`
	Tags             []string              `json:"tags,omitempty"`
	CustomFields     *interface{}          `json:"custom_fields,omitempty"`
	Created          string                `json:"created,omitempty"`
	LastUpdated      time.Time             `json:"last_updated,omitempty"`
}

type DeviceBay

type DeviceBay struct {
	Id              int32         `json:"id,omitempty"`
	Device          *NestedDevice `json:"device"`
	Name            string        `json:"name"`
	Description     string        `json:"description,omitempty"`
	InstalledDevice *NestedDevice `json:"installed_device,omitempty"`
	Tags            []string      `json:"tags,omitempty"`
}

type DeviceBayTemplate

type DeviceBayTemplate struct {
	Id         int32             `json:"id,omitempty"`
	DeviceType *NestedDeviceType `json:"device_type"`
	Name       string            `json:"name"`
}

type DeviceInterface

type DeviceInterface struct {
	Id         int32            `json:"id,omitempty"`
	Device     *NestedDevice    `json:"device"`
	Name       string           `json:"name"`
	Type_      *Type2           `json:"type"`
	Enabled    bool             `json:"enabled,omitempty"`
	Lag        *NestedInterface `json:"lag,omitempty"`
	Mtu        int32            `json:"mtu,omitempty"`
	MacAddress string           `json:"mac_address,omitempty"`
	// This interface is used only for out-of-band management
	MgmtOnly              bool   `json:"mgmt_only,omitempty"`
	Description           string `json:"description,omitempty"`
	ConnectedEndpointType string `json:"connected_endpoint_type,omitempty"`
	//  Return the appropriate serializer for the type of connected object.
	ConnectedEndpoint map[string]string `json:"connected_endpoint,omitempty"`
	ConnectionStatus  *ConnectionStatus `json:"connection_status,omitempty"`
	Cable             *NestedCable      `json:"cable,omitempty"`
	Mode              *Mode             `json:"mode,omitempty"`
	UntaggedVlan      *NestedVlan       `json:"untagged_vlan,omitempty"`
	TaggedVlans       []NestedVlan      `json:"tagged_vlans,omitempty"`
	Tags              []string          `json:"tags,omitempty"`
	CountIpaddresses  int32             `json:"count_ipaddresses,omitempty"`
}

type DeviceNapalm

type DeviceNapalm struct {
	Method map[string]string `json:"method"`
}

type DeviceRole

type DeviceRole struct {
	Id    int32  `json:"id,omitempty"`
	Name  string `json:"name"`
	Slug  string `json:"slug"`
	Color string `json:"color,omitempty"`
	// Virtual machines may be assigned to this role
	VmRole              bool   `json:"vm_role,omitempty"`
	Description         string `json:"description,omitempty"`
	DeviceCount         int32  `json:"device_count,omitempty"`
	VirtualmachineCount int32  `json:"virtualmachine_count,omitempty"`
}

type DeviceType

type DeviceType struct {
	Id           int32               `json:"id,omitempty"`
	Manufacturer *NestedManufacturer `json:"manufacturer"`
	Model        string              `json:"model"`
	Slug         string              `json:"slug"`
	DisplayName  string              `json:"display_name,omitempty"`
	// Discrete part number (optional)
	PartNumber string `json:"part_number,omitempty"`
	UHeight    int32  `json:"u_height,omitempty"`
	// Device consumes both front and rear rack faces
	IsFullDepth   bool           `json:"is_full_depth,omitempty"`
	SubdeviceRole *SubdeviceRole `json:"subdevice_role,omitempty"`
	FrontImage    string         `json:"front_image,omitempty"`
	RearImage     string         `json:"rear_image,omitempty"`
	Comments      string         `json:"comments,omitempty"`
	Tags          []string       `json:"tags,omitempty"`
	CustomFields  *interface{}   `json:"custom_fields,omitempty"`
	Created       string         `json:"created,omitempty"`
	LastUpdated   time.Time      `json:"last_updated,omitempty"`
	DeviceCount   int32          `json:"device_count,omitempty"`
}

type DeviceWithConfigContext

type DeviceWithConfigContext struct {
	Id          int32             `json:"id,omitempty"`
	Name        string            `json:"name,omitempty"`
	DisplayName string            `json:"display_name,omitempty"`
	DeviceType  *NestedDeviceType `json:"device_type"`
	DeviceRole  *NestedDeviceRole `json:"device_role"`
	Tenant      *NestedTenant     `json:"tenant,omitempty"`
	Platform    *NestedPlatform   `json:"platform,omitempty"`
	Serial      string            `json:"serial,omitempty"`
	// A unique tag used to identify this device
	AssetTag string      `json:"asset_tag,omitempty"`
	Site     *NestedSite `json:"site"`
	Rack     *NestedRack `json:"rack,omitempty"`
	// The lowest-numbered unit occupied by the device
	Position         int32                 `json:"position,omitempty"`
	Face             *Face                 `json:"face,omitempty"`
	ParentDevice     *NestedDevice         `json:"parent_device,omitempty"`
	Status           *Status2              `json:"status,omitempty"`
	PrimaryIp        *NestedIpAddress      `json:"primary_ip,omitempty"`
	PrimaryIp4       *NestedIpAddress      `json:"primary_ip4,omitempty"`
	PrimaryIp6       *NestedIpAddress      `json:"primary_ip6,omitempty"`
	Cluster          *NestedCluster        `json:"cluster,omitempty"`
	VirtualChassis   *NestedVirtualChassis `json:"virtual_chassis,omitempty"`
	VcPosition       int32                 `json:"vc_position,omitempty"`
	VcPriority       int32                 `json:"vc_priority,omitempty"`
	Comments         string                `json:"comments,omitempty"`
	LocalContextData string                `json:"local_context_data,omitempty"`
	Tags             []string              `json:"tags,omitempty"`
	CustomFields     *interface{}          `json:"custom_fields,omitempty"`
	ConfigContext    *interface{}          `json:"config_context,omitempty"`
	Created          string                `json:"created,omitempty"`
	LastUpdated      time.Time             `json:"last_updated,omitempty"`
}

type ExportTemplate

type ExportTemplate struct {
	Id               int32             `json:"id,omitempty"`
	ContentType      string            `json:"content_type"`
	Name             string            `json:"name"`
	Description      string            `json:"description,omitempty"`
	TemplateLanguage *TemplateLanguage `json:"template_language,omitempty"`
	// The list of objects being exported is passed as a context variable named <code>queryset</code>.
	TemplateCode string `json:"template_code"`
	// Defaults to <code>text/plain</code>
	MimeType string `json:"mime_type,omitempty"`
	// Extension to append to the rendered filename
	FileExtension string `json:"file_extension,omitempty"`
}

type ExtrasApiExtrasConfigContextsListOpts

type ExtrasApiExtrasConfigContextsListOpts struct {
	Id              optional.String
	Name            optional.String
	IsActive        optional.String
	Q               optional.String
	RegionId        optional.String
	Region          optional.String
	SiteId          optional.String
	Site            optional.String
	RoleId          optional.String
	Role            optional.String
	PlatformId      optional.String
	Platform        optional.String
	ClusterGroupId  optional.String
	ClusterGroup    optional.String
	ClusterId       optional.String
	TenantGroupId   optional.String
	TenantGroup     optional.String
	TenantId        optional.String
	Tenant          optional.String
	Tag             optional.String
	IdN             optional.String
	IdLte           optional.String
	IdLt            optional.String
	IdGte           optional.String
	IdGt            optional.String
	NameN           optional.String
	NameIc          optional.String
	NameNic         optional.String
	NameIew         optional.String
	NameNiew        optional.String
	NameIsw         optional.String
	NameNisw        optional.String
	NameIe          optional.String
	NameNie         optional.String
	RegionIdN       optional.String
	RegionN         optional.String
	SiteIdN         optional.String
	SiteN           optional.String
	RoleIdN         optional.String
	RoleN           optional.String
	PlatformIdN     optional.String
	PlatformN       optional.String
	ClusterGroupIdN optional.String
	ClusterGroupN   optional.String
	ClusterIdN      optional.String
	TenantGroupIdN  optional.String
	TenantGroupN    optional.String
	TenantIdN       optional.String
	TenantN         optional.String
	TagN            optional.String
	Limit           optional.Int32
	Offset          optional.Int32
}

type ExtrasApiExtrasExportTemplatesListOpts

type ExtrasApiExtrasExportTemplatesListOpts struct {
	Id                optional.String
	ContentType       optional.String
	Name              optional.String
	TemplateLanguage  optional.String
	IdN               optional.String
	IdLte             optional.String
	IdLt              optional.String
	IdGte             optional.String
	IdGt              optional.String
	ContentTypeN      optional.String
	NameN             optional.String
	NameIc            optional.String
	NameNic           optional.String
	NameIew           optional.String
	NameNiew          optional.String
	NameIsw           optional.String
	NameNisw          optional.String
	NameIe            optional.String
	NameNie           optional.String
	TemplateLanguageN optional.String
	Limit             optional.Int32
	Offset            optional.Int32
}

type ExtrasApiExtrasGraphsListOpts

type ExtrasApiExtrasGraphsListOpts struct {
	Id                optional.String
	Type_             optional.String
	Name              optional.String
	TemplateLanguage  optional.String
	IdN               optional.String
	IdLte             optional.String
	IdLt              optional.String
	IdGte             optional.String
	IdGt              optional.String
	TypeN             optional.String
	NameN             optional.String
	NameIc            optional.String
	NameNic           optional.String
	NameIew           optional.String
	NameNiew          optional.String
	NameIsw           optional.String
	NameNisw          optional.String
	NameIe            optional.String
	NameNie           optional.String
	TemplateLanguageN optional.String
	Limit             optional.Int32
	Offset            optional.Int32
}

type ExtrasApiExtrasImageAttachmentsListOpts

type ExtrasApiExtrasImageAttachmentsListOpts struct {
	Limit  optional.Int32
	Offset optional.Int32
}

type ExtrasApiExtrasObjectChangesListOpts

type ExtrasApiExtrasObjectChangesListOpts struct {
	Id                 optional.String
	User               optional.String
	UserName           optional.String
	RequestId          optional.String
	Action             optional.String
	ChangedObjectType  optional.String
	ChangedObjectId    optional.String
	ObjectRepr         optional.String
	Q                  optional.String
	Time               optional.String
	IdN                optional.String
	IdLte              optional.String
	IdLt               optional.String
	IdGte              optional.String
	IdGt               optional.String
	UserN              optional.String
	UserNameN          optional.String
	UserNameIc         optional.String
	UserNameNic        optional.String
	UserNameIew        optional.String
	UserNameNiew       optional.String
	UserNameIsw        optional.String
	UserNameNisw       optional.String
	UserNameIe         optional.String
	UserNameNie        optional.String
	ActionN            optional.String
	ChangedObjectTypeN optional.String
	ChangedObjectIdN   optional.String
	ChangedObjectIdLte optional.String
	ChangedObjectIdLt  optional.String
	ChangedObjectIdGte optional.String
	ChangedObjectIdGt  optional.String
	ObjectReprN        optional.String
	ObjectReprIc       optional.String
	ObjectReprNic      optional.String
	ObjectReprIew      optional.String
	ObjectReprNiew     optional.String
	ObjectReprIsw      optional.String
	ObjectReprNisw     optional.String
	ObjectReprIe       optional.String
	ObjectReprNie      optional.String
	Limit              optional.Int32
	Offset             optional.Int32
}

type ExtrasApiExtrasTagsListOpts

type ExtrasApiExtrasTagsListOpts struct {
	Id        optional.String
	Name      optional.String
	Slug      optional.String
	Color     optional.String
	Q         optional.String
	IdN       optional.String
	IdLte     optional.String
	IdLt      optional.String
	IdGte     optional.String
	IdGt      optional.String
	NameN     optional.String
	NameIc    optional.String
	NameNic   optional.String
	NameIew   optional.String
	NameNiew  optional.String
	NameIsw   optional.String
	NameNisw  optional.String
	NameIe    optional.String
	NameNie   optional.String
	SlugN     optional.String
	SlugIc    optional.String
	SlugNic   optional.String
	SlugIew   optional.String
	SlugNiew  optional.String
	SlugIsw   optional.String
	SlugNisw  optional.String
	SlugIe    optional.String
	SlugNie   optional.String
	ColorN    optional.String
	ColorIc   optional.String
	ColorNic  optional.String
	ColorIew  optional.String
	ColorNiew optional.String
	ColorIsw  optional.String
	ColorNisw optional.String
	ColorIe   optional.String
	ColorNie  optional.String
	Limit     optional.Int32
	Offset    optional.Int32
}

type ExtrasApiService

type ExtrasApiService service

func (*ExtrasApiService) ExtrasConfigContextsCreate

func (a *ExtrasApiService) ExtrasConfigContextsCreate(ctx context.Context, data WritableConfigContext) (ConfigContext, *http.Response, error)

ExtrasApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return ConfigContext

func (*ExtrasApiService) ExtrasConfigContextsDelete

func (a *ExtrasApiService) ExtrasConfigContextsDelete(ctx context.Context, id int32) (*http.Response, error)

ExtrasApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this config context.

func (*ExtrasApiService) ExtrasConfigContextsList

func (a *ExtrasApiService) ExtrasConfigContextsList(ctx context.Context, localVarOptionals *ExtrasApiExtrasConfigContextsListOpts) (InlineResponse20037, *http.Response, error)

func (*ExtrasApiService) ExtrasConfigContextsPartialUpdate

func (a *ExtrasApiService) ExtrasConfigContextsPartialUpdate(ctx context.Context, id int32, data WritableConfigContext) (ConfigContext, *http.Response, error)

ExtrasApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this config context.
  • @param data

@return ConfigContext

func (*ExtrasApiService) ExtrasConfigContextsRead

func (a *ExtrasApiService) ExtrasConfigContextsRead(ctx context.Context, id int32) (ConfigContext, *http.Response, error)

ExtrasApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this config context.

@return ConfigContext

func (*ExtrasApiService) ExtrasConfigContextsUpdate

func (a *ExtrasApiService) ExtrasConfigContextsUpdate(ctx context.Context, id int32, data WritableConfigContext) (ConfigContext, *http.Response, error)

ExtrasApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this config context.
  • @param data

@return ConfigContext

func (*ExtrasApiService) ExtrasCustomFieldChoicesList

func (a *ExtrasApiService) ExtrasCustomFieldChoicesList(ctx context.Context) (*http.Response, error)

ExtrasApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*ExtrasApiService) ExtrasCustomFieldChoicesRead

func (a *ExtrasApiService) ExtrasCustomFieldChoicesRead(ctx context.Context, id string) (*http.Response, error)

ExtrasApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

func (*ExtrasApiService) ExtrasExportTemplatesCreate

func (a *ExtrasApiService) ExtrasExportTemplatesCreate(ctx context.Context, data WritableExportTemplate) (ExportTemplate, *http.Response, error)

ExtrasApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return ExportTemplate

func (*ExtrasApiService) ExtrasExportTemplatesDelete

func (a *ExtrasApiService) ExtrasExportTemplatesDelete(ctx context.Context, id int32) (*http.Response, error)

ExtrasApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this export template.

func (*ExtrasApiService) ExtrasExportTemplatesList

func (a *ExtrasApiService) ExtrasExportTemplatesList(ctx context.Context, localVarOptionals *ExtrasApiExtrasExportTemplatesListOpts) (InlineResponse20038, *http.Response, error)

func (*ExtrasApiService) ExtrasExportTemplatesPartialUpdate

func (a *ExtrasApiService) ExtrasExportTemplatesPartialUpdate(ctx context.Context, id int32, data WritableExportTemplate) (ExportTemplate, *http.Response, error)

ExtrasApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this export template.
  • @param data

@return ExportTemplate

func (*ExtrasApiService) ExtrasExportTemplatesRead

func (a *ExtrasApiService) ExtrasExportTemplatesRead(ctx context.Context, id int32) (ExportTemplate, *http.Response, error)

ExtrasApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this export template.

@return ExportTemplate

func (*ExtrasApiService) ExtrasExportTemplatesUpdate

func (a *ExtrasApiService) ExtrasExportTemplatesUpdate(ctx context.Context, id int32, data WritableExportTemplate) (ExportTemplate, *http.Response, error)

ExtrasApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this export template.
  • @param data

@return ExportTemplate

func (*ExtrasApiService) ExtrasGraphsCreate

func (a *ExtrasApiService) ExtrasGraphsCreate(ctx context.Context, data Graph) (Graph, *http.Response, error)

ExtrasApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return Graph

func (*ExtrasApiService) ExtrasGraphsDelete

func (a *ExtrasApiService) ExtrasGraphsDelete(ctx context.Context, id int32) (*http.Response, error)

ExtrasApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this graph.

func (*ExtrasApiService) ExtrasGraphsList

func (a *ExtrasApiService) ExtrasGraphsList(ctx context.Context, localVarOptionals *ExtrasApiExtrasGraphsListOpts) (InlineResponse20039, *http.Response, error)

func (*ExtrasApiService) ExtrasGraphsPartialUpdate

func (a *ExtrasApiService) ExtrasGraphsPartialUpdate(ctx context.Context, id int32, data Graph) (Graph, *http.Response, error)

ExtrasApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this graph.
  • @param data

@return Graph

func (*ExtrasApiService) ExtrasGraphsRead

func (a *ExtrasApiService) ExtrasGraphsRead(ctx context.Context, id int32) (Graph, *http.Response, error)

ExtrasApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this graph.

@return Graph

func (*ExtrasApiService) ExtrasGraphsUpdate

func (a *ExtrasApiService) ExtrasGraphsUpdate(ctx context.Context, id int32, data Graph) (Graph, *http.Response, error)

ExtrasApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this graph.
  • @param data

@return Graph

func (*ExtrasApiService) ExtrasImageAttachmentsCreate

func (a *ExtrasApiService) ExtrasImageAttachmentsCreate(ctx context.Context, data ImageAttachment) (ImageAttachment, *http.Response, error)

ExtrasApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return ImageAttachment

func (*ExtrasApiService) ExtrasImageAttachmentsDelete

func (a *ExtrasApiService) ExtrasImageAttachmentsDelete(ctx context.Context, id int32) (*http.Response, error)

ExtrasApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this image attachment.

func (*ExtrasApiService) ExtrasImageAttachmentsList

func (a *ExtrasApiService) ExtrasImageAttachmentsList(ctx context.Context, localVarOptionals *ExtrasApiExtrasImageAttachmentsListOpts) (InlineResponse20040, *http.Response, error)

func (*ExtrasApiService) ExtrasImageAttachmentsPartialUpdate

func (a *ExtrasApiService) ExtrasImageAttachmentsPartialUpdate(ctx context.Context, id int32, data ImageAttachment) (ImageAttachment, *http.Response, error)

ExtrasApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this image attachment.
  • @param data

@return ImageAttachment

func (*ExtrasApiService) ExtrasImageAttachmentsRead

func (a *ExtrasApiService) ExtrasImageAttachmentsRead(ctx context.Context, id int32) (ImageAttachment, *http.Response, error)

ExtrasApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this image attachment.

@return ImageAttachment

func (*ExtrasApiService) ExtrasImageAttachmentsUpdate

func (a *ExtrasApiService) ExtrasImageAttachmentsUpdate(ctx context.Context, id int32, data ImageAttachment) (ImageAttachment, *http.Response, error)

ExtrasApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this image attachment.
  • @param data

@return ImageAttachment

func (*ExtrasApiService) ExtrasObjectChangesList

func (a *ExtrasApiService) ExtrasObjectChangesList(ctx context.Context, localVarOptionals *ExtrasApiExtrasObjectChangesListOpts) (InlineResponse20041, *http.Response, error)

func (*ExtrasApiService) ExtrasObjectChangesRead

func (a *ExtrasApiService) ExtrasObjectChangesRead(ctx context.Context, id int32) (ObjectChange, *http.Response, error)

ExtrasApiService Retrieve a list of recent changes.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this object change.

@return ObjectChange

func (*ExtrasApiService) ExtrasReportsList

func (a *ExtrasApiService) ExtrasReportsList(ctx context.Context) (*http.Response, error)

ExtrasApiService Compile all reports and their related results (if any). Result data is deferred in the list view.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*ExtrasApiService) ExtrasReportsRead

func (a *ExtrasApiService) ExtrasReportsRead(ctx context.Context, id string) (*http.Response, error)

ExtrasApiService Retrieve a single Report identified as \&quot;&lt;module&gt;.&lt;report&gt;\&quot;.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

func (*ExtrasApiService) ExtrasReportsRun

func (a *ExtrasApiService) ExtrasReportsRun(ctx context.Context, id string) (*http.Response, error)

ExtrasApiService Run a Report and create a new ReportResult, overwriting any previous result for the Report.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

func (*ExtrasApiService) ExtrasScriptsList

func (a *ExtrasApiService) ExtrasScriptsList(ctx context.Context) (*http.Response, error)

ExtrasApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*ExtrasApiService) ExtrasScriptsRead

func (a *ExtrasApiService) ExtrasScriptsRead(ctx context.Context, id string) (*http.Response, error)

ExtrasApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

func (*ExtrasApiService) ExtrasTagsCreate

func (a *ExtrasApiService) ExtrasTagsCreate(ctx context.Context, data Tag) (Tag, *http.Response, error)

ExtrasApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return Tag

func (*ExtrasApiService) ExtrasTagsDelete

func (a *ExtrasApiService) ExtrasTagsDelete(ctx context.Context, id int32) (*http.Response, error)

ExtrasApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this tag.

func (*ExtrasApiService) ExtrasTagsList

func (a *ExtrasApiService) ExtrasTagsList(ctx context.Context, localVarOptionals *ExtrasApiExtrasTagsListOpts) (InlineResponse20042, *http.Response, error)

func (*ExtrasApiService) ExtrasTagsPartialUpdate

func (a *ExtrasApiService) ExtrasTagsPartialUpdate(ctx context.Context, id int32, data Tag) (Tag, *http.Response, error)

ExtrasApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this tag.
  • @param data

@return Tag

func (*ExtrasApiService) ExtrasTagsRead

func (a *ExtrasApiService) ExtrasTagsRead(ctx context.Context, id int32) (Tag, *http.Response, error)

ExtrasApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this tag.

@return Tag

func (*ExtrasApiService) ExtrasTagsUpdate

func (a *ExtrasApiService) ExtrasTagsUpdate(ctx context.Context, id int32, data Tag) (Tag, *http.Response, error)

ExtrasApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this tag.
  • @param data

@return Tag

type Face

type Face struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type Family

type Family struct {
	Label string `json:"label"`
	Value int32  `json:"value"`
}

type FeedLeg

type FeedLeg struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type FrontPort

type FrontPort struct {
	Id               int32              `json:"id,omitempty"`
	Device           *NestedDevice      `json:"device"`
	Name             string             `json:"name"`
	Type_            *Type1             `json:"type"`
	RearPort         *FrontPortRearPort `json:"rear_port"`
	RearPortPosition int32              `json:"rear_port_position,omitempty"`
	Description      string             `json:"description,omitempty"`
	Cable            *NestedCable       `json:"cable,omitempty"`
	Tags             []string           `json:"tags,omitempty"`
}

type FrontPortRearPort

type FrontPortRearPort struct {
	Id   int32  `json:"id,omitempty"`
	Url  string `json:"url,omitempty"`
	Name string `json:"name"`
}

type FrontPortTemplate

type FrontPortTemplate struct {
	Id               int32                   `json:"id,omitempty"`
	DeviceType       *NestedDeviceType       `json:"device_type"`
	Name             string                  `json:"name"`
	Type_            *Type1                  `json:"type"`
	RearPort         *NestedRearPortTemplate `json:"rear_port"`
	RearPortPosition int32                   `json:"rear_port_position,omitempty"`
}

type GenericSwaggerError

type GenericSwaggerError struct {
	// contains filtered or unexported fields
}

GenericSwaggerError Provides access to the body, error and model on returned errors.

func (GenericSwaggerError) Body

func (e GenericSwaggerError) Body() []byte

Body returns the raw bytes of the response

func (GenericSwaggerError) Error

func (e GenericSwaggerError) Error() string

Error returns non-empty string if there was an error.

func (GenericSwaggerError) Model

func (e GenericSwaggerError) Model() interface{}

Model returns the unpacked model of the error

type Graph

type Graph struct {
	Id               int32  `json:"id,omitempty"`
	Type_            string `json:"type"`
	Weight           int32  `json:"weight,omitempty"`
	Name             string `json:"name"`
	TemplateLanguage string `json:"template_language,omitempty"`
	Source           string `json:"source"`
	Link             string `json:"link,omitempty"`
}

type ImageAttachment

type ImageAttachment struct {
	Id          int32             `json:"id,omitempty"`
	ContentType string            `json:"content_type"`
	ObjectId    int32             `json:"object_id"`
	Parent      map[string]string `json:"parent,omitempty"`
	Name        string            `json:"name,omitempty"`
	Image       string            `json:"image,omitempty"`
	ImageHeight int32             `json:"image_height"`
	ImageWidth  int32             `json:"image_width"`
	Created     time.Time         `json:"created,omitempty"`
}

type InlineResponse200

type InlineResponse200 struct {
	Count    int32                `json:"count"`
	Next     string               `json:"next,omitempty"`
	Previous string               `json:"previous,omitempty"`
	Results  []CircuitTermination `json:"results"`
}

type InlineResponse2001

type InlineResponse2001 struct {
	Count    int32         `json:"count"`
	Next     string        `json:"next,omitempty"`
	Previous string        `json:"previous,omitempty"`
	Results  []CircuitType `json:"results"`
}

type InlineResponse20010

type InlineResponse20010 struct {
	Count    int32       `json:"count"`
	Next     string      `json:"next,omitempty"`
	Previous string      `json:"previous,omitempty"`
	Results  []DeviceBay `json:"results"`
}

type InlineResponse20011

type InlineResponse20011 struct {
	Count    int32        `json:"count"`
	Next     string       `json:"next,omitempty"`
	Previous string       `json:"previous,omitempty"`
	Results  []DeviceRole `json:"results"`
}

type InlineResponse20012

type InlineResponse20012 struct {
	Count    int32        `json:"count"`
	Next     string       `json:"next,omitempty"`
	Previous string       `json:"previous,omitempty"`
	Results  []DeviceType `json:"results"`
}

type InlineResponse20013

type InlineResponse20013 struct {
	Count    int32                     `json:"count"`
	Next     string                    `json:"next,omitempty"`
	Previous string                    `json:"previous,omitempty"`
	Results  []DeviceWithConfigContext `json:"results"`
}

type InlineResponse20014

type InlineResponse20014 struct {
	Count    int32               `json:"count"`
	Next     string              `json:"next,omitempty"`
	Previous string              `json:"previous,omitempty"`
	Results  []FrontPortTemplate `json:"results"`
}

type InlineResponse20015

type InlineResponse20015 struct {
	Count    int32       `json:"count"`
	Next     string      `json:"next,omitempty"`
	Previous string      `json:"previous,omitempty"`
	Results  []FrontPort `json:"results"`
}

type InlineResponse20016

type InlineResponse20016 struct {
	Count    int32                 `json:"count"`
	Next     string                `json:"next,omitempty"`
	Previous string                `json:"previous,omitempty"`
	Results  []InterfaceConnection `json:"results"`
}

type InlineResponse20017

type InlineResponse20017 struct {
	Count    int32               `json:"count"`
	Next     string              `json:"next,omitempty"`
	Previous string              `json:"previous,omitempty"`
	Results  []InterfaceTemplate `json:"results"`
}

type InlineResponse20018

type InlineResponse20018 struct {
	Count    int32             `json:"count"`
	Next     string            `json:"next,omitempty"`
	Previous string            `json:"previous,omitempty"`
	Results  []DeviceInterface `json:"results"`
}

type InlineResponse20019

type InlineResponse20019 struct {
	Count    int32           `json:"count"`
	Next     string          `json:"next,omitempty"`
	Previous string          `json:"previous,omitempty"`
	Results  []InventoryItem `json:"results"`
}

type InlineResponse2002

type InlineResponse2002 struct {
	Count    int32     `json:"count"`
	Next     string    `json:"next,omitempty"`
	Previous string    `json:"previous,omitempty"`
	Results  []Circuit `json:"results"`
}

type InlineResponse20020

type InlineResponse20020 struct {
	Count    int32          `json:"count"`
	Next     string         `json:"next,omitempty"`
	Previous string         `json:"previous,omitempty"`
	Results  []Manufacturer `json:"results"`
}

type InlineResponse20021

type InlineResponse20021 struct {
	Count    int32      `json:"count"`
	Next     string     `json:"next,omitempty"`
	Previous string     `json:"previous,omitempty"`
	Results  []Platform `json:"results"`
}

type InlineResponse20022

type InlineResponse20022 struct {
	Count    int32       `json:"count"`
	Next     string      `json:"next,omitempty"`
	Previous string      `json:"previous,omitempty"`
	Results  []PowerPort `json:"results"`
}

type InlineResponse20023

type InlineResponse20023 struct {
	Count    int32       `json:"count"`
	Next     string      `json:"next,omitempty"`
	Previous string      `json:"previous,omitempty"`
	Results  []PowerFeed `json:"results"`
}

type InlineResponse20024

type InlineResponse20024 struct {
	Count    int32                 `json:"count"`
	Next     string                `json:"next,omitempty"`
	Previous string                `json:"previous,omitempty"`
	Results  []PowerOutletTemplate `json:"results"`
}

type InlineResponse20025

type InlineResponse20025 struct {
	Count    int32         `json:"count"`
	Next     string        `json:"next,omitempty"`
	Previous string        `json:"previous,omitempty"`
	Results  []PowerOutlet `json:"results"`
}

type InlineResponse20026

type InlineResponse20026 struct {
	Count    int32        `json:"count"`
	Next     string       `json:"next,omitempty"`
	Previous string       `json:"previous,omitempty"`
	Results  []PowerPanel `json:"results"`
}

type InlineResponse20027

type InlineResponse20027 struct {
	Count    int32               `json:"count"`
	Next     string              `json:"next,omitempty"`
	Previous string              `json:"previous,omitempty"`
	Results  []PowerPortTemplate `json:"results"`
}

type InlineResponse20028

type InlineResponse20028 struct {
	Count    int32       `json:"count"`
	Next     string      `json:"next,omitempty"`
	Previous string      `json:"previous,omitempty"`
	Results  []RackGroup `json:"results"`
}

type InlineResponse20029

type InlineResponse20029 struct {
	Count    int32             `json:"count"`
	Next     string            `json:"next,omitempty"`
	Previous string            `json:"previous,omitempty"`
	Results  []RackReservation `json:"results"`
}

type InlineResponse2003

type InlineResponse2003 struct {
	Count    int32      `json:"count"`
	Next     string     `json:"next,omitempty"`
	Previous string     `json:"previous,omitempty"`
	Results  []Provider `json:"results"`
}

type InlineResponse20030

type InlineResponse20030 struct {
	Count    int32      `json:"count"`
	Next     string     `json:"next,omitempty"`
	Previous string     `json:"previous,omitempty"`
	Results  []RackRole `json:"results"`
}

type InlineResponse20031

type InlineResponse20031 struct {
	Count    int32  `json:"count"`
	Next     string `json:"next,omitempty"`
	Previous string `json:"previous,omitempty"`
	Results  []Rack `json:"results"`
}

type InlineResponse20032

type InlineResponse20032 struct {
	Count    int32              `json:"count"`
	Next     string             `json:"next,omitempty"`
	Previous string             `json:"previous,omitempty"`
	Results  []RearPortTemplate `json:"results"`
}

type InlineResponse20033

type InlineResponse20033 struct {
	Count    int32      `json:"count"`
	Next     string     `json:"next,omitempty"`
	Previous string     `json:"previous,omitempty"`
	Results  []RearPort `json:"results"`
}

type InlineResponse20034

type InlineResponse20034 struct {
	Count    int32    `json:"count"`
	Next     string   `json:"next,omitempty"`
	Previous string   `json:"previous,omitempty"`
	Results  []Region `json:"results"`
}

type InlineResponse20035

type InlineResponse20035 struct {
	Count    int32  `json:"count"`
	Next     string `json:"next,omitempty"`
	Previous string `json:"previous,omitempty"`
	Results  []Site `json:"results"`
}

type InlineResponse20036

type InlineResponse20036 struct {
	Count    int32            `json:"count"`
	Next     string           `json:"next,omitempty"`
	Previous string           `json:"previous,omitempty"`
	Results  []VirtualChassis `json:"results"`
}

type InlineResponse20037

type InlineResponse20037 struct {
	Count    int32           `json:"count"`
	Next     string          `json:"next,omitempty"`
	Previous string          `json:"previous,omitempty"`
	Results  []ConfigContext `json:"results"`
}

type InlineResponse20038

type InlineResponse20038 struct {
	Count    int32            `json:"count"`
	Next     string           `json:"next,omitempty"`
	Previous string           `json:"previous,omitempty"`
	Results  []ExportTemplate `json:"results"`
}

type InlineResponse20039

type InlineResponse20039 struct {
	Count    int32   `json:"count"`
	Next     string  `json:"next,omitempty"`
	Previous string  `json:"previous,omitempty"`
	Results  []Graph `json:"results"`
}

type InlineResponse2004

type InlineResponse2004 struct {
	Count    int32   `json:"count"`
	Next     string  `json:"next,omitempty"`
	Previous string  `json:"previous,omitempty"`
	Results  []Cable `json:"results"`
}

type InlineResponse20040

type InlineResponse20040 struct {
	Count    int32             `json:"count"`
	Next     string            `json:"next,omitempty"`
	Previous string            `json:"previous,omitempty"`
	Results  []ImageAttachment `json:"results"`
}

type InlineResponse20041

type InlineResponse20041 struct {
	Count    int32          `json:"count"`
	Next     string         `json:"next,omitempty"`
	Previous string         `json:"previous,omitempty"`
	Results  []ObjectChange `json:"results"`
}

type InlineResponse20042

type InlineResponse20042 struct {
	Count    int32  `json:"count"`
	Next     string `json:"next,omitempty"`
	Previous string `json:"previous,omitempty"`
	Results  []Tag  `json:"results"`
}

type InlineResponse20043

type InlineResponse20043 struct {
	Count    int32       `json:"count"`
	Next     string      `json:"next,omitempty"`
	Previous string      `json:"previous,omitempty"`
	Results  []Aggregate `json:"results"`
}

type InlineResponse20044

type InlineResponse20044 struct {
	Count    int32       `json:"count"`
	Next     string      `json:"next,omitempty"`
	Previous string      `json:"previous,omitempty"`
	Results  []IpAddress `json:"results"`
}

type InlineResponse20045

type InlineResponse20045 struct {
	Count    int32    `json:"count"`
	Next     string   `json:"next,omitempty"`
	Previous string   `json:"previous,omitempty"`
	Results  []Prefix `json:"results"`
}

type InlineResponse20046

type InlineResponse20046 struct {
	Count    int32  `json:"count"`
	Next     string `json:"next,omitempty"`
	Previous string `json:"previous,omitempty"`
	Results  []Rir  `json:"results"`
}

type InlineResponse20047

type InlineResponse20047 struct {
	Count    int32  `json:"count"`
	Next     string `json:"next,omitempty"`
	Previous string `json:"previous,omitempty"`
	Results  []Role `json:"results"`
}

type InlineResponse20048

type InlineResponse20048 struct {
	Count    int32     `json:"count"`
	Next     string    `json:"next,omitempty"`
	Previous string    `json:"previous,omitempty"`
	Results  []Service `json:"results"`
}

type InlineResponse20049

type InlineResponse20049 struct {
	Count    int32       `json:"count"`
	Next     string      `json:"next,omitempty"`
	Previous string      `json:"previous,omitempty"`
	Results  []VlanGroup `json:"results"`
}

type InlineResponse2005

type InlineResponse2005 struct {
	Count    int32         `json:"count"`
	Next     string        `json:"next,omitempty"`
	Previous string        `json:"previous,omitempty"`
	Results  []ConsolePort `json:"results"`
}

type InlineResponse20050

type InlineResponse20050 struct {
	Count    int32  `json:"count"`
	Next     string `json:"next,omitempty"`
	Previous string `json:"previous,omitempty"`
	Results  []Vlan `json:"results"`
}

type InlineResponse20051

type InlineResponse20051 struct {
	Count    int32  `json:"count"`
	Next     string `json:"next,omitempty"`
	Previous string `json:"previous,omitempty"`
	Results  []Vrf  `json:"results"`
}

type InlineResponse20052

type InlineResponse20052 struct {
	Count    int32        `json:"count"`
	Next     string       `json:"next,omitempty"`
	Previous string       `json:"previous,omitempty"`
	Results  []SecretRole `json:"results"`
}

type InlineResponse20053

type InlineResponse20053 struct {
	Count    int32    `json:"count"`
	Next     string   `json:"next,omitempty"`
	Previous string   `json:"previous,omitempty"`
	Results  []Secret `json:"results"`
}

type InlineResponse20054

type InlineResponse20054 struct {
	Count    int32         `json:"count"`
	Next     string        `json:"next,omitempty"`
	Previous string        `json:"previous,omitempty"`
	Results  []TenantGroup `json:"results"`
}

type InlineResponse20055

type InlineResponse20055 struct {
	Count    int32    `json:"count"`
	Next     string   `json:"next,omitempty"`
	Previous string   `json:"previous,omitempty"`
	Results  []Tenant `json:"results"`
}

type InlineResponse20056

type InlineResponse20056 struct {
	Count    int32          `json:"count"`
	Next     string         `json:"next,omitempty"`
	Previous string         `json:"previous,omitempty"`
	Results  []ClusterGroup `json:"results"`
}

type InlineResponse20057

type InlineResponse20057 struct {
	Count    int32         `json:"count"`
	Next     string        `json:"next,omitempty"`
	Previous string        `json:"previous,omitempty"`
	Results  []ClusterType `json:"results"`
}

type InlineResponse20058

type InlineResponse20058 struct {
	Count    int32     `json:"count"`
	Next     string    `json:"next,omitempty"`
	Previous string    `json:"previous,omitempty"`
	Results  []Cluster `json:"results"`
}

type InlineResponse20059

type InlineResponse20059 struct {
	Count    int32                     `json:"count"`
	Next     string                    `json:"next,omitempty"`
	Previous string                    `json:"previous,omitempty"`
	Results  []VirtualMachineInterface `json:"results"`
}

type InlineResponse2006

type InlineResponse2006 struct {
	Count    int32                 `json:"count"`
	Next     string                `json:"next,omitempty"`
	Previous string                `json:"previous,omitempty"`
	Results  []ConsolePortTemplate `json:"results"`
}

type InlineResponse20060

type InlineResponse20060 struct {
	Count    int32                             `json:"count"`
	Next     string                            `json:"next,omitempty"`
	Previous string                            `json:"previous,omitempty"`
	Results  []VirtualMachineWithConfigContext `json:"results"`
}

type InlineResponse2007

type InlineResponse2007 struct {
	Count    int32                       `json:"count"`
	Next     string                      `json:"next,omitempty"`
	Previous string                      `json:"previous,omitempty"`
	Results  []ConsoleServerPortTemplate `json:"results"`
}

type InlineResponse2008

type InlineResponse2008 struct {
	Count    int32               `json:"count"`
	Next     string              `json:"next,omitempty"`
	Previous string              `json:"previous,omitempty"`
	Results  []ConsoleServerPort `json:"results"`
}

type InlineResponse2009

type InlineResponse2009 struct {
	Count    int32               `json:"count"`
	Next     string              `json:"next,omitempty"`
	Previous string              `json:"previous,omitempty"`
	Results  []DeviceBayTemplate `json:"results"`
}

type InterfaceConnection

type InterfaceConnection struct {
	InterfaceA       *NestedInterface  `json:"interface_a,omitempty"`
	InterfaceB       *NestedInterface  `json:"interface_b"`
	ConnectionStatus *ConnectionStatus `json:"connection_status,omitempty"`
}

type InterfaceTemplate

type InterfaceTemplate struct {
	Id         int32             `json:"id,omitempty"`
	DeviceType *NestedDeviceType `json:"device_type"`
	Name       string            `json:"name"`
	Type_      *Type2            `json:"type"`
	MgmtOnly   bool              `json:"mgmt_only,omitempty"`
}

type InventoryItem

type InventoryItem struct {
	Id           int32               `json:"id,omitempty"`
	Device       *NestedDevice       `json:"device"`
	Parent       int32               `json:"parent,omitempty"`
	Name         string              `json:"name"`
	Manufacturer *NestedManufacturer `json:"manufacturer,omitempty"`
	// Manufacturer-assigned part identifier
	PartId string `json:"part_id,omitempty"`
	Serial string `json:"serial,omitempty"`
	// A unique tag used to identify this item
	AssetTag string `json:"asset_tag,omitempty"`
	// This item was automatically discovered
	Discovered  bool     `json:"discovered,omitempty"`
	Description string   `json:"description,omitempty"`
	Tags        []string `json:"tags,omitempty"`
}

type IpAddress

type IpAddress struct {
	Id     int32   `json:"id,omitempty"`
	Family *Family `json:"family,omitempty"`
	// IPv4 or IPv6 address (with mask)
	Address    string              `json:"address"`
	Vrf        *NestedVrf          `json:"vrf,omitempty"`
	Tenant     *NestedTenant       `json:"tenant,omitempty"`
	Status     *Status6            `json:"status,omitempty"`
	Role       *Role1              `json:"role,omitempty"`
	Interface_ *IpAddressInterface `json:"interface,omitempty"`
	NatInside  *NestedIpAddress    `json:"nat_inside,omitempty"`
	NatOutside *NestedIpAddress    `json:"nat_outside,omitempty"`
	// Hostname or FQDN (not case-sensitive)
	DnsName      string       `json:"dns_name,omitempty"`
	Description  string       `json:"description,omitempty"`
	Tags         []string     `json:"tags,omitempty"`
	CustomFields *interface{} `json:"custom_fields,omitempty"`
	Created      string       `json:"created,omitempty"`
	LastUpdated  time.Time    `json:"last_updated,omitempty"`
}

type IpAddressInterface

type IpAddressInterface struct {
	Id             int32                 `json:"id,omitempty"`
	Url            string                `json:"url,omitempty"`
	Device         *NestedDevice         `json:"device,omitempty"`
	VirtualMachine *NestedVirtualMachine `json:"virtual_machine,omitempty"`
	Name           string                `json:"name"`
}

type IpamApiIpamAggregatesListOpts

type IpamApiIpamAggregatesListOpts struct {
	Id             optional.String
	DateAdded      optional.String
	Created        optional.String
	CreatedGte     optional.String
	CreatedLte     optional.String
	LastUpdated    optional.String
	LastUpdatedGte optional.String
	LastUpdatedLte optional.String
	Q              optional.String
	Family         optional.Float32
	Prefix         optional.String
	RirId          optional.String
	Rir            optional.String
	Tag            optional.String
	IdN            optional.String
	IdLte          optional.String
	IdLt           optional.String
	IdGte          optional.String
	IdGt           optional.String
	DateAddedN     optional.String
	DateAddedLte   optional.String
	DateAddedLt    optional.String
	DateAddedGte   optional.String
	DateAddedGt    optional.String
	RirIdN         optional.String
	RirN           optional.String
	TagN           optional.String
	Limit          optional.Int32
	Offset         optional.Int32
}

type IpamApiIpamIpAddressesListOpts

type IpamApiIpamIpAddressesListOpts struct {
	Id                  optional.String
	DnsName             optional.String
	TenantGroupId       optional.String
	TenantGroup         optional.String
	TenantId            optional.String
	Tenant              optional.String
	Created             optional.String
	CreatedGte          optional.String
	CreatedLte          optional.String
	LastUpdated         optional.String
	LastUpdatedGte      optional.String
	LastUpdatedLte      optional.String
	Q                   optional.String
	Family              optional.Float32
	Parent              optional.String
	Address             optional.String
	MaskLength          optional.Float32
	VrfId               optional.String
	Vrf                 optional.String
	Device              optional.String
	DeviceId            optional.String
	VirtualMachineId    optional.String
	VirtualMachine      optional.String
	Interface_          optional.String
	InterfaceId         optional.String
	AssignedToInterface optional.String
	Status              optional.String
	Role                optional.String
	Tag                 optional.String
	IdN                 optional.String
	IdLte               optional.String
	IdLt                optional.String
	IdGte               optional.String
	IdGt                optional.String
	DnsNameN            optional.String
	DnsNameIc           optional.String
	DnsNameNic          optional.String
	DnsNameIew          optional.String
	DnsNameNiew         optional.String
	DnsNameIsw          optional.String
	DnsNameNisw         optional.String
	DnsNameIe           optional.String
	DnsNameNie          optional.String
	TenantGroupIdN      optional.String
	TenantGroupN        optional.String
	TenantIdN           optional.String
	TenantN             optional.String
	VrfIdN              optional.String
	VrfN                optional.String
	VirtualMachineIdN   optional.String
	VirtualMachineN     optional.String
	InterfaceN          optional.String
	InterfaceIdN        optional.String
	StatusN             optional.String
	RoleN               optional.String
	TagN                optional.String
	Limit               optional.Int32
	Offset              optional.Int32
}

type IpamApiIpamPrefixesListOpts

type IpamApiIpamPrefixesListOpts struct {
	Id             optional.String
	IsPool         optional.String
	TenantGroupId  optional.String
	TenantGroup    optional.String
	TenantId       optional.String
	Tenant         optional.String
	Created        optional.String
	CreatedGte     optional.String
	CreatedLte     optional.String
	LastUpdated    optional.String
	LastUpdatedGte optional.String
	LastUpdatedLte optional.String
	Q              optional.String
	Family         optional.Float32
	Prefix         optional.String
	Within         optional.String
	WithinInclude  optional.String
	Contains       optional.String
	MaskLength     optional.Float32
	VrfId          optional.String
	Vrf            optional.String
	RegionId       optional.String
	Region         optional.String
	SiteId         optional.String
	Site           optional.String
	VlanId         optional.String
	VlanVid        optional.Float32
	RoleId         optional.String
	Role           optional.String
	Status         optional.String
	Tag            optional.String
	IdN            optional.String
	IdLte          optional.String
	IdLt           optional.String
	IdGte          optional.String
	IdGt           optional.String
	TenantGroupIdN optional.String
	TenantGroupN   optional.String
	TenantIdN      optional.String
	TenantN        optional.String
	VrfIdN         optional.String
	VrfN           optional.String
	RegionIdN      optional.String
	RegionN        optional.String
	SiteIdN        optional.String
	SiteN          optional.String
	VlanIdN        optional.String
	RoleIdN        optional.String
	RoleN          optional.String
	StatusN        optional.String
	TagN           optional.String
	Limit          optional.Int32
	Offset         optional.Int32
}

type IpamApiIpamRirsListOpts

type IpamApiIpamRirsListOpts struct {
	Id              optional.String
	Name            optional.String
	Slug            optional.String
	IsPrivate       optional.String
	Description     optional.String
	Q               optional.String
	IdN             optional.String
	IdLte           optional.String
	IdLt            optional.String
	IdGte           optional.String
	IdGt            optional.String
	NameN           optional.String
	NameIc          optional.String
	NameNic         optional.String
	NameIew         optional.String
	NameNiew        optional.String
	NameIsw         optional.String
	NameNisw        optional.String
	NameIe          optional.String
	NameNie         optional.String
	SlugN           optional.String
	SlugIc          optional.String
	SlugNic         optional.String
	SlugIew         optional.String
	SlugNiew        optional.String
	SlugIsw         optional.String
	SlugNisw        optional.String
	SlugIe          optional.String
	SlugNie         optional.String
	DescriptionN    optional.String
	DescriptionIc   optional.String
	DescriptionNic  optional.String
	DescriptionIew  optional.String
	DescriptionNiew optional.String
	DescriptionIsw  optional.String
	DescriptionNisw optional.String
	DescriptionIe   optional.String
	DescriptionNie  optional.String
	Limit           optional.Int32
	Offset          optional.Int32
}

type IpamApiIpamRolesListOpts

type IpamApiIpamRolesListOpts struct {
	Id       optional.String
	Name     optional.String
	Slug     optional.String
	Q        optional.String
	IdN      optional.String
	IdLte    optional.String
	IdLt     optional.String
	IdGte    optional.String
	IdGt     optional.String
	NameN    optional.String
	NameIc   optional.String
	NameNic  optional.String
	NameIew  optional.String
	NameNiew optional.String
	NameIsw  optional.String
	NameNisw optional.String
	NameIe   optional.String
	NameNie  optional.String
	SlugN    optional.String
	SlugIc   optional.String
	SlugNic  optional.String
	SlugIew  optional.String
	SlugNiew optional.String
	SlugIsw  optional.String
	SlugNisw optional.String
	SlugIe   optional.String
	SlugNie  optional.String
	Limit    optional.Int32
	Offset   optional.Int32
}

type IpamApiIpamServicesListOpts

type IpamApiIpamServicesListOpts struct {
	Id                optional.String
	Name              optional.String
	Protocol          optional.String
	Port              optional.String
	Created           optional.String
	CreatedGte        optional.String
	CreatedLte        optional.String
	LastUpdated       optional.String
	LastUpdatedGte    optional.String
	LastUpdatedLte    optional.String
	Q                 optional.String
	DeviceId          optional.String
	Device            optional.String
	VirtualMachineId  optional.String
	VirtualMachine    optional.String
	Tag               optional.String
	IdN               optional.String
	IdLte             optional.String
	IdLt              optional.String
	IdGte             optional.String
	IdGt              optional.String
	NameN             optional.String
	NameIc            optional.String
	NameNic           optional.String
	NameIew           optional.String
	NameNiew          optional.String
	NameIsw           optional.String
	NameNisw          optional.String
	NameIe            optional.String
	NameNie           optional.String
	ProtocolN         optional.String
	PortN             optional.String
	PortLte           optional.String
	PortLt            optional.String
	PortGte           optional.String
	PortGt            optional.String
	DeviceIdN         optional.String
	DeviceN           optional.String
	VirtualMachineIdN optional.String
	VirtualMachineN   optional.String
	TagN              optional.String
	Limit             optional.Int32
	Offset            optional.Int32
}

type IpamApiIpamVlanGroupsListOpts

type IpamApiIpamVlanGroupsListOpts struct {
	Id              optional.String
	Name            optional.String
	Slug            optional.String
	Description     optional.String
	Q               optional.String
	RegionId        optional.String
	Region          optional.String
	SiteId          optional.String
	Site            optional.String
	IdN             optional.String
	IdLte           optional.String
	IdLt            optional.String
	IdGte           optional.String
	IdGt            optional.String
	NameN           optional.String
	NameIc          optional.String
	NameNic         optional.String
	NameIew         optional.String
	NameNiew        optional.String
	NameIsw         optional.String
	NameNisw        optional.String
	NameIe          optional.String
	NameNie         optional.String
	SlugN           optional.String
	SlugIc          optional.String
	SlugNic         optional.String
	SlugIew         optional.String
	SlugNiew        optional.String
	SlugIsw         optional.String
	SlugNisw        optional.String
	SlugIe          optional.String
	SlugNie         optional.String
	DescriptionN    optional.String
	DescriptionIc   optional.String
	DescriptionNic  optional.String
	DescriptionIew  optional.String
	DescriptionNiew optional.String
	DescriptionIsw  optional.String
	DescriptionNisw optional.String
	DescriptionIe   optional.String
	DescriptionNie  optional.String
	RegionIdN       optional.String
	RegionN         optional.String
	SiteIdN         optional.String
	SiteN           optional.String
	Limit           optional.Int32
	Offset          optional.Int32
}

type IpamApiIpamVlansListOpts

type IpamApiIpamVlansListOpts struct {
	Id             optional.String
	Vid            optional.String
	Name           optional.String
	TenantGroupId  optional.String
	TenantGroup    optional.String
	TenantId       optional.String
	Tenant         optional.String
	Created        optional.String
	CreatedGte     optional.String
	CreatedLte     optional.String
	LastUpdated    optional.String
	LastUpdatedGte optional.String
	LastUpdatedLte optional.String
	Q              optional.String
	RegionId       optional.String
	Region         optional.String
	SiteId         optional.String
	Site           optional.String
	GroupId        optional.String
	Group          optional.String
	RoleId         optional.String
	Role           optional.String
	Status         optional.String
	Tag            optional.String
	IdN            optional.String
	IdLte          optional.String
	IdLt           optional.String
	IdGte          optional.String
	IdGt           optional.String
	VidN           optional.String
	VidLte         optional.String
	VidLt          optional.String
	VidGte         optional.String
	VidGt          optional.String
	NameN          optional.String
	NameIc         optional.String
	NameNic        optional.String
	NameIew        optional.String
	NameNiew       optional.String
	NameIsw        optional.String
	NameNisw       optional.String
	NameIe         optional.String
	NameNie        optional.String
	TenantGroupIdN optional.String
	TenantGroupN   optional.String
	TenantIdN      optional.String
	TenantN        optional.String
	RegionIdN      optional.String
	RegionN        optional.String
	SiteIdN        optional.String
	SiteN          optional.String
	GroupIdN       optional.String
	GroupN         optional.String
	RoleIdN        optional.String
	RoleN          optional.String
	StatusN        optional.String
	TagN           optional.String
	Limit          optional.Int32
	Offset         optional.Int32
}

type IpamApiIpamVrfsListOpts

type IpamApiIpamVrfsListOpts struct {
	Id             optional.String
	Name           optional.String
	Rd             optional.String
	EnforceUnique  optional.String
	TenantGroupId  optional.String
	TenantGroup    optional.String
	TenantId       optional.String
	Tenant         optional.String
	Created        optional.String
	CreatedGte     optional.String
	CreatedLte     optional.String
	LastUpdated    optional.String
	LastUpdatedGte optional.String
	LastUpdatedLte optional.String
	Q              optional.String
	Tag            optional.String
	IdN            optional.String
	IdLte          optional.String
	IdLt           optional.String
	IdGte          optional.String
	IdGt           optional.String
	NameN          optional.String
	NameIc         optional.String
	NameNic        optional.String
	NameIew        optional.String
	NameNiew       optional.String
	NameIsw        optional.String
	NameNisw       optional.String
	NameIe         optional.String
	NameNie        optional.String
	RdN            optional.String
	RdIc           optional.String
	RdNic          optional.String
	RdIew          optional.String
	RdNiew         optional.String
	RdIsw          optional.String
	RdNisw         optional.String
	RdIe           optional.String
	RdNie          optional.String
	TenantGroupIdN optional.String
	TenantGroupN   optional.String
	TenantIdN      optional.String
	TenantN        optional.String
	TagN           optional.String
	Limit          optional.Int32
	Offset         optional.Int32
}

type IpamApiService

type IpamApiService service

func (*IpamApiService) IpamAggregatesCreate

func (a *IpamApiService) IpamAggregatesCreate(ctx context.Context, data WritableAggregate) (Aggregate, *http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return Aggregate

func (*IpamApiService) IpamAggregatesDelete

func (a *IpamApiService) IpamAggregatesDelete(ctx context.Context, id int32) (*http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this aggregate.

func (*IpamApiService) IpamAggregatesList

func (a *IpamApiService) IpamAggregatesList(ctx context.Context, localVarOptionals *IpamApiIpamAggregatesListOpts) (InlineResponse20043, *http.Response, error)

func (*IpamApiService) IpamAggregatesPartialUpdate

func (a *IpamApiService) IpamAggregatesPartialUpdate(ctx context.Context, id int32, data WritableAggregate) (Aggregate, *http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this aggregate.
  • @param data

@return Aggregate

func (*IpamApiService) IpamAggregatesRead

func (a *IpamApiService) IpamAggregatesRead(ctx context.Context, id int32) (Aggregate, *http.Response, error)

IpamApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this aggregate.

@return Aggregate

func (*IpamApiService) IpamAggregatesUpdate

func (a *IpamApiService) IpamAggregatesUpdate(ctx context.Context, id int32, data WritableAggregate) (Aggregate, *http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this aggregate.
  • @param data

@return Aggregate

func (*IpamApiService) IpamIpAddressesCreate

func (a *IpamApiService) IpamIpAddressesCreate(ctx context.Context, data WritableIpAddress) (IpAddress, *http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return IpAddress

func (*IpamApiService) IpamIpAddressesDelete

func (a *IpamApiService) IpamIpAddressesDelete(ctx context.Context, id int32) (*http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this IP address.

func (*IpamApiService) IpamIpAddressesList

func (a *IpamApiService) IpamIpAddressesList(ctx context.Context, localVarOptionals *IpamApiIpamIpAddressesListOpts) (InlineResponse20044, *http.Response, error)

func (*IpamApiService) IpamIpAddressesPartialUpdate

func (a *IpamApiService) IpamIpAddressesPartialUpdate(ctx context.Context, id int32, data WritableIpAddress) (IpAddress, *http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this IP address.
  • @param data

@return IpAddress

func (*IpamApiService) IpamIpAddressesRead

func (a *IpamApiService) IpamIpAddressesRead(ctx context.Context, id int32) (IpAddress, *http.Response, error)

IpamApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this IP address.

@return IpAddress

func (*IpamApiService) IpamIpAddressesUpdate

func (a *IpamApiService) IpamIpAddressesUpdate(ctx context.Context, id int32, data WritableIpAddress) (IpAddress, *http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this IP address.
  • @param data

@return IpAddress

func (*IpamApiService) IpamPrefixesAvailableIpsCreate

func (a *IpamApiService) IpamPrefixesAvailableIpsCreate(ctx context.Context, id int32, data WritablePrefix) ([]AvailableIp, *http.Response, error)

IpamApiService A convenience method for returning available IP addresses within a prefix. By default, the number of IPs returned will be equivalent to PAGINATE_COUNT. An arbitrary limit (up to MAX_PAGE_SIZE, if set) may be passed, however results will not be paginated. The advisory lock decorator uses a PostgreSQL advisory lock to prevent this API from being invoked in parallel, which results in a race condition where multiple insertions can occur.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this prefix.
  • @param data

@return []AvailableIp

func (*IpamApiService) IpamPrefixesAvailableIpsRead

func (a *IpamApiService) IpamPrefixesAvailableIpsRead(ctx context.Context, id int32) ([]AvailableIp, *http.Response, error)

IpamApiService A convenience method for returning available IP addresses within a prefix. By default, the number of IPs returned will be equivalent to PAGINATE_COUNT. An arbitrary limit (up to MAX_PAGE_SIZE, if set) may be passed, however results will not be paginated. The advisory lock decorator uses a PostgreSQL advisory lock to prevent this API from being invoked in parallel, which results in a race condition where multiple insertions can occur.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this prefix.

@return []AvailableIp

func (*IpamApiService) IpamPrefixesAvailablePrefixesCreate

func (a *IpamApiService) IpamPrefixesAvailablePrefixesCreate(ctx context.Context, id int32, data WritablePrefix) ([]AvailablePrefix, *http.Response, error)

IpamApiService A convenience method for returning available child prefixes within a parent. The advisory lock decorator uses a PostgreSQL advisory lock to prevent this API from being invoked in parallel, which results in a race condition where multiple insertions can occur.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this prefix.
  • @param data

@return []AvailablePrefix

func (*IpamApiService) IpamPrefixesAvailablePrefixesRead

func (a *IpamApiService) IpamPrefixesAvailablePrefixesRead(ctx context.Context, id int32) ([]AvailablePrefix, *http.Response, error)

IpamApiService A convenience method for returning available child prefixes within a parent. The advisory lock decorator uses a PostgreSQL advisory lock to prevent this API from being invoked in parallel, which results in a race condition where multiple insertions can occur.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this prefix.

@return []AvailablePrefix

func (*IpamApiService) IpamPrefixesCreate

func (a *IpamApiService) IpamPrefixesCreate(ctx context.Context, data WritablePrefix) (Prefix, *http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return Prefix

func (*IpamApiService) IpamPrefixesDelete

func (a *IpamApiService) IpamPrefixesDelete(ctx context.Context, id int32) (*http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this prefix.

func (*IpamApiService) IpamPrefixesList

func (a *IpamApiService) IpamPrefixesList(ctx context.Context, localVarOptionals *IpamApiIpamPrefixesListOpts) (InlineResponse20045, *http.Response, error)

func (*IpamApiService) IpamPrefixesPartialUpdate

func (a *IpamApiService) IpamPrefixesPartialUpdate(ctx context.Context, id int32, data WritablePrefix) (Prefix, *http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this prefix.
  • @param data

@return Prefix

func (*IpamApiService) IpamPrefixesRead

func (a *IpamApiService) IpamPrefixesRead(ctx context.Context, id int32) (Prefix, *http.Response, error)

IpamApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this prefix.

@return Prefix

func (*IpamApiService) IpamPrefixesUpdate

func (a *IpamApiService) IpamPrefixesUpdate(ctx context.Context, id int32, data WritablePrefix) (Prefix, *http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this prefix.
  • @param data

@return Prefix

func (*IpamApiService) IpamRirsCreate

func (a *IpamApiService) IpamRirsCreate(ctx context.Context, data Rir) (Rir, *http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return Rir

func (*IpamApiService) IpamRirsDelete

func (a *IpamApiService) IpamRirsDelete(ctx context.Context, id int32) (*http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this RIR.

func (*IpamApiService) IpamRirsList

func (a *IpamApiService) IpamRirsList(ctx context.Context, localVarOptionals *IpamApiIpamRirsListOpts) (InlineResponse20046, *http.Response, error)

func (*IpamApiService) IpamRirsPartialUpdate

func (a *IpamApiService) IpamRirsPartialUpdate(ctx context.Context, id int32, data Rir) (Rir, *http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this RIR.
  • @param data

@return Rir

func (*IpamApiService) IpamRirsRead

func (a *IpamApiService) IpamRirsRead(ctx context.Context, id int32) (Rir, *http.Response, error)

IpamApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this RIR.

@return Rir

func (*IpamApiService) IpamRirsUpdate

func (a *IpamApiService) IpamRirsUpdate(ctx context.Context, id int32, data Rir) (Rir, *http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this RIR.
  • @param data

@return Rir

func (*IpamApiService) IpamRolesCreate

func (a *IpamApiService) IpamRolesCreate(ctx context.Context, data Role) (Role, *http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return Role

func (*IpamApiService) IpamRolesDelete

func (a *IpamApiService) IpamRolesDelete(ctx context.Context, id int32) (*http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this role.

func (*IpamApiService) IpamRolesList

func (a *IpamApiService) IpamRolesList(ctx context.Context, localVarOptionals *IpamApiIpamRolesListOpts) (InlineResponse20047, *http.Response, error)

func (*IpamApiService) IpamRolesPartialUpdate

func (a *IpamApiService) IpamRolesPartialUpdate(ctx context.Context, id int32, data Role) (Role, *http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this role.
  • @param data

@return Role

func (*IpamApiService) IpamRolesRead

func (a *IpamApiService) IpamRolesRead(ctx context.Context, id int32) (Role, *http.Response, error)

IpamApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this role.

@return Role

func (*IpamApiService) IpamRolesUpdate

func (a *IpamApiService) IpamRolesUpdate(ctx context.Context, id int32, data Role) (Role, *http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this role.
  • @param data

@return Role

func (*IpamApiService) IpamServicesCreate

func (a *IpamApiService) IpamServicesCreate(ctx context.Context, data WritableService) (Service, *http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return Service

func (*IpamApiService) IpamServicesDelete

func (a *IpamApiService) IpamServicesDelete(ctx context.Context, id int32) (*http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this service.

func (*IpamApiService) IpamServicesList

func (a *IpamApiService) IpamServicesList(ctx context.Context, localVarOptionals *IpamApiIpamServicesListOpts) (InlineResponse20048, *http.Response, error)

func (*IpamApiService) IpamServicesPartialUpdate

func (a *IpamApiService) IpamServicesPartialUpdate(ctx context.Context, id int32, data WritableService) (Service, *http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this service.
  • @param data

@return Service

func (*IpamApiService) IpamServicesRead

func (a *IpamApiService) IpamServicesRead(ctx context.Context, id int32) (Service, *http.Response, error)

IpamApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this service.

@return Service

func (*IpamApiService) IpamServicesUpdate

func (a *IpamApiService) IpamServicesUpdate(ctx context.Context, id int32, data WritableService) (Service, *http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this service.
  • @param data

@return Service

func (*IpamApiService) IpamVlanGroupsCreate

func (a *IpamApiService) IpamVlanGroupsCreate(ctx context.Context, data WritableVlanGroup) (VlanGroup, *http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return VlanGroup

func (*IpamApiService) IpamVlanGroupsDelete

func (a *IpamApiService) IpamVlanGroupsDelete(ctx context.Context, id int32) (*http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this VLAN group.

func (*IpamApiService) IpamVlanGroupsList

func (a *IpamApiService) IpamVlanGroupsList(ctx context.Context, localVarOptionals *IpamApiIpamVlanGroupsListOpts) (InlineResponse20049, *http.Response, error)

func (*IpamApiService) IpamVlanGroupsPartialUpdate

func (a *IpamApiService) IpamVlanGroupsPartialUpdate(ctx context.Context, id int32, data WritableVlanGroup) (VlanGroup, *http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this VLAN group.
  • @param data

@return VlanGroup

func (*IpamApiService) IpamVlanGroupsRead

func (a *IpamApiService) IpamVlanGroupsRead(ctx context.Context, id int32) (VlanGroup, *http.Response, error)

IpamApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this VLAN group.

@return VlanGroup

func (*IpamApiService) IpamVlanGroupsUpdate

func (a *IpamApiService) IpamVlanGroupsUpdate(ctx context.Context, id int32, data WritableVlanGroup) (VlanGroup, *http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this VLAN group.
  • @param data

@return VlanGroup

func (*IpamApiService) IpamVlansCreate

func (a *IpamApiService) IpamVlansCreate(ctx context.Context, data WritableVlan) (Vlan, *http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return Vlan

func (*IpamApiService) IpamVlansDelete

func (a *IpamApiService) IpamVlansDelete(ctx context.Context, id int32) (*http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this VLAN.

func (*IpamApiService) IpamVlansList

func (a *IpamApiService) IpamVlansList(ctx context.Context, localVarOptionals *IpamApiIpamVlansListOpts) (InlineResponse20050, *http.Response, error)

func (*IpamApiService) IpamVlansPartialUpdate

func (a *IpamApiService) IpamVlansPartialUpdate(ctx context.Context, id int32, data WritableVlan) (Vlan, *http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this VLAN.
  • @param data

@return Vlan

func (*IpamApiService) IpamVlansRead

func (a *IpamApiService) IpamVlansRead(ctx context.Context, id int32) (Vlan, *http.Response, error)

IpamApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this VLAN.

@return Vlan

func (*IpamApiService) IpamVlansUpdate

func (a *IpamApiService) IpamVlansUpdate(ctx context.Context, id int32, data WritableVlan) (Vlan, *http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this VLAN.
  • @param data

@return Vlan

func (*IpamApiService) IpamVrfsCreate

func (a *IpamApiService) IpamVrfsCreate(ctx context.Context, data WritableVrf) (Vrf, *http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return Vrf

func (*IpamApiService) IpamVrfsDelete

func (a *IpamApiService) IpamVrfsDelete(ctx context.Context, id int32) (*http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this VRF.

func (*IpamApiService) IpamVrfsList

func (a *IpamApiService) IpamVrfsList(ctx context.Context, localVarOptionals *IpamApiIpamVrfsListOpts) (InlineResponse20051, *http.Response, error)

func (*IpamApiService) IpamVrfsPartialUpdate

func (a *IpamApiService) IpamVrfsPartialUpdate(ctx context.Context, id int32, data WritableVrf) (Vrf, *http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this VRF.
  • @param data

@return Vrf

func (*IpamApiService) IpamVrfsRead

func (a *IpamApiService) IpamVrfsRead(ctx context.Context, id int32) (Vrf, *http.Response, error)

IpamApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this VRF.

@return Vrf

func (*IpamApiService) IpamVrfsUpdate

func (a *IpamApiService) IpamVrfsUpdate(ctx context.Context, id int32, data WritableVrf) (Vrf, *http.Response, error)

IpamApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this VRF.
  • @param data

@return Vrf

type LengthUnit

type LengthUnit struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type Manufacturer

type Manufacturer struct {
	Id                 int32  `json:"id,omitempty"`
	Name               string `json:"name"`
	Slug               string `json:"slug"`
	Description        string `json:"description,omitempty"`
	DevicetypeCount    int32  `json:"devicetype_count,omitempty"`
	InventoryitemCount int32  `json:"inventoryitem_count,omitempty"`
	PlatformCount      int32  `json:"platform_count,omitempty"`
}

type Mode

type Mode struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type ModelType

type ModelType struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type NestedCable

type NestedCable struct {
	Id    int32  `json:"id,omitempty"`
	Url   string `json:"url,omitempty"`
	Label string `json:"label,omitempty"`
}

type NestedCircuit

type NestedCircuit struct {
	Id  int32  `json:"id,omitempty"`
	Url string `json:"url,omitempty"`
	Cid string `json:"cid"`
}

type NestedCircuitType

type NestedCircuitType struct {
	Id           int32  `json:"id,omitempty"`
	Url          string `json:"url,omitempty"`
	Name         string `json:"name"`
	Slug         string `json:"slug"`
	CircuitCount int32  `json:"circuit_count,omitempty"`
}

type NestedCluster

type NestedCluster struct {
	Id                  int32  `json:"id,omitempty"`
	Url                 string `json:"url,omitempty"`
	Name                string `json:"name"`
	VirtualmachineCount int32  `json:"virtualmachine_count,omitempty"`
}

type NestedClusterGroup

type NestedClusterGroup struct {
	Id           int32  `json:"id,omitempty"`
	Url          string `json:"url,omitempty"`
	Name         string `json:"name"`
	Slug         string `json:"slug"`
	ClusterCount int32  `json:"cluster_count,omitempty"`
}

type NestedClusterType

type NestedClusterType struct {
	Id           int32  `json:"id,omitempty"`
	Url          string `json:"url,omitempty"`
	Name         string `json:"name"`
	Slug         string `json:"slug"`
	ClusterCount int32  `json:"cluster_count,omitempty"`
}

type NestedDevice

type NestedDevice struct {
	Id          int32  `json:"id,omitempty"`
	Url         string `json:"url,omitempty"`
	Name        string `json:"name,omitempty"`
	DisplayName string `json:"display_name,omitempty"`
}

type NestedDeviceRole

type NestedDeviceRole struct {
	Id                  int32  `json:"id,omitempty"`
	Url                 string `json:"url,omitempty"`
	Name                string `json:"name"`
	Slug                string `json:"slug"`
	DeviceCount         int32  `json:"device_count,omitempty"`
	VirtualmachineCount int32  `json:"virtualmachine_count,omitempty"`
}

type NestedDeviceType

type NestedDeviceType struct {
	Id           int32               `json:"id,omitempty"`
	Url          string              `json:"url,omitempty"`
	Manufacturer *NestedManufacturer `json:"manufacturer,omitempty"`
	Model        string              `json:"model"`
	Slug         string              `json:"slug"`
	DisplayName  string              `json:"display_name,omitempty"`
	DeviceCount  int32               `json:"device_count,omitempty"`
}

type NestedInterface

type NestedInterface struct {
	Id               int32             `json:"id,omitempty"`
	Url              string            `json:"url,omitempty"`
	Device           *NestedDevice     `json:"device,omitempty"`
	Name             string            `json:"name"`
	Cable            int32             `json:"cable,omitempty"`
	ConnectionStatus *ConnectionStatus `json:"connection_status,omitempty"`
}

type NestedIpAddress

type NestedIpAddress struct {
	Id     int32  `json:"id,omitempty"`
	Url    string `json:"url,omitempty"`
	Family string `json:"family,omitempty"`
	// IPv4 or IPv6 address (with mask)
	Address string `json:"address"`
}

type NestedManufacturer

type NestedManufacturer struct {
	Id              int32  `json:"id,omitempty"`
	Url             string `json:"url,omitempty"`
	Name            string `json:"name"`
	Slug            string `json:"slug"`
	DevicetypeCount int32  `json:"devicetype_count,omitempty"`
}

type NestedPlatform

type NestedPlatform struct {
	Id                  int32  `json:"id,omitempty"`
	Url                 string `json:"url,omitempty"`
	Name                string `json:"name"`
	Slug                string `json:"slug"`
	DeviceCount         int32  `json:"device_count,omitempty"`
	VirtualmachineCount int32  `json:"virtualmachine_count,omitempty"`
}

type NestedPowerPanel

type NestedPowerPanel struct {
	Id             int32  `json:"id,omitempty"`
	Url            string `json:"url,omitempty"`
	Name           string `json:"name"`
	PowerfeedCount int32  `json:"powerfeed_count,omitempty"`
}

type NestedPowerPort

type NestedPowerPort struct {
	Id               int32             `json:"id,omitempty"`
	Url              string            `json:"url,omitempty"`
	Device           *NestedDevice     `json:"device,omitempty"`
	Name             string            `json:"name"`
	Cable            int32             `json:"cable,omitempty"`
	ConnectionStatus *ConnectionStatus `json:"connection_status,omitempty"`
}

type NestedPowerPortTemplate

type NestedPowerPortTemplate struct {
	Id   int32  `json:"id,omitempty"`
	Url  string `json:"url,omitempty"`
	Name string `json:"name"`
}

type NestedProvider

type NestedProvider struct {
	Id           int32  `json:"id,omitempty"`
	Url          string `json:"url,omitempty"`
	Name         string `json:"name"`
	Slug         string `json:"slug"`
	CircuitCount int32  `json:"circuit_count,omitempty"`
}

type NestedRack

type NestedRack struct {
	Id          int32  `json:"id,omitempty"`
	Url         string `json:"url,omitempty"`
	Name        string `json:"name"`
	DisplayName string `json:"display_name,omitempty"`
	DeviceCount int32  `json:"device_count,omitempty"`
}

type NestedRackGroup

type NestedRackGroup struct {
	Id        int32  `json:"id,omitempty"`
	Url       string `json:"url,omitempty"`
	Name      string `json:"name"`
	Slug      string `json:"slug"`
	RackCount int32  `json:"rack_count,omitempty"`
}

type NestedRackRole

type NestedRackRole struct {
	Id        int32  `json:"id,omitempty"`
	Url       string `json:"url,omitempty"`
	Name      string `json:"name"`
	Slug      string `json:"slug"`
	RackCount int32  `json:"rack_count,omitempty"`
}

type NestedRearPortTemplate

type NestedRearPortTemplate struct {
	Id   int32  `json:"id,omitempty"`
	Url  string `json:"url,omitempty"`
	Name string `json:"name"`
}

type NestedRegion

type NestedRegion struct {
	Id        int32  `json:"id,omitempty"`
	Url       string `json:"url,omitempty"`
	Name      string `json:"name"`
	Slug      string `json:"slug"`
	SiteCount int32  `json:"site_count,omitempty"`
}

type NestedRir

type NestedRir struct {
	Id             int32  `json:"id,omitempty"`
	Url            string `json:"url,omitempty"`
	Name           string `json:"name"`
	Slug           string `json:"slug"`
	AggregateCount int32  `json:"aggregate_count,omitempty"`
}

type NestedRole

type NestedRole struct {
	Id          int32  `json:"id,omitempty"`
	Url         string `json:"url,omitempty"`
	Name        string `json:"name"`
	Slug        string `json:"slug"`
	PrefixCount int32  `json:"prefix_count,omitempty"`
	VlanCount   int32  `json:"vlan_count,omitempty"`
}

type NestedSecretRole

type NestedSecretRole struct {
	Id          int32  `json:"id,omitempty"`
	Url         string `json:"url,omitempty"`
	Name        string `json:"name"`
	Slug        string `json:"slug"`
	SecretCount int32  `json:"secret_count,omitempty"`
}

type NestedSite

type NestedSite struct {
	Id   int32  `json:"id,omitempty"`
	Url  string `json:"url,omitempty"`
	Name string `json:"name"`
	Slug string `json:"slug"`
}

type NestedTenant

type NestedTenant struct {
	Id   int32  `json:"id,omitempty"`
	Url  string `json:"url,omitempty"`
	Name string `json:"name"`
	Slug string `json:"slug"`
}

type NestedTenantGroup

type NestedTenantGroup struct {
	Id          int32  `json:"id,omitempty"`
	Url         string `json:"url,omitempty"`
	Name        string `json:"name"`
	Slug        string `json:"slug"`
	TenantCount int32  `json:"tenant_count,omitempty"`
}

type NestedUser

type NestedUser struct {
	Id int32 `json:"id,omitempty"`
	// Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
	Username string `json:"username"`
}

type NestedVirtualChassis

type NestedVirtualChassis struct {
	Id          int32         `json:"id,omitempty"`
	Url         string        `json:"url,omitempty"`
	Master      *NestedDevice `json:"master"`
	MemberCount int32         `json:"member_count,omitempty"`
}

type NestedVirtualMachine

type NestedVirtualMachine struct {
	Id   int32  `json:"id,omitempty"`
	Url  string `json:"url,omitempty"`
	Name string `json:"name"`
}

type NestedVlan

type NestedVlan struct {
	Id          int32  `json:"id,omitempty"`
	Url         string `json:"url,omitempty"`
	Vid         int32  `json:"vid"`
	Name        string `json:"name"`
	DisplayName string `json:"display_name,omitempty"`
}

type NestedVlanGroup

type NestedVlanGroup struct {
	Id        int32  `json:"id,omitempty"`
	Url       string `json:"url,omitempty"`
	Name      string `json:"name"`
	Slug      string `json:"slug"`
	VlanCount int32  `json:"vlan_count,omitempty"`
}

type NestedVrf

type NestedVrf struct {
	Id   int32  `json:"id,omitempty"`
	Url  string `json:"url,omitempty"`
	Name string `json:"name"`
	// Unique route distinguisher (as defined in RFC 4364)
	Rd          string `json:"rd,omitempty"`
	PrefixCount int32  `json:"prefix_count,omitempty"`
}

type ObjectChange

type ObjectChange struct {
	Id                int32       `json:"id,omitempty"`
	Time              time.Time   `json:"time,omitempty"`
	User              *NestedUser `json:"user,omitempty"`
	UserName          string      `json:"user_name,omitempty"`
	RequestId         string      `json:"request_id,omitempty"`
	Action            *Action     `json:"action,omitempty"`
	ChangedObjectType string      `json:"changed_object_type,omitempty"`
	ChangedObjectId   int32       `json:"changed_object_id"`
	//  Serialize a nested representation of the changed object.
	ChangedObject map[string]string `json:"changed_object,omitempty"`
	ObjectData    string            `json:"object_data,omitempty"`
}

type OuterUnit

type OuterUnit struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type Phase

type Phase struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type Platform

type Platform struct {
	Id           int32               `json:"id,omitempty"`
	Name         string              `json:"name"`
	Slug         string              `json:"slug"`
	Manufacturer *NestedManufacturer `json:"manufacturer,omitempty"`
	// The name of the NAPALM driver to use when interacting with devices
	NapalmDriver string `json:"napalm_driver,omitempty"`
	// Additional arguments to pass when initiating the NAPALM driver (JSON format)
	NapalmArgs          string `json:"napalm_args,omitempty"`
	Description         string `json:"description,omitempty"`
	DeviceCount         int32  `json:"device_count,omitempty"`
	VirtualmachineCount int32  `json:"virtualmachine_count,omitempty"`
}

type PowerFeed

type PowerFeed struct {
	Id         int32             `json:"id,omitempty"`
	PowerPanel *NestedPowerPanel `json:"power_panel"`
	Rack       *NestedRack       `json:"rack,omitempty"`
	Name       string            `json:"name"`
	Status     *Status3          `json:"status,omitempty"`
	Type_      *Type4            `json:"type,omitempty"`
	Supply     *Supply           `json:"supply,omitempty"`
	Phase      *Phase            `json:"phase,omitempty"`
	Voltage    int32             `json:"voltage,omitempty"`
	Amperage   int32             `json:"amperage,omitempty"`
	// Maximum permissible draw (percentage)
	MaxUtilization int32        `json:"max_utilization,omitempty"`
	Comments       string       `json:"comments,omitempty"`
	Tags           []string     `json:"tags,omitempty"`
	CustomFields   *interface{} `json:"custom_fields,omitempty"`
	Created        string       `json:"created,omitempty"`
	LastUpdated    time.Time    `json:"last_updated,omitempty"`
}

type PowerOutlet

type PowerOutlet struct {
	Id                    int32            `json:"id,omitempty"`
	Device                *NestedDevice    `json:"device"`
	Name                  string           `json:"name"`
	Type_                 *Type5           `json:"type,omitempty"`
	PowerPort             *NestedPowerPort `json:"power_port,omitempty"`
	FeedLeg               *FeedLeg         `json:"feed_leg,omitempty"`
	Description           string           `json:"description,omitempty"`
	ConnectedEndpointType string           `json:"connected_endpoint_type,omitempty"`
	//  Return the appropriate serializer for the type of connected object.
	ConnectedEndpoint map[string]string `json:"connected_endpoint,omitempty"`
	ConnectionStatus  *ConnectionStatus `json:"connection_status,omitempty"`
	Cable             *NestedCable      `json:"cable,omitempty"`
	Tags              []string          `json:"tags,omitempty"`
}

type PowerOutletTemplate

type PowerOutletTemplate struct {
	Id         int32                    `json:"id,omitempty"`
	DeviceType *NestedDeviceType        `json:"device_type"`
	Name       string                   `json:"name"`
	Type_      *Type5                   `json:"type,omitempty"`
	PowerPort  *NestedPowerPortTemplate `json:"power_port,omitempty"`
	FeedLeg    *FeedLeg                 `json:"feed_leg,omitempty"`
}

type PowerPanel

type PowerPanel struct {
	Id             int32            `json:"id,omitempty"`
	Site           *NestedSite      `json:"site"`
	RackGroup      *NestedRackGroup `json:"rack_group,omitempty"`
	Name           string           `json:"name"`
	PowerfeedCount int32            `json:"powerfeed_count,omitempty"`
}

type PowerPort

type PowerPort struct {
	Id     int32         `json:"id,omitempty"`
	Device *NestedDevice `json:"device"`
	Name   string        `json:"name"`
	Type_  *Type3        `json:"type,omitempty"`
	// Maximum power draw (watts)
	MaximumDraw int32 `json:"maximum_draw,omitempty"`
	// Allocated power draw (watts)
	AllocatedDraw         int32  `json:"allocated_draw,omitempty"`
	Description           string `json:"description,omitempty"`
	ConnectedEndpointType string `json:"connected_endpoint_type,omitempty"`
	//  Return the appropriate serializer for the type of connected object.
	ConnectedEndpoint map[string]string `json:"connected_endpoint,omitempty"`
	ConnectionStatus  *ConnectionStatus `json:"connection_status,omitempty"`
	Cable             *NestedCable      `json:"cable,omitempty"`
	Tags              []string          `json:"tags,omitempty"`
}

type PowerPortTemplate

type PowerPortTemplate struct {
	Id         int32             `json:"id,omitempty"`
	DeviceType *NestedDeviceType `json:"device_type"`
	Name       string            `json:"name"`
	Type_      *Type3            `json:"type,omitempty"`
	// Maximum power draw (watts)
	MaximumDraw int32 `json:"maximum_draw,omitempty"`
	// Allocated power draw (watts)
	AllocatedDraw int32 `json:"allocated_draw,omitempty"`
}

type Prefix

type Prefix struct {
	Id     int32   `json:"id,omitempty"`
	Family *Family `json:"family,omitempty"`
	// IPv4 or IPv6 network with mask
	Prefix string        `json:"prefix"`
	Site   *NestedSite   `json:"site,omitempty"`
	Vrf    *NestedVrf    `json:"vrf,omitempty"`
	Tenant *NestedTenant `json:"tenant,omitempty"`
	Vlan   *NestedVlan   `json:"vlan,omitempty"`
	Status *Status7      `json:"status,omitempty"`
	Role   *NestedRole   `json:"role,omitempty"`
	// All IP addresses within this prefix are considered usable
	IsPool       bool         `json:"is_pool,omitempty"`
	Description  string       `json:"description,omitempty"`
	Tags         []string     `json:"tags,omitempty"`
	CustomFields *interface{} `json:"custom_fields,omitempty"`
	Created      string       `json:"created,omitempty"`
	LastUpdated  time.Time    `json:"last_updated,omitempty"`
}

type Protocol

type Protocol struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type Provider

type Provider struct {
	Id   int32  `json:"id,omitempty"`
	Name string `json:"name"`
	Slug string `json:"slug"`
	// 32-bit autonomous system number
	Asn          int32        `json:"asn,omitempty"`
	Account      string       `json:"account,omitempty"`
	PortalUrl    string       `json:"portal_url,omitempty"`
	NocContact   string       `json:"noc_contact,omitempty"`
	AdminContact string       `json:"admin_contact,omitempty"`
	Comments     string       `json:"comments,omitempty"`
	Tags         []string     `json:"tags,omitempty"`
	CustomFields *interface{} `json:"custom_fields,omitempty"`
	Created      string       `json:"created,omitempty"`
	LastUpdated  time.Time    `json:"last_updated,omitempty"`
	CircuitCount int32        `json:"circuit_count,omitempty"`
}

type Rack

type Rack struct {
	Id   int32  `json:"id,omitempty"`
	Name string `json:"name"`
	// Locally-assigned identifier
	FacilityId  string           `json:"facility_id,omitempty"`
	DisplayName string           `json:"display_name,omitempty"`
	Site        *NestedSite      `json:"site"`
	Group       *NestedRackGroup `json:"group,omitempty"`
	Tenant      *NestedTenant    `json:"tenant,omitempty"`
	Status      *Status4         `json:"status,omitempty"`
	Role        *NestedRackRole  `json:"role,omitempty"`
	Serial      string           `json:"serial,omitempty"`
	// A unique tag used to identify this rack
	AssetTag string `json:"asset_tag,omitempty"`
	Type_    *Type6 `json:"type,omitempty"`
	Width    *Width `json:"width,omitempty"`
	// Height in rack units
	UHeight int32 `json:"u_height,omitempty"`
	// Units are numbered top-to-bottom
	DescUnits bool `json:"desc_units,omitempty"`
	// Outer dimension of rack (width)
	OuterWidth int32 `json:"outer_width,omitempty"`
	// Outer dimension of rack (depth)
	OuterDepth     int32        `json:"outer_depth,omitempty"`
	OuterUnit      *OuterUnit   `json:"outer_unit,omitempty"`
	Comments       string       `json:"comments,omitempty"`
	Tags           []string     `json:"tags,omitempty"`
	CustomFields   *interface{} `json:"custom_fields,omitempty"`
	Created        string       `json:"created,omitempty"`
	LastUpdated    time.Time    `json:"last_updated,omitempty"`
	DeviceCount    int32        `json:"device_count,omitempty"`
	PowerfeedCount int32        `json:"powerfeed_count,omitempty"`
}

type RackGroup

type RackGroup struct {
	Id          int32            `json:"id,omitempty"`
	Name        string           `json:"name"`
	Slug        string           `json:"slug"`
	Site        *NestedSite      `json:"site"`
	Parent      *NestedRackGroup `json:"parent,omitempty"`
	Description string           `json:"description,omitempty"`
	RackCount   int32            `json:"rack_count,omitempty"`
}

type RackReservation

type RackReservation struct {
	Id          int32         `json:"id,omitempty"`
	Rack        *NestedRack   `json:"rack"`
	Units       []int32       `json:"units"`
	Created     string        `json:"created,omitempty"`
	User        *NestedUser   `json:"user"`
	Tenant      *NestedTenant `json:"tenant,omitempty"`
	Description string        `json:"description"`
}

type RackRole

type RackRole struct {
	Id          int32  `json:"id,omitempty"`
	Name        string `json:"name"`
	Slug        string `json:"slug"`
	Color       string `json:"color,omitempty"`
	Description string `json:"description,omitempty"`
	RackCount   int32  `json:"rack_count,omitempty"`
}

type RackUnit

type RackUnit struct {
	Id     int32         `json:"id,omitempty"`
	Name   string        `json:"name,omitempty"`
	Face   *Face         `json:"face,omitempty"`
	Device *NestedDevice `json:"device,omitempty"`
}

type RearPort

type RearPort struct {
	Id          int32         `json:"id,omitempty"`
	Device      *NestedDevice `json:"device"`
	Name        string        `json:"name"`
	Type_       *Type1        `json:"type"`
	Positions   int32         `json:"positions,omitempty"`
	Description string        `json:"description,omitempty"`
	Cable       *NestedCable  `json:"cable,omitempty"`
	Tags        []string      `json:"tags,omitempty"`
}

type RearPortTemplate

type RearPortTemplate struct {
	Id         int32             `json:"id,omitempty"`
	DeviceType *NestedDeviceType `json:"device_type"`
	Name       string            `json:"name"`
	Type_      *Type1            `json:"type"`
	Positions  int32             `json:"positions,omitempty"`
}

type Region

type Region struct {
	Id          int32         `json:"id,omitempty"`
	Name        string        `json:"name"`
	Slug        string        `json:"slug"`
	Parent      *NestedRegion `json:"parent,omitempty"`
	Description string        `json:"description,omitempty"`
	SiteCount   int32         `json:"site_count,omitempty"`
}

type Rir

type Rir struct {
	Id   int32  `json:"id,omitempty"`
	Name string `json:"name"`
	Slug string `json:"slug"`
	// IP space managed by this RIR is considered private
	IsPrivate      bool   `json:"is_private,omitempty"`
	Description    string `json:"description,omitempty"`
	AggregateCount int32  `json:"aggregate_count,omitempty"`
}

type Role

type Role struct {
	Id          int32  `json:"id,omitempty"`
	Name        string `json:"name"`
	Slug        string `json:"slug"`
	Weight      int32  `json:"weight,omitempty"`
	Description string `json:"description,omitempty"`
	PrefixCount int32  `json:"prefix_count,omitempty"`
	VlanCount   int32  `json:"vlan_count,omitempty"`
}

type Role1

type Role1 struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type Secret

type Secret struct {
	Id           int32             `json:"id,omitempty"`
	Device       *NestedDevice     `json:"device"`
	Role         *NestedSecretRole `json:"role"`
	Name         string            `json:"name,omitempty"`
	Plaintext    string            `json:"plaintext"`
	Hash         string            `json:"hash,omitempty"`
	Tags         []string          `json:"tags,omitempty"`
	CustomFields *interface{}      `json:"custom_fields,omitempty"`
	Created      string            `json:"created,omitempty"`
	LastUpdated  time.Time         `json:"last_updated,omitempty"`
}

type SecretRole

type SecretRole struct {
	Id          int32  `json:"id,omitempty"`
	Name        string `json:"name"`
	Slug        string `json:"slug"`
	Description string `json:"description,omitempty"`
	SecretCount int32  `json:"secret_count,omitempty"`
}

type SecretsApiSecretsSecretRolesListOpts

type SecretsApiSecretsSecretRolesListOpts struct {
	Id       optional.String
	Name     optional.String
	Slug     optional.String
	Q        optional.String
	IdN      optional.String
	IdLte    optional.String
	IdLt     optional.String
	IdGte    optional.String
	IdGt     optional.String
	NameN    optional.String
	NameIc   optional.String
	NameNic  optional.String
	NameIew  optional.String
	NameNiew optional.String
	NameIsw  optional.String
	NameNisw optional.String
	NameIe   optional.String
	NameNie  optional.String
	SlugN    optional.String
	SlugIc   optional.String
	SlugNic  optional.String
	SlugIew  optional.String
	SlugNiew optional.String
	SlugIsw  optional.String
	SlugNisw optional.String
	SlugIe   optional.String
	SlugNie  optional.String
	Limit    optional.Int32
	Offset   optional.Int32
}

type SecretsApiSecretsSecretsListOpts

type SecretsApiSecretsSecretsListOpts struct {
	Id             optional.String
	Name           optional.String
	Created        optional.String
	CreatedGte     optional.String
	CreatedLte     optional.String
	LastUpdated    optional.String
	LastUpdatedGte optional.String
	LastUpdatedLte optional.String
	Q              optional.String
	RoleId         optional.String
	Role           optional.String
	DeviceId       optional.String
	Device         optional.String
	Tag            optional.String
	IdN            optional.String
	IdLte          optional.String
	IdLt           optional.String
	IdGte          optional.String
	IdGt           optional.String
	NameN          optional.String
	NameIc         optional.String
	NameNic        optional.String
	NameIew        optional.String
	NameNiew       optional.String
	NameIsw        optional.String
	NameNisw       optional.String
	NameIe         optional.String
	NameNie        optional.String
	RoleIdN        optional.String
	RoleN          optional.String
	DeviceIdN      optional.String
	DeviceN        optional.String
	TagN           optional.String
	Limit          optional.Int32
	Offset         optional.Int32
}

type SecretsApiService

type SecretsApiService service

func (*SecretsApiService) SecretsGenerateRsaKeyPairList

func (a *SecretsApiService) SecretsGenerateRsaKeyPairList(ctx context.Context) (*http.Response, error)

SecretsApiService This endpoint can be used to generate a new RSA key pair. The keys are returned in PEM format. { \&quot;public_key\&quot;: \&quot;&lt;public key&gt;\&quot;, \&quot;private_key\&quot;: \&quot;&lt;private key&gt;\&quot; }

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*SecretsApiService) SecretsGetSessionKeyCreate

func (a *SecretsApiService) SecretsGetSessionKeyCreate(ctx context.Context) (*http.Response, error)

SecretsApiService Retrieve a temporary session key to use for encrypting and decrypting secrets via the API. The user&#39;s private RSA key is POSTed with the name &#x60;private_key&#x60;. An example: curl -v -X POST -H \&quot;Authorization: Token &lt;token&gt;\&quot; -H \&quot;Accept: application/json; indent&#x3D;4\&quot; \\ --data-urlencode \&quot;private_key@&lt;filename&gt;\&quot; https://netbox/api/secrets/get-session-key/ This request will yield a base64-encoded session key to be included in an &#x60;X-Session-Key&#x60; header in future requests: { \&quot;session_key\&quot;: \&quot;+8t4SI6XikgVmB5+/urhozx9O5qCQANyOk1MNe6taRf&#x3D;\&quot; } This endpoint accepts one optional parameter: &#x60;preserve_key&#x60;. If True and a session key exists, the existing session key will be returned instead of a new one.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*SecretsApiService) SecretsSecretRolesCreate

func (a *SecretsApiService) SecretsSecretRolesCreate(ctx context.Context, data SecretRole) (SecretRole, *http.Response, error)

SecretsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return SecretRole

func (*SecretsApiService) SecretsSecretRolesDelete

func (a *SecretsApiService) SecretsSecretRolesDelete(ctx context.Context, id int32) (*http.Response, error)

SecretsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this secret role.

func (*SecretsApiService) SecretsSecretRolesList

func (a *SecretsApiService) SecretsSecretRolesList(ctx context.Context, localVarOptionals *SecretsApiSecretsSecretRolesListOpts) (InlineResponse20052, *http.Response, error)

func (*SecretsApiService) SecretsSecretRolesPartialUpdate

func (a *SecretsApiService) SecretsSecretRolesPartialUpdate(ctx context.Context, id int32, data SecretRole) (SecretRole, *http.Response, error)

SecretsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this secret role.
  • @param data

@return SecretRole

func (*SecretsApiService) SecretsSecretRolesRead

func (a *SecretsApiService) SecretsSecretRolesRead(ctx context.Context, id int32) (SecretRole, *http.Response, error)

SecretsApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this secret role.

@return SecretRole

func (*SecretsApiService) SecretsSecretRolesUpdate

func (a *SecretsApiService) SecretsSecretRolesUpdate(ctx context.Context, id int32, data SecretRole) (SecretRole, *http.Response, error)

SecretsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this secret role.
  • @param data

@return SecretRole

func (*SecretsApiService) SecretsSecretsCreate

func (a *SecretsApiService) SecretsSecretsCreate(ctx context.Context, data WritableSecret) (Secret, *http.Response, error)

SecretsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return Secret

func (*SecretsApiService) SecretsSecretsDelete

func (a *SecretsApiService) SecretsSecretsDelete(ctx context.Context, id int32) (*http.Response, error)

SecretsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this secret.

func (*SecretsApiService) SecretsSecretsList

func (a *SecretsApiService) SecretsSecretsList(ctx context.Context, localVarOptionals *SecretsApiSecretsSecretsListOpts) (InlineResponse20053, *http.Response, error)

func (*SecretsApiService) SecretsSecretsPartialUpdate

func (a *SecretsApiService) SecretsSecretsPartialUpdate(ctx context.Context, id int32, data WritableSecret) (Secret, *http.Response, error)

SecretsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this secret.
  • @param data

@return Secret

func (*SecretsApiService) SecretsSecretsRead

func (a *SecretsApiService) SecretsSecretsRead(ctx context.Context, id int32) (Secret, *http.Response, error)

SecretsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this secret.

@return Secret

func (*SecretsApiService) SecretsSecretsUpdate

func (a *SecretsApiService) SecretsSecretsUpdate(ctx context.Context, id int32, data WritableSecret) (Secret, *http.Response, error)

SecretsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this secret.
  • @param data

@return Secret

type Service

type Service struct {
	Id             int32                 `json:"id,omitempty"`
	Device         *NestedDevice         `json:"device,omitempty"`
	VirtualMachine *NestedVirtualMachine `json:"virtual_machine,omitempty"`
	Name           string                `json:"name"`
	Port           int32                 `json:"port"`
	Protocol       *Protocol             `json:"protocol,omitempty"`
	Ipaddresses    []NestedIpAddress     `json:"ipaddresses,omitempty"`
	Description    string                `json:"description,omitempty"`
	Tags           []string              `json:"tags,omitempty"`
	CustomFields   *interface{}          `json:"custom_fields,omitempty"`
	Created        string                `json:"created,omitempty"`
	LastUpdated    time.Time             `json:"last_updated,omitempty"`
}

type Site

type Site struct {
	Id     int32         `json:"id,omitempty"`
	Name   string        `json:"name"`
	Slug   string        `json:"slug"`
	Status *Status5      `json:"status,omitempty"`
	Region *NestedRegion `json:"region,omitempty"`
	Tenant *NestedTenant `json:"tenant,omitempty"`
	// Local facility ID or description
	Facility string `json:"facility,omitempty"`
	// 32-bit autonomous system number
	Asn             int32  `json:"asn,omitempty"`
	TimeZone        string `json:"time_zone,omitempty"`
	Description     string `json:"description,omitempty"`
	PhysicalAddress string `json:"physical_address,omitempty"`
	ShippingAddress string `json:"shipping_address,omitempty"`
	// GPS coordinate (latitude)
	Latitude string `json:"latitude,omitempty"`
	// GPS coordinate (longitude)
	Longitude           string       `json:"longitude,omitempty"`
	ContactName         string       `json:"contact_name,omitempty"`
	ContactPhone        string       `json:"contact_phone,omitempty"`
	ContactEmail        string       `json:"contact_email,omitempty"`
	Comments            string       `json:"comments,omitempty"`
	Tags                []string     `json:"tags,omitempty"`
	CustomFields        *interface{} `json:"custom_fields,omitempty"`
	Created             string       `json:"created,omitempty"`
	LastUpdated         time.Time    `json:"last_updated,omitempty"`
	CircuitCount        int32        `json:"circuit_count,omitempty"`
	DeviceCount         int32        `json:"device_count,omitempty"`
	PrefixCount         int32        `json:"prefix_count,omitempty"`
	RackCount           int32        `json:"rack_count,omitempty"`
	VirtualmachineCount int32        `json:"virtualmachine_count,omitempty"`
	VlanCount           int32        `json:"vlan_count,omitempty"`
}

type Status

type Status struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type Status1

type Status1 struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type Status2

type Status2 struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type Status3

type Status3 struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type Status4

type Status4 struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type Status5

type Status5 struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type Status6

type Status6 struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type Status7

type Status7 struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type Status8

type Status8 struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type Status9

type Status9 struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type SubdeviceRole

type SubdeviceRole struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type Supply

type Supply struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type Tag

type Tag struct {
	Id          int32  `json:"id,omitempty"`
	Name        string `json:"name"`
	Slug        string `json:"slug"`
	Color       string `json:"color,omitempty"`
	Description string `json:"description,omitempty"`
	TaggedItems int32  `json:"tagged_items,omitempty"`
}

type TemplateLanguage

type TemplateLanguage struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type TenancyApiService

type TenancyApiService service

func (*TenancyApiService) TenancyTenantGroupsCreate

func (a *TenancyApiService) TenancyTenantGroupsCreate(ctx context.Context, data WritableTenantGroup) (TenantGroup, *http.Response, error)

TenancyApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return TenantGroup

func (*TenancyApiService) TenancyTenantGroupsDelete

func (a *TenancyApiService) TenancyTenantGroupsDelete(ctx context.Context, id int32) (*http.Response, error)

TenancyApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this tenant group.

func (*TenancyApiService) TenancyTenantGroupsList

func (a *TenancyApiService) TenancyTenantGroupsList(ctx context.Context, localVarOptionals *TenancyApiTenancyTenantGroupsListOpts) (InlineResponse20054, *http.Response, error)

func (*TenancyApiService) TenancyTenantGroupsPartialUpdate

func (a *TenancyApiService) TenancyTenantGroupsPartialUpdate(ctx context.Context, id int32, data WritableTenantGroup) (TenantGroup, *http.Response, error)

TenancyApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this tenant group.
  • @param data

@return TenantGroup

func (*TenancyApiService) TenancyTenantGroupsRead

func (a *TenancyApiService) TenancyTenantGroupsRead(ctx context.Context, id int32) (TenantGroup, *http.Response, error)

TenancyApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this tenant group.

@return TenantGroup

func (*TenancyApiService) TenancyTenantGroupsUpdate

func (a *TenancyApiService) TenancyTenantGroupsUpdate(ctx context.Context, id int32, data WritableTenantGroup) (TenantGroup, *http.Response, error)

TenancyApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this tenant group.
  • @param data

@return TenantGroup

func (*TenancyApiService) TenancyTenantsCreate

func (a *TenancyApiService) TenancyTenantsCreate(ctx context.Context, data WritableTenant) (Tenant, *http.Response, error)

TenancyApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return Tenant

func (*TenancyApiService) TenancyTenantsDelete

func (a *TenancyApiService) TenancyTenantsDelete(ctx context.Context, id int32) (*http.Response, error)

TenancyApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this tenant.

func (*TenancyApiService) TenancyTenantsList

func (a *TenancyApiService) TenancyTenantsList(ctx context.Context, localVarOptionals *TenancyApiTenancyTenantsListOpts) (InlineResponse20055, *http.Response, error)

func (*TenancyApiService) TenancyTenantsPartialUpdate

func (a *TenancyApiService) TenancyTenantsPartialUpdate(ctx context.Context, id int32, data WritableTenant) (Tenant, *http.Response, error)

TenancyApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this tenant.
  • @param data

@return Tenant

func (*TenancyApiService) TenancyTenantsRead

func (a *TenancyApiService) TenancyTenantsRead(ctx context.Context, id int32) (Tenant, *http.Response, error)

TenancyApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this tenant.

@return Tenant

func (*TenancyApiService) TenancyTenantsUpdate

func (a *TenancyApiService) TenancyTenantsUpdate(ctx context.Context, id int32, data WritableTenant) (Tenant, *http.Response, error)

TenancyApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this tenant.
  • @param data

@return Tenant

type TenancyApiTenancyTenantGroupsListOpts

type TenancyApiTenancyTenantGroupsListOpts struct {
	Id              optional.String
	Name            optional.String
	Slug            optional.String
	Description     optional.String
	Q               optional.String
	ParentId        optional.String
	Parent          optional.String
	IdN             optional.String
	IdLte           optional.String
	IdLt            optional.String
	IdGte           optional.String
	IdGt            optional.String
	NameN           optional.String
	NameIc          optional.String
	NameNic         optional.String
	NameIew         optional.String
	NameNiew        optional.String
	NameIsw         optional.String
	NameNisw        optional.String
	NameIe          optional.String
	NameNie         optional.String
	SlugN           optional.String
	SlugIc          optional.String
	SlugNic         optional.String
	SlugIew         optional.String
	SlugNiew        optional.String
	SlugIsw         optional.String
	SlugNisw        optional.String
	SlugIe          optional.String
	SlugNie         optional.String
	DescriptionN    optional.String
	DescriptionIc   optional.String
	DescriptionNic  optional.String
	DescriptionIew  optional.String
	DescriptionNiew optional.String
	DescriptionIsw  optional.String
	DescriptionNisw optional.String
	DescriptionIe   optional.String
	DescriptionNie  optional.String
	ParentIdN       optional.String
	ParentN         optional.String
	Limit           optional.Int32
	Offset          optional.Int32
}

type TenancyApiTenancyTenantsListOpts

type TenancyApiTenancyTenantsListOpts struct {
	Id             optional.String
	Name           optional.String
	Slug           optional.String
	Created        optional.String
	CreatedGte     optional.String
	CreatedLte     optional.String
	LastUpdated    optional.String
	LastUpdatedGte optional.String
	LastUpdatedLte optional.String
	Q              optional.String
	GroupId        optional.String
	Group          optional.String
	Tag            optional.String
	IdN            optional.String
	IdLte          optional.String
	IdLt           optional.String
	IdGte          optional.String
	IdGt           optional.String
	NameN          optional.String
	NameIc         optional.String
	NameNic        optional.String
	NameIew        optional.String
	NameNiew       optional.String
	NameIsw        optional.String
	NameNisw       optional.String
	NameIe         optional.String
	NameNie        optional.String
	SlugN          optional.String
	SlugIc         optional.String
	SlugNic        optional.String
	SlugIew        optional.String
	SlugNiew       optional.String
	SlugIsw        optional.String
	SlugNisw       optional.String
	SlugIe         optional.String
	SlugNie        optional.String
	GroupIdN       optional.String
	GroupN         optional.String
	TagN           optional.String
	Limit          optional.Int32
	Offset         optional.Int32
}

type Tenant

type Tenant struct {
	Id                  int32              `json:"id,omitempty"`
	Name                string             `json:"name"`
	Slug                string             `json:"slug"`
	Group               *NestedTenantGroup `json:"group,omitempty"`
	Description         string             `json:"description,omitempty"`
	Comments            string             `json:"comments,omitempty"`
	Tags                []string           `json:"tags,omitempty"`
	CustomFields        *interface{}       `json:"custom_fields,omitempty"`
	Created             string             `json:"created,omitempty"`
	LastUpdated         time.Time          `json:"last_updated,omitempty"`
	CircuitCount        int32              `json:"circuit_count,omitempty"`
	DeviceCount         int32              `json:"device_count,omitempty"`
	IpaddressCount      int32              `json:"ipaddress_count,omitempty"`
	PrefixCount         int32              `json:"prefix_count,omitempty"`
	RackCount           int32              `json:"rack_count,omitempty"`
	SiteCount           int32              `json:"site_count,omitempty"`
	VirtualmachineCount int32              `json:"virtualmachine_count,omitempty"`
	VlanCount           int32              `json:"vlan_count,omitempty"`
	VrfCount            int32              `json:"vrf_count,omitempty"`
	ClusterCount        int32              `json:"cluster_count,omitempty"`
}

type TenantGroup

type TenantGroup struct {
	Id          int32              `json:"id,omitempty"`
	Name        string             `json:"name"`
	Slug        string             `json:"slug"`
	Parent      *NestedTenantGroup `json:"parent,omitempty"`
	Description string             `json:"description,omitempty"`
	TenantCount int32              `json:"tenant_count,omitempty"`
}

type Type1

type Type1 struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type Type2

type Type2 struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type Type3

type Type3 struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type Type4

type Type4 struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type Type5

type Type5 struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type Type6

type Type6 struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type Type7

type Type7 struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type VirtualChassis

type VirtualChassis struct {
	Id          int32         `json:"id,omitempty"`
	Master      *NestedDevice `json:"master"`
	Domain      string        `json:"domain,omitempty"`
	Tags        []string      `json:"tags,omitempty"`
	MemberCount int32         `json:"member_count,omitempty"`
}

type VirtualMachineInterface

type VirtualMachineInterface struct {
	Id             int32                 `json:"id,omitempty"`
	VirtualMachine *NestedVirtualMachine `json:"virtual_machine"`
	Name           string                `json:"name"`
	Type_          *Type7                `json:"type,omitempty"`
	Enabled        bool                  `json:"enabled,omitempty"`
	Mtu            int32                 `json:"mtu,omitempty"`
	MacAddress     string                `json:"mac_address,omitempty"`
	Description    string                `json:"description,omitempty"`
	Mode           *Mode                 `json:"mode,omitempty"`
	UntaggedVlan   *NestedVlan           `json:"untagged_vlan,omitempty"`
	TaggedVlans    []NestedVlan          `json:"tagged_vlans,omitempty"`
	Tags           []string              `json:"tags,omitempty"`
}

type VirtualMachineWithConfigContext

type VirtualMachineWithConfigContext struct {
	Id               int32             `json:"id,omitempty"`
	Name             string            `json:"name"`
	Status           *Status9          `json:"status,omitempty"`
	Site             *NestedSite       `json:"site,omitempty"`
	Cluster          *NestedCluster    `json:"cluster"`
	Role             *NestedDeviceRole `json:"role,omitempty"`
	Tenant           *NestedTenant     `json:"tenant,omitempty"`
	Platform         *NestedPlatform   `json:"platform,omitempty"`
	PrimaryIp        *NestedIpAddress  `json:"primary_ip,omitempty"`
	PrimaryIp4       *NestedIpAddress  `json:"primary_ip4,omitempty"`
	PrimaryIp6       *NestedIpAddress  `json:"primary_ip6,omitempty"`
	Vcpus            int32             `json:"vcpus,omitempty"`
	Memory           int32             `json:"memory,omitempty"`
	Disk             int32             `json:"disk,omitempty"`
	Comments         string            `json:"comments,omitempty"`
	LocalContextData string            `json:"local_context_data,omitempty"`
	Tags             []string          `json:"tags,omitempty"`
	CustomFields     *interface{}      `json:"custom_fields,omitempty"`
	ConfigContext    *interface{}      `json:"config_context,omitempty"`
	Created          string            `json:"created,omitempty"`
	LastUpdated      time.Time         `json:"last_updated,omitempty"`
}

type VirtualizationApiService

type VirtualizationApiService service

func (*VirtualizationApiService) VirtualizationClusterGroupsCreate

func (a *VirtualizationApiService) VirtualizationClusterGroupsCreate(ctx context.Context, data ClusterGroup) (ClusterGroup, *http.Response, error)

VirtualizationApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return ClusterGroup

func (*VirtualizationApiService) VirtualizationClusterGroupsDelete

func (a *VirtualizationApiService) VirtualizationClusterGroupsDelete(ctx context.Context, id int32) (*http.Response, error)

VirtualizationApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this cluster group.

func (*VirtualizationApiService) VirtualizationClusterGroupsList

func (*VirtualizationApiService) VirtualizationClusterGroupsPartialUpdate

func (a *VirtualizationApiService) VirtualizationClusterGroupsPartialUpdate(ctx context.Context, id int32, data ClusterGroup) (ClusterGroup, *http.Response, error)

VirtualizationApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this cluster group.
  • @param data

@return ClusterGroup

func (*VirtualizationApiService) VirtualizationClusterGroupsRead

func (a *VirtualizationApiService) VirtualizationClusterGroupsRead(ctx context.Context, id int32) (ClusterGroup, *http.Response, error)

VirtualizationApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this cluster group.

@return ClusterGroup

func (*VirtualizationApiService) VirtualizationClusterGroupsUpdate

func (a *VirtualizationApiService) VirtualizationClusterGroupsUpdate(ctx context.Context, id int32, data ClusterGroup) (ClusterGroup, *http.Response, error)

VirtualizationApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this cluster group.
  • @param data

@return ClusterGroup

func (*VirtualizationApiService) VirtualizationClusterTypesCreate

func (a *VirtualizationApiService) VirtualizationClusterTypesCreate(ctx context.Context, data ClusterType) (ClusterType, *http.Response, error)

VirtualizationApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return ClusterType

func (*VirtualizationApiService) VirtualizationClusterTypesDelete

func (a *VirtualizationApiService) VirtualizationClusterTypesDelete(ctx context.Context, id int32) (*http.Response, error)

VirtualizationApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this cluster type.

func (*VirtualizationApiService) VirtualizationClusterTypesList

func (*VirtualizationApiService) VirtualizationClusterTypesPartialUpdate

func (a *VirtualizationApiService) VirtualizationClusterTypesPartialUpdate(ctx context.Context, id int32, data ClusterType) (ClusterType, *http.Response, error)

VirtualizationApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this cluster type.
  • @param data

@return ClusterType

func (*VirtualizationApiService) VirtualizationClusterTypesRead

func (a *VirtualizationApiService) VirtualizationClusterTypesRead(ctx context.Context, id int32) (ClusterType, *http.Response, error)

VirtualizationApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this cluster type.

@return ClusterType

func (*VirtualizationApiService) VirtualizationClusterTypesUpdate

func (a *VirtualizationApiService) VirtualizationClusterTypesUpdate(ctx context.Context, id int32, data ClusterType) (ClusterType, *http.Response, error)

VirtualizationApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this cluster type.
  • @param data

@return ClusterType

func (*VirtualizationApiService) VirtualizationClustersCreate

func (a *VirtualizationApiService) VirtualizationClustersCreate(ctx context.Context, data WritableCluster) (Cluster, *http.Response, error)

VirtualizationApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return Cluster

func (*VirtualizationApiService) VirtualizationClustersDelete

func (a *VirtualizationApiService) VirtualizationClustersDelete(ctx context.Context, id int32) (*http.Response, error)

VirtualizationApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this cluster.

func (*VirtualizationApiService) VirtualizationClustersList

func (*VirtualizationApiService) VirtualizationClustersPartialUpdate

func (a *VirtualizationApiService) VirtualizationClustersPartialUpdate(ctx context.Context, id int32, data WritableCluster) (Cluster, *http.Response, error)

VirtualizationApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this cluster.
  • @param data

@return Cluster

func (*VirtualizationApiService) VirtualizationClustersRead

func (a *VirtualizationApiService) VirtualizationClustersRead(ctx context.Context, id int32) (Cluster, *http.Response, error)

VirtualizationApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this cluster.

@return Cluster

func (*VirtualizationApiService) VirtualizationClustersUpdate

func (a *VirtualizationApiService) VirtualizationClustersUpdate(ctx context.Context, id int32, data WritableCluster) (Cluster, *http.Response, error)

VirtualizationApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this cluster.
  • @param data

@return Cluster

func (*VirtualizationApiService) VirtualizationInterfacesCreate

VirtualizationApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return VirtualMachineInterface

func (*VirtualizationApiService) VirtualizationInterfacesDelete

func (a *VirtualizationApiService) VirtualizationInterfacesDelete(ctx context.Context, id int32) (*http.Response, error)

VirtualizationApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this interface.

func (*VirtualizationApiService) VirtualizationInterfacesList

func (*VirtualizationApiService) VirtualizationInterfacesPartialUpdate

func (a *VirtualizationApiService) VirtualizationInterfacesPartialUpdate(ctx context.Context, id int32, data WritableVirtualMachineInterface) (VirtualMachineInterface, *http.Response, error)

VirtualizationApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this interface.
  • @param data

@return VirtualMachineInterface

func (*VirtualizationApiService) VirtualizationInterfacesRead

func (a *VirtualizationApiService) VirtualizationInterfacesRead(ctx context.Context, id int32) (VirtualMachineInterface, *http.Response, error)

VirtualizationApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this interface.

@return VirtualMachineInterface

func (*VirtualizationApiService) VirtualizationInterfacesUpdate

VirtualizationApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this interface.
  • @param data

@return VirtualMachineInterface

func (*VirtualizationApiService) VirtualizationVirtualMachinesCreate

VirtualizationApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return VirtualMachineWithConfigContext

func (*VirtualizationApiService) VirtualizationVirtualMachinesDelete

func (a *VirtualizationApiService) VirtualizationVirtualMachinesDelete(ctx context.Context, id int32) (*http.Response, error)

VirtualizationApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this virtual machine.

func (*VirtualizationApiService) VirtualizationVirtualMachinesList

func (*VirtualizationApiService) VirtualizationVirtualMachinesPartialUpdate

VirtualizationApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this virtual machine.
  • @param data

@return VirtualMachineWithConfigContext

func (*VirtualizationApiService) VirtualizationVirtualMachinesRead

func (a *VirtualizationApiService) VirtualizationVirtualMachinesRead(ctx context.Context, id int32) (VirtualMachineWithConfigContext, *http.Response, error)

VirtualizationApiService Call to super to allow for caching

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this virtual machine.

@return VirtualMachineWithConfigContext

func (*VirtualizationApiService) VirtualizationVirtualMachinesUpdate

VirtualizationApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id A unique integer value identifying this virtual machine.
  • @param data

@return VirtualMachineWithConfigContext

type VirtualizationApiVirtualizationClusterGroupsListOpts

type VirtualizationApiVirtualizationClusterGroupsListOpts struct {
	Id              optional.String
	Name            optional.String
	Slug            optional.String
	Description     optional.String
	Q               optional.String
	IdN             optional.String
	IdLte           optional.String
	IdLt            optional.String
	IdGte           optional.String
	IdGt            optional.String
	NameN           optional.String
	NameIc          optional.String
	NameNic         optional.String
	NameIew         optional.String
	NameNiew        optional.String
	NameIsw         optional.String
	NameNisw        optional.String
	NameIe          optional.String
	NameNie         optional.String
	SlugN           optional.String
	SlugIc          optional.String
	SlugNic         optional.String
	SlugIew         optional.String
	SlugNiew        optional.String
	SlugIsw         optional.String
	SlugNisw        optional.String
	SlugIe          optional.String
	SlugNie         optional.String
	DescriptionN    optional.String
	DescriptionIc   optional.String
	DescriptionNic  optional.String
	DescriptionIew  optional.String
	DescriptionNiew optional.String
	DescriptionIsw  optional.String
	DescriptionNisw optional.String
	DescriptionIe   optional.String
	DescriptionNie  optional.String
	Limit           optional.Int32
	Offset          optional.Int32
}

type VirtualizationApiVirtualizationClusterTypesListOpts

type VirtualizationApiVirtualizationClusterTypesListOpts struct {
	Id              optional.String
	Name            optional.String
	Slug            optional.String
	Description     optional.String
	Q               optional.String
	IdN             optional.String
	IdLte           optional.String
	IdLt            optional.String
	IdGte           optional.String
	IdGt            optional.String
	NameN           optional.String
	NameIc          optional.String
	NameNic         optional.String
	NameIew         optional.String
	NameNiew        optional.String
	NameIsw         optional.String
	NameNisw        optional.String
	NameIe          optional.String
	NameNie         optional.String
	SlugN           optional.String
	SlugIc          optional.String
	SlugNic         optional.String
	SlugIew         optional.String
	SlugNiew        optional.String
	SlugIsw         optional.String
	SlugNisw        optional.String
	SlugIe          optional.String
	SlugNie         optional.String
	DescriptionN    optional.String
	DescriptionIc   optional.String
	DescriptionNic  optional.String
	DescriptionIew  optional.String
	DescriptionNiew optional.String
	DescriptionIsw  optional.String
	DescriptionNisw optional.String
	DescriptionIe   optional.String
	DescriptionNie  optional.String
	Limit           optional.Int32
	Offset          optional.Int32
}

type VirtualizationApiVirtualizationClustersListOpts

type VirtualizationApiVirtualizationClustersListOpts struct {
	Id             optional.String
	Name           optional.String
	TenantGroupId  optional.String
	TenantGroup    optional.String
	TenantId       optional.String
	Tenant         optional.String
	Created        optional.String
	CreatedGte     optional.String
	CreatedLte     optional.String
	LastUpdated    optional.String
	LastUpdatedGte optional.String
	LastUpdatedLte optional.String
	Q              optional.String
	RegionId       optional.String
	Region         optional.String
	SiteId         optional.String
	Site           optional.String
	GroupId        optional.String
	Group          optional.String
	TypeId         optional.String
	Type_          optional.String
	Tag            optional.String
	IdN            optional.String
	IdLte          optional.String
	IdLt           optional.String
	IdGte          optional.String
	IdGt           optional.String
	NameN          optional.String
	NameIc         optional.String
	NameNic        optional.String
	NameIew        optional.String
	NameNiew       optional.String
	NameIsw        optional.String
	NameNisw       optional.String
	NameIe         optional.String
	NameNie        optional.String
	TenantGroupIdN optional.String
	TenantGroupN   optional.String
	TenantIdN      optional.String
	TenantN        optional.String
	RegionIdN      optional.String
	RegionN        optional.String
	SiteIdN        optional.String
	SiteN          optional.String
	GroupIdN       optional.String
	GroupN         optional.String
	TypeIdN        optional.String
	TypeN          optional.String
	TagN           optional.String
	Limit          optional.Int32
	Offset         optional.Int32
}

type VirtualizationApiVirtualizationInterfacesListOpts

type VirtualizationApiVirtualizationInterfacesListOpts struct {
	Id                optional.String
	Name              optional.String
	Enabled           optional.String
	Mtu               optional.String
	Q                 optional.String
	VirtualMachineId  optional.String
	VirtualMachine    optional.String
	MacAddress        optional.String
	IdN               optional.String
	IdLte             optional.String
	IdLt              optional.String
	IdGte             optional.String
	IdGt              optional.String
	NameN             optional.String
	NameIc            optional.String
	NameNic           optional.String
	NameIew           optional.String
	NameNiew          optional.String
	NameIsw           optional.String
	NameNisw          optional.String
	NameIe            optional.String
	NameNie           optional.String
	MtuN              optional.String
	MtuLte            optional.String
	MtuLt             optional.String
	MtuGte            optional.String
	MtuGt             optional.String
	VirtualMachineIdN optional.String
	VirtualMachineN   optional.String
	MacAddressN       optional.String
	MacAddressIc      optional.String
	MacAddressNic     optional.String
	MacAddressIew     optional.String
	MacAddressNiew    optional.String
	MacAddressIsw     optional.String
	MacAddressNisw    optional.String
	MacAddressIe      optional.String
	MacAddressNie     optional.String
	Limit             optional.Int32
	Offset            optional.Int32
}

type VirtualizationApiVirtualizationVirtualMachinesListOpts

type VirtualizationApiVirtualizationVirtualMachinesListOpts struct {
	Id               optional.String
	Name             optional.String
	Cluster          optional.String
	Vcpus            optional.String
	Memory           optional.String
	Disk             optional.String
	LocalContextData optional.String
	TenantGroupId    optional.String
	TenantGroup      optional.String
	TenantId         optional.String
	Tenant           optional.String
	Created          optional.String
	CreatedGte       optional.String
	CreatedLte       optional.String
	LastUpdated      optional.String
	LastUpdatedGte   optional.String
	LastUpdatedLte   optional.String
	Q                optional.String
	Status           optional.String
	ClusterGroupId   optional.String
	ClusterGroup     optional.String
	ClusterTypeId    optional.String
	ClusterType      optional.String
	ClusterId        optional.String
	RegionId         optional.String
	Region           optional.String
	SiteId           optional.String
	Site             optional.String
	RoleId           optional.String
	Role             optional.String
	PlatformId       optional.String
	Platform         optional.String
	MacAddress       optional.String
	Tag              optional.String
	IdN              optional.String
	IdLte            optional.String
	IdLt             optional.String
	IdGte            optional.String
	IdGt             optional.String
	NameN            optional.String
	NameIc           optional.String
	NameNic          optional.String
	NameIew          optional.String
	NameNiew         optional.String
	NameIsw          optional.String
	NameNisw         optional.String
	NameIe           optional.String
	NameNie          optional.String
	ClusterN         optional.String
	VcpusN           optional.String
	VcpusLte         optional.String
	VcpusLt          optional.String
	VcpusGte         optional.String
	VcpusGt          optional.String
	MemoryN          optional.String
	MemoryLte        optional.String
	MemoryLt         optional.String
	MemoryGte        optional.String
	MemoryGt         optional.String
	DiskN            optional.String
	DiskLte          optional.String
	DiskLt           optional.String
	DiskGte          optional.String
	DiskGt           optional.String
	TenantGroupIdN   optional.String
	TenantGroupN     optional.String
	TenantIdN        optional.String
	TenantN          optional.String
	StatusN          optional.String
	ClusterGroupIdN  optional.String
	ClusterGroupN    optional.String
	ClusterTypeIdN   optional.String
	ClusterTypeN     optional.String
	ClusterIdN       optional.String
	RegionIdN        optional.String
	RegionN          optional.String
	SiteIdN          optional.String
	SiteN            optional.String
	RoleIdN          optional.String
	RoleN            optional.String
	PlatformIdN      optional.String
	PlatformN        optional.String
	MacAddressN      optional.String
	MacAddressIc     optional.String
	MacAddressNic    optional.String
	MacAddressIew    optional.String
	MacAddressNiew   optional.String
	MacAddressIsw    optional.String
	MacAddressNisw   optional.String
	MacAddressIe     optional.String
	MacAddressNie    optional.String
	TagN             optional.String
	Limit            optional.Int32
	Offset           optional.Int32
}

type Vlan

type Vlan struct {
	Id           int32            `json:"id,omitempty"`
	Site         *NestedSite      `json:"site,omitempty"`
	Group        *NestedVlanGroup `json:"group,omitempty"`
	Vid          int32            `json:"vid"`
	Name         string           `json:"name"`
	Tenant       *NestedTenant    `json:"tenant,omitempty"`
	Status       *Status8         `json:"status,omitempty"`
	Role         *NestedRole      `json:"role,omitempty"`
	Description  string           `json:"description,omitempty"`
	Tags         []string         `json:"tags,omitempty"`
	DisplayName  string           `json:"display_name,omitempty"`
	CustomFields *interface{}     `json:"custom_fields,omitempty"`
	Created      string           `json:"created,omitempty"`
	LastUpdated  time.Time        `json:"last_updated,omitempty"`
	PrefixCount  int32            `json:"prefix_count,omitempty"`
}

type VlanGroup

type VlanGroup struct {
	Id          int32       `json:"id,omitempty"`
	Name        string      `json:"name"`
	Slug        string      `json:"slug"`
	Site        *NestedSite `json:"site,omitempty"`
	Description string      `json:"description,omitempty"`
	VlanCount   int32       `json:"vlan_count,omitempty"`
}

type Vrf

type Vrf struct {
	Id   int32  `json:"id,omitempty"`
	Name string `json:"name"`
	// Unique route distinguisher (as defined in RFC 4364)
	Rd     string        `json:"rd,omitempty"`
	Tenant *NestedTenant `json:"tenant,omitempty"`
	// Prevent duplicate prefixes/IP addresses within this VRF
	EnforceUnique  bool         `json:"enforce_unique,omitempty"`
	Description    string       `json:"description,omitempty"`
	Tags           []string     `json:"tags,omitempty"`
	DisplayName    string       `json:"display_name,omitempty"`
	CustomFields   *interface{} `json:"custom_fields,omitempty"`
	Created        string       `json:"created,omitempty"`
	LastUpdated    time.Time    `json:"last_updated,omitempty"`
	IpaddressCount int32        `json:"ipaddress_count,omitempty"`
	PrefixCount    int32        `json:"prefix_count,omitempty"`
}

type Width

type Width struct {
	Label string `json:"label"`
	Value int32  `json:"value"`
}

type WritableAggregate

type WritableAggregate struct {
	Id           int32        `json:"id,omitempty"`
	Family       string       `json:"family,omitempty"`
	Prefix       string       `json:"prefix"`
	Rir          int32        `json:"rir"`
	DateAdded    string       `json:"date_added,omitempty"`
	Description  string       `json:"description,omitempty"`
	Tags         []string     `json:"tags,omitempty"`
	CustomFields *interface{} `json:"custom_fields,omitempty"`
	Created      string       `json:"created,omitempty"`
	LastUpdated  time.Time    `json:"last_updated,omitempty"`
}

type WritableCable

type WritableCable struct {
	Id               int32             `json:"id,omitempty"`
	TerminationAType string            `json:"termination_a_type"`
	TerminationAId   int32             `json:"termination_a_id"`
	TerminationA     map[string]string `json:"termination_a,omitempty"`
	TerminationBType string            `json:"termination_b_type"`
	TerminationBId   int32             `json:"termination_b_id"`
	TerminationB     map[string]string `json:"termination_b,omitempty"`
	Type_            string            `json:"type,omitempty"`
	Status           string            `json:"status,omitempty"`
	Label            string            `json:"label,omitempty"`
	Color            string            `json:"color,omitempty"`
	Length           int32             `json:"length,omitempty"`
	LengthUnit       string            `json:"length_unit,omitempty"`
}

type WritableCircuit

type WritableCircuit struct {
	Id           int32        `json:"id,omitempty"`
	Cid          string       `json:"cid"`
	Provider     int32        `json:"provider"`
	Type_        int32        `json:"type"`
	Status       string       `json:"status,omitempty"`
	Tenant       int32        `json:"tenant,omitempty"`
	InstallDate  string       `json:"install_date,omitempty"`
	CommitRate   int32        `json:"commit_rate,omitempty"`
	Description  string       `json:"description,omitempty"`
	TerminationA string       `json:"termination_a,omitempty"`
	TerminationZ string       `json:"termination_z,omitempty"`
	Comments     string       `json:"comments,omitempty"`
	Tags         []string     `json:"tags,omitempty"`
	CustomFields *interface{} `json:"custom_fields,omitempty"`
	Created      string       `json:"created,omitempty"`
	LastUpdated  time.Time    `json:"last_updated,omitempty"`
}

type WritableCircuitTermination

type WritableCircuitTermination struct {
	Id        int32  `json:"id,omitempty"`
	Circuit   int32  `json:"circuit"`
	TermSide  string `json:"term_side"`
	Site      int32  `json:"site"`
	PortSpeed int32  `json:"port_speed"`
	// Upstream speed, if different from port speed
	UpstreamSpeed         int32  `json:"upstream_speed,omitempty"`
	XconnectId            string `json:"xconnect_id,omitempty"`
	PpInfo                string `json:"pp_info,omitempty"`
	Description           string `json:"description,omitempty"`
	ConnectedEndpointType string `json:"connected_endpoint_type,omitempty"`
	//  Return the appropriate serializer for the type of connected object.
	ConnectedEndpoint map[string]string `json:"connected_endpoint,omitempty"`
	ConnectionStatus  bool              `json:"connection_status,omitempty"`
	Cable             *NestedCable      `json:"cable,omitempty"`
}

type WritableCluster

type WritableCluster struct {
	Id                  int32        `json:"id,omitempty"`
	Name                string       `json:"name"`
	Type_               int32        `json:"type"`
	Group               int32        `json:"group,omitempty"`
	Tenant              int32        `json:"tenant,omitempty"`
	Site                int32        `json:"site,omitempty"`
	Comments            string       `json:"comments,omitempty"`
	Tags                []string     `json:"tags,omitempty"`
	CustomFields        *interface{} `json:"custom_fields,omitempty"`
	Created             string       `json:"created,omitempty"`
	LastUpdated         time.Time    `json:"last_updated,omitempty"`
	DeviceCount         int32        `json:"device_count,omitempty"`
	VirtualmachineCount int32        `json:"virtualmachine_count,omitempty"`
}

type WritableConfigContext

type WritableConfigContext struct {
	Id            int32    `json:"id,omitempty"`
	Name          string   `json:"name"`
	Weight        int32    `json:"weight,omitempty"`
	Description   string   `json:"description,omitempty"`
	IsActive      bool     `json:"is_active,omitempty"`
	Regions       []int32  `json:"regions,omitempty"`
	Sites         []int32  `json:"sites,omitempty"`
	Roles         []int32  `json:"roles,omitempty"`
	Platforms     []int32  `json:"platforms,omitempty"`
	ClusterGroups []int32  `json:"cluster_groups,omitempty"`
	Clusters      []int32  `json:"clusters,omitempty"`
	TenantGroups  []int32  `json:"tenant_groups,omitempty"`
	Tenants       []int32  `json:"tenants,omitempty"`
	Tags          []string `json:"tags,omitempty"`
	Data          string   `json:"data"`
}

type WritableConsolePort

type WritableConsolePort struct {
	Id     int32  `json:"id,omitempty"`
	Device int32  `json:"device"`
	Name   string `json:"name"`
	// Physical port type
	Type_                 string `json:"type,omitempty"`
	Description           string `json:"description,omitempty"`
	ConnectedEndpointType string `json:"connected_endpoint_type,omitempty"`
	//  Return the appropriate serializer for the type of connected object.
	ConnectedEndpoint map[string]string `json:"connected_endpoint,omitempty"`
	ConnectionStatus  bool              `json:"connection_status,omitempty"`
	Cable             *NestedCable      `json:"cable,omitempty"`
	Tags              []string          `json:"tags,omitempty"`
}

type WritableConsolePortTemplate

type WritableConsolePortTemplate struct {
	Id         int32  `json:"id,omitempty"`
	DeviceType int32  `json:"device_type"`
	Name       string `json:"name"`
	Type_      string `json:"type,omitempty"`
}

type WritableConsoleServerPort

type WritableConsoleServerPort struct {
	Id     int32  `json:"id,omitempty"`
	Device int32  `json:"device"`
	Name   string `json:"name"`
	// Physical port type
	Type_                 string `json:"type,omitempty"`
	Description           string `json:"description,omitempty"`
	ConnectedEndpointType string `json:"connected_endpoint_type,omitempty"`
	//  Return the appropriate serializer for the type of connected object.
	ConnectedEndpoint map[string]string `json:"connected_endpoint,omitempty"`
	ConnectionStatus  bool              `json:"connection_status,omitempty"`
	Cable             *NestedCable      `json:"cable,omitempty"`
	Tags              []string          `json:"tags,omitempty"`
}

type WritableConsoleServerPortTemplate

type WritableConsoleServerPortTemplate struct {
	Id         int32  `json:"id,omitempty"`
	DeviceType int32  `json:"device_type"`
	Name       string `json:"name"`
	Type_      string `json:"type,omitempty"`
}

type WritableDeviceBay

type WritableDeviceBay struct {
	Id              int32    `json:"id,omitempty"`
	Device          int32    `json:"device"`
	Name            string   `json:"name"`
	Description     string   `json:"description,omitempty"`
	InstalledDevice int32    `json:"installed_device,omitempty"`
	Tags            []string `json:"tags,omitempty"`
}

type WritableDeviceBayTemplate

type WritableDeviceBayTemplate struct {
	Id         int32  `json:"id,omitempty"`
	DeviceType int32  `json:"device_type"`
	Name       string `json:"name"`
}

type WritableDeviceInterface

type WritableDeviceInterface struct {
	Id         int32  `json:"id,omitempty"`
	Device     int32  `json:"device"`
	Name       string `json:"name"`
	Type_      string `json:"type"`
	Enabled    bool   `json:"enabled,omitempty"`
	Lag        int32  `json:"lag,omitempty"`
	Mtu        int32  `json:"mtu,omitempty"`
	MacAddress string `json:"mac_address,omitempty"`
	// This interface is used only for out-of-band management
	MgmtOnly              bool   `json:"mgmt_only,omitempty"`
	Description           string `json:"description,omitempty"`
	ConnectedEndpointType string `json:"connected_endpoint_type,omitempty"`
	//  Return the appropriate serializer for the type of connected object.
	ConnectedEndpoint map[string]string `json:"connected_endpoint,omitempty"`
	ConnectionStatus  bool              `json:"connection_status,omitempty"`
	Cable             *NestedCable      `json:"cable,omitempty"`
	Mode              string            `json:"mode,omitempty"`
	UntaggedVlan      int32             `json:"untagged_vlan,omitempty"`
	TaggedVlans       []int32           `json:"tagged_vlans,omitempty"`
	Tags              []string          `json:"tags,omitempty"`
	CountIpaddresses  int32             `json:"count_ipaddresses,omitempty"`
}

type WritableDeviceType

type WritableDeviceType struct {
	Id           int32  `json:"id,omitempty"`
	Manufacturer int32  `json:"manufacturer"`
	Model        string `json:"model"`
	Slug         string `json:"slug"`
	DisplayName  string `json:"display_name,omitempty"`
	// Discrete part number (optional)
	PartNumber string `json:"part_number,omitempty"`
	UHeight    int32  `json:"u_height,omitempty"`
	// Device consumes both front and rear rack faces
	IsFullDepth bool `json:"is_full_depth,omitempty"`
	// Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child.
	SubdeviceRole string       `json:"subdevice_role,omitempty"`
	FrontImage    string       `json:"front_image,omitempty"`
	RearImage     string       `json:"rear_image,omitempty"`
	Comments      string       `json:"comments,omitempty"`
	Tags          []string     `json:"tags,omitempty"`
	CustomFields  *interface{} `json:"custom_fields,omitempty"`
	Created       string       `json:"created,omitempty"`
	LastUpdated   time.Time    `json:"last_updated,omitempty"`
	DeviceCount   int32        `json:"device_count,omitempty"`
}

type WritableDeviceWithConfigContext

type WritableDeviceWithConfigContext struct {
	Id          int32  `json:"id,omitempty"`
	Name        string `json:"name,omitempty"`
	DisplayName string `json:"display_name,omitempty"`
	DeviceType  int32  `json:"device_type"`
	DeviceRole  int32  `json:"device_role"`
	Tenant      int32  `json:"tenant,omitempty"`
	Platform    int32  `json:"platform,omitempty"`
	Serial      string `json:"serial,omitempty"`
	// A unique tag used to identify this device
	AssetTag string `json:"asset_tag,omitempty"`
	Site     int32  `json:"site"`
	Rack     int32  `json:"rack,omitempty"`
	// The lowest-numbered unit occupied by the device
	Position         int32         `json:"position,omitempty"`
	Face             string        `json:"face,omitempty"`
	ParentDevice     *NestedDevice `json:"parent_device,omitempty"`
	Status           string        `json:"status,omitempty"`
	PrimaryIp        string        `json:"primary_ip,omitempty"`
	PrimaryIp4       int32         `json:"primary_ip4,omitempty"`
	PrimaryIp6       int32         `json:"primary_ip6,omitempty"`
	Cluster          int32         `json:"cluster,omitempty"`
	VirtualChassis   int32         `json:"virtual_chassis,omitempty"`
	VcPosition       int32         `json:"vc_position,omitempty"`
	VcPriority       int32         `json:"vc_priority,omitempty"`
	Comments         string        `json:"comments,omitempty"`
	LocalContextData string        `json:"local_context_data,omitempty"`
	Tags             []string      `json:"tags,omitempty"`
	CustomFields     *interface{}  `json:"custom_fields,omitempty"`
	ConfigContext    *interface{}  `json:"config_context,omitempty"`
	Created          string        `json:"created,omitempty"`
	LastUpdated      time.Time     `json:"last_updated,omitempty"`
}

type WritableExportTemplate

type WritableExportTemplate struct {
	Id               int32  `json:"id,omitempty"`
	ContentType      string `json:"content_type"`
	Name             string `json:"name"`
	Description      string `json:"description,omitempty"`
	TemplateLanguage string `json:"template_language,omitempty"`
	// The list of objects being exported is passed as a context variable named <code>queryset</code>.
	TemplateCode string `json:"template_code"`
	// Defaults to <code>text/plain</code>
	MimeType string `json:"mime_type,omitempty"`
	// Extension to append to the rendered filename
	FileExtension string `json:"file_extension,omitempty"`
}

type WritableFrontPort

type WritableFrontPort struct {
	Id               int32        `json:"id,omitempty"`
	Device           int32        `json:"device"`
	Name             string       `json:"name"`
	Type_            string       `json:"type"`
	RearPort         int32        `json:"rear_port"`
	RearPortPosition int32        `json:"rear_port_position,omitempty"`
	Description      string       `json:"description,omitempty"`
	Cable            *NestedCable `json:"cable,omitempty"`
	Tags             []string     `json:"tags,omitempty"`
}

type WritableFrontPortTemplate

type WritableFrontPortTemplate struct {
	Id               int32  `json:"id,omitempty"`
	DeviceType       int32  `json:"device_type"`
	Name             string `json:"name"`
	Type_            string `json:"type"`
	RearPort         int32  `json:"rear_port"`
	RearPortPosition int32  `json:"rear_port_position,omitempty"`
}

type WritableInterfaceTemplate

type WritableInterfaceTemplate struct {
	Id         int32  `json:"id,omitempty"`
	DeviceType int32  `json:"device_type"`
	Name       string `json:"name"`
	Type_      string `json:"type"`
	MgmtOnly   bool   `json:"mgmt_only,omitempty"`
}

type WritableInventoryItem

type WritableInventoryItem struct {
	Id           int32  `json:"id,omitempty"`
	Device       int32  `json:"device"`
	Parent       int32  `json:"parent,omitempty"`
	Name         string `json:"name"`
	Manufacturer int32  `json:"manufacturer,omitempty"`
	// Manufacturer-assigned part identifier
	PartId string `json:"part_id,omitempty"`
	Serial string `json:"serial,omitempty"`
	// A unique tag used to identify this item
	AssetTag string `json:"asset_tag,omitempty"`
	// This item was automatically discovered
	Discovered  bool     `json:"discovered,omitempty"`
	Description string   `json:"description,omitempty"`
	Tags        []string `json:"tags,omitempty"`
}

type WritableIpAddress

type WritableIpAddress struct {
	Id     int32  `json:"id,omitempty"`
	Family string `json:"family,omitempty"`
	// IPv4 or IPv6 address (with mask)
	Address string `json:"address"`
	Vrf     int32  `json:"vrf,omitempty"`
	Tenant  int32  `json:"tenant,omitempty"`
	// The operational status of this IP
	Status string `json:"status,omitempty"`
	// The functional role of this IP
	Role       string `json:"role,omitempty"`
	Interface_ int32  `json:"interface,omitempty"`
	// The IP for which this address is the \"outside\" IP
	NatInside  int32 `json:"nat_inside,omitempty"`
	NatOutside int32 `json:"nat_outside"`
	// Hostname or FQDN (not case-sensitive)
	DnsName      string       `json:"dns_name,omitempty"`
	Description  string       `json:"description,omitempty"`
	Tags         []string     `json:"tags,omitempty"`
	CustomFields *interface{} `json:"custom_fields,omitempty"`
	Created      string       `json:"created,omitempty"`
	LastUpdated  time.Time    `json:"last_updated,omitempty"`
}

type WritablePlatform

type WritablePlatform struct {
	Id   int32  `json:"id,omitempty"`
	Name string `json:"name"`
	Slug string `json:"slug"`
	// Optionally limit this platform to devices of a certain manufacturer
	Manufacturer int32 `json:"manufacturer,omitempty"`
	// The name of the NAPALM driver to use when interacting with devices
	NapalmDriver string `json:"napalm_driver,omitempty"`
	// Additional arguments to pass when initiating the NAPALM driver (JSON format)
	NapalmArgs          string `json:"napalm_args,omitempty"`
	Description         string `json:"description,omitempty"`
	DeviceCount         int32  `json:"device_count,omitempty"`
	VirtualmachineCount int32  `json:"virtualmachine_count,omitempty"`
}

type WritablePowerFeed

type WritablePowerFeed struct {
	Id         int32  `json:"id,omitempty"`
	PowerPanel int32  `json:"power_panel"`
	Rack       int32  `json:"rack,omitempty"`
	Name       string `json:"name"`
	Status     string `json:"status,omitempty"`
	Type_      string `json:"type,omitempty"`
	Supply     string `json:"supply,omitempty"`
	Phase      string `json:"phase,omitempty"`
	Voltage    int32  `json:"voltage,omitempty"`
	Amperage   int32  `json:"amperage,omitempty"`
	// Maximum permissible draw (percentage)
	MaxUtilization int32        `json:"max_utilization,omitempty"`
	Comments       string       `json:"comments,omitempty"`
	Tags           []string     `json:"tags,omitempty"`
	CustomFields   *interface{} `json:"custom_fields,omitempty"`
	Created        string       `json:"created,omitempty"`
	LastUpdated    time.Time    `json:"last_updated,omitempty"`
}

type WritablePowerOutlet

type WritablePowerOutlet struct {
	Id     int32  `json:"id,omitempty"`
	Device int32  `json:"device"`
	Name   string `json:"name"`
	// Physical port type
	Type_     string `json:"type,omitempty"`
	PowerPort int32  `json:"power_port,omitempty"`
	// Phase (for three-phase feeds)
	FeedLeg               string `json:"feed_leg,omitempty"`
	Description           string `json:"description,omitempty"`
	ConnectedEndpointType string `json:"connected_endpoint_type,omitempty"`
	//  Return the appropriate serializer for the type of connected object.
	ConnectedEndpoint map[string]string `json:"connected_endpoint,omitempty"`
	ConnectionStatus  bool              `json:"connection_status,omitempty"`
	Cable             *NestedCable      `json:"cable,omitempty"`
	Tags              []string          `json:"tags,omitempty"`
}

type WritablePowerOutletTemplate

type WritablePowerOutletTemplate struct {
	Id         int32  `json:"id,omitempty"`
	DeviceType int32  `json:"device_type"`
	Name       string `json:"name"`
	Type_      string `json:"type,omitempty"`
	PowerPort  int32  `json:"power_port,omitempty"`
	// Phase (for three-phase feeds)
	FeedLeg string `json:"feed_leg,omitempty"`
}

type WritablePowerPanel

type WritablePowerPanel struct {
	Id             int32  `json:"id,omitempty"`
	Site           int32  `json:"site"`
	RackGroup      int32  `json:"rack_group,omitempty"`
	Name           string `json:"name"`
	PowerfeedCount int32  `json:"powerfeed_count,omitempty"`
}

type WritablePowerPort

type WritablePowerPort struct {
	Id     int32  `json:"id,omitempty"`
	Device int32  `json:"device"`
	Name   string `json:"name"`
	// Physical port type
	Type_ string `json:"type,omitempty"`
	// Maximum power draw (watts)
	MaximumDraw int32 `json:"maximum_draw,omitempty"`
	// Allocated power draw (watts)
	AllocatedDraw         int32  `json:"allocated_draw,omitempty"`
	Description           string `json:"description,omitempty"`
	ConnectedEndpointType string `json:"connected_endpoint_type,omitempty"`
	//  Return the appropriate serializer for the type of connected object.
	ConnectedEndpoint map[string]string `json:"connected_endpoint,omitempty"`
	ConnectionStatus  bool              `json:"connection_status,omitempty"`
	Cable             *NestedCable      `json:"cable,omitempty"`
	Tags              []string          `json:"tags,omitempty"`
}

type WritablePowerPortTemplate

type WritablePowerPortTemplate struct {
	Id         int32  `json:"id,omitempty"`
	DeviceType int32  `json:"device_type"`
	Name       string `json:"name"`
	Type_      string `json:"type,omitempty"`
	// Maximum power draw (watts)
	MaximumDraw int32 `json:"maximum_draw,omitempty"`
	// Allocated power draw (watts)
	AllocatedDraw int32 `json:"allocated_draw,omitempty"`
}

type WritablePrefix

type WritablePrefix struct {
	Id     int32  `json:"id,omitempty"`
	Family string `json:"family,omitempty"`
	// IPv4 or IPv6 network with mask
	Prefix string `json:"prefix"`
	Site   int32  `json:"site,omitempty"`
	Vrf    int32  `json:"vrf,omitempty"`
	Tenant int32  `json:"tenant,omitempty"`
	Vlan   int32  `json:"vlan,omitempty"`
	// Operational status of this prefix
	Status string `json:"status,omitempty"`
	// The primary function of this prefix
	Role int32 `json:"role,omitempty"`
	// All IP addresses within this prefix are considered usable
	IsPool       bool         `json:"is_pool,omitempty"`
	Description  string       `json:"description,omitempty"`
	Tags         []string     `json:"tags,omitempty"`
	CustomFields *interface{} `json:"custom_fields,omitempty"`
	Created      string       `json:"created,omitempty"`
	LastUpdated  time.Time    `json:"last_updated,omitempty"`
}

type WritableRack

type WritableRack struct {
	Id   int32  `json:"id,omitempty"`
	Name string `json:"name"`
	// Locally-assigned identifier
	FacilityId  string `json:"facility_id,omitempty"`
	DisplayName string `json:"display_name,omitempty"`
	Site        int32  `json:"site"`
	// Assigned group
	Group  int32  `json:"group,omitempty"`
	Tenant int32  `json:"tenant,omitempty"`
	Status string `json:"status,omitempty"`
	// Functional role
	Role   int32  `json:"role,omitempty"`
	Serial string `json:"serial,omitempty"`
	// A unique tag used to identify this rack
	AssetTag string `json:"asset_tag,omitempty"`
	Type_    string `json:"type,omitempty"`
	// Rail-to-rail width
	Width int32 `json:"width,omitempty"`
	// Height in rack units
	UHeight int32 `json:"u_height,omitempty"`
	// Units are numbered top-to-bottom
	DescUnits bool `json:"desc_units,omitempty"`
	// Outer dimension of rack (width)
	OuterWidth int32 `json:"outer_width,omitempty"`
	// Outer dimension of rack (depth)
	OuterDepth     int32        `json:"outer_depth,omitempty"`
	OuterUnit      string       `json:"outer_unit,omitempty"`
	Comments       string       `json:"comments,omitempty"`
	Tags           []string     `json:"tags,omitempty"`
	CustomFields   *interface{} `json:"custom_fields,omitempty"`
	Created        string       `json:"created,omitempty"`
	LastUpdated    time.Time    `json:"last_updated,omitempty"`
	DeviceCount    int32        `json:"device_count,omitempty"`
	PowerfeedCount int32        `json:"powerfeed_count,omitempty"`
}

type WritableRackGroup

type WritableRackGroup struct {
	Id          int32  `json:"id,omitempty"`
	Name        string `json:"name"`
	Slug        string `json:"slug"`
	Site        int32  `json:"site"`
	Parent      int32  `json:"parent,omitempty"`
	Description string `json:"description,omitempty"`
	RackCount   int32  `json:"rack_count,omitempty"`
}

type WritableRackReservation

type WritableRackReservation struct {
	Id          int32   `json:"id,omitempty"`
	Rack        int32   `json:"rack"`
	Units       []int32 `json:"units"`
	Created     string  `json:"created,omitempty"`
	User        int32   `json:"user"`
	Tenant      int32   `json:"tenant,omitempty"`
	Description string  `json:"description"`
}

type WritableRearPort

type WritableRearPort struct {
	Id          int32        `json:"id,omitempty"`
	Device      int32        `json:"device"`
	Name        string       `json:"name"`
	Type_       string       `json:"type"`
	Positions   int32        `json:"positions,omitempty"`
	Description string       `json:"description,omitempty"`
	Cable       *NestedCable `json:"cable,omitempty"`
	Tags        []string     `json:"tags,omitempty"`
}

type WritableRearPortTemplate

type WritableRearPortTemplate struct {
	Id         int32  `json:"id,omitempty"`
	DeviceType int32  `json:"device_type"`
	Name       string `json:"name"`
	Type_      string `json:"type"`
	Positions  int32  `json:"positions,omitempty"`
}

type WritableRegion

type WritableRegion struct {
	Id          int32  `json:"id,omitempty"`
	Name        string `json:"name"`
	Slug        string `json:"slug"`
	Parent      int32  `json:"parent,omitempty"`
	Description string `json:"description,omitempty"`
	SiteCount   int32  `json:"site_count,omitempty"`
}

type WritableSecret

type WritableSecret struct {
	Id           int32        `json:"id,omitempty"`
	Device       int32        `json:"device"`
	Role         int32        `json:"role"`
	Name         string       `json:"name,omitempty"`
	Plaintext    string       `json:"plaintext"`
	Hash         string       `json:"hash,omitempty"`
	Tags         []string     `json:"tags,omitempty"`
	CustomFields *interface{} `json:"custom_fields,omitempty"`
	Created      string       `json:"created,omitempty"`
	LastUpdated  time.Time    `json:"last_updated,omitempty"`
}

type WritableService

type WritableService struct {
	Id             int32        `json:"id,omitempty"`
	Device         int32        `json:"device,omitempty"`
	VirtualMachine int32        `json:"virtual_machine,omitempty"`
	Name           string       `json:"name"`
	Port           int32        `json:"port"`
	Protocol       string       `json:"protocol"`
	Ipaddresses    []int32      `json:"ipaddresses,omitempty"`
	Description    string       `json:"description,omitempty"`
	Tags           []string     `json:"tags,omitempty"`
	CustomFields   *interface{} `json:"custom_fields,omitempty"`
	Created        string       `json:"created,omitempty"`
	LastUpdated    time.Time    `json:"last_updated,omitempty"`
}

type WritableSite

type WritableSite struct {
	Id     int32  `json:"id,omitempty"`
	Name   string `json:"name"`
	Slug   string `json:"slug"`
	Status string `json:"status,omitempty"`
	Region int32  `json:"region,omitempty"`
	Tenant int32  `json:"tenant,omitempty"`
	// Local facility ID or description
	Facility string `json:"facility,omitempty"`
	// 32-bit autonomous system number
	Asn             int32  `json:"asn,omitempty"`
	TimeZone        string `json:"time_zone,omitempty"`
	Description     string `json:"description,omitempty"`
	PhysicalAddress string `json:"physical_address,omitempty"`
	ShippingAddress string `json:"shipping_address,omitempty"`
	// GPS coordinate (latitude)
	Latitude string `json:"latitude,omitempty"`
	// GPS coordinate (longitude)
	Longitude           string       `json:"longitude,omitempty"`
	ContactName         string       `json:"contact_name,omitempty"`
	ContactPhone        string       `json:"contact_phone,omitempty"`
	ContactEmail        string       `json:"contact_email,omitempty"`
	Comments            string       `json:"comments,omitempty"`
	Tags                []string     `json:"tags,omitempty"`
	CustomFields        *interface{} `json:"custom_fields,omitempty"`
	Created             string       `json:"created,omitempty"`
	LastUpdated         time.Time    `json:"last_updated,omitempty"`
	CircuitCount        int32        `json:"circuit_count,omitempty"`
	DeviceCount         int32        `json:"device_count,omitempty"`
	PrefixCount         int32        `json:"prefix_count,omitempty"`
	RackCount           int32        `json:"rack_count,omitempty"`
	VirtualmachineCount int32        `json:"virtualmachine_count,omitempty"`
	VlanCount           int32        `json:"vlan_count,omitempty"`
}

type WritableTenant

type WritableTenant struct {
	Id                  int32        `json:"id,omitempty"`
	Name                string       `json:"name"`
	Slug                string       `json:"slug"`
	Group               int32        `json:"group,omitempty"`
	Description         string       `json:"description,omitempty"`
	Comments            string       `json:"comments,omitempty"`
	Tags                []string     `json:"tags,omitempty"`
	CustomFields        *interface{} `json:"custom_fields,omitempty"`
	Created             string       `json:"created,omitempty"`
	LastUpdated         time.Time    `json:"last_updated,omitempty"`
	CircuitCount        int32        `json:"circuit_count,omitempty"`
	DeviceCount         int32        `json:"device_count,omitempty"`
	IpaddressCount      int32        `json:"ipaddress_count,omitempty"`
	PrefixCount         int32        `json:"prefix_count,omitempty"`
	RackCount           int32        `json:"rack_count,omitempty"`
	SiteCount           int32        `json:"site_count,omitempty"`
	VirtualmachineCount int32        `json:"virtualmachine_count,omitempty"`
	VlanCount           int32        `json:"vlan_count,omitempty"`
	VrfCount            int32        `json:"vrf_count,omitempty"`
	ClusterCount        int32        `json:"cluster_count,omitempty"`
}

type WritableTenantGroup

type WritableTenantGroup struct {
	Id          int32  `json:"id,omitempty"`
	Name        string `json:"name"`
	Slug        string `json:"slug"`
	Parent      int32  `json:"parent,omitempty"`
	Description string `json:"description,omitempty"`
	TenantCount int32  `json:"tenant_count,omitempty"`
}

type WritableVirtualChassis

type WritableVirtualChassis struct {
	Id          int32    `json:"id,omitempty"`
	Master      int32    `json:"master"`
	Domain      string   `json:"domain,omitempty"`
	Tags        []string `json:"tags,omitempty"`
	MemberCount int32    `json:"member_count,omitempty"`
}

type WritableVirtualMachineInterface

type WritableVirtualMachineInterface struct {
	Id             int32    `json:"id,omitempty"`
	VirtualMachine int32    `json:"virtual_machine,omitempty"`
	Name           string   `json:"name"`
	Type_          string   `json:"type"`
	Enabled        bool     `json:"enabled,omitempty"`
	Mtu            int32    `json:"mtu,omitempty"`
	MacAddress     string   `json:"mac_address,omitempty"`
	Description    string   `json:"description,omitempty"`
	Mode           string   `json:"mode,omitempty"`
	UntaggedVlan   int32    `json:"untagged_vlan,omitempty"`
	TaggedVlans    []int32  `json:"tagged_vlans,omitempty"`
	Tags           []string `json:"tags,omitempty"`
}

type WritableVirtualMachineWithConfigContext

type WritableVirtualMachineWithConfigContext struct {
	Id               int32        `json:"id,omitempty"`
	Name             string       `json:"name"`
	Status           string       `json:"status,omitempty"`
	Site             string       `json:"site,omitempty"`
	Cluster          int32        `json:"cluster"`
	Role             int32        `json:"role,omitempty"`
	Tenant           int32        `json:"tenant,omitempty"`
	Platform         int32        `json:"platform,omitempty"`
	PrimaryIp        string       `json:"primary_ip,omitempty"`
	PrimaryIp4       int32        `json:"primary_ip4,omitempty"`
	PrimaryIp6       int32        `json:"primary_ip6,omitempty"`
	Vcpus            int32        `json:"vcpus,omitempty"`
	Memory           int32        `json:"memory,omitempty"`
	Disk             int32        `json:"disk,omitempty"`
	Comments         string       `json:"comments,omitempty"`
	LocalContextData string       `json:"local_context_data,omitempty"`
	Tags             []string     `json:"tags,omitempty"`
	CustomFields     *interface{} `json:"custom_fields,omitempty"`
	ConfigContext    *interface{} `json:"config_context,omitempty"`
	Created          string       `json:"created,omitempty"`
	LastUpdated      time.Time    `json:"last_updated,omitempty"`
}

type WritableVlan

type WritableVlan struct {
	Id           int32        `json:"id,omitempty"`
	Site         int32        `json:"site,omitempty"`
	Group        int32        `json:"group,omitempty"`
	Vid          int32        `json:"vid"`
	Name         string       `json:"name"`
	Tenant       int32        `json:"tenant,omitempty"`
	Status       string       `json:"status,omitempty"`
	Role         int32        `json:"role,omitempty"`
	Description  string       `json:"description,omitempty"`
	Tags         []string     `json:"tags,omitempty"`
	DisplayName  string       `json:"display_name,omitempty"`
	CustomFields *interface{} `json:"custom_fields,omitempty"`
	Created      string       `json:"created,omitempty"`
	LastUpdated  time.Time    `json:"last_updated,omitempty"`
	PrefixCount  int32        `json:"prefix_count,omitempty"`
}

type WritableVlanGroup

type WritableVlanGroup struct {
	Id          int32  `json:"id,omitempty"`
	Name        string `json:"name"`
	Slug        string `json:"slug"`
	Site        int32  `json:"site,omitempty"`
	Description string `json:"description,omitempty"`
	VlanCount   int32  `json:"vlan_count,omitempty"`
}

type WritableVrf

type WritableVrf struct {
	Id   int32  `json:"id,omitempty"`
	Name string `json:"name"`
	// Unique route distinguisher (as defined in RFC 4364)
	Rd     string `json:"rd,omitempty"`
	Tenant int32  `json:"tenant,omitempty"`
	// Prevent duplicate prefixes/IP addresses within this VRF
	EnforceUnique  bool         `json:"enforce_unique,omitempty"`
	Description    string       `json:"description,omitempty"`
	Tags           []string     `json:"tags,omitempty"`
	DisplayName    string       `json:"display_name,omitempty"`
	CustomFields   *interface{} `json:"custom_fields,omitempty"`
	Created        string       `json:"created,omitempty"`
	LastUpdated    time.Time    `json:"last_updated,omitempty"`
	IpaddressCount int32        `json:"ipaddress_count,omitempty"`
	PrefixCount    int32        `json:"prefix_count,omitempty"`
}

Source Files

Jump to

Keyboard shortcuts

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